Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xconsole 1.0.7.
      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='xconsole'
    583 PACKAGE_TARNAME='xconsole'
    584 PACKAGE_VERSION='1.0.7'
    585 PACKAGE_STRING='xconsole 1.0.7'
    586 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    587 PACKAGE_URL=''
    588 
    589 ac_unique_file="Makefile.am"
    590 # Factoring default headers for most tests.
    591 ac_includes_default="\
    592 #include <stdio.h>
    593 #ifdef HAVE_SYS_TYPES_H
    594 # include <sys/types.h>
    595 #endif
    596 #ifdef HAVE_SYS_STAT_H
    597 # include <sys/stat.h>
    598 #endif
    599 #ifdef STDC_HEADERS
    600 # include <stdlib.h>
    601 # include <stddef.h>
    602 #else
    603 # ifdef HAVE_STDLIB_H
    604 #  include <stdlib.h>
    605 # endif
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    609 #  include <memory.h>
    610 # endif
    611 # include <string.h>
    612 #endif
    613 #ifdef HAVE_STRINGS_H
    614 # include <strings.h>
    615 #endif
    616 #ifdef HAVE_INTTYPES_H
    617 # include <inttypes.h>
    618 #endif
    619 #ifdef HAVE_STDINT_H
    620 # include <stdint.h>
    621 #endif
    622 #ifdef HAVE_UNISTD_H
    623 # include <unistd.h>
    624 #endif"
    625 
    626 ac_subst_vars='am__EXEEXT_FALSE
    627 am__EXEEXT_TRUE
    628 LTLIBOBJS
    629 LIBOBJS
    630 appdefaultdir
    631 APPDEFS_LIBS
    632 APPDEFS_CFLAGS
    633 XCONSOLE_LIBS
    634 XCONSOLE_CFLAGS
    635 MAN_SUBSTS
    636 XORG_MAN_PAGE
    637 ADMIN_MAN_DIR
    638 DRIVER_MAN_DIR
    639 MISC_MAN_DIR
    640 FILE_MAN_DIR
    641 LIB_MAN_DIR
    642 APP_MAN_DIR
    643 ADMIN_MAN_SUFFIX
    644 DRIVER_MAN_SUFFIX
    645 MISC_MAN_SUFFIX
    646 FILE_MAN_SUFFIX
    647 LIB_MAN_SUFFIX
    648 APP_MAN_SUFFIX
    649 SED
    650 host_os
    651 host_vendor
    652 host_cpu
    653 host
    654 build_os
    655 build_vendor
    656 build_cpu
    657 build
    658 INSTALL_CMD
    659 PKG_CONFIG_LIBDIR
    660 PKG_CONFIG_PATH
    661 PKG_CONFIG
    662 CHANGELOG_CMD
    663 STRICT_CFLAGS
    664 CWARNFLAGS
    665 BASE_CFLAGS
    666 AM_BACKSLASH
    667 AM_DEFAULT_VERBOSITY
    668 AM_DEFAULT_V
    669 AM_V
    670 am__fastdepCC_FALSE
    671 am__fastdepCC_TRUE
    672 CCDEPMODE
    673 am__nodep
    674 AMDEPBACKSLASH
    675 AMDEP_FALSE
    676 AMDEP_TRUE
    677 am__quote
    678 am__include
    679 DEPDIR
    680 am__untar
    681 am__tar
    682 AMTAR
    683 am__leading_dot
    684 SET_MAKE
    685 AWK
    686 mkdir_p
    687 MKDIR_P
    688 INSTALL_STRIP_PROGRAM
    689 STRIP
    690 install_sh
    691 MAKEINFO
    692 AUTOHEADER
    693 AUTOMAKE
    694 AUTOCONF
    695 ACLOCAL
    696 VERSION
    697 PACKAGE
    698 CYGPATH_W
    699 am__isrc
    700 INSTALL_DATA
    701 INSTALL_SCRIPT
    702 INSTALL_PROGRAM
    703 EGREP
    704 GREP
    705 CPP
    706 OBJEXT
    707 EXEEXT
    708 ac_ct_CC
    709 CPPFLAGS
    710 LDFLAGS
    711 CFLAGS
    712 CC
    713 target_alias
    714 host_alias
    715 build_alias
    716 LIBS
    717 ECHO_T
    718 ECHO_N
    719 ECHO_C
    720 DEFS
    721 mandir
    722 localedir
    723 libdir
    724 psdir
    725 pdfdir
    726 dvidir
    727 htmldir
    728 infodir
    729 docdir
    730 oldincludedir
    731 includedir
    732 localstatedir
    733 sharedstatedir
    734 sysconfdir
    735 datadir
    736 datarootdir
    737 libexecdir
    738 sbindir
    739 bindir
    740 program_transform_name
    741 prefix
    742 exec_prefix
    743 PACKAGE_URL
    744 PACKAGE_BUGREPORT
    745 PACKAGE_STRING
    746 PACKAGE_VERSION
    747 PACKAGE_TARNAME
    748 PACKAGE_NAME
    749 PATH_SEPARATOR
    750 SHELL'
    751 ac_subst_files=''
    752 ac_user_opts='
    753 enable_option_checking
    754 enable_dependency_tracking
    755 enable_silent_rules
    756 enable_selective_werror
    757 enable_strict_compilation
    758 with_appdefaultdir
    759 '
    760       ac_precious_vars='build_alias
    761 host_alias
    762 target_alias
    763 CC
    764 CFLAGS
    765 LDFLAGS
    766 LIBS
    767 CPPFLAGS
    768 CPP
    769 PKG_CONFIG
    770 PKG_CONFIG_PATH
    771 PKG_CONFIG_LIBDIR
    772 XCONSOLE_CFLAGS
    773 XCONSOLE_LIBS
    774 APPDEFS_CFLAGS
    775 APPDEFS_LIBS'
    776 
    777 
    778 # Initialize some variables set by options.
    779 ac_init_help=
    780 ac_init_version=false
    781 ac_unrecognized_opts=
    782 ac_unrecognized_sep=
    783 # The variables have the same names as the options, with
    784 # dashes changed to underlines.
    785 cache_file=/dev/null
    786 exec_prefix=NONE
    787 no_create=
    788 no_recursion=
    789 prefix=NONE
    790 program_prefix=NONE
    791 program_suffix=NONE
    792 program_transform_name=s,x,x,
    793 silent=
    794 site=
    795 srcdir=
    796 verbose=
    797 x_includes=NONE
    798 x_libraries=NONE
    799 
    800 # Installation directory options.
    801 # These are left unexpanded so users can "make install exec_prefix=/foo"
    802 # and all the variables that are supposed to be based on exec_prefix
    803 # by default will actually change.
    804 # Use braces instead of parens because sh, perl, etc. also accept them.
    805 # (The list follows the same order as the GNU Coding Standards.)
    806 bindir='${exec_prefix}/bin'
    807 sbindir='${exec_prefix}/sbin'
    808 libexecdir='${exec_prefix}/libexec'
    809 datarootdir='${prefix}/share'
    810 datadir='${datarootdir}'
    811 sysconfdir='${prefix}/etc'
    812 sharedstatedir='${prefix}/com'
    813 localstatedir='${prefix}/var'
    814 includedir='${prefix}/include'
    815 oldincludedir='/usr/include'
    816 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    817 infodir='${datarootdir}/info'
    818 htmldir='${docdir}'
    819 dvidir='${docdir}'
    820 pdfdir='${docdir}'
    821 psdir='${docdir}'
    822 libdir='${exec_prefix}/lib'
    823 localedir='${datarootdir}/locale'
    824 mandir='${datarootdir}/man'
    825 
    826 ac_prev=
    827 ac_dashdash=
    828 for ac_option
    829 do
    830   # If the previous option needs an argument, assign it.
    831   if test -n "$ac_prev"; then
    832     eval $ac_prev=\$ac_option
    833     ac_prev=
    834     continue
    835   fi
    836 
    837   case $ac_option in
    838   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    839   *=)   ac_optarg= ;;
    840   *)    ac_optarg=yes ;;
    841   esac
    842 
    843   # Accept the important Cygnus configure options, so we can diagnose typos.
    844 
    845   case $ac_dashdash$ac_option in
    846   --)
    847     ac_dashdash=yes ;;
    848 
    849   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    850     ac_prev=bindir ;;
    851   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    852     bindir=$ac_optarg ;;
    853 
    854   -build | --build | --buil | --bui | --bu)
    855     ac_prev=build_alias ;;
    856   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    857     build_alias=$ac_optarg ;;
    858 
    859   -cache-file | --cache-file | --cache-fil | --cache-fi \
    860   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    861     ac_prev=cache_file ;;
    862   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    863   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    864     cache_file=$ac_optarg ;;
    865 
    866   --config-cache | -C)
    867     cache_file=config.cache ;;
    868 
    869   -datadir | --datadir | --datadi | --datad)
    870     ac_prev=datadir ;;
    871   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    872     datadir=$ac_optarg ;;
    873 
    874   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    875   | --dataroo | --dataro | --datar)
    876     ac_prev=datarootdir ;;
    877   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    878   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    879     datarootdir=$ac_optarg ;;
    880 
    881   -disable-* | --disable-*)
    882     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    883     # Reject names that are not valid shell variable names.
    884     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    885       as_fn_error $? "invalid feature name: $ac_useropt"
    886     ac_useropt_orig=$ac_useropt
    887     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    888     case $ac_user_opts in
    889       *"
    890 "enable_$ac_useropt"
    891 "*) ;;
    892       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    893 	 ac_unrecognized_sep=', ';;
    894     esac
    895     eval enable_$ac_useropt=no ;;
    896 
    897   -docdir | --docdir | --docdi | --doc | --do)
    898     ac_prev=docdir ;;
    899   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    900     docdir=$ac_optarg ;;
    901 
    902   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    903     ac_prev=dvidir ;;
    904   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    905     dvidir=$ac_optarg ;;
    906 
    907   -enable-* | --enable-*)
    908     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    909     # Reject names that are not valid shell variable names.
    910     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    911       as_fn_error $? "invalid feature name: $ac_useropt"
    912     ac_useropt_orig=$ac_useropt
    913     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    914     case $ac_user_opts in
    915       *"
    916 "enable_$ac_useropt"
    917 "*) ;;
    918       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    919 	 ac_unrecognized_sep=', ';;
    920     esac
    921     eval enable_$ac_useropt=\$ac_optarg ;;
    922 
    923   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    924   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    925   | --exec | --exe | --ex)
    926     ac_prev=exec_prefix ;;
    927   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    928   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    929   | --exec=* | --exe=* | --ex=*)
    930     exec_prefix=$ac_optarg ;;
    931 
    932   -gas | --gas | --ga | --g)
    933     # Obsolete; use --with-gas.
    934     with_gas=yes ;;
    935 
    936   -help | --help | --hel | --he | -h)
    937     ac_init_help=long ;;
    938   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    939     ac_init_help=recursive ;;
    940   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    941     ac_init_help=short ;;
    942 
    943   -host | --host | --hos | --ho)
    944     ac_prev=host_alias ;;
    945   -host=* | --host=* | --hos=* | --ho=*)
    946     host_alias=$ac_optarg ;;
    947 
    948   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    949     ac_prev=htmldir ;;
    950   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    951   | --ht=*)
    952     htmldir=$ac_optarg ;;
    953 
    954   -includedir | --includedir | --includedi | --included | --include \
    955   | --includ | --inclu | --incl | --inc)
    956     ac_prev=includedir ;;
    957   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    958   | --includ=* | --inclu=* | --incl=* | --inc=*)
    959     includedir=$ac_optarg ;;
    960 
    961   -infodir | --infodir | --infodi | --infod | --info | --inf)
    962     ac_prev=infodir ;;
    963   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    964     infodir=$ac_optarg ;;
    965 
    966   -libdir | --libdir | --libdi | --libd)
    967     ac_prev=libdir ;;
    968   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    969     libdir=$ac_optarg ;;
    970 
    971   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    972   | --libexe | --libex | --libe)
    973     ac_prev=libexecdir ;;
    974   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    975   | --libexe=* | --libex=* | --libe=*)
    976     libexecdir=$ac_optarg ;;
    977 
    978   -localedir | --localedir | --localedi | --localed | --locale)
    979     ac_prev=localedir ;;
    980   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    981     localedir=$ac_optarg ;;
    982 
    983   -localstatedir | --localstatedir | --localstatedi | --localstated \
    984   | --localstate | --localstat | --localsta | --localst | --locals)
    985     ac_prev=localstatedir ;;
    986   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    987   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    988     localstatedir=$ac_optarg ;;
    989 
    990   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    991     ac_prev=mandir ;;
    992   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    993     mandir=$ac_optarg ;;
    994 
    995   -nfp | --nfp | --nf)
    996     # Obsolete; use --without-fp.
    997     with_fp=no ;;
    998 
    999   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1000   | --no-cr | --no-c | -n)
   1001     no_create=yes ;;
   1002 
   1003   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1004   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1005     no_recursion=yes ;;
   1006 
   1007   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1008   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1009   | --oldin | --oldi | --old | --ol | --o)
   1010     ac_prev=oldincludedir ;;
   1011   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1012   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1013   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1014     oldincludedir=$ac_optarg ;;
   1015 
   1016   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1017     ac_prev=prefix ;;
   1018   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1019     prefix=$ac_optarg ;;
   1020 
   1021   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1022   | --program-pre | --program-pr | --program-p)
   1023     ac_prev=program_prefix ;;
   1024   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1025   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1026     program_prefix=$ac_optarg ;;
   1027 
   1028   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1029   | --program-suf | --program-su | --program-s)
   1030     ac_prev=program_suffix ;;
   1031   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1032   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1033     program_suffix=$ac_optarg ;;
   1034 
   1035   -program-transform-name | --program-transform-name \
   1036   | --program-transform-nam | --program-transform-na \
   1037   | --program-transform-n | --program-transform- \
   1038   | --program-transform | --program-transfor \
   1039   | --program-transfo | --program-transf \
   1040   | --program-trans | --program-tran \
   1041   | --progr-tra | --program-tr | --program-t)
   1042     ac_prev=program_transform_name ;;
   1043   -program-transform-name=* | --program-transform-name=* \
   1044   | --program-transform-nam=* | --program-transform-na=* \
   1045   | --program-transform-n=* | --program-transform-=* \
   1046   | --program-transform=* | --program-transfor=* \
   1047   | --program-transfo=* | --program-transf=* \
   1048   | --program-trans=* | --program-tran=* \
   1049   | --progr-tra=* | --program-tr=* | --program-t=*)
   1050     program_transform_name=$ac_optarg ;;
   1051 
   1052   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1053     ac_prev=pdfdir ;;
   1054   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1055     pdfdir=$ac_optarg ;;
   1056 
   1057   -psdir | --psdir | --psdi | --psd | --ps)
   1058     ac_prev=psdir ;;
   1059   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1060     psdir=$ac_optarg ;;
   1061 
   1062   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1063   | -silent | --silent | --silen | --sile | --sil)
   1064     silent=yes ;;
   1065 
   1066   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1067     ac_prev=sbindir ;;
   1068   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1069   | --sbi=* | --sb=*)
   1070     sbindir=$ac_optarg ;;
   1071 
   1072   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1073   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1074   | --sharedst | --shareds | --shared | --share | --shar \
   1075   | --sha | --sh)
   1076     ac_prev=sharedstatedir ;;
   1077   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1078   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1079   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1080   | --sha=* | --sh=*)
   1081     sharedstatedir=$ac_optarg ;;
   1082 
   1083   -site | --site | --sit)
   1084     ac_prev=site ;;
   1085   -site=* | --site=* | --sit=*)
   1086     site=$ac_optarg ;;
   1087 
   1088   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1089     ac_prev=srcdir ;;
   1090   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1091     srcdir=$ac_optarg ;;
   1092 
   1093   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1094   | --syscon | --sysco | --sysc | --sys | --sy)
   1095     ac_prev=sysconfdir ;;
   1096   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1097   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1098     sysconfdir=$ac_optarg ;;
   1099 
   1100   -target | --target | --targe | --targ | --tar | --ta | --t)
   1101     ac_prev=target_alias ;;
   1102   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1103     target_alias=$ac_optarg ;;
   1104 
   1105   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1106     verbose=yes ;;
   1107 
   1108   -version | --version | --versio | --versi | --vers | -V)
   1109     ac_init_version=: ;;
   1110 
   1111   -with-* | --with-*)
   1112     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1113     # Reject names that are not valid shell variable names.
   1114     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1115       as_fn_error $? "invalid package name: $ac_useropt"
   1116     ac_useropt_orig=$ac_useropt
   1117     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1118     case $ac_user_opts in
   1119       *"
   1120 "with_$ac_useropt"
   1121 "*) ;;
   1122       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1123 	 ac_unrecognized_sep=', ';;
   1124     esac
   1125     eval with_$ac_useropt=\$ac_optarg ;;
   1126 
   1127   -without-* | --without-*)
   1128     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1129     # Reject names that are not valid shell variable names.
   1130     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1131       as_fn_error $? "invalid package name: $ac_useropt"
   1132     ac_useropt_orig=$ac_useropt
   1133     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1134     case $ac_user_opts in
   1135       *"
   1136 "with_$ac_useropt"
   1137 "*) ;;
   1138       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1139 	 ac_unrecognized_sep=', ';;
   1140     esac
   1141     eval with_$ac_useropt=no ;;
   1142 
   1143   --x)
   1144     # Obsolete; use --with-x.
   1145     with_x=yes ;;
   1146 
   1147   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1148   | --x-incl | --x-inc | --x-in | --x-i)
   1149     ac_prev=x_includes ;;
   1150   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1151   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1152     x_includes=$ac_optarg ;;
   1153 
   1154   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1155   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1156     ac_prev=x_libraries ;;
   1157   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1158   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1159     x_libraries=$ac_optarg ;;
   1160 
   1161   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1162 Try \`$0 --help' for more information"
   1163     ;;
   1164 
   1165   *=*)
   1166     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1167     # Reject names that are not valid shell variable names.
   1168     case $ac_envvar in #(
   1169       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1170       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1171     esac
   1172     eval $ac_envvar=\$ac_optarg
   1173     export $ac_envvar ;;
   1174 
   1175   *)
   1176     # FIXME: should be removed in autoconf 3.0.
   1177     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1178     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1179       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1180     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1181     ;;
   1182 
   1183   esac
   1184 done
   1185 
   1186 if test -n "$ac_prev"; then
   1187   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1188   as_fn_error $? "missing argument to $ac_option"
   1189 fi
   1190 
   1191 if test -n "$ac_unrecognized_opts"; then
   1192   case $enable_option_checking in
   1193     no) ;;
   1194     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1195     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1196   esac
   1197 fi
   1198 
   1199 # Check all directory arguments for consistency.
   1200 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1201 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1202 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1203 		libdir localedir mandir
   1204 do
   1205   eval ac_val=\$$ac_var
   1206   # Remove trailing slashes.
   1207   case $ac_val in
   1208     */ )
   1209       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1210       eval $ac_var=\$ac_val;;
   1211   esac
   1212   # Be sure to have absolute directory names.
   1213   case $ac_val in
   1214     [\\/$]* | ?:[\\/]* )  continue;;
   1215     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1216   esac
   1217   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1218 done
   1219 
   1220 # There might be people who depend on the old broken behavior: `$host'
   1221 # used to hold the argument of --host etc.
   1222 # FIXME: To remove some day.
   1223 build=$build_alias
   1224 host=$host_alias
   1225 target=$target_alias
   1226 
   1227 # FIXME: To remove some day.
   1228 if test "x$host_alias" != x; then
   1229   if test "x$build_alias" = x; then
   1230     cross_compiling=maybe
   1231   elif test "x$build_alias" != "x$host_alias"; then
   1232     cross_compiling=yes
   1233   fi
   1234 fi
   1235 
   1236 ac_tool_prefix=
   1237 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1238 
   1239 test "$silent" = yes && exec 6>/dev/null
   1240 
   1241 
   1242 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1243 ac_ls_di=`ls -di .` &&
   1244 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1245   as_fn_error $? "working directory cannot be determined"
   1246 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1247   as_fn_error $? "pwd does not report name of working directory"
   1248 
   1249 
   1250 # Find the source files, if location was not specified.
   1251 if test -z "$srcdir"; then
   1252   ac_srcdir_defaulted=yes
   1253   # Try the directory containing this script, then the parent directory.
   1254   ac_confdir=`$as_dirname -- "$as_myself" ||
   1255 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1256 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1257 	 X"$as_myself" : 'X\(//\)$' \| \
   1258 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1259 $as_echo X"$as_myself" |
   1260     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1261 	    s//\1/
   1262 	    q
   1263 	  }
   1264 	  /^X\(\/\/\)[^/].*/{
   1265 	    s//\1/
   1266 	    q
   1267 	  }
   1268 	  /^X\(\/\/\)$/{
   1269 	    s//\1/
   1270 	    q
   1271 	  }
   1272 	  /^X\(\/\).*/{
   1273 	    s//\1/
   1274 	    q
   1275 	  }
   1276 	  s/.*/./; q'`
   1277   srcdir=$ac_confdir
   1278   if test ! -r "$srcdir/$ac_unique_file"; then
   1279     srcdir=..
   1280   fi
   1281 else
   1282   ac_srcdir_defaulted=no
   1283 fi
   1284 if test ! -r "$srcdir/$ac_unique_file"; then
   1285   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1286   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1287 fi
   1288 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1289 ac_abs_confdir=`(
   1290 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1291 	pwd)`
   1292 # When building in place, set srcdir=.
   1293 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1294   srcdir=.
   1295 fi
   1296 # Remove unnecessary trailing slashes from srcdir.
   1297 # Double slashes in file names in object file debugging info
   1298 # mess up M-x gdb in Emacs.
   1299 case $srcdir in
   1300 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1301 esac
   1302 for ac_var in $ac_precious_vars; do
   1303   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1304   eval ac_env_${ac_var}_value=\$${ac_var}
   1305   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1306   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1307 done
   1308 
   1309 #
   1310 # Report the --help message.
   1311 #
   1312 if test "$ac_init_help" = "long"; then
   1313   # Omit some internal or obsolete options to make the list less imposing.
   1314   # This message is too long to be a string in the A/UX 3.1 sh.
   1315   cat <<_ACEOF
   1316 \`configure' configures xconsole 1.0.7 to adapt to many kinds of systems.
   1317 
   1318 Usage: $0 [OPTION]... [VAR=VALUE]...
   1319 
   1320 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1321 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1322 
   1323 Defaults for the options are specified in brackets.
   1324 
   1325 Configuration:
   1326   -h, --help              display this help and exit
   1327       --help=short        display options specific to this package
   1328       --help=recursive    display the short help of all the included packages
   1329   -V, --version           display version information and exit
   1330   -q, --quiet, --silent   do not print \`checking ...' messages
   1331       --cache-file=FILE   cache test results in FILE [disabled]
   1332   -C, --config-cache      alias for \`--cache-file=config.cache'
   1333   -n, --no-create         do not create output files
   1334       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1335 
   1336 Installation directories:
   1337   --prefix=PREFIX         install architecture-independent files in PREFIX
   1338                           [$ac_default_prefix]
   1339   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1340                           [PREFIX]
   1341 
   1342 By default, \`make install' will install all the files in
   1343 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1344 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1345 for instance \`--prefix=\$HOME'.
   1346 
   1347 For better control, use the options below.
   1348 
   1349 Fine tuning of the installation directories:
   1350   --bindir=DIR            user executables [EPREFIX/bin]
   1351   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1352   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1353   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1354   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1355   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1356   --libdir=DIR            object code libraries [EPREFIX/lib]
   1357   --includedir=DIR        C header files [PREFIX/include]
   1358   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1359   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1360   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1361   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1362   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1363   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1364   --docdir=DIR            documentation root [DATAROOTDIR/doc/xconsole]
   1365   --htmldir=DIR           html documentation [DOCDIR]
   1366   --dvidir=DIR            dvi documentation [DOCDIR]
   1367   --pdfdir=DIR            pdf documentation [DOCDIR]
   1368   --psdir=DIR             ps documentation [DOCDIR]
   1369 _ACEOF
   1370 
   1371   cat <<\_ACEOF
   1372 
   1373 Program names:
   1374   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1375   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1376   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1377 
   1378 System types:
   1379   --build=BUILD     configure for building on BUILD [guessed]
   1380   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1381 _ACEOF
   1382 fi
   1383 
   1384 if test -n "$ac_init_help"; then
   1385   case $ac_init_help in
   1386      short | recursive ) echo "Configuration of xconsole 1.0.7:";;
   1387    esac
   1388   cat <<\_ACEOF
   1389 
   1390 Optional Features:
   1391   --disable-option-checking  ignore unrecognized --enable/--with options
   1392   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1393   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1394   --enable-dependency-tracking
   1395                           do not reject slow dependency extractors
   1396   --disable-dependency-tracking
   1397                           speeds up one-time build
   1398   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1399   --disable-silent-rules  verbose build output (undo: "make V=0")
   1400   --disable-selective-werror
   1401                           Turn off selective compiler errors. (default:
   1402                           enabled)
   1403   --enable-strict-compilation
   1404                           Enable all warnings from compiler and make them
   1405                           errors (default: disabled)
   1406 
   1407 Optional Packages:
   1408   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1409   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1410   --with-appdefaultdir=<pathname>
   1411                           specify directory for app-defaults files (default is
   1412                           autodetected)
   1413 
   1414 Some influential environment variables:
   1415   CC          C compiler command
   1416   CFLAGS      C compiler flags
   1417   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1418               nonstandard directory <lib dir>
   1419   LIBS        libraries to pass to the linker, e.g. -l<library>
   1420   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1421               you have headers in a nonstandard directory <include dir>
   1422   CPP         C preprocessor
   1423   PKG_CONFIG  path to pkg-config utility
   1424   PKG_CONFIG_PATH
   1425               directories to add to pkg-config's search path
   1426   PKG_CONFIG_LIBDIR
   1427               path overriding pkg-config's built-in search path
   1428   XCONSOLE_CFLAGS
   1429               C compiler flags for XCONSOLE, overriding pkg-config
   1430   XCONSOLE_LIBS
   1431               linker flags for XCONSOLE, overriding pkg-config
   1432   APPDEFS_CFLAGS
   1433               C compiler flags for APPDEFS, overriding pkg-config
   1434   APPDEFS_LIBS
   1435               linker flags for APPDEFS, overriding pkg-config
   1436 
   1437 Use these variables to override the choices made by `configure' or to help
   1438 it to find libraries and programs with nonstandard names/locations.
   1439 
   1440 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1441 _ACEOF
   1442 ac_status=$?
   1443 fi
   1444 
   1445 if test "$ac_init_help" = "recursive"; then
   1446   # If there are subdirs, report their specific --help.
   1447   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1448     test -d "$ac_dir" ||
   1449       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1450       continue
   1451     ac_builddir=.
   1452 
   1453 case "$ac_dir" in
   1454 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1455 *)
   1456   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1457   # A ".." for each directory in $ac_dir_suffix.
   1458   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1459   case $ac_top_builddir_sub in
   1460   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1461   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1462   esac ;;
   1463 esac
   1464 ac_abs_top_builddir=$ac_pwd
   1465 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1466 # for backward compatibility:
   1467 ac_top_builddir=$ac_top_build_prefix
   1468 
   1469 case $srcdir in
   1470   .)  # We are building in place.
   1471     ac_srcdir=.
   1472     ac_top_srcdir=$ac_top_builddir_sub
   1473     ac_abs_top_srcdir=$ac_pwd ;;
   1474   [\\/]* | ?:[\\/]* )  # Absolute name.
   1475     ac_srcdir=$srcdir$ac_dir_suffix;
   1476     ac_top_srcdir=$srcdir
   1477     ac_abs_top_srcdir=$srcdir ;;
   1478   *) # Relative name.
   1479     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1480     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1481     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1482 esac
   1483 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1484 
   1485     cd "$ac_dir" || { ac_status=$?; continue; }
   1486     # Check for guested configure.
   1487     if test -f "$ac_srcdir/configure.gnu"; then
   1488       echo &&
   1489       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1490     elif test -f "$ac_srcdir/configure"; then
   1491       echo &&
   1492       $SHELL "$ac_srcdir/configure" --help=recursive
   1493     else
   1494       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1495     fi || ac_status=$?
   1496     cd "$ac_pwd" || { ac_status=$?; break; }
   1497   done
   1498 fi
   1499 
   1500 test -n "$ac_init_help" && exit $ac_status
   1501 if $ac_init_version; then
   1502   cat <<\_ACEOF
   1503 xconsole configure 1.0.7
   1504 generated by GNU Autoconf 2.69
   1505 
   1506 Copyright (C) 2012 Free Software Foundation, Inc.
   1507 This configure script is free software; the Free Software Foundation
   1508 gives unlimited permission to copy, distribute and modify it.
   1509 _ACEOF
   1510   exit
   1511 fi
   1512 
   1513 ## ------------------------ ##
   1514 ## Autoconf initialization. ##
   1515 ## ------------------------ ##
   1516 
   1517 # ac_fn_c_try_compile LINENO
   1518 # --------------------------
   1519 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1520 ac_fn_c_try_compile ()
   1521 {
   1522   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1523   rm -f conftest.$ac_objext
   1524   if { { ac_try="$ac_compile"
   1525 case "(($ac_try" in
   1526   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1527   *) ac_try_echo=$ac_try;;
   1528 esac
   1529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1530 $as_echo "$ac_try_echo"; } >&5
   1531   (eval "$ac_compile") 2>conftest.err
   1532   ac_status=$?
   1533   if test -s conftest.err; then
   1534     grep -v '^ *+' conftest.err >conftest.er1
   1535     cat conftest.er1 >&5
   1536     mv -f conftest.er1 conftest.err
   1537   fi
   1538   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1539   test $ac_status = 0; } && {
   1540 	 test -z "$ac_c_werror_flag" ||
   1541 	 test ! -s conftest.err
   1542        } && test -s conftest.$ac_objext; then :
   1543   ac_retval=0
   1544 else
   1545   $as_echo "$as_me: failed program was:" >&5
   1546 sed 's/^/| /' conftest.$ac_ext >&5
   1547 
   1548 	ac_retval=1
   1549 fi
   1550   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1551   as_fn_set_status $ac_retval
   1552 
   1553 } # ac_fn_c_try_compile
   1554 
   1555 # ac_fn_c_try_cpp LINENO
   1556 # ----------------------
   1557 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1558 ac_fn_c_try_cpp ()
   1559 {
   1560   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1561   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1562 case "(($ac_try" in
   1563   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1564   *) ac_try_echo=$ac_try;;
   1565 esac
   1566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1567 $as_echo "$ac_try_echo"; } >&5
   1568   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1569   ac_status=$?
   1570   if test -s conftest.err; then
   1571     grep -v '^ *+' conftest.err >conftest.er1
   1572     cat conftest.er1 >&5
   1573     mv -f conftest.er1 conftest.err
   1574   fi
   1575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1576   test $ac_status = 0; } > conftest.i && {
   1577 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1578 	 test ! -s conftest.err
   1579        }; then :
   1580   ac_retval=0
   1581 else
   1582   $as_echo "$as_me: failed program was:" >&5
   1583 sed 's/^/| /' conftest.$ac_ext >&5
   1584 
   1585     ac_retval=1
   1586 fi
   1587   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1588   as_fn_set_status $ac_retval
   1589 
   1590 } # ac_fn_c_try_cpp
   1591 
   1592 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1593 # -------------------------------------------------------
   1594 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1595 # the include files in INCLUDES and setting the cache variable VAR
   1596 # accordingly.
   1597 ac_fn_c_check_header_mongrel ()
   1598 {
   1599   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1600   if eval \${$3+:} false; then :
   1601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1602 $as_echo_n "checking for $2... " >&6; }
   1603 if eval \${$3+:} false; then :
   1604   $as_echo_n "(cached) " >&6
   1605 fi
   1606 eval ac_res=\$$3
   1607 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1608 $as_echo "$ac_res" >&6; }
   1609 else
   1610   # Is the header compilable?
   1611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1612 $as_echo_n "checking $2 usability... " >&6; }
   1613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1614 /* end confdefs.h.  */
   1615 $4
   1616 #include <$2>
   1617 _ACEOF
   1618 if ac_fn_c_try_compile "$LINENO"; then :
   1619   ac_header_compiler=yes
   1620 else
   1621   ac_header_compiler=no
   1622 fi
   1623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1625 $as_echo "$ac_header_compiler" >&6; }
   1626 
   1627 # Is the header present?
   1628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1629 $as_echo_n "checking $2 presence... " >&6; }
   1630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1631 /* end confdefs.h.  */
   1632 #include <$2>
   1633 _ACEOF
   1634 if ac_fn_c_try_cpp "$LINENO"; then :
   1635   ac_header_preproc=yes
   1636 else
   1637   ac_header_preproc=no
   1638 fi
   1639 rm -f conftest.err conftest.i conftest.$ac_ext
   1640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1641 $as_echo "$ac_header_preproc" >&6; }
   1642 
   1643 # So?  What about this header?
   1644 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1645   yes:no: )
   1646     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1647 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1648     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1649 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1650     ;;
   1651   no:yes:* )
   1652     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1653 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1654     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1655 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1656     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1657 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1658     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1659 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1660     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1661 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1662 ( $as_echo "## ---------------------------------------------------------------------- ##
   1663 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1664 ## ---------------------------------------------------------------------- ##"
   1665      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1666     ;;
   1667 esac
   1668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1669 $as_echo_n "checking for $2... " >&6; }
   1670 if eval \${$3+:} false; then :
   1671   $as_echo_n "(cached) " >&6
   1672 else
   1673   eval "$3=\$ac_header_compiler"
   1674 fi
   1675 eval ac_res=\$$3
   1676 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1677 $as_echo "$ac_res" >&6; }
   1678 fi
   1679   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1680 
   1681 } # ac_fn_c_check_header_mongrel
   1682 
   1683 # ac_fn_c_try_run LINENO
   1684 # ----------------------
   1685 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1686 # that executables *can* be run.
   1687 ac_fn_c_try_run ()
   1688 {
   1689   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1690   if { { ac_try="$ac_link"
   1691 case "(($ac_try" in
   1692   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1693   *) ac_try_echo=$ac_try;;
   1694 esac
   1695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1696 $as_echo "$ac_try_echo"; } >&5
   1697   (eval "$ac_link") 2>&5
   1698   ac_status=$?
   1699   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1700   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1701   { { case "(($ac_try" in
   1702   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1703   *) ac_try_echo=$ac_try;;
   1704 esac
   1705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1706 $as_echo "$ac_try_echo"; } >&5
   1707   (eval "$ac_try") 2>&5
   1708   ac_status=$?
   1709   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1710   test $ac_status = 0; }; }; then :
   1711   ac_retval=0
   1712 else
   1713   $as_echo "$as_me: program exited with status $ac_status" >&5
   1714        $as_echo "$as_me: failed program was:" >&5
   1715 sed 's/^/| /' conftest.$ac_ext >&5
   1716 
   1717        ac_retval=$ac_status
   1718 fi
   1719   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1720   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1721   as_fn_set_status $ac_retval
   1722 
   1723 } # ac_fn_c_try_run
   1724 
   1725 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1726 # -------------------------------------------------------
   1727 # Tests whether HEADER exists and can be compiled using the include files in
   1728 # INCLUDES, setting the cache variable VAR accordingly.
   1729 ac_fn_c_check_header_compile ()
   1730 {
   1731   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1733 $as_echo_n "checking for $2... " >&6; }
   1734 if eval \${$3+:} false; then :
   1735   $as_echo_n "(cached) " >&6
   1736 else
   1737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1738 /* end confdefs.h.  */
   1739 $4
   1740 #include <$2>
   1741 _ACEOF
   1742 if ac_fn_c_try_compile "$LINENO"; then :
   1743   eval "$3=yes"
   1744 else
   1745   eval "$3=no"
   1746 fi
   1747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1748 fi
   1749 eval ac_res=\$$3
   1750 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1751 $as_echo "$ac_res" >&6; }
   1752   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1753 
   1754 } # ac_fn_c_check_header_compile
   1755 
   1756 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1757 # ---------------------------------------------
   1758 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1759 # accordingly.
   1760 ac_fn_c_check_decl ()
   1761 {
   1762   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1763   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1764   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1766 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1767 if eval \${$3+:} false; then :
   1768   $as_echo_n "(cached) " >&6
   1769 else
   1770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1771 /* end confdefs.h.  */
   1772 $4
   1773 int
   1774 main ()
   1775 {
   1776 #ifndef $as_decl_name
   1777 #ifdef __cplusplus
   1778   (void) $as_decl_use;
   1779 #else
   1780   (void) $as_decl_name;
   1781 #endif
   1782 #endif
   1783 
   1784   ;
   1785   return 0;
   1786 }
   1787 _ACEOF
   1788 if ac_fn_c_try_compile "$LINENO"; then :
   1789   eval "$3=yes"
   1790 else
   1791   eval "$3=no"
   1792 fi
   1793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1794 fi
   1795 eval ac_res=\$$3
   1796 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1797 $as_echo "$ac_res" >&6; }
   1798   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1799 
   1800 } # ac_fn_c_check_decl
   1801 
   1802 # ac_fn_c_try_link LINENO
   1803 # -----------------------
   1804 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1805 ac_fn_c_try_link ()
   1806 {
   1807   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1808   rm -f conftest.$ac_objext conftest$ac_exeext
   1809   if { { ac_try="$ac_link"
   1810 case "(($ac_try" in
   1811   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1812   *) ac_try_echo=$ac_try;;
   1813 esac
   1814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1815 $as_echo "$ac_try_echo"; } >&5
   1816   (eval "$ac_link") 2>conftest.err
   1817   ac_status=$?
   1818   if test -s conftest.err; then
   1819     grep -v '^ *+' conftest.err >conftest.er1
   1820     cat conftest.er1 >&5
   1821     mv -f conftest.er1 conftest.err
   1822   fi
   1823   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1824   test $ac_status = 0; } && {
   1825 	 test -z "$ac_c_werror_flag" ||
   1826 	 test ! -s conftest.err
   1827        } && test -s conftest$ac_exeext && {
   1828 	 test "$cross_compiling" = yes ||
   1829 	 test -x conftest$ac_exeext
   1830        }; then :
   1831   ac_retval=0
   1832 else
   1833   $as_echo "$as_me: failed program was:" >&5
   1834 sed 's/^/| /' conftest.$ac_ext >&5
   1835 
   1836 	ac_retval=1
   1837 fi
   1838   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1839   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1840   # interfere with the next link command; also delete a directory that is
   1841   # left behind by Apple's compiler.  We do this before executing the actions.
   1842   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1843   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1844   as_fn_set_status $ac_retval
   1845 
   1846 } # ac_fn_c_try_link
   1847 
   1848 # ac_fn_c_check_func LINENO FUNC VAR
   1849 # ----------------------------------
   1850 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1851 ac_fn_c_check_func ()
   1852 {
   1853   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1855 $as_echo_n "checking for $2... " >&6; }
   1856 if eval \${$3+:} false; then :
   1857   $as_echo_n "(cached) " >&6
   1858 else
   1859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1860 /* end confdefs.h.  */
   1861 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1862    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1863 #define $2 innocuous_$2
   1864 
   1865 /* System header to define __stub macros and hopefully few prototypes,
   1866     which can conflict with char $2 (); below.
   1867     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1868     <limits.h> exists even on freestanding compilers.  */
   1869 
   1870 #ifdef __STDC__
   1871 # include <limits.h>
   1872 #else
   1873 # include <assert.h>
   1874 #endif
   1875 
   1876 #undef $2
   1877 
   1878 /* Override any GCC internal prototype to avoid an error.
   1879    Use char because int might match the return type of a GCC
   1880    builtin and then its argument prototype would still apply.  */
   1881 #ifdef __cplusplus
   1882 extern "C"
   1883 #endif
   1884 char $2 ();
   1885 /* The GNU C library defines this for functions which it implements
   1886     to always fail with ENOSYS.  Some functions are actually named
   1887     something starting with __ and the normal name is an alias.  */
   1888 #if defined __stub_$2 || defined __stub___$2
   1889 choke me
   1890 #endif
   1891 
   1892 int
   1893 main ()
   1894 {
   1895 return $2 ();
   1896   ;
   1897   return 0;
   1898 }
   1899 _ACEOF
   1900 if ac_fn_c_try_link "$LINENO"; then :
   1901   eval "$3=yes"
   1902 else
   1903   eval "$3=no"
   1904 fi
   1905 rm -f core conftest.err conftest.$ac_objext \
   1906     conftest$ac_exeext conftest.$ac_ext
   1907 fi
   1908 eval ac_res=\$$3
   1909 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1910 $as_echo "$ac_res" >&6; }
   1911   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1912 
   1913 } # ac_fn_c_check_func
   1914 cat >config.log <<_ACEOF
   1915 This file contains any messages produced by compilers while
   1916 running configure, to aid debugging if configure makes a mistake.
   1917 
   1918 It was created by xconsole $as_me 1.0.7, which was
   1919 generated by GNU Autoconf 2.69.  Invocation command line was
   1920 
   1921   $ $0 $@
   1922 
   1923 _ACEOF
   1924 exec 5>>config.log
   1925 {
   1926 cat <<_ASUNAME
   1927 ## --------- ##
   1928 ## Platform. ##
   1929 ## --------- ##
   1930 
   1931 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1932 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1933 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1934 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1935 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1936 
   1937 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1938 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1939 
   1940 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1941 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1942 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1943 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1944 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1945 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1946 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1947 
   1948 _ASUNAME
   1949 
   1950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1951 for as_dir in $PATH
   1952 do
   1953   IFS=$as_save_IFS
   1954   test -z "$as_dir" && as_dir=.
   1955     $as_echo "PATH: $as_dir"
   1956   done
   1957 IFS=$as_save_IFS
   1958 
   1959 } >&5
   1960 
   1961 cat >&5 <<_ACEOF
   1962 
   1963 
   1964 ## ----------- ##
   1965 ## Core tests. ##
   1966 ## ----------- ##
   1967 
   1968 _ACEOF
   1969 
   1970 
   1971 # Keep a trace of the command line.
   1972 # Strip out --no-create and --no-recursion so they do not pile up.
   1973 # Strip out --silent because we don't want to record it for future runs.
   1974 # Also quote any args containing shell meta-characters.
   1975 # Make two passes to allow for proper duplicate-argument suppression.
   1976 ac_configure_args=
   1977 ac_configure_args0=
   1978 ac_configure_args1=
   1979 ac_must_keep_next=false
   1980 for ac_pass in 1 2
   1981 do
   1982   for ac_arg
   1983   do
   1984     case $ac_arg in
   1985     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1986     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1987     | -silent | --silent | --silen | --sile | --sil)
   1988       continue ;;
   1989     *\'*)
   1990       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1991     esac
   1992     case $ac_pass in
   1993     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1994     2)
   1995       as_fn_append ac_configure_args1 " '$ac_arg'"
   1996       if test $ac_must_keep_next = true; then
   1997 	ac_must_keep_next=false # Got value, back to normal.
   1998       else
   1999 	case $ac_arg in
   2000 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2001 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2002 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2003 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2004 	    case "$ac_configure_args0 " in
   2005 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2006 	    esac
   2007 	    ;;
   2008 	  -* ) ac_must_keep_next=true ;;
   2009 	esac
   2010       fi
   2011       as_fn_append ac_configure_args " '$ac_arg'"
   2012       ;;
   2013     esac
   2014   done
   2015 done
   2016 { ac_configure_args0=; unset ac_configure_args0;}
   2017 { ac_configure_args1=; unset ac_configure_args1;}
   2018 
   2019 # When interrupted or exit'd, cleanup temporary files, and complete
   2020 # config.log.  We remove comments because anyway the quotes in there
   2021 # would cause problems or look ugly.
   2022 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2023 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2024 trap 'exit_status=$?
   2025   # Save into config.log some information that might help in debugging.
   2026   {
   2027     echo
   2028 
   2029     $as_echo "## ---------------- ##
   2030 ## Cache variables. ##
   2031 ## ---------------- ##"
   2032     echo
   2033     # The following way of writing the cache mishandles newlines in values,
   2034 (
   2035   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2036     eval ac_val=\$$ac_var
   2037     case $ac_val in #(
   2038     *${as_nl}*)
   2039       case $ac_var in #(
   2040       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2041 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2042       esac
   2043       case $ac_var in #(
   2044       _ | IFS | as_nl) ;; #(
   2045       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2046       *) { eval $ac_var=; unset $ac_var;} ;;
   2047       esac ;;
   2048     esac
   2049   done
   2050   (set) 2>&1 |
   2051     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2052     *${as_nl}ac_space=\ *)
   2053       sed -n \
   2054 	"s/'\''/'\''\\\\'\'''\''/g;
   2055 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2056       ;; #(
   2057     *)
   2058       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2059       ;;
   2060     esac |
   2061     sort
   2062 )
   2063     echo
   2064 
   2065     $as_echo "## ----------------- ##
   2066 ## Output variables. ##
   2067 ## ----------------- ##"
   2068     echo
   2069     for ac_var in $ac_subst_vars
   2070     do
   2071       eval ac_val=\$$ac_var
   2072       case $ac_val in
   2073       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2074       esac
   2075       $as_echo "$ac_var='\''$ac_val'\''"
   2076     done | sort
   2077     echo
   2078 
   2079     if test -n "$ac_subst_files"; then
   2080       $as_echo "## ------------------- ##
   2081 ## File substitutions. ##
   2082 ## ------------------- ##"
   2083       echo
   2084       for ac_var in $ac_subst_files
   2085       do
   2086 	eval ac_val=\$$ac_var
   2087 	case $ac_val in
   2088 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2089 	esac
   2090 	$as_echo "$ac_var='\''$ac_val'\''"
   2091       done | sort
   2092       echo
   2093     fi
   2094 
   2095     if test -s confdefs.h; then
   2096       $as_echo "## ----------- ##
   2097 ## confdefs.h. ##
   2098 ## ----------- ##"
   2099       echo
   2100       cat confdefs.h
   2101       echo
   2102     fi
   2103     test "$ac_signal" != 0 &&
   2104       $as_echo "$as_me: caught signal $ac_signal"
   2105     $as_echo "$as_me: exit $exit_status"
   2106   } >&5
   2107   rm -f core *.core core.conftest.* &&
   2108     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2109     exit $exit_status
   2110 ' 0
   2111 for ac_signal in 1 2 13 15; do
   2112   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2113 done
   2114 ac_signal=0
   2115 
   2116 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2117 rm -f -r conftest* confdefs.h
   2118 
   2119 $as_echo "/* confdefs.h */" > confdefs.h
   2120 
   2121 # Predefined preprocessor variables.
   2122 
   2123 cat >>confdefs.h <<_ACEOF
   2124 #define PACKAGE_NAME "$PACKAGE_NAME"
   2125 _ACEOF
   2126 
   2127 cat >>confdefs.h <<_ACEOF
   2128 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2129 _ACEOF
   2130 
   2131 cat >>confdefs.h <<_ACEOF
   2132 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2133 _ACEOF
   2134 
   2135 cat >>confdefs.h <<_ACEOF
   2136 #define PACKAGE_STRING "$PACKAGE_STRING"
   2137 _ACEOF
   2138 
   2139 cat >>confdefs.h <<_ACEOF
   2140 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2141 _ACEOF
   2142 
   2143 cat >>confdefs.h <<_ACEOF
   2144 #define PACKAGE_URL "$PACKAGE_URL"
   2145 _ACEOF
   2146 
   2147 
   2148 # Let the site file select an alternate cache file if it wants to.
   2149 # Prefer an explicitly selected file to automatically selected ones.
   2150 ac_site_file1=NONE
   2151 ac_site_file2=NONE
   2152 if test -n "$CONFIG_SITE"; then
   2153   # We do not want a PATH search for config.site.
   2154   case $CONFIG_SITE in #((
   2155     -*)  ac_site_file1=./$CONFIG_SITE;;
   2156     */*) ac_site_file1=$CONFIG_SITE;;
   2157     *)   ac_site_file1=./$CONFIG_SITE;;
   2158   esac
   2159 elif test "x$prefix" != xNONE; then
   2160   ac_site_file1=$prefix/share/config.site
   2161   ac_site_file2=$prefix/etc/config.site
   2162 else
   2163   ac_site_file1=$ac_default_prefix/share/config.site
   2164   ac_site_file2=$ac_default_prefix/etc/config.site
   2165 fi
   2166 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2167 do
   2168   test "x$ac_site_file" = xNONE && continue
   2169   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2170     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2171 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2172     sed 's/^/| /' "$ac_site_file" >&5
   2173     . "$ac_site_file" \
   2174       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2175 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2176 as_fn_error $? "failed to load site script $ac_site_file
   2177 See \`config.log' for more details" "$LINENO" 5; }
   2178   fi
   2179 done
   2180 
   2181 if test -r "$cache_file"; then
   2182   # Some versions of bash will fail to source /dev/null (special files
   2183   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2184   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2185     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2186 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2187     case $cache_file in
   2188       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2189       *)                      . "./$cache_file";;
   2190     esac
   2191   fi
   2192 else
   2193   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2194 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2195   >$cache_file
   2196 fi
   2197 
   2198 # Check that the precious variables saved in the cache have kept the same
   2199 # value.
   2200 ac_cache_corrupted=false
   2201 for ac_var in $ac_precious_vars; do
   2202   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2203   eval ac_new_set=\$ac_env_${ac_var}_set
   2204   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2205   eval ac_new_val=\$ac_env_${ac_var}_value
   2206   case $ac_old_set,$ac_new_set in
   2207     set,)
   2208       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2209 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2210       ac_cache_corrupted=: ;;
   2211     ,set)
   2212       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2213 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2214       ac_cache_corrupted=: ;;
   2215     ,);;
   2216     *)
   2217       if test "x$ac_old_val" != "x$ac_new_val"; then
   2218 	# differences in whitespace do not lead to failure.
   2219 	ac_old_val_w=`echo x $ac_old_val`
   2220 	ac_new_val_w=`echo x $ac_new_val`
   2221 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2222 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2223 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2224 	  ac_cache_corrupted=:
   2225 	else
   2226 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2227 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2228 	  eval $ac_var=\$ac_old_val
   2229 	fi
   2230 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2231 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2232 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2233 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2234       fi;;
   2235   esac
   2236   # Pass precious variables to config.status.
   2237   if test "$ac_new_set" = set; then
   2238     case $ac_new_val in
   2239     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2240     *) ac_arg=$ac_var=$ac_new_val ;;
   2241     esac
   2242     case " $ac_configure_args " in
   2243       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2244       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2245     esac
   2246   fi
   2247 done
   2248 if $ac_cache_corrupted; then
   2249   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2251   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2252 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2253   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2254 fi
   2255 ## -------------------- ##
   2256 ## Main body of script. ##
   2257 ## -------------------- ##
   2258 
   2259 ac_ext=c
   2260 ac_cpp='$CPP $CPPFLAGS'
   2261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2264 
   2265 
   2266 
   2267 ac_config_headers="$ac_config_headers config.h"
   2268 
   2269 ac_aux_dir=
   2270 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2271   if test -f "$ac_dir/install-sh"; then
   2272     ac_aux_dir=$ac_dir
   2273     ac_install_sh="$ac_aux_dir/install-sh -c"
   2274     break
   2275   elif test -f "$ac_dir/install.sh"; then
   2276     ac_aux_dir=$ac_dir
   2277     ac_install_sh="$ac_aux_dir/install.sh -c"
   2278     break
   2279   elif test -f "$ac_dir/shtool"; then
   2280     ac_aux_dir=$ac_dir
   2281     ac_install_sh="$ac_aux_dir/shtool install -c"
   2282     break
   2283   fi
   2284 done
   2285 if test -z "$ac_aux_dir"; then
   2286   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2287 fi
   2288 
   2289 # These three variables are undocumented and unsupported,
   2290 # and are intended to be withdrawn in a future Autoconf release.
   2291 # They can cause serious problems if a builder's source tree is in a directory
   2292 # whose full name contains unusual characters.
   2293 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2294 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2295 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2296 
   2297 
   2298 # Expand $ac_aux_dir to an absolute path.
   2299 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2300 
   2301 ac_ext=c
   2302 ac_cpp='$CPP $CPPFLAGS'
   2303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2306 if test -n "$ac_tool_prefix"; then
   2307   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2308 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2310 $as_echo_n "checking for $ac_word... " >&6; }
   2311 if ${ac_cv_prog_CC+:} false; then :
   2312   $as_echo_n "(cached) " >&6
   2313 else
   2314   if test -n "$CC"; then
   2315   ac_cv_prog_CC="$CC" # Let the user override the test.
   2316 else
   2317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2318 for as_dir in $PATH
   2319 do
   2320   IFS=$as_save_IFS
   2321   test -z "$as_dir" && as_dir=.
   2322     for ac_exec_ext in '' $ac_executable_extensions; do
   2323   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2324     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2325     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2326     break 2
   2327   fi
   2328 done
   2329   done
   2330 IFS=$as_save_IFS
   2331 
   2332 fi
   2333 fi
   2334 CC=$ac_cv_prog_CC
   2335 if test -n "$CC"; then
   2336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2337 $as_echo "$CC" >&6; }
   2338 else
   2339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2340 $as_echo "no" >&6; }
   2341 fi
   2342 
   2343 
   2344 fi
   2345 if test -z "$ac_cv_prog_CC"; then
   2346   ac_ct_CC=$CC
   2347   # Extract the first word of "gcc", so it can be a program name with args.
   2348 set dummy gcc; ac_word=$2
   2349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2350 $as_echo_n "checking for $ac_word... " >&6; }
   2351 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2352   $as_echo_n "(cached) " >&6
   2353 else
   2354   if test -n "$ac_ct_CC"; then
   2355   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2356 else
   2357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2358 for as_dir in $PATH
   2359 do
   2360   IFS=$as_save_IFS
   2361   test -z "$as_dir" && as_dir=.
   2362     for ac_exec_ext in '' $ac_executable_extensions; do
   2363   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2364     ac_cv_prog_ac_ct_CC="gcc"
   2365     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2366     break 2
   2367   fi
   2368 done
   2369   done
   2370 IFS=$as_save_IFS
   2371 
   2372 fi
   2373 fi
   2374 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2375 if test -n "$ac_ct_CC"; then
   2376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2377 $as_echo "$ac_ct_CC" >&6; }
   2378 else
   2379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2380 $as_echo "no" >&6; }
   2381 fi
   2382 
   2383   if test "x$ac_ct_CC" = x; then
   2384     CC=""
   2385   else
   2386     case $cross_compiling:$ac_tool_warned in
   2387 yes:)
   2388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2389 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2390 ac_tool_warned=yes ;;
   2391 esac
   2392     CC=$ac_ct_CC
   2393   fi
   2394 else
   2395   CC="$ac_cv_prog_CC"
   2396 fi
   2397 
   2398 if test -z "$CC"; then
   2399           if test -n "$ac_tool_prefix"; then
   2400     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2401 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2403 $as_echo_n "checking for $ac_word... " >&6; }
   2404 if ${ac_cv_prog_CC+:} false; then :
   2405   $as_echo_n "(cached) " >&6
   2406 else
   2407   if test -n "$CC"; then
   2408   ac_cv_prog_CC="$CC" # Let the user override the test.
   2409 else
   2410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2411 for as_dir in $PATH
   2412 do
   2413   IFS=$as_save_IFS
   2414   test -z "$as_dir" && as_dir=.
   2415     for ac_exec_ext in '' $ac_executable_extensions; do
   2416   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2417     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2418     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2419     break 2
   2420   fi
   2421 done
   2422   done
   2423 IFS=$as_save_IFS
   2424 
   2425 fi
   2426 fi
   2427 CC=$ac_cv_prog_CC
   2428 if test -n "$CC"; then
   2429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2430 $as_echo "$CC" >&6; }
   2431 else
   2432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2433 $as_echo "no" >&6; }
   2434 fi
   2435 
   2436 
   2437   fi
   2438 fi
   2439 if test -z "$CC"; then
   2440   # Extract the first word of "cc", so it can be a program name with args.
   2441 set dummy cc; ac_word=$2
   2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2443 $as_echo_n "checking for $ac_word... " >&6; }
   2444 if ${ac_cv_prog_CC+:} false; then :
   2445   $as_echo_n "(cached) " >&6
   2446 else
   2447   if test -n "$CC"; then
   2448   ac_cv_prog_CC="$CC" # Let the user override the test.
   2449 else
   2450   ac_prog_rejected=no
   2451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2452 for as_dir in $PATH
   2453 do
   2454   IFS=$as_save_IFS
   2455   test -z "$as_dir" && as_dir=.
   2456     for ac_exec_ext in '' $ac_executable_extensions; do
   2457   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2458     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2459        ac_prog_rejected=yes
   2460        continue
   2461      fi
   2462     ac_cv_prog_CC="cc"
   2463     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2464     break 2
   2465   fi
   2466 done
   2467   done
   2468 IFS=$as_save_IFS
   2469 
   2470 if test $ac_prog_rejected = yes; then
   2471   # We found a bogon in the path, so make sure we never use it.
   2472   set dummy $ac_cv_prog_CC
   2473   shift
   2474   if test $# != 0; then
   2475     # We chose a different compiler from the bogus one.
   2476     # However, it has the same basename, so the bogon will be chosen
   2477     # first if we set CC to just the basename; use the full file name.
   2478     shift
   2479     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2480   fi
   2481 fi
   2482 fi
   2483 fi
   2484 CC=$ac_cv_prog_CC
   2485 if test -n "$CC"; then
   2486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2487 $as_echo "$CC" >&6; }
   2488 else
   2489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2490 $as_echo "no" >&6; }
   2491 fi
   2492 
   2493 
   2494 fi
   2495 if test -z "$CC"; then
   2496   if test -n "$ac_tool_prefix"; then
   2497   for ac_prog in cl.exe
   2498   do
   2499     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2500 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2502 $as_echo_n "checking for $ac_word... " >&6; }
   2503 if ${ac_cv_prog_CC+:} false; then :
   2504   $as_echo_n "(cached) " >&6
   2505 else
   2506   if test -n "$CC"; then
   2507   ac_cv_prog_CC="$CC" # Let the user override the test.
   2508 else
   2509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2510 for as_dir in $PATH
   2511 do
   2512   IFS=$as_save_IFS
   2513   test -z "$as_dir" && as_dir=.
   2514     for ac_exec_ext in '' $ac_executable_extensions; do
   2515   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2516     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2517     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2518     break 2
   2519   fi
   2520 done
   2521   done
   2522 IFS=$as_save_IFS
   2523 
   2524 fi
   2525 fi
   2526 CC=$ac_cv_prog_CC
   2527 if test -n "$CC"; then
   2528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2529 $as_echo "$CC" >&6; }
   2530 else
   2531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2532 $as_echo "no" >&6; }
   2533 fi
   2534 
   2535 
   2536     test -n "$CC" && break
   2537   done
   2538 fi
   2539 if test -z "$CC"; then
   2540   ac_ct_CC=$CC
   2541   for ac_prog in cl.exe
   2542 do
   2543   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2544 set dummy $ac_prog; ac_word=$2
   2545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2546 $as_echo_n "checking for $ac_word... " >&6; }
   2547 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2548   $as_echo_n "(cached) " >&6
   2549 else
   2550   if test -n "$ac_ct_CC"; then
   2551   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2552 else
   2553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2554 for as_dir in $PATH
   2555 do
   2556   IFS=$as_save_IFS
   2557   test -z "$as_dir" && as_dir=.
   2558     for ac_exec_ext in '' $ac_executable_extensions; do
   2559   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2560     ac_cv_prog_ac_ct_CC="$ac_prog"
   2561     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2562     break 2
   2563   fi
   2564 done
   2565   done
   2566 IFS=$as_save_IFS
   2567 
   2568 fi
   2569 fi
   2570 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2571 if test -n "$ac_ct_CC"; then
   2572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2573 $as_echo "$ac_ct_CC" >&6; }
   2574 else
   2575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2576 $as_echo "no" >&6; }
   2577 fi
   2578 
   2579 
   2580   test -n "$ac_ct_CC" && break
   2581 done
   2582 
   2583   if test "x$ac_ct_CC" = x; then
   2584     CC=""
   2585   else
   2586     case $cross_compiling:$ac_tool_warned in
   2587 yes:)
   2588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2590 ac_tool_warned=yes ;;
   2591 esac
   2592     CC=$ac_ct_CC
   2593   fi
   2594 fi
   2595 
   2596 fi
   2597 
   2598 
   2599 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2601 as_fn_error $? "no acceptable C compiler found in \$PATH
   2602 See \`config.log' for more details" "$LINENO" 5; }
   2603 
   2604 # Provide some information about the compiler.
   2605 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2606 set X $ac_compile
   2607 ac_compiler=$2
   2608 for ac_option in --version -v -V -qversion; do
   2609   { { ac_try="$ac_compiler $ac_option >&5"
   2610 case "(($ac_try" in
   2611   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2612   *) ac_try_echo=$ac_try;;
   2613 esac
   2614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2615 $as_echo "$ac_try_echo"; } >&5
   2616   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2617   ac_status=$?
   2618   if test -s conftest.err; then
   2619     sed '10a\
   2620 ... rest of stderr output deleted ...
   2621          10q' conftest.err >conftest.er1
   2622     cat conftest.er1 >&5
   2623   fi
   2624   rm -f conftest.er1 conftest.err
   2625   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2626   test $ac_status = 0; }
   2627 done
   2628 
   2629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2630 /* end confdefs.h.  */
   2631 
   2632 int
   2633 main ()
   2634 {
   2635 
   2636   ;
   2637   return 0;
   2638 }
   2639 _ACEOF
   2640 ac_clean_files_save=$ac_clean_files
   2641 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2642 # Try to create an executable without -o first, disregard a.out.
   2643 # It will help us diagnose broken compilers, and finding out an intuition
   2644 # of exeext.
   2645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2646 $as_echo_n "checking whether the C compiler works... " >&6; }
   2647 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2648 
   2649 # The possible output files:
   2650 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2651 
   2652 ac_rmfiles=
   2653 for ac_file in $ac_files
   2654 do
   2655   case $ac_file in
   2656     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2657     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2658   esac
   2659 done
   2660 rm -f $ac_rmfiles
   2661 
   2662 if { { ac_try="$ac_link_default"
   2663 case "(($ac_try" in
   2664   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2665   *) ac_try_echo=$ac_try;;
   2666 esac
   2667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2668 $as_echo "$ac_try_echo"; } >&5
   2669   (eval "$ac_link_default") 2>&5
   2670   ac_status=$?
   2671   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2672   test $ac_status = 0; }; then :
   2673   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2674 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2675 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2676 # so that the user can short-circuit this test for compilers unknown to
   2677 # Autoconf.
   2678 for ac_file in $ac_files ''
   2679 do
   2680   test -f "$ac_file" || continue
   2681   case $ac_file in
   2682     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2683 	;;
   2684     [ab].out )
   2685 	# We found the default executable, but exeext='' is most
   2686 	# certainly right.
   2687 	break;;
   2688     *.* )
   2689 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2690 	then :; else
   2691 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2692 	fi
   2693 	# We set ac_cv_exeext here because the later test for it is not
   2694 	# safe: cross compilers may not add the suffix if given an `-o'
   2695 	# argument, so we may need to know it at that point already.
   2696 	# Even if this section looks crufty: it has the advantage of
   2697 	# actually working.
   2698 	break;;
   2699     * )
   2700 	break;;
   2701   esac
   2702 done
   2703 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2704 
   2705 else
   2706   ac_file=''
   2707 fi
   2708 if test -z "$ac_file"; then :
   2709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2710 $as_echo "no" >&6; }
   2711 $as_echo "$as_me: failed program was:" >&5
   2712 sed 's/^/| /' conftest.$ac_ext >&5
   2713 
   2714 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2716 as_fn_error 77 "C compiler cannot create executables
   2717 See \`config.log' for more details" "$LINENO" 5; }
   2718 else
   2719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2720 $as_echo "yes" >&6; }
   2721 fi
   2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2723 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2725 $as_echo "$ac_file" >&6; }
   2726 ac_exeext=$ac_cv_exeext
   2727 
   2728 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2729 ac_clean_files=$ac_clean_files_save
   2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2731 $as_echo_n "checking for suffix of executables... " >&6; }
   2732 if { { ac_try="$ac_link"
   2733 case "(($ac_try" in
   2734   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2735   *) ac_try_echo=$ac_try;;
   2736 esac
   2737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2738 $as_echo "$ac_try_echo"; } >&5
   2739   (eval "$ac_link") 2>&5
   2740   ac_status=$?
   2741   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2742   test $ac_status = 0; }; then :
   2743   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2744 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2745 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2746 # `rm'.
   2747 for ac_file in conftest.exe conftest conftest.*; do
   2748   test -f "$ac_file" || continue
   2749   case $ac_file in
   2750     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2751     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2752 	  break;;
   2753     * ) break;;
   2754   esac
   2755 done
   2756 else
   2757   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2758 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2759 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   2760 See \`config.log' for more details" "$LINENO" 5; }
   2761 fi
   2762 rm -f conftest conftest$ac_cv_exeext
   2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2764 $as_echo "$ac_cv_exeext" >&6; }
   2765 
   2766 rm -f conftest.$ac_ext
   2767 EXEEXT=$ac_cv_exeext
   2768 ac_exeext=$EXEEXT
   2769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2770 /* end confdefs.h.  */
   2771 #include <stdio.h>
   2772 int
   2773 main ()
   2774 {
   2775 FILE *f = fopen ("conftest.out", "w");
   2776  return ferror (f) || fclose (f) != 0;
   2777 
   2778   ;
   2779   return 0;
   2780 }
   2781 _ACEOF
   2782 ac_clean_files="$ac_clean_files conftest.out"
   2783 # Check that the compiler produces executables we can run.  If not, either
   2784 # the compiler is broken, or we cross compile.
   2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2786 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2787 if test "$cross_compiling" != yes; then
   2788   { { ac_try="$ac_link"
   2789 case "(($ac_try" in
   2790   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2791   *) ac_try_echo=$ac_try;;
   2792 esac
   2793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2794 $as_echo "$ac_try_echo"; } >&5
   2795   (eval "$ac_link") 2>&5
   2796   ac_status=$?
   2797   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2798   test $ac_status = 0; }
   2799   if { ac_try='./conftest$ac_cv_exeext'
   2800   { { case "(($ac_try" in
   2801   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2802   *) ac_try_echo=$ac_try;;
   2803 esac
   2804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2805 $as_echo "$ac_try_echo"; } >&5
   2806   (eval "$ac_try") 2>&5
   2807   ac_status=$?
   2808   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2809   test $ac_status = 0; }; }; then
   2810     cross_compiling=no
   2811   else
   2812     if test "$cross_compiling" = maybe; then
   2813 	cross_compiling=yes
   2814     else
   2815 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2817 as_fn_error $? "cannot run C compiled programs.
   2818 If you meant to cross compile, use \`--host'.
   2819 See \`config.log' for more details" "$LINENO" 5; }
   2820     fi
   2821   fi
   2822 fi
   2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   2824 $as_echo "$cross_compiling" >&6; }
   2825 
   2826 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   2827 ac_clean_files=$ac_clean_files_save
   2828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   2829 $as_echo_n "checking for suffix of object files... " >&6; }
   2830 if ${ac_cv_objext+:} false; then :
   2831   $as_echo_n "(cached) " >&6
   2832 else
   2833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2834 /* end confdefs.h.  */
   2835 
   2836 int
   2837 main ()
   2838 {
   2839 
   2840   ;
   2841   return 0;
   2842 }
   2843 _ACEOF
   2844 rm -f conftest.o conftest.obj
   2845 if { { ac_try="$ac_compile"
   2846 case "(($ac_try" in
   2847   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2848   *) ac_try_echo=$ac_try;;
   2849 esac
   2850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2851 $as_echo "$ac_try_echo"; } >&5
   2852   (eval "$ac_compile") 2>&5
   2853   ac_status=$?
   2854   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2855   test $ac_status = 0; }; then :
   2856   for ac_file in conftest.o conftest.obj conftest.*; do
   2857   test -f "$ac_file" || continue;
   2858   case $ac_file in
   2859     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   2860     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2861        break;;
   2862   esac
   2863 done
   2864 else
   2865   $as_echo "$as_me: failed program was:" >&5
   2866 sed 's/^/| /' conftest.$ac_ext >&5
   2867 
   2868 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2869 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2870 as_fn_error $? "cannot compute suffix of object files: cannot compile
   2871 See \`config.log' for more details" "$LINENO" 5; }
   2872 fi
   2873 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2874 fi
   2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   2876 $as_echo "$ac_cv_objext" >&6; }
   2877 OBJEXT=$ac_cv_objext
   2878 ac_objext=$OBJEXT
   2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   2880 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   2881 if ${ac_cv_c_compiler_gnu+:} false; then :
   2882   $as_echo_n "(cached) " >&6
   2883 else
   2884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2885 /* end confdefs.h.  */
   2886 
   2887 int
   2888 main ()
   2889 {
   2890 #ifndef __GNUC__
   2891        choke me
   2892 #endif
   2893 
   2894   ;
   2895   return 0;
   2896 }
   2897 _ACEOF
   2898 if ac_fn_c_try_compile "$LINENO"; then :
   2899   ac_compiler_gnu=yes
   2900 else
   2901   ac_compiler_gnu=no
   2902 fi
   2903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2904 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2905 
   2906 fi
   2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   2908 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   2909 if test $ac_compiler_gnu = yes; then
   2910   GCC=yes
   2911 else
   2912   GCC=
   2913 fi
   2914 ac_test_CFLAGS=${CFLAGS+set}
   2915 ac_save_CFLAGS=$CFLAGS
   2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   2917 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   2918 if ${ac_cv_prog_cc_g+:} false; then :
   2919   $as_echo_n "(cached) " >&6
   2920 else
   2921   ac_save_c_werror_flag=$ac_c_werror_flag
   2922    ac_c_werror_flag=yes
   2923    ac_cv_prog_cc_g=no
   2924    CFLAGS="-g"
   2925    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2926 /* end confdefs.h.  */
   2927 
   2928 int
   2929 main ()
   2930 {
   2931 
   2932   ;
   2933   return 0;
   2934 }
   2935 _ACEOF
   2936 if ac_fn_c_try_compile "$LINENO"; then :
   2937   ac_cv_prog_cc_g=yes
   2938 else
   2939   CFLAGS=""
   2940       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2941 /* end confdefs.h.  */
   2942 
   2943 int
   2944 main ()
   2945 {
   2946 
   2947   ;
   2948   return 0;
   2949 }
   2950 _ACEOF
   2951 if ac_fn_c_try_compile "$LINENO"; then :
   2952 
   2953 else
   2954   ac_c_werror_flag=$ac_save_c_werror_flag
   2955 	 CFLAGS="-g"
   2956 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2957 /* end confdefs.h.  */
   2958 
   2959 int
   2960 main ()
   2961 {
   2962 
   2963   ;
   2964   return 0;
   2965 }
   2966 _ACEOF
   2967 if ac_fn_c_try_compile "$LINENO"; then :
   2968   ac_cv_prog_cc_g=yes
   2969 fi
   2970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2971 fi
   2972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2973 fi
   2974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2975    ac_c_werror_flag=$ac_save_c_werror_flag
   2976 fi
   2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   2978 $as_echo "$ac_cv_prog_cc_g" >&6; }
   2979 if test "$ac_test_CFLAGS" = set; then
   2980   CFLAGS=$ac_save_CFLAGS
   2981 elif test $ac_cv_prog_cc_g = yes; then
   2982   if test "$GCC" = yes; then
   2983     CFLAGS="-g -O2"
   2984   else
   2985     CFLAGS="-g"
   2986   fi
   2987 else
   2988   if test "$GCC" = yes; then
   2989     CFLAGS="-O2"
   2990   else
   2991     CFLAGS=
   2992   fi
   2993 fi
   2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   2995 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   2996 if ${ac_cv_prog_cc_c89+:} false; then :
   2997   $as_echo_n "(cached) " >&6
   2998 else
   2999   ac_cv_prog_cc_c89=no
   3000 ac_save_CC=$CC
   3001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3002 /* end confdefs.h.  */
   3003 #include <stdarg.h>
   3004 #include <stdio.h>
   3005 struct stat;
   3006 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3007 struct buf { int x; };
   3008 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3009 static char *e (p, i)
   3010      char **p;
   3011      int i;
   3012 {
   3013   return p[i];
   3014 }
   3015 static char *f (char * (*g) (char **, int), char **p, ...)
   3016 {
   3017   char *s;
   3018   va_list v;
   3019   va_start (v,p);
   3020   s = g (p, va_arg (v,int));
   3021   va_end (v);
   3022   return s;
   3023 }
   3024 
   3025 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3026    function prototypes and stuff, but not '\xHH' hex character constants.
   3027    These don't provoke an error unfortunately, instead are silently treated
   3028    as 'x'.  The following induces an error, until -std is added to get
   3029    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3030    array size at least.  It's necessary to write '\x00'==0 to get something
   3031    that's true only with -std.  */
   3032 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3033 
   3034 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3035    inside strings and character constants.  */
   3036 #define FOO(x) 'x'
   3037 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3038 
   3039 int test (int i, double x);
   3040 struct s1 {int (*f) (int a);};
   3041 struct s2 {int (*f) (double a);};
   3042 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3043 int argc;
   3044 char **argv;
   3045 int
   3046 main ()
   3047 {
   3048 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3049   ;
   3050   return 0;
   3051 }
   3052 _ACEOF
   3053 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3054 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3055 do
   3056   CC="$ac_save_CC $ac_arg"
   3057   if ac_fn_c_try_compile "$LINENO"; then :
   3058   ac_cv_prog_cc_c89=$ac_arg
   3059 fi
   3060 rm -f core conftest.err conftest.$ac_objext
   3061   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3062 done
   3063 rm -f conftest.$ac_ext
   3064 CC=$ac_save_CC
   3065 
   3066 fi
   3067 # AC_CACHE_VAL
   3068 case "x$ac_cv_prog_cc_c89" in
   3069   x)
   3070     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3071 $as_echo "none needed" >&6; } ;;
   3072   xno)
   3073     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3074 $as_echo "unsupported" >&6; } ;;
   3075   *)
   3076     CC="$CC $ac_cv_prog_cc_c89"
   3077     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3078 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3079 esac
   3080 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3081 
   3082 fi
   3083 
   3084 ac_ext=c
   3085 ac_cpp='$CPP $CPPFLAGS'
   3086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3089 
   3090 ac_ext=c
   3091 ac_cpp='$CPP $CPPFLAGS'
   3092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3096 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3097 if ${am_cv_prog_cc_c_o+:} false; then :
   3098   $as_echo_n "(cached) " >&6
   3099 else
   3100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3101 /* end confdefs.h.  */
   3102 
   3103 int
   3104 main ()
   3105 {
   3106 
   3107   ;
   3108   return 0;
   3109 }
   3110 _ACEOF
   3111   # Make sure it works both with $CC and with simple cc.
   3112   # Following AC_PROG_CC_C_O, we do the test twice because some
   3113   # compilers refuse to overwrite an existing .o file with -o,
   3114   # though they will create one.
   3115   am_cv_prog_cc_c_o=yes
   3116   for am_i in 1 2; do
   3117     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3118    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3119    ac_status=$?
   3120    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3121    (exit $ac_status); } \
   3122          && test -f conftest2.$ac_objext; then
   3123       : OK
   3124     else
   3125       am_cv_prog_cc_c_o=no
   3126       break
   3127     fi
   3128   done
   3129   rm -f core conftest*
   3130   unset am_i
   3131 fi
   3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3133 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3134 if test "$am_cv_prog_cc_c_o" != yes; then
   3135    # Losing compiler, so override with the script.
   3136    # FIXME: It is wrong to rewrite CC.
   3137    # But if we don't then we get into trouble of one sort or another.
   3138    # A longer-term fix would be to have automake use am__CC in this case,
   3139    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3140    CC="$am_aux_dir/compile $CC"
   3141 fi
   3142 ac_ext=c
   3143 ac_cpp='$CPP $CPPFLAGS'
   3144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3147 
   3148 
   3149 
   3150 ac_ext=c
   3151 ac_cpp='$CPP $CPPFLAGS'
   3152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3156 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3157 # On Suns, sometimes $CPP names a directory.
   3158 if test -n "$CPP" && test -d "$CPP"; then
   3159   CPP=
   3160 fi
   3161 if test -z "$CPP"; then
   3162   if ${ac_cv_prog_CPP+:} false; then :
   3163   $as_echo_n "(cached) " >&6
   3164 else
   3165       # Double quotes because CPP needs to be expanded
   3166     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3167     do
   3168       ac_preproc_ok=false
   3169 for ac_c_preproc_warn_flag in '' yes
   3170 do
   3171   # Use a header file that comes with gcc, so configuring glibc
   3172   # with a fresh cross-compiler works.
   3173   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3174   # <limits.h> exists even on freestanding compilers.
   3175   # On the NeXT, cc -E runs the code through the compiler's parser,
   3176   # not just through cpp. "Syntax error" is here to catch this case.
   3177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3178 /* end confdefs.h.  */
   3179 #ifdef __STDC__
   3180 # include <limits.h>
   3181 #else
   3182 # include <assert.h>
   3183 #endif
   3184 		     Syntax error
   3185 _ACEOF
   3186 if ac_fn_c_try_cpp "$LINENO"; then :
   3187 
   3188 else
   3189   # Broken: fails on valid input.
   3190 continue
   3191 fi
   3192 rm -f conftest.err conftest.i conftest.$ac_ext
   3193 
   3194   # OK, works on sane cases.  Now check whether nonexistent headers
   3195   # can be detected and how.
   3196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3197 /* end confdefs.h.  */
   3198 #include <ac_nonexistent.h>
   3199 _ACEOF
   3200 if ac_fn_c_try_cpp "$LINENO"; then :
   3201   # Broken: success on invalid input.
   3202 continue
   3203 else
   3204   # Passes both tests.
   3205 ac_preproc_ok=:
   3206 break
   3207 fi
   3208 rm -f conftest.err conftest.i conftest.$ac_ext
   3209 
   3210 done
   3211 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3212 rm -f conftest.i conftest.err conftest.$ac_ext
   3213 if $ac_preproc_ok; then :
   3214   break
   3215 fi
   3216 
   3217     done
   3218     ac_cv_prog_CPP=$CPP
   3219 
   3220 fi
   3221   CPP=$ac_cv_prog_CPP
   3222 else
   3223   ac_cv_prog_CPP=$CPP
   3224 fi
   3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3226 $as_echo "$CPP" >&6; }
   3227 ac_preproc_ok=false
   3228 for ac_c_preproc_warn_flag in '' yes
   3229 do
   3230   # Use a header file that comes with gcc, so configuring glibc
   3231   # with a fresh cross-compiler works.
   3232   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3233   # <limits.h> exists even on freestanding compilers.
   3234   # On the NeXT, cc -E runs the code through the compiler's parser,
   3235   # not just through cpp. "Syntax error" is here to catch this case.
   3236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3237 /* end confdefs.h.  */
   3238 #ifdef __STDC__
   3239 # include <limits.h>
   3240 #else
   3241 # include <assert.h>
   3242 #endif
   3243 		     Syntax error
   3244 _ACEOF
   3245 if ac_fn_c_try_cpp "$LINENO"; then :
   3246 
   3247 else
   3248   # Broken: fails on valid input.
   3249 continue
   3250 fi
   3251 rm -f conftest.err conftest.i conftest.$ac_ext
   3252 
   3253   # OK, works on sane cases.  Now check whether nonexistent headers
   3254   # can be detected and how.
   3255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3256 /* end confdefs.h.  */
   3257 #include <ac_nonexistent.h>
   3258 _ACEOF
   3259 if ac_fn_c_try_cpp "$LINENO"; then :
   3260   # Broken: success on invalid input.
   3261 continue
   3262 else
   3263   # Passes both tests.
   3264 ac_preproc_ok=:
   3265 break
   3266 fi
   3267 rm -f conftest.err conftest.i conftest.$ac_ext
   3268 
   3269 done
   3270 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3271 rm -f conftest.i conftest.err conftest.$ac_ext
   3272 if $ac_preproc_ok; then :
   3273 
   3274 else
   3275   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3277 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3278 See \`config.log' for more details" "$LINENO" 5; }
   3279 fi
   3280 
   3281 ac_ext=c
   3282 ac_cpp='$CPP $CPPFLAGS'
   3283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3286 
   3287 
   3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3289 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3290 if ${ac_cv_path_GREP+:} false; then :
   3291   $as_echo_n "(cached) " >&6
   3292 else
   3293   if test -z "$GREP"; then
   3294   ac_path_GREP_found=false
   3295   # Loop through the user's path and test for each of PROGNAME-LIST
   3296   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3297 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3298 do
   3299   IFS=$as_save_IFS
   3300   test -z "$as_dir" && as_dir=.
   3301     for ac_prog in grep ggrep; do
   3302     for ac_exec_ext in '' $ac_executable_extensions; do
   3303       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3304       as_fn_executable_p "$ac_path_GREP" || continue
   3305 # Check for GNU ac_path_GREP and select it if it is found.
   3306   # Check for GNU $ac_path_GREP
   3307 case `"$ac_path_GREP" --version 2>&1` in
   3308 *GNU*)
   3309   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3310 *)
   3311   ac_count=0
   3312   $as_echo_n 0123456789 >"conftest.in"
   3313   while :
   3314   do
   3315     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3316     mv "conftest.tmp" "conftest.in"
   3317     cp "conftest.in" "conftest.nl"
   3318     $as_echo 'GREP' >> "conftest.nl"
   3319     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3320     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3321     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3322     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3323       # Best one so far, save it but keep looking for a better one
   3324       ac_cv_path_GREP="$ac_path_GREP"
   3325       ac_path_GREP_max=$ac_count
   3326     fi
   3327     # 10*(2^10) chars as input seems more than enough
   3328     test $ac_count -gt 10 && break
   3329   done
   3330   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3331 esac
   3332 
   3333       $ac_path_GREP_found && break 3
   3334     done
   3335   done
   3336   done
   3337 IFS=$as_save_IFS
   3338   if test -z "$ac_cv_path_GREP"; then
   3339     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3340   fi
   3341 else
   3342   ac_cv_path_GREP=$GREP
   3343 fi
   3344 
   3345 fi
   3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3347 $as_echo "$ac_cv_path_GREP" >&6; }
   3348  GREP="$ac_cv_path_GREP"
   3349 
   3350 
   3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3352 $as_echo_n "checking for egrep... " >&6; }
   3353 if ${ac_cv_path_EGREP+:} false; then :
   3354   $as_echo_n "(cached) " >&6
   3355 else
   3356   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3357    then ac_cv_path_EGREP="$GREP -E"
   3358    else
   3359      if test -z "$EGREP"; then
   3360   ac_path_EGREP_found=false
   3361   # Loop through the user's path and test for each of PROGNAME-LIST
   3362   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3363 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3364 do
   3365   IFS=$as_save_IFS
   3366   test -z "$as_dir" && as_dir=.
   3367     for ac_prog in egrep; do
   3368     for ac_exec_ext in '' $ac_executable_extensions; do
   3369       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3370       as_fn_executable_p "$ac_path_EGREP" || continue
   3371 # Check for GNU ac_path_EGREP and select it if it is found.
   3372   # Check for GNU $ac_path_EGREP
   3373 case `"$ac_path_EGREP" --version 2>&1` in
   3374 *GNU*)
   3375   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3376 *)
   3377   ac_count=0
   3378   $as_echo_n 0123456789 >"conftest.in"
   3379   while :
   3380   do
   3381     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3382     mv "conftest.tmp" "conftest.in"
   3383     cp "conftest.in" "conftest.nl"
   3384     $as_echo 'EGREP' >> "conftest.nl"
   3385     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3386     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3387     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3388     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3389       # Best one so far, save it but keep looking for a better one
   3390       ac_cv_path_EGREP="$ac_path_EGREP"
   3391       ac_path_EGREP_max=$ac_count
   3392     fi
   3393     # 10*(2^10) chars as input seems more than enough
   3394     test $ac_count -gt 10 && break
   3395   done
   3396   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3397 esac
   3398 
   3399       $ac_path_EGREP_found && break 3
   3400     done
   3401   done
   3402   done
   3403 IFS=$as_save_IFS
   3404   if test -z "$ac_cv_path_EGREP"; then
   3405     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3406   fi
   3407 else
   3408   ac_cv_path_EGREP=$EGREP
   3409 fi
   3410 
   3411    fi
   3412 fi
   3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3414 $as_echo "$ac_cv_path_EGREP" >&6; }
   3415  EGREP="$ac_cv_path_EGREP"
   3416 
   3417 
   3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3419 $as_echo_n "checking for ANSI C header files... " >&6; }
   3420 if ${ac_cv_header_stdc+:} false; then :
   3421   $as_echo_n "(cached) " >&6
   3422 else
   3423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3424 /* end confdefs.h.  */
   3425 #include <stdlib.h>
   3426 #include <stdarg.h>
   3427 #include <string.h>
   3428 #include <float.h>
   3429 
   3430 int
   3431 main ()
   3432 {
   3433 
   3434   ;
   3435   return 0;
   3436 }
   3437 _ACEOF
   3438 if ac_fn_c_try_compile "$LINENO"; then :
   3439   ac_cv_header_stdc=yes
   3440 else
   3441   ac_cv_header_stdc=no
   3442 fi
   3443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3444 
   3445 if test $ac_cv_header_stdc = yes; then
   3446   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3448 /* end confdefs.h.  */
   3449 #include <string.h>
   3450 
   3451 _ACEOF
   3452 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3453   $EGREP "memchr" >/dev/null 2>&1; then :
   3454 
   3455 else
   3456   ac_cv_header_stdc=no
   3457 fi
   3458 rm -f conftest*
   3459 
   3460 fi
   3461 
   3462 if test $ac_cv_header_stdc = yes; then
   3463   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3465 /* end confdefs.h.  */
   3466 #include <stdlib.h>
   3467 
   3468 _ACEOF
   3469 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3470   $EGREP "free" >/dev/null 2>&1; then :
   3471 
   3472 else
   3473   ac_cv_header_stdc=no
   3474 fi
   3475 rm -f conftest*
   3476 
   3477 fi
   3478 
   3479 if test $ac_cv_header_stdc = yes; then
   3480   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3481   if test "$cross_compiling" = yes; then :
   3482   :
   3483 else
   3484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3485 /* end confdefs.h.  */
   3486 #include <ctype.h>
   3487 #include <stdlib.h>
   3488 #if ((' ' & 0x0FF) == 0x020)
   3489 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3490 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3491 #else
   3492 # define ISLOWER(c) \
   3493 		   (('a' <= (c) && (c) <= 'i') \
   3494 		     || ('j' <= (c) && (c) <= 'r') \
   3495 		     || ('s' <= (c) && (c) <= 'z'))
   3496 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3497 #endif
   3498 
   3499 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3500 int
   3501 main ()
   3502 {
   3503   int i;
   3504   for (i = 0; i < 256; i++)
   3505     if (XOR (islower (i), ISLOWER (i))
   3506 	|| toupper (i) != TOUPPER (i))
   3507       return 2;
   3508   return 0;
   3509 }
   3510 _ACEOF
   3511 if ac_fn_c_try_run "$LINENO"; then :
   3512 
   3513 else
   3514   ac_cv_header_stdc=no
   3515 fi
   3516 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3517   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3518 fi
   3519 
   3520 fi
   3521 fi
   3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3523 $as_echo "$ac_cv_header_stdc" >&6; }
   3524 if test $ac_cv_header_stdc = yes; then
   3525 
   3526 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3527 
   3528 fi
   3529 
   3530 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3531 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3532 		  inttypes.h stdint.h unistd.h
   3533 do :
   3534   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3535 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3536 "
   3537 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3538   cat >>confdefs.h <<_ACEOF
   3539 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3540 _ACEOF
   3541 
   3542 fi
   3543 
   3544 done
   3545 
   3546 
   3547 
   3548   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3549 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   3550   MINIX=yes
   3551 else
   3552   MINIX=
   3553 fi
   3554 
   3555 
   3556   if test "$MINIX" = yes; then
   3557 
   3558 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3559 
   3560 
   3561 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3562 
   3563 
   3564 $as_echo "#define _MINIX 1" >>confdefs.h
   3565 
   3566   fi
   3567 
   3568 
   3569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3570 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3571 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   3572   $as_echo_n "(cached) " >&6
   3573 else
   3574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3575 /* end confdefs.h.  */
   3576 
   3577 #         define __EXTENSIONS__ 1
   3578           $ac_includes_default
   3579 int
   3580 main ()
   3581 {
   3582 
   3583   ;
   3584   return 0;
   3585 }
   3586 _ACEOF
   3587 if ac_fn_c_try_compile "$LINENO"; then :
   3588   ac_cv_safe_to_define___extensions__=yes
   3589 else
   3590   ac_cv_safe_to_define___extensions__=no
   3591 fi
   3592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3593 fi
   3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3595 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   3596   test $ac_cv_safe_to_define___extensions__ = yes &&
   3597     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   3598 
   3599   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   3600 
   3601   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   3602 
   3603   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3604 
   3605   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   3606 
   3607 
   3608 
   3609 # Initialize Automake
   3610 am__api_version='1.15'
   3611 
   3612 # Find a good install program.  We prefer a C program (faster),
   3613 # so one script is as good as another.  But avoid the broken or
   3614 # incompatible versions:
   3615 # SysV /etc/install, /usr/sbin/install
   3616 # SunOS /usr/etc/install
   3617 # IRIX /sbin/install
   3618 # AIX /bin/install
   3619 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3620 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3621 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3622 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3623 # OS/2's system install, which has a completely different semantic
   3624 # ./install, which can be erroneously created by make from ./install.sh.
   3625 # Reject install programs that cannot install multiple files.
   3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3627 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3628 if test -z "$INSTALL"; then
   3629 if ${ac_cv_path_install+:} false; then :
   3630   $as_echo_n "(cached) " >&6
   3631 else
   3632   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3633 for as_dir in $PATH
   3634 do
   3635   IFS=$as_save_IFS
   3636   test -z "$as_dir" && as_dir=.
   3637     # Account for people who put trailing slashes in PATH elements.
   3638 case $as_dir/ in #((
   3639   ./ | .// | /[cC]/* | \
   3640   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3641   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3642   /usr/ucb/* ) ;;
   3643   *)
   3644     # OSF1 and SCO ODT 3.0 have their own names for install.
   3645     # Don't use installbsd from OSF since it installs stuff as root
   3646     # by default.
   3647     for ac_prog in ginstall scoinst install; do
   3648       for ac_exec_ext in '' $ac_executable_extensions; do
   3649 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   3650 	  if test $ac_prog = install &&
   3651 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3652 	    # AIX install.  It has an incompatible calling convention.
   3653 	    :
   3654 	  elif test $ac_prog = install &&
   3655 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3656 	    # program-specific install script used by HP pwplus--don't use.
   3657 	    :
   3658 	  else
   3659 	    rm -rf conftest.one conftest.two conftest.dir
   3660 	    echo one > conftest.one
   3661 	    echo two > conftest.two
   3662 	    mkdir conftest.dir
   3663 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3664 	      test -s conftest.one && test -s conftest.two &&
   3665 	      test -s conftest.dir/conftest.one &&
   3666 	      test -s conftest.dir/conftest.two
   3667 	    then
   3668 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3669 	      break 3
   3670 	    fi
   3671 	  fi
   3672 	fi
   3673       done
   3674     done
   3675     ;;
   3676 esac
   3677 
   3678   done
   3679 IFS=$as_save_IFS
   3680 
   3681 rm -rf conftest.one conftest.two conftest.dir
   3682 
   3683 fi
   3684   if test "${ac_cv_path_install+set}" = set; then
   3685     INSTALL=$ac_cv_path_install
   3686   else
   3687     # As a last resort, use the slow shell script.  Don't cache a
   3688     # value for INSTALL within a source directory, because that will
   3689     # break other packages using the cache if that directory is
   3690     # removed, or if the value is a relative name.
   3691     INSTALL=$ac_install_sh
   3692   fi
   3693 fi
   3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3695 $as_echo "$INSTALL" >&6; }
   3696 
   3697 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3698 # It thinks the first close brace ends the variable substitution.
   3699 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3700 
   3701 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3702 
   3703 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3704 
   3705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3706 $as_echo_n "checking whether build environment is sane... " >&6; }
   3707 # Reject unsafe characters in $srcdir or the absolute working directory
   3708 # name.  Accept space and tab only in the latter.
   3709 am_lf='
   3710 '
   3711 case `pwd` in
   3712   *[\\\"\#\$\&\'\`$am_lf]*)
   3713     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3714 esac
   3715 case $srcdir in
   3716   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3717     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3718 esac
   3719 
   3720 # Do 'set' in a subshell so we don't clobber the current shell's
   3721 # arguments.  Must try -L first in case configure is actually a
   3722 # symlink; some systems play weird games with the mod time of symlinks
   3723 # (eg FreeBSD returns the mod time of the symlink's containing
   3724 # directory).
   3725 if (
   3726    am_has_slept=no
   3727    for am_try in 1 2; do
   3728      echo "timestamp, slept: $am_has_slept" > conftest.file
   3729      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3730      if test "$*" = "X"; then
   3731 	# -L didn't work.
   3732 	set X `ls -t "$srcdir/configure" conftest.file`
   3733      fi
   3734      if test "$*" != "X $srcdir/configure conftest.file" \
   3735 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3736 
   3737 	# If neither matched, then we have a broken ls.  This can happen
   3738 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3739 	# broken ls alias from the environment.  This has actually
   3740 	# happened.  Such a system could not be considered "sane".
   3741 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3742   alias in your environment" "$LINENO" 5
   3743      fi
   3744      if test "$2" = conftest.file || test $am_try -eq 2; then
   3745        break
   3746      fi
   3747      # Just in case.
   3748      sleep 1
   3749      am_has_slept=yes
   3750    done
   3751    test "$2" = conftest.file
   3752    )
   3753 then
   3754    # Ok.
   3755    :
   3756 else
   3757    as_fn_error $? "newly created file is older than distributed files!
   3758 Check your system clock" "$LINENO" 5
   3759 fi
   3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3761 $as_echo "yes" >&6; }
   3762 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3763 # generated files are strictly newer.
   3764 am_sleep_pid=
   3765 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3766   ( sleep 1 ) &
   3767   am_sleep_pid=$!
   3768 fi
   3769 
   3770 rm -f conftest.file
   3771 
   3772 test "$program_prefix" != NONE &&
   3773   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3774 # Use a double $ so make ignores it.
   3775 test "$program_suffix" != NONE &&
   3776   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3777 # Double any \ or $.
   3778 # By default was `s,x,x', remove it if useless.
   3779 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3780 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   3781 
   3782 if test x"${MISSING+set}" != xset; then
   3783   case $am_aux_dir in
   3784   *\ * | *\	*)
   3785     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   3786   *)
   3787     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   3788   esac
   3789 fi
   3790 # Use eval to expand $SHELL
   3791 if eval "$MISSING --is-lightweight"; then
   3792   am_missing_run="$MISSING "
   3793 else
   3794   am_missing_run=
   3795   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3796 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3797 fi
   3798 
   3799 if test x"${install_sh+set}" != xset; then
   3800   case $am_aux_dir in
   3801   *\ * | *\	*)
   3802     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3803   *)
   3804     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3805   esac
   3806 fi
   3807 
   3808 # Installed binaries are usually stripped using 'strip' when the user
   3809 # run "make install-strip".  However 'strip' might not be the right
   3810 # tool to use in cross-compilation environments, therefore Automake
   3811 # will honor the 'STRIP' environment variable to overrule this program.
   3812 if test "$cross_compiling" != no; then
   3813   if test -n "$ac_tool_prefix"; then
   3814   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3815 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3817 $as_echo_n "checking for $ac_word... " >&6; }
   3818 if ${ac_cv_prog_STRIP+:} false; then :
   3819   $as_echo_n "(cached) " >&6
   3820 else
   3821   if test -n "$STRIP"; then
   3822   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3823 else
   3824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3825 for as_dir in $PATH
   3826 do
   3827   IFS=$as_save_IFS
   3828   test -z "$as_dir" && as_dir=.
   3829     for ac_exec_ext in '' $ac_executable_extensions; do
   3830   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3831     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3832     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3833     break 2
   3834   fi
   3835 done
   3836   done
   3837 IFS=$as_save_IFS
   3838 
   3839 fi
   3840 fi
   3841 STRIP=$ac_cv_prog_STRIP
   3842 if test -n "$STRIP"; then
   3843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3844 $as_echo "$STRIP" >&6; }
   3845 else
   3846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3847 $as_echo "no" >&6; }
   3848 fi
   3849 
   3850 
   3851 fi
   3852 if test -z "$ac_cv_prog_STRIP"; then
   3853   ac_ct_STRIP=$STRIP
   3854   # Extract the first word of "strip", so it can be a program name with args.
   3855 set dummy strip; ac_word=$2
   3856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3857 $as_echo_n "checking for $ac_word... " >&6; }
   3858 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   3859   $as_echo_n "(cached) " >&6
   3860 else
   3861   if test -n "$ac_ct_STRIP"; then
   3862   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3863 else
   3864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3865 for as_dir in $PATH
   3866 do
   3867   IFS=$as_save_IFS
   3868   test -z "$as_dir" && as_dir=.
   3869     for ac_exec_ext in '' $ac_executable_extensions; do
   3870   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3871     ac_cv_prog_ac_ct_STRIP="strip"
   3872     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3873     break 2
   3874   fi
   3875 done
   3876   done
   3877 IFS=$as_save_IFS
   3878 
   3879 fi
   3880 fi
   3881 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3882 if test -n "$ac_ct_STRIP"; then
   3883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3884 $as_echo "$ac_ct_STRIP" >&6; }
   3885 else
   3886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3887 $as_echo "no" >&6; }
   3888 fi
   3889 
   3890   if test "x$ac_ct_STRIP" = x; then
   3891     STRIP=":"
   3892   else
   3893     case $cross_compiling:$ac_tool_warned in
   3894 yes:)
   3895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3897 ac_tool_warned=yes ;;
   3898 esac
   3899     STRIP=$ac_ct_STRIP
   3900   fi
   3901 else
   3902   STRIP="$ac_cv_prog_STRIP"
   3903 fi
   3904 
   3905 fi
   3906 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3907 
   3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   3909 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   3910 if test -z "$MKDIR_P"; then
   3911   if ${ac_cv_path_mkdir+:} false; then :
   3912   $as_echo_n "(cached) " >&6
   3913 else
   3914   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3915 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3916 do
   3917   IFS=$as_save_IFS
   3918   test -z "$as_dir" && as_dir=.
   3919     for ac_prog in mkdir gmkdir; do
   3920 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3921 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   3922 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3923 	     'mkdir (GNU coreutils) '* | \
   3924 	     'mkdir (coreutils) '* | \
   3925 	     'mkdir (fileutils) '4.1*)
   3926 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   3927 	       break 3;;
   3928 	   esac
   3929 	 done
   3930        done
   3931   done
   3932 IFS=$as_save_IFS
   3933 
   3934 fi
   3935 
   3936   test -d ./--version && rmdir ./--version
   3937   if test "${ac_cv_path_mkdir+set}" = set; then
   3938     MKDIR_P="$ac_cv_path_mkdir -p"
   3939   else
   3940     # As a last resort, use the slow shell script.  Don't cache a
   3941     # value for MKDIR_P within a source directory, because that will
   3942     # break other packages using the cache if that directory is
   3943     # removed, or if the value is a relative name.
   3944     MKDIR_P="$ac_install_sh -d"
   3945   fi
   3946 fi
   3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3948 $as_echo "$MKDIR_P" >&6; }
   3949 
   3950 for ac_prog in gawk mawk nawk awk
   3951 do
   3952   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3953 set dummy $ac_prog; ac_word=$2
   3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3955 $as_echo_n "checking for $ac_word... " >&6; }
   3956 if ${ac_cv_prog_AWK+:} false; then :
   3957   $as_echo_n "(cached) " >&6
   3958 else
   3959   if test -n "$AWK"; then
   3960   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3961 else
   3962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3963 for as_dir in $PATH
   3964 do
   3965   IFS=$as_save_IFS
   3966   test -z "$as_dir" && as_dir=.
   3967     for ac_exec_ext in '' $ac_executable_extensions; do
   3968   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3969     ac_cv_prog_AWK="$ac_prog"
   3970     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3971     break 2
   3972   fi
   3973 done
   3974   done
   3975 IFS=$as_save_IFS
   3976 
   3977 fi
   3978 fi
   3979 AWK=$ac_cv_prog_AWK
   3980 if test -n "$AWK"; then
   3981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3982 $as_echo "$AWK" >&6; }
   3983 else
   3984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3985 $as_echo "no" >&6; }
   3986 fi
   3987 
   3988 
   3989   test -n "$AWK" && break
   3990 done
   3991 
   3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3993 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3994 set x ${MAKE-make}
   3995 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3996 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3997   $as_echo_n "(cached) " >&6
   3998 else
   3999   cat >conftest.make <<\_ACEOF
   4000 SHELL = /bin/sh
   4001 all:
   4002 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4003 _ACEOF
   4004 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4005 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4006   *@@@%%%=?*=@@@%%%*)
   4007     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4008   *)
   4009     eval ac_cv_prog_make_${ac_make}_set=no;;
   4010 esac
   4011 rm -f conftest.make
   4012 fi
   4013 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4015 $as_echo "yes" >&6; }
   4016   SET_MAKE=
   4017 else
   4018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4019 $as_echo "no" >&6; }
   4020   SET_MAKE="MAKE=${MAKE-make}"
   4021 fi
   4022 
   4023 rm -rf .tst 2>/dev/null
   4024 mkdir .tst 2>/dev/null
   4025 if test -d .tst; then
   4026   am__leading_dot=.
   4027 else
   4028   am__leading_dot=_
   4029 fi
   4030 rmdir .tst 2>/dev/null
   4031 
   4032 DEPDIR="${am__leading_dot}deps"
   4033 
   4034 ac_config_commands="$ac_config_commands depfiles"
   4035 
   4036 
   4037 am_make=${MAKE-make}
   4038 cat > confinc << 'END'
   4039 am__doit:
   4040 	@echo this is the am__doit target
   4041 .PHONY: am__doit
   4042 END
   4043 # If we don't find an include directive, just comment out the code.
   4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4045 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4046 am__include="#"
   4047 am__quote=
   4048 _am_result=none
   4049 # First try GNU make style include.
   4050 echo "include confinc" > confmf
   4051 # Ignore all kinds of additional output from 'make'.
   4052 case `$am_make -s -f confmf 2> /dev/null` in #(
   4053 *the\ am__doit\ target*)
   4054   am__include=include
   4055   am__quote=
   4056   _am_result=GNU
   4057   ;;
   4058 esac
   4059 # Now try BSD make style include.
   4060 if test "$am__include" = "#"; then
   4061    echo '.include "confinc"' > confmf
   4062    case `$am_make -s -f confmf 2> /dev/null` in #(
   4063    *the\ am__doit\ target*)
   4064      am__include=.include
   4065      am__quote="\""
   4066      _am_result=BSD
   4067      ;;
   4068    esac
   4069 fi
   4070 
   4071 
   4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4073 $as_echo "$_am_result" >&6; }
   4074 rm -f confinc confmf
   4075 
   4076 # Check whether --enable-dependency-tracking was given.
   4077 if test "${enable_dependency_tracking+set}" = set; then :
   4078   enableval=$enable_dependency_tracking;
   4079 fi
   4080 
   4081 if test "x$enable_dependency_tracking" != xno; then
   4082   am_depcomp="$ac_aux_dir/depcomp"
   4083   AMDEPBACKSLASH='\'
   4084   am__nodep='_no'
   4085 fi
   4086  if test "x$enable_dependency_tracking" != xno; then
   4087   AMDEP_TRUE=
   4088   AMDEP_FALSE='#'
   4089 else
   4090   AMDEP_TRUE='#'
   4091   AMDEP_FALSE=
   4092 fi
   4093 
   4094 
   4095 # Check whether --enable-silent-rules was given.
   4096 if test "${enable_silent_rules+set}" = set; then :
   4097   enableval=$enable_silent_rules;
   4098 fi
   4099 
   4100 case $enable_silent_rules in # (((
   4101   yes) AM_DEFAULT_VERBOSITY=0;;
   4102    no) AM_DEFAULT_VERBOSITY=1;;
   4103     *) AM_DEFAULT_VERBOSITY=1;;
   4104 esac
   4105 am_make=${MAKE-make}
   4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4107 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   4108 if ${am_cv_make_support_nested_variables+:} false; then :
   4109   $as_echo_n "(cached) " >&6
   4110 else
   4111   if $as_echo 'TRUE=$(BAR$(V))
   4112 BAR0=false
   4113 BAR1=true
   4114 V=1
   4115 am__doit:
   4116 	@$(TRUE)
   4117 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4118   am_cv_make_support_nested_variables=yes
   4119 else
   4120   am_cv_make_support_nested_variables=no
   4121 fi
   4122 fi
   4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4124 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   4125 if test $am_cv_make_support_nested_variables = yes; then
   4126     AM_V='$(V)'
   4127   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4128 else
   4129   AM_V=$AM_DEFAULT_VERBOSITY
   4130   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4131 fi
   4132 AM_BACKSLASH='\'
   4133 
   4134 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4135   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4136   # is not polluted with repeated "-I."
   4137   am__isrc=' -I$(srcdir)'
   4138   # test to see if srcdir already configured
   4139   if test -f $srcdir/config.status; then
   4140     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4141   fi
   4142 fi
   4143 
   4144 # test whether we have cygpath
   4145 if test -z "$CYGPATH_W"; then
   4146   if (cygpath --version) >/dev/null 2>/dev/null; then
   4147     CYGPATH_W='cygpath -w'
   4148   else
   4149     CYGPATH_W=echo
   4150   fi
   4151 fi
   4152 
   4153 
   4154 # Define the identity of the package.
   4155  PACKAGE='xconsole'
   4156  VERSION='1.0.7'
   4157 
   4158 
   4159 cat >>confdefs.h <<_ACEOF
   4160 #define PACKAGE "$PACKAGE"
   4161 _ACEOF
   4162 
   4163 
   4164 cat >>confdefs.h <<_ACEOF
   4165 #define VERSION "$VERSION"
   4166 _ACEOF
   4167 
   4168 # Some tools Automake needs.
   4169 
   4170 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4171 
   4172 
   4173 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4174 
   4175 
   4176 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4177 
   4178 
   4179 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4180 
   4181 
   4182 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4183 
   4184 # For better backward compatibility.  To be removed once Automake 1.9.x
   4185 # dies out for good.  For more background, see:
   4186 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4187 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4188 mkdir_p='$(MKDIR_P)'
   4189 
   4190 # We need awk for the "check" target (and possibly the TAP driver).  The
   4191 # system "awk" is bad on some platforms.
   4192 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4193 # in the wild :-(  We should find a proper way to deprecate it ...
   4194 AMTAR='$${TAR-tar}'
   4195 
   4196 
   4197 # We'll loop over all known methods to create a tar archive until one works.
   4198 _am_tools='gnutar  pax cpio none'
   4199 
   4200 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4201 
   4202 
   4203 
   4204 
   4205 
   4206 depcc="$CC"   am_compiler_list=
   4207 
   4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4209 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4210 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4211   $as_echo_n "(cached) " >&6
   4212 else
   4213   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4214   # We make a subdir and do the tests there.  Otherwise we can end up
   4215   # making bogus files that we don't know about and never remove.  For
   4216   # instance it was reported that on HP-UX the gcc test will end up
   4217   # making a dummy file named 'D' -- because '-MD' means "put the output
   4218   # in D".
   4219   rm -rf conftest.dir
   4220   mkdir conftest.dir
   4221   # Copy depcomp to subdir because otherwise we won't find it if we're
   4222   # using a relative directory.
   4223   cp "$am_depcomp" conftest.dir
   4224   cd conftest.dir
   4225   # We will build objects and dependencies in a subdirectory because
   4226   # it helps to detect inapplicable dependency modes.  For instance
   4227   # both Tru64's cc and ICC support -MD to output dependencies as a
   4228   # side effect of compilation, but ICC will put the dependencies in
   4229   # the current directory while Tru64 will put them in the object
   4230   # directory.
   4231   mkdir sub
   4232 
   4233   am_cv_CC_dependencies_compiler_type=none
   4234   if test "$am_compiler_list" = ""; then
   4235      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4236   fi
   4237   am__universal=false
   4238   case " $depcc " in #(
   4239      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4240      esac
   4241 
   4242   for depmode in $am_compiler_list; do
   4243     # Setup a source with many dependencies, because some compilers
   4244     # like to wrap large dependency lists on column 80 (with \), and
   4245     # we should not choose a depcomp mode which is confused by this.
   4246     #
   4247     # We need to recreate these files for each test, as the compiler may
   4248     # overwrite some of them when testing with obscure command lines.
   4249     # This happens at least with the AIX C compiler.
   4250     : > sub/conftest.c
   4251     for i in 1 2 3 4 5 6; do
   4252       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4253       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4254       # Solaris 10 /bin/sh.
   4255       echo '/* dummy */' > sub/conftst$i.h
   4256     done
   4257     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4258 
   4259     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4260     # mode.  It turns out that the SunPro C++ compiler does not properly
   4261     # handle '-M -o', and we need to detect this.  Also, some Intel
   4262     # versions had trouble with output in subdirs.
   4263     am__obj=sub/conftest.${OBJEXT-o}
   4264     am__minus_obj="-o $am__obj"
   4265     case $depmode in
   4266     gcc)
   4267       # This depmode causes a compiler race in universal mode.
   4268       test "$am__universal" = false || continue
   4269       ;;
   4270     nosideeffect)
   4271       # After this tag, mechanisms are not by side-effect, so they'll
   4272       # only be used when explicitly requested.
   4273       if test "x$enable_dependency_tracking" = xyes; then
   4274 	continue
   4275       else
   4276 	break
   4277       fi
   4278       ;;
   4279     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4280       # This compiler won't grok '-c -o', but also, the minuso test has
   4281       # not run yet.  These depmodes are late enough in the game, and
   4282       # so weak that their functioning should not be impacted.
   4283       am__obj=conftest.${OBJEXT-o}
   4284       am__minus_obj=
   4285       ;;
   4286     none) break ;;
   4287     esac
   4288     if depmode=$depmode \
   4289        source=sub/conftest.c object=$am__obj \
   4290        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4291        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4292          >/dev/null 2>conftest.err &&
   4293        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4294        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4295        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4296        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4297       # icc doesn't choke on unknown options, it will just issue warnings
   4298       # or remarks (even with -Werror).  So we grep stderr for any message
   4299       # that says an option was ignored or not supported.
   4300       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4301       #   icc: Command line warning: ignoring option '-M'; no argument required
   4302       # The diagnosis changed in icc 8.0:
   4303       #   icc: Command line remark: option '-MP' not supported
   4304       if (grep 'ignoring option' conftest.err ||
   4305           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4306         am_cv_CC_dependencies_compiler_type=$depmode
   4307         break
   4308       fi
   4309     fi
   4310   done
   4311 
   4312   cd ..
   4313   rm -rf conftest.dir
   4314 else
   4315   am_cv_CC_dependencies_compiler_type=none
   4316 fi
   4317 
   4318 fi
   4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4320 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4321 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4322 
   4323  if
   4324   test "x$enable_dependency_tracking" != xno \
   4325   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4326   am__fastdepCC_TRUE=
   4327   am__fastdepCC_FALSE='#'
   4328 else
   4329   am__fastdepCC_TRUE='#'
   4330   am__fastdepCC_FALSE=
   4331 fi
   4332 
   4333 
   4334 
   4335 # POSIX will say in a future version that running "rm -f" with no argument
   4336 # is OK; and we want to be able to make that assumption in our Makefile
   4337 # recipes.  So use an aggressive probe to check that the usage we want is
   4338 # actually supported "in the wild" to an acceptable degree.
   4339 # See automake bug#10828.
   4340 # To make any issue more visible, cause the running configure to be aborted
   4341 # by default if the 'rm' program in use doesn't match our expectations; the
   4342 # user can still override this though.
   4343 if rm -f && rm -fr && rm -rf; then : OK; else
   4344   cat >&2 <<'END'
   4345 Oops!
   4346 
   4347 Your 'rm' program seems unable to run without file operands specified
   4348 on the command line, even when the '-f' option is present.  This is contrary
   4349 to the behaviour of most rm programs out there, and not conforming with
   4350 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4351 
   4352 Please tell bug-automake@gnu.org about your system, including the value
   4353 of your $PATH and any error possibly output before this message.  This
   4354 can help us improve future automake versions.
   4355 
   4356 END
   4357   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4358     echo 'Configuration will proceed anyway, since you have set the' >&2
   4359     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4360     echo >&2
   4361   else
   4362     cat >&2 <<'END'
   4363 Aborting the configuration process, to ensure you take notice of the issue.
   4364 
   4365 You can download and install GNU coreutils to get an 'rm' implementation
   4366 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   4367 
   4368 If you want to complete the configuration process using your problematic
   4369 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4370 to "yes", and re-run configure.
   4371 
   4372 END
   4373     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4374   fi
   4375 fi
   4376 
   4377 
   4378 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4379 
   4380 
   4381 
   4382 
   4383 
   4384 
   4385 
   4386 
   4387 
   4388 
   4389 
   4390    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4391 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4392 if ${ac_cv_prog_cc_c99+:} false; then :
   4393   $as_echo_n "(cached) " >&6
   4394 else
   4395   ac_cv_prog_cc_c99=no
   4396 ac_save_CC=$CC
   4397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4398 /* end confdefs.h.  */
   4399 #include <stdarg.h>
   4400 #include <stdbool.h>
   4401 #include <stdlib.h>
   4402 #include <wchar.h>
   4403 #include <stdio.h>
   4404 
   4405 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4406 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4407 #define showlist(...) puts (#__VA_ARGS__)
   4408 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4409 static void
   4410 test_varargs_macros (void)
   4411 {
   4412   int x = 1234;
   4413   int y = 5678;
   4414   debug ("Flag");
   4415   debug ("X = %d\n", x);
   4416   showlist (The first, second, and third items.);
   4417   report (x>y, "x is %d but y is %d", x, y);
   4418 }
   4419 
   4420 // Check long long types.
   4421 #define BIG64 18446744073709551615ull
   4422 #define BIG32 4294967295ul
   4423 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4424 #if !BIG_OK
   4425   your preprocessor is broken;
   4426 #endif
   4427 #if BIG_OK
   4428 #else
   4429   your preprocessor is broken;
   4430 #endif
   4431 static long long int bignum = -9223372036854775807LL;
   4432 static unsigned long long int ubignum = BIG64;
   4433 
   4434 struct incomplete_array
   4435 {
   4436   int datasize;
   4437   double data[];
   4438 };
   4439 
   4440 struct named_init {
   4441   int number;
   4442   const wchar_t *name;
   4443   double average;
   4444 };
   4445 
   4446 typedef const char *ccp;
   4447 
   4448 static inline int
   4449 test_restrict (ccp restrict text)
   4450 {
   4451   // See if C++-style comments work.
   4452   // Iterate through items via the restricted pointer.
   4453   // Also check for declarations in for loops.
   4454   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4455     continue;
   4456   return 0;
   4457 }
   4458 
   4459 // Check varargs and va_copy.
   4460 static void
   4461 test_varargs (const char *format, ...)
   4462 {
   4463   va_list args;
   4464   va_start (args, format);
   4465   va_list args_copy;
   4466   va_copy (args_copy, args);
   4467 
   4468   const char *str;
   4469   int number;
   4470   float fnumber;
   4471 
   4472   while (*format)
   4473     {
   4474       switch (*format++)
   4475 	{
   4476 	case 's': // string
   4477 	  str = va_arg (args_copy, const char *);
   4478 	  break;
   4479 	case 'd': // int
   4480 	  number = va_arg (args_copy, int);
   4481 	  break;
   4482 	case 'f': // float
   4483 	  fnumber = va_arg (args_copy, double);
   4484 	  break;
   4485 	default:
   4486 	  break;
   4487 	}
   4488     }
   4489   va_end (args_copy);
   4490   va_end (args);
   4491 }
   4492 
   4493 int
   4494 main ()
   4495 {
   4496 
   4497   // Check bool.
   4498   _Bool success = false;
   4499 
   4500   // Check restrict.
   4501   if (test_restrict ("String literal") == 0)
   4502     success = true;
   4503   char *restrict newvar = "Another string";
   4504 
   4505   // Check varargs.
   4506   test_varargs ("s, d' f .", "string", 65, 34.234);
   4507   test_varargs_macros ();
   4508 
   4509   // Check flexible array members.
   4510   struct incomplete_array *ia =
   4511     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4512   ia->datasize = 10;
   4513   for (int i = 0; i < ia->datasize; ++i)
   4514     ia->data[i] = i * 1.234;
   4515 
   4516   // Check named initializers.
   4517   struct named_init ni = {
   4518     .number = 34,
   4519     .name = L"Test wide string",
   4520     .average = 543.34343,
   4521   };
   4522 
   4523   ni.number = 58;
   4524 
   4525   int dynamic_array[ni.number];
   4526   dynamic_array[ni.number - 1] = 543;
   4527 
   4528   // work around unused variable warnings
   4529   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4530 	  || dynamic_array[ni.number - 1] != 543);
   4531 
   4532   ;
   4533   return 0;
   4534 }
   4535 _ACEOF
   4536 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4537 do
   4538   CC="$ac_save_CC $ac_arg"
   4539   if ac_fn_c_try_compile "$LINENO"; then :
   4540   ac_cv_prog_cc_c99=$ac_arg
   4541 fi
   4542 rm -f core conftest.err conftest.$ac_objext
   4543   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4544 done
   4545 rm -f conftest.$ac_ext
   4546 CC=$ac_save_CC
   4547 
   4548 fi
   4549 # AC_CACHE_VAL
   4550 case "x$ac_cv_prog_cc_c99" in
   4551   x)
   4552     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4553 $as_echo "none needed" >&6; } ;;
   4554   xno)
   4555     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4556 $as_echo "unsupported" >&6; } ;;
   4557   *)
   4558     CC="$CC $ac_cv_prog_cc_c99"
   4559     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4560 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4561 esac
   4562 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4563 
   4564 fi
   4565 
   4566 
   4567 
   4568 
   4569 
   4570 
   4571 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4572 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4573   CLANGCC="yes"
   4574 else
   4575   CLANGCC="no"
   4576 fi
   4577 
   4578 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4579 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4580   INTELCC="yes"
   4581 else
   4582   INTELCC="no"
   4583 fi
   4584 
   4585 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4586 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4587   SUNCC="yes"
   4588 else
   4589   SUNCC="no"
   4590 fi
   4591 
   4592 
   4593 
   4594 
   4595 
   4596 
   4597 
   4598 
   4599 
   4600 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4601 	if test -n "$ac_tool_prefix"; then
   4602   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4603 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4605 $as_echo_n "checking for $ac_word... " >&6; }
   4606 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4607   $as_echo_n "(cached) " >&6
   4608 else
   4609   case $PKG_CONFIG in
   4610   [\\/]* | ?:[\\/]*)
   4611   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4612   ;;
   4613   *)
   4614   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4615 for as_dir in $PATH
   4616 do
   4617   IFS=$as_save_IFS
   4618   test -z "$as_dir" && as_dir=.
   4619     for ac_exec_ext in '' $ac_executable_extensions; do
   4620   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4621     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4622     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4623     break 2
   4624   fi
   4625 done
   4626   done
   4627 IFS=$as_save_IFS
   4628 
   4629   ;;
   4630 esac
   4631 fi
   4632 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4633 if test -n "$PKG_CONFIG"; then
   4634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4635 $as_echo "$PKG_CONFIG" >&6; }
   4636 else
   4637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4638 $as_echo "no" >&6; }
   4639 fi
   4640 
   4641 
   4642 fi
   4643 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4644   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4645   # Extract the first word of "pkg-config", so it can be a program name with args.
   4646 set dummy pkg-config; ac_word=$2
   4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4648 $as_echo_n "checking for $ac_word... " >&6; }
   4649 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4650   $as_echo_n "(cached) " >&6
   4651 else
   4652   case $ac_pt_PKG_CONFIG in
   4653   [\\/]* | ?:[\\/]*)
   4654   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4655   ;;
   4656   *)
   4657   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4658 for as_dir in $PATH
   4659 do
   4660   IFS=$as_save_IFS
   4661   test -z "$as_dir" && as_dir=.
   4662     for ac_exec_ext in '' $ac_executable_extensions; do
   4663   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4664     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4665     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4666     break 2
   4667   fi
   4668 done
   4669   done
   4670 IFS=$as_save_IFS
   4671 
   4672   ;;
   4673 esac
   4674 fi
   4675 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4676 if test -n "$ac_pt_PKG_CONFIG"; then
   4677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4678 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4679 else
   4680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4681 $as_echo "no" >&6; }
   4682 fi
   4683 
   4684   if test "x$ac_pt_PKG_CONFIG" = x; then
   4685     PKG_CONFIG=""
   4686   else
   4687     case $cross_compiling:$ac_tool_warned in
   4688 yes:)
   4689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4690 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4691 ac_tool_warned=yes ;;
   4692 esac
   4693     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4694   fi
   4695 else
   4696   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4697 fi
   4698 
   4699 fi
   4700 if test -n "$PKG_CONFIG"; then
   4701 	_pkg_min_version=0.9.0
   4702 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4703 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4704 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4705 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4706 $as_echo "yes" >&6; }
   4707 	else
   4708 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4709 $as_echo "no" >&6; }
   4710 		PKG_CONFIG=""
   4711 	fi
   4712 fi
   4713 # Make sure we can run config.sub.
   4714 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4715   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4716 
   4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4718 $as_echo_n "checking build system type... " >&6; }
   4719 if ${ac_cv_build+:} false; then :
   4720   $as_echo_n "(cached) " >&6
   4721 else
   4722   ac_build_alias=$build_alias
   4723 test "x$ac_build_alias" = x &&
   4724   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4725 test "x$ac_build_alias" = x &&
   4726   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4727 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4728   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4729 
   4730 fi
   4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4732 $as_echo "$ac_cv_build" >&6; }
   4733 case $ac_cv_build in
   4734 *-*-*) ;;
   4735 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4736 esac
   4737 build=$ac_cv_build
   4738 ac_save_IFS=$IFS; IFS='-'
   4739 set x $ac_cv_build
   4740 shift
   4741 build_cpu=$1
   4742 build_vendor=$2
   4743 shift; shift
   4744 # Remember, the first character of IFS is used to create $*,
   4745 # except with old shells:
   4746 build_os=$*
   4747 IFS=$ac_save_IFS
   4748 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4749 
   4750 
   4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4752 $as_echo_n "checking host system type... " >&6; }
   4753 if ${ac_cv_host+:} false; then :
   4754   $as_echo_n "(cached) " >&6
   4755 else
   4756   if test "x$host_alias" = x; then
   4757   ac_cv_host=$ac_cv_build
   4758 else
   4759   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4760     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4761 fi
   4762 
   4763 fi
   4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4765 $as_echo "$ac_cv_host" >&6; }
   4766 case $ac_cv_host in
   4767 *-*-*) ;;
   4768 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4769 esac
   4770 host=$ac_cv_host
   4771 ac_save_IFS=$IFS; IFS='-'
   4772 set x $ac_cv_host
   4773 shift
   4774 host_cpu=$1
   4775 host_vendor=$2
   4776 shift; shift
   4777 # Remember, the first character of IFS is used to create $*,
   4778 # except with old shells:
   4779 host_os=$*
   4780 IFS=$ac_save_IFS
   4781 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4782 
   4783 
   4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4785 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4786 if ${ac_cv_path_SED+:} false; then :
   4787   $as_echo_n "(cached) " >&6
   4788 else
   4789             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4790      for ac_i in 1 2 3 4 5 6 7; do
   4791        ac_script="$ac_script$as_nl$ac_script"
   4792      done
   4793      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4794      { ac_script=; unset ac_script;}
   4795      if test -z "$SED"; then
   4796   ac_path_SED_found=false
   4797   # Loop through the user's path and test for each of PROGNAME-LIST
   4798   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4799 for as_dir in $PATH
   4800 do
   4801   IFS=$as_save_IFS
   4802   test -z "$as_dir" && as_dir=.
   4803     for ac_prog in sed gsed; do
   4804     for ac_exec_ext in '' $ac_executable_extensions; do
   4805       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4806       as_fn_executable_p "$ac_path_SED" || continue
   4807 # Check for GNU ac_path_SED and select it if it is found.
   4808   # Check for GNU $ac_path_SED
   4809 case `"$ac_path_SED" --version 2>&1` in
   4810 *GNU*)
   4811   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4812 *)
   4813   ac_count=0
   4814   $as_echo_n 0123456789 >"conftest.in"
   4815   while :
   4816   do
   4817     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4818     mv "conftest.tmp" "conftest.in"
   4819     cp "conftest.in" "conftest.nl"
   4820     $as_echo '' >> "conftest.nl"
   4821     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4822     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4823     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4824     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4825       # Best one so far, save it but keep looking for a better one
   4826       ac_cv_path_SED="$ac_path_SED"
   4827       ac_path_SED_max=$ac_count
   4828     fi
   4829     # 10*(2^10) chars as input seems more than enough
   4830     test $ac_count -gt 10 && break
   4831   done
   4832   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4833 esac
   4834 
   4835       $ac_path_SED_found && break 3
   4836     done
   4837   done
   4838   done
   4839 IFS=$as_save_IFS
   4840   if test -z "$ac_cv_path_SED"; then
   4841     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4842   fi
   4843 else
   4844   ac_cv_path_SED=$SED
   4845 fi
   4846 
   4847 fi
   4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4849 $as_echo "$ac_cv_path_SED" >&6; }
   4850  SED="$ac_cv_path_SED"
   4851   rm -f conftest.sed
   4852 
   4853 
   4854 
   4855 
   4856 
   4857 
   4858 # Check whether --enable-selective-werror was given.
   4859 if test "${enable_selective_werror+set}" = set; then :
   4860   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4861 else
   4862   SELECTIVE_WERROR=yes
   4863 fi
   4864 
   4865 
   4866 
   4867 
   4868 
   4869 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4870 if test "x$SUNCC" = "xyes"; then
   4871     BASE_CFLAGS="-v"
   4872 else
   4873     BASE_CFLAGS=""
   4874 fi
   4875 
   4876 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4877 
   4878 
   4879 
   4880 
   4881 
   4882 
   4883 
   4884 
   4885 
   4886 
   4887 
   4888 
   4889 
   4890 xorg_testset_save_CFLAGS="$CFLAGS"
   4891 
   4892 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4893 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4894 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4895 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4896 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4897   $as_echo_n "(cached) " >&6
   4898 else
   4899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4900 /* end confdefs.h.  */
   4901 int i;
   4902 _ACEOF
   4903 if ac_fn_c_try_compile "$LINENO"; then :
   4904   xorg_cv_cc_flag_unknown_warning_option=yes
   4905 else
   4906   xorg_cv_cc_flag_unknown_warning_option=no
   4907 fi
   4908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4909 fi
   4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4911 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4912 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4913 	CFLAGS="$xorg_testset_save_CFLAGS"
   4914 fi
   4915 
   4916 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4917 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4918 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4919 	fi
   4920 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4921 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4922 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4923 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4924   $as_echo_n "(cached) " >&6
   4925 else
   4926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4927 /* end confdefs.h.  */
   4928 int i;
   4929 _ACEOF
   4930 if ac_fn_c_try_compile "$LINENO"; then :
   4931   xorg_cv_cc_flag_unused_command_line_argument=yes
   4932 else
   4933   xorg_cv_cc_flag_unused_command_line_argument=no
   4934 fi
   4935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4936 fi
   4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4938 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4939 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4940 	CFLAGS="$xorg_testset_save_CFLAGS"
   4941 fi
   4942 
   4943 found="no"
   4944 
   4945 	if test $found = "no" ; then
   4946 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4947 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4948 		fi
   4949 
   4950 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4951 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4952 		fi
   4953 
   4954 		CFLAGS="$CFLAGS -Wall"
   4955 
   4956 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4957 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4958 		cacheid=xorg_cv_cc_flag__Wall
   4959 		if eval \${$cacheid+:} false; then :
   4960   $as_echo_n "(cached) " >&6
   4961 else
   4962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4963 /* end confdefs.h.  */
   4964 int i;
   4965 int
   4966 main ()
   4967 {
   4968 
   4969   ;
   4970   return 0;
   4971 }
   4972 _ACEOF
   4973 if ac_fn_c_try_link "$LINENO"; then :
   4974   eval $cacheid=yes
   4975 else
   4976   eval $cacheid=no
   4977 fi
   4978 rm -f core conftest.err conftest.$ac_objext \
   4979     conftest$ac_exeext conftest.$ac_ext
   4980 fi
   4981 
   4982 
   4983 		CFLAGS="$xorg_testset_save_CFLAGS"
   4984 
   4985 		eval supported=\$$cacheid
   4986 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4987 $as_echo "$supported" >&6; }
   4988 		if test "$supported" = "yes" ; then
   4989 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4990 			found="yes"
   4991 		fi
   4992 	fi
   4993 
   4994 
   4995 
   4996 
   4997 
   4998 
   4999 
   5000 
   5001 
   5002 
   5003 
   5004 
   5005 
   5006 
   5007 
   5008 xorg_testset_save_CFLAGS="$CFLAGS"
   5009 
   5010 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5011 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5012 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5013 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5014 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5015   $as_echo_n "(cached) " >&6
   5016 else
   5017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5018 /* end confdefs.h.  */
   5019 int i;
   5020 _ACEOF
   5021 if ac_fn_c_try_compile "$LINENO"; then :
   5022   xorg_cv_cc_flag_unknown_warning_option=yes
   5023 else
   5024   xorg_cv_cc_flag_unknown_warning_option=no
   5025 fi
   5026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5027 fi
   5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5029 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5030 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5031 	CFLAGS="$xorg_testset_save_CFLAGS"
   5032 fi
   5033 
   5034 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5035 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5036 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5037 	fi
   5038 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5039 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5040 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5041 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5042   $as_echo_n "(cached) " >&6
   5043 else
   5044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5045 /* end confdefs.h.  */
   5046 int i;
   5047 _ACEOF
   5048 if ac_fn_c_try_compile "$LINENO"; then :
   5049   xorg_cv_cc_flag_unused_command_line_argument=yes
   5050 else
   5051   xorg_cv_cc_flag_unused_command_line_argument=no
   5052 fi
   5053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5054 fi
   5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5056 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5057 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5058 	CFLAGS="$xorg_testset_save_CFLAGS"
   5059 fi
   5060 
   5061 found="no"
   5062 
   5063 	if test $found = "no" ; then
   5064 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5065 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5066 		fi
   5067 
   5068 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5069 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5070 		fi
   5071 
   5072 		CFLAGS="$CFLAGS -Wpointer-arith"
   5073 
   5074 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5075 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5076 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5077 		if eval \${$cacheid+:} false; then :
   5078   $as_echo_n "(cached) " >&6
   5079 else
   5080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5081 /* end confdefs.h.  */
   5082 int i;
   5083 int
   5084 main ()
   5085 {
   5086 
   5087   ;
   5088   return 0;
   5089 }
   5090 _ACEOF
   5091 if ac_fn_c_try_link "$LINENO"; then :
   5092   eval $cacheid=yes
   5093 else
   5094   eval $cacheid=no
   5095 fi
   5096 rm -f core conftest.err conftest.$ac_objext \
   5097     conftest$ac_exeext conftest.$ac_ext
   5098 fi
   5099 
   5100 
   5101 		CFLAGS="$xorg_testset_save_CFLAGS"
   5102 
   5103 		eval supported=\$$cacheid
   5104 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5105 $as_echo "$supported" >&6; }
   5106 		if test "$supported" = "yes" ; then
   5107 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5108 			found="yes"
   5109 		fi
   5110 	fi
   5111 
   5112 
   5113 
   5114 
   5115 
   5116 
   5117 
   5118 
   5119 
   5120 
   5121 
   5122 
   5123 
   5124 
   5125 
   5126 xorg_testset_save_CFLAGS="$CFLAGS"
   5127 
   5128 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5129 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5130 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5131 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5132 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5133   $as_echo_n "(cached) " >&6
   5134 else
   5135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5136 /* end confdefs.h.  */
   5137 int i;
   5138 _ACEOF
   5139 if ac_fn_c_try_compile "$LINENO"; then :
   5140   xorg_cv_cc_flag_unknown_warning_option=yes
   5141 else
   5142   xorg_cv_cc_flag_unknown_warning_option=no
   5143 fi
   5144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5145 fi
   5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5147 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5148 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5149 	CFLAGS="$xorg_testset_save_CFLAGS"
   5150 fi
   5151 
   5152 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5153 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5154 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5155 	fi
   5156 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5157 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5158 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5159 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5160   $as_echo_n "(cached) " >&6
   5161 else
   5162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5163 /* end confdefs.h.  */
   5164 int i;
   5165 _ACEOF
   5166 if ac_fn_c_try_compile "$LINENO"; then :
   5167   xorg_cv_cc_flag_unused_command_line_argument=yes
   5168 else
   5169   xorg_cv_cc_flag_unused_command_line_argument=no
   5170 fi
   5171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5172 fi
   5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5174 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5175 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5176 	CFLAGS="$xorg_testset_save_CFLAGS"
   5177 fi
   5178 
   5179 found="no"
   5180 
   5181 	if test $found = "no" ; then
   5182 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5183 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5184 		fi
   5185 
   5186 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5187 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5188 		fi
   5189 
   5190 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5191 
   5192 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5193 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5194 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5195 		if eval \${$cacheid+:} false; then :
   5196   $as_echo_n "(cached) " >&6
   5197 else
   5198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5199 /* end confdefs.h.  */
   5200 int i;
   5201 int
   5202 main ()
   5203 {
   5204 
   5205   ;
   5206   return 0;
   5207 }
   5208 _ACEOF
   5209 if ac_fn_c_try_link "$LINENO"; then :
   5210   eval $cacheid=yes
   5211 else
   5212   eval $cacheid=no
   5213 fi
   5214 rm -f core conftest.err conftest.$ac_objext \
   5215     conftest$ac_exeext conftest.$ac_ext
   5216 fi
   5217 
   5218 
   5219 		CFLAGS="$xorg_testset_save_CFLAGS"
   5220 
   5221 		eval supported=\$$cacheid
   5222 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5223 $as_echo "$supported" >&6; }
   5224 		if test "$supported" = "yes" ; then
   5225 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5226 			found="yes"
   5227 		fi
   5228 	fi
   5229 
   5230 
   5231 
   5232 
   5233 
   5234 
   5235 
   5236 
   5237 
   5238 
   5239 
   5240 
   5241 
   5242 
   5243 
   5244 xorg_testset_save_CFLAGS="$CFLAGS"
   5245 
   5246 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5247 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5248 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5249 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5250 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5251   $as_echo_n "(cached) " >&6
   5252 else
   5253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5254 /* end confdefs.h.  */
   5255 int i;
   5256 _ACEOF
   5257 if ac_fn_c_try_compile "$LINENO"; then :
   5258   xorg_cv_cc_flag_unknown_warning_option=yes
   5259 else
   5260   xorg_cv_cc_flag_unknown_warning_option=no
   5261 fi
   5262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5263 fi
   5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5265 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5266 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5267 	CFLAGS="$xorg_testset_save_CFLAGS"
   5268 fi
   5269 
   5270 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5271 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5272 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5273 	fi
   5274 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5275 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5276 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5277 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5278   $as_echo_n "(cached) " >&6
   5279 else
   5280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5281 /* end confdefs.h.  */
   5282 int i;
   5283 _ACEOF
   5284 if ac_fn_c_try_compile "$LINENO"; then :
   5285   xorg_cv_cc_flag_unused_command_line_argument=yes
   5286 else
   5287   xorg_cv_cc_flag_unused_command_line_argument=no
   5288 fi
   5289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5290 fi
   5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5292 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5293 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5294 	CFLAGS="$xorg_testset_save_CFLAGS"
   5295 fi
   5296 
   5297 found="no"
   5298 
   5299 	if test $found = "no" ; then
   5300 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5301 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5302 		fi
   5303 
   5304 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5305 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5306 		fi
   5307 
   5308 		CFLAGS="$CFLAGS -Wformat=2"
   5309 
   5310 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5311 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5312 		cacheid=xorg_cv_cc_flag__Wformat_2
   5313 		if eval \${$cacheid+:} false; then :
   5314   $as_echo_n "(cached) " >&6
   5315 else
   5316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5317 /* end confdefs.h.  */
   5318 int i;
   5319 int
   5320 main ()
   5321 {
   5322 
   5323   ;
   5324   return 0;
   5325 }
   5326 _ACEOF
   5327 if ac_fn_c_try_link "$LINENO"; then :
   5328   eval $cacheid=yes
   5329 else
   5330   eval $cacheid=no
   5331 fi
   5332 rm -f core conftest.err conftest.$ac_objext \
   5333     conftest$ac_exeext conftest.$ac_ext
   5334 fi
   5335 
   5336 
   5337 		CFLAGS="$xorg_testset_save_CFLAGS"
   5338 
   5339 		eval supported=\$$cacheid
   5340 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5341 $as_echo "$supported" >&6; }
   5342 		if test "$supported" = "yes" ; then
   5343 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5344 			found="yes"
   5345 		fi
   5346 	fi
   5347 
   5348 	if test $found = "no" ; then
   5349 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5350 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5351 		fi
   5352 
   5353 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5354 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5355 		fi
   5356 
   5357 		CFLAGS="$CFLAGS -Wformat"
   5358 
   5359 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5360 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5361 		cacheid=xorg_cv_cc_flag__Wformat
   5362 		if eval \${$cacheid+:} 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 int
   5369 main ()
   5370 {
   5371 
   5372   ;
   5373   return 0;
   5374 }
   5375 _ACEOF
   5376 if ac_fn_c_try_link "$LINENO"; then :
   5377   eval $cacheid=yes
   5378 else
   5379   eval $cacheid=no
   5380 fi
   5381 rm -f core conftest.err conftest.$ac_objext \
   5382     conftest$ac_exeext conftest.$ac_ext
   5383 fi
   5384 
   5385 
   5386 		CFLAGS="$xorg_testset_save_CFLAGS"
   5387 
   5388 		eval supported=\$$cacheid
   5389 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5390 $as_echo "$supported" >&6; }
   5391 		if test "$supported" = "yes" ; then
   5392 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5393 			found="yes"
   5394 		fi
   5395 	fi
   5396 
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 
   5409 
   5410 
   5411 
   5412 
   5413 xorg_testset_save_CFLAGS="$CFLAGS"
   5414 
   5415 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5416 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5417 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5418 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5419 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5420   $as_echo_n "(cached) " >&6
   5421 else
   5422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5423 /* end confdefs.h.  */
   5424 int i;
   5425 _ACEOF
   5426 if ac_fn_c_try_compile "$LINENO"; then :
   5427   xorg_cv_cc_flag_unknown_warning_option=yes
   5428 else
   5429   xorg_cv_cc_flag_unknown_warning_option=no
   5430 fi
   5431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5432 fi
   5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5434 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5435 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5436 	CFLAGS="$xorg_testset_save_CFLAGS"
   5437 fi
   5438 
   5439 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5440 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5441 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5442 	fi
   5443 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5444 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5445 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5446 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5447   $as_echo_n "(cached) " >&6
   5448 else
   5449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5450 /* end confdefs.h.  */
   5451 int i;
   5452 _ACEOF
   5453 if ac_fn_c_try_compile "$LINENO"; then :
   5454   xorg_cv_cc_flag_unused_command_line_argument=yes
   5455 else
   5456   xorg_cv_cc_flag_unused_command_line_argument=no
   5457 fi
   5458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5459 fi
   5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5461 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5462 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5463 	CFLAGS="$xorg_testset_save_CFLAGS"
   5464 fi
   5465 
   5466 found="no"
   5467 
   5468 	if test $found = "no" ; then
   5469 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5470 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5471 		fi
   5472 
   5473 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5474 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5475 		fi
   5476 
   5477 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5478 
   5479 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5480 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5481 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5482 		if eval \${$cacheid+:} false; then :
   5483   $as_echo_n "(cached) " >&6
   5484 else
   5485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5486 /* end confdefs.h.  */
   5487 int i;
   5488 int
   5489 main ()
   5490 {
   5491 
   5492   ;
   5493   return 0;
   5494 }
   5495 _ACEOF
   5496 if ac_fn_c_try_link "$LINENO"; then :
   5497   eval $cacheid=yes
   5498 else
   5499   eval $cacheid=no
   5500 fi
   5501 rm -f core conftest.err conftest.$ac_objext \
   5502     conftest$ac_exeext conftest.$ac_ext
   5503 fi
   5504 
   5505 
   5506 		CFLAGS="$xorg_testset_save_CFLAGS"
   5507 
   5508 		eval supported=\$$cacheid
   5509 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5510 $as_echo "$supported" >&6; }
   5511 		if test "$supported" = "yes" ; then
   5512 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5513 			found="yes"
   5514 		fi
   5515 	fi
   5516 
   5517 
   5518 
   5519 
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 
   5527 
   5528 
   5529 
   5530 
   5531 xorg_testset_save_CFLAGS="$CFLAGS"
   5532 
   5533 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5534 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5535 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5536 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5537 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5538   $as_echo_n "(cached) " >&6
   5539 else
   5540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5541 /* end confdefs.h.  */
   5542 int i;
   5543 _ACEOF
   5544 if ac_fn_c_try_compile "$LINENO"; then :
   5545   xorg_cv_cc_flag_unknown_warning_option=yes
   5546 else
   5547   xorg_cv_cc_flag_unknown_warning_option=no
   5548 fi
   5549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5550 fi
   5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5552 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5553 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5554 	CFLAGS="$xorg_testset_save_CFLAGS"
   5555 fi
   5556 
   5557 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5558 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5559 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5560 	fi
   5561 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5562 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5563 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5564 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5565   $as_echo_n "(cached) " >&6
   5566 else
   5567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5568 /* end confdefs.h.  */
   5569 int i;
   5570 _ACEOF
   5571 if ac_fn_c_try_compile "$LINENO"; then :
   5572   xorg_cv_cc_flag_unused_command_line_argument=yes
   5573 else
   5574   xorg_cv_cc_flag_unused_command_line_argument=no
   5575 fi
   5576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5577 fi
   5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5579 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5580 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5581 	CFLAGS="$xorg_testset_save_CFLAGS"
   5582 fi
   5583 
   5584 found="no"
   5585 
   5586 	if test $found = "no" ; then
   5587 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5588 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5589 		fi
   5590 
   5591 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5592 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5593 		fi
   5594 
   5595 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5596 
   5597 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5598 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5599 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5600 		if eval \${$cacheid+:} false; then :
   5601   $as_echo_n "(cached) " >&6
   5602 else
   5603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5604 /* end confdefs.h.  */
   5605 int i;
   5606 int
   5607 main ()
   5608 {
   5609 
   5610   ;
   5611   return 0;
   5612 }
   5613 _ACEOF
   5614 if ac_fn_c_try_link "$LINENO"; then :
   5615   eval $cacheid=yes
   5616 else
   5617   eval $cacheid=no
   5618 fi
   5619 rm -f core conftest.err conftest.$ac_objext \
   5620     conftest$ac_exeext conftest.$ac_ext
   5621 fi
   5622 
   5623 
   5624 		CFLAGS="$xorg_testset_save_CFLAGS"
   5625 
   5626 		eval supported=\$$cacheid
   5627 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5628 $as_echo "$supported" >&6; }
   5629 		if test "$supported" = "yes" ; then
   5630 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5631 			found="yes"
   5632 		fi
   5633 	fi
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 
   5645 
   5646 
   5647 
   5648 
   5649 xorg_testset_save_CFLAGS="$CFLAGS"
   5650 
   5651 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5652 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5653 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5654 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5655 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5656   $as_echo_n "(cached) " >&6
   5657 else
   5658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5659 /* end confdefs.h.  */
   5660 int i;
   5661 _ACEOF
   5662 if ac_fn_c_try_compile "$LINENO"; then :
   5663   xorg_cv_cc_flag_unknown_warning_option=yes
   5664 else
   5665   xorg_cv_cc_flag_unknown_warning_option=no
   5666 fi
   5667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5668 fi
   5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5670 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5671 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5672 	CFLAGS="$xorg_testset_save_CFLAGS"
   5673 fi
   5674 
   5675 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5676 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5677 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5678 	fi
   5679 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5680 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5681 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5682 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5683   $as_echo_n "(cached) " >&6
   5684 else
   5685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5686 /* end confdefs.h.  */
   5687 int i;
   5688 _ACEOF
   5689 if ac_fn_c_try_compile "$LINENO"; then :
   5690   xorg_cv_cc_flag_unused_command_line_argument=yes
   5691 else
   5692   xorg_cv_cc_flag_unused_command_line_argument=no
   5693 fi
   5694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5695 fi
   5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5697 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5698 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5699 	CFLAGS="$xorg_testset_save_CFLAGS"
   5700 fi
   5701 
   5702 found="no"
   5703 
   5704 	if test $found = "no" ; then
   5705 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5706 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5707 		fi
   5708 
   5709 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5710 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5711 		fi
   5712 
   5713 		CFLAGS="$CFLAGS -Wnested-externs"
   5714 
   5715 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5716 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5717 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5718 		if eval \${$cacheid+:} false; then :
   5719   $as_echo_n "(cached) " >&6
   5720 else
   5721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5722 /* end confdefs.h.  */
   5723 int i;
   5724 int
   5725 main ()
   5726 {
   5727 
   5728   ;
   5729   return 0;
   5730 }
   5731 _ACEOF
   5732 if ac_fn_c_try_link "$LINENO"; then :
   5733   eval $cacheid=yes
   5734 else
   5735   eval $cacheid=no
   5736 fi
   5737 rm -f core conftest.err conftest.$ac_objext \
   5738     conftest$ac_exeext conftest.$ac_ext
   5739 fi
   5740 
   5741 
   5742 		CFLAGS="$xorg_testset_save_CFLAGS"
   5743 
   5744 		eval supported=\$$cacheid
   5745 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5746 $as_echo "$supported" >&6; }
   5747 		if test "$supported" = "yes" ; then
   5748 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5749 			found="yes"
   5750 		fi
   5751 	fi
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 
   5767 xorg_testset_save_CFLAGS="$CFLAGS"
   5768 
   5769 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5770 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5771 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5772 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5773 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5774   $as_echo_n "(cached) " >&6
   5775 else
   5776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5777 /* end confdefs.h.  */
   5778 int i;
   5779 _ACEOF
   5780 if ac_fn_c_try_compile "$LINENO"; then :
   5781   xorg_cv_cc_flag_unknown_warning_option=yes
   5782 else
   5783   xorg_cv_cc_flag_unknown_warning_option=no
   5784 fi
   5785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5786 fi
   5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5788 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5789 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5790 	CFLAGS="$xorg_testset_save_CFLAGS"
   5791 fi
   5792 
   5793 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5794 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5795 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5796 	fi
   5797 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5798 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5799 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5800 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5801   $as_echo_n "(cached) " >&6
   5802 else
   5803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5804 /* end confdefs.h.  */
   5805 int i;
   5806 _ACEOF
   5807 if ac_fn_c_try_compile "$LINENO"; then :
   5808   xorg_cv_cc_flag_unused_command_line_argument=yes
   5809 else
   5810   xorg_cv_cc_flag_unused_command_line_argument=no
   5811 fi
   5812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5813 fi
   5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5815 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5816 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5817 	CFLAGS="$xorg_testset_save_CFLAGS"
   5818 fi
   5819 
   5820 found="no"
   5821 
   5822 	if test $found = "no" ; then
   5823 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5824 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5825 		fi
   5826 
   5827 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5828 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5829 		fi
   5830 
   5831 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5832 
   5833 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5834 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5835 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5836 		if eval \${$cacheid+:} false; then :
   5837   $as_echo_n "(cached) " >&6
   5838 else
   5839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5840 /* end confdefs.h.  */
   5841 int i;
   5842 int
   5843 main ()
   5844 {
   5845 
   5846   ;
   5847   return 0;
   5848 }
   5849 _ACEOF
   5850 if ac_fn_c_try_link "$LINENO"; then :
   5851   eval $cacheid=yes
   5852 else
   5853   eval $cacheid=no
   5854 fi
   5855 rm -f core conftest.err conftest.$ac_objext \
   5856     conftest$ac_exeext conftest.$ac_ext
   5857 fi
   5858 
   5859 
   5860 		CFLAGS="$xorg_testset_save_CFLAGS"
   5861 
   5862 		eval supported=\$$cacheid
   5863 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5864 $as_echo "$supported" >&6; }
   5865 		if test "$supported" = "yes" ; then
   5866 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5867 			found="yes"
   5868 		fi
   5869 	fi
   5870 
   5871 
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 xorg_testset_save_CFLAGS="$CFLAGS"
   5886 
   5887 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5888 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5889 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5890 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5891 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5892   $as_echo_n "(cached) " >&6
   5893 else
   5894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5895 /* end confdefs.h.  */
   5896 int i;
   5897 _ACEOF
   5898 if ac_fn_c_try_compile "$LINENO"; then :
   5899   xorg_cv_cc_flag_unknown_warning_option=yes
   5900 else
   5901   xorg_cv_cc_flag_unknown_warning_option=no
   5902 fi
   5903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5904 fi
   5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5906 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5907 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5908 	CFLAGS="$xorg_testset_save_CFLAGS"
   5909 fi
   5910 
   5911 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5912 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5913 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5914 	fi
   5915 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5916 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5917 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5918 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5919   $as_echo_n "(cached) " >&6
   5920 else
   5921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5922 /* end confdefs.h.  */
   5923 int i;
   5924 _ACEOF
   5925 if ac_fn_c_try_compile "$LINENO"; then :
   5926   xorg_cv_cc_flag_unused_command_line_argument=yes
   5927 else
   5928   xorg_cv_cc_flag_unused_command_line_argument=no
   5929 fi
   5930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5931 fi
   5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5933 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5934 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5935 	CFLAGS="$xorg_testset_save_CFLAGS"
   5936 fi
   5937 
   5938 found="no"
   5939 
   5940 	if test $found = "no" ; then
   5941 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5942 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5943 		fi
   5944 
   5945 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5946 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5947 		fi
   5948 
   5949 		CFLAGS="$CFLAGS -Wold-style-definition"
   5950 
   5951 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5952 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5953 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5954 		if eval \${$cacheid+:} false; then :
   5955   $as_echo_n "(cached) " >&6
   5956 else
   5957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5958 /* end confdefs.h.  */
   5959 int i;
   5960 int
   5961 main ()
   5962 {
   5963 
   5964   ;
   5965   return 0;
   5966 }
   5967 _ACEOF
   5968 if ac_fn_c_try_link "$LINENO"; then :
   5969   eval $cacheid=yes
   5970 else
   5971   eval $cacheid=no
   5972 fi
   5973 rm -f core conftest.err conftest.$ac_objext \
   5974     conftest$ac_exeext conftest.$ac_ext
   5975 fi
   5976 
   5977 
   5978 		CFLAGS="$xorg_testset_save_CFLAGS"
   5979 
   5980 		eval supported=\$$cacheid
   5981 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5982 $as_echo "$supported" >&6; }
   5983 		if test "$supported" = "yes" ; then
   5984 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5985 			found="yes"
   5986 		fi
   5987 	fi
   5988 
   5989 	if test $found = "no" ; then
   5990 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5991 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5992 		fi
   5993 
   5994 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5995 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5996 		fi
   5997 
   5998 		CFLAGS="$CFLAGS -fd"
   5999 
   6000 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6001 $as_echo_n "checking if $CC supports -fd... " >&6; }
   6002 		cacheid=xorg_cv_cc_flag__fd
   6003 		if eval \${$cacheid+:} false; then :
   6004   $as_echo_n "(cached) " >&6
   6005 else
   6006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6007 /* end confdefs.h.  */
   6008 int i;
   6009 int
   6010 main ()
   6011 {
   6012 
   6013   ;
   6014   return 0;
   6015 }
   6016 _ACEOF
   6017 if ac_fn_c_try_link "$LINENO"; then :
   6018   eval $cacheid=yes
   6019 else
   6020   eval $cacheid=no
   6021 fi
   6022 rm -f core conftest.err conftest.$ac_objext \
   6023     conftest$ac_exeext conftest.$ac_ext
   6024 fi
   6025 
   6026 
   6027 		CFLAGS="$xorg_testset_save_CFLAGS"
   6028 
   6029 		eval supported=\$$cacheid
   6030 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6031 $as_echo "$supported" >&6; }
   6032 		if test "$supported" = "yes" ; then
   6033 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6034 			found="yes"
   6035 		fi
   6036 	fi
   6037 
   6038 
   6039 
   6040 
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 
   6051 
   6052 xorg_testset_save_CFLAGS="$CFLAGS"
   6053 
   6054 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6055 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6056 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6057 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6058 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6059   $as_echo_n "(cached) " >&6
   6060 else
   6061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6062 /* end confdefs.h.  */
   6063 int i;
   6064 _ACEOF
   6065 if ac_fn_c_try_compile "$LINENO"; then :
   6066   xorg_cv_cc_flag_unknown_warning_option=yes
   6067 else
   6068   xorg_cv_cc_flag_unknown_warning_option=no
   6069 fi
   6070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6071 fi
   6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6073 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6074 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6075 	CFLAGS="$xorg_testset_save_CFLAGS"
   6076 fi
   6077 
   6078 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6079 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6080 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6081 	fi
   6082 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6083 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6084 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6085 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6086   $as_echo_n "(cached) " >&6
   6087 else
   6088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6089 /* end confdefs.h.  */
   6090 int i;
   6091 _ACEOF
   6092 if ac_fn_c_try_compile "$LINENO"; then :
   6093   xorg_cv_cc_flag_unused_command_line_argument=yes
   6094 else
   6095   xorg_cv_cc_flag_unused_command_line_argument=no
   6096 fi
   6097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6098 fi
   6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6100 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6101 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6102 	CFLAGS="$xorg_testset_save_CFLAGS"
   6103 fi
   6104 
   6105 found="no"
   6106 
   6107 	if test $found = "no" ; then
   6108 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6109 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6110 		fi
   6111 
   6112 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6113 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6114 		fi
   6115 
   6116 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6117 
   6118 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6119 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6120 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6121 		if eval \${$cacheid+:} false; then :
   6122   $as_echo_n "(cached) " >&6
   6123 else
   6124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6125 /* end confdefs.h.  */
   6126 int i;
   6127 int
   6128 main ()
   6129 {
   6130 
   6131   ;
   6132   return 0;
   6133 }
   6134 _ACEOF
   6135 if ac_fn_c_try_link "$LINENO"; then :
   6136   eval $cacheid=yes
   6137 else
   6138   eval $cacheid=no
   6139 fi
   6140 rm -f core conftest.err conftest.$ac_objext \
   6141     conftest$ac_exeext conftest.$ac_ext
   6142 fi
   6143 
   6144 
   6145 		CFLAGS="$xorg_testset_save_CFLAGS"
   6146 
   6147 		eval supported=\$$cacheid
   6148 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6149 $as_echo "$supported" >&6; }
   6150 		if test "$supported" = "yes" ; then
   6151 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6152 			found="yes"
   6153 		fi
   6154 	fi
   6155 
   6156 
   6157 
   6158 
   6159 
   6160 # This chunk adds additional warnings that could catch undesired effects.
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 xorg_testset_save_CFLAGS="$CFLAGS"
   6175 
   6176 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6177 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6178 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6179 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6180 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6181   $as_echo_n "(cached) " >&6
   6182 else
   6183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6184 /* end confdefs.h.  */
   6185 int i;
   6186 _ACEOF
   6187 if ac_fn_c_try_compile "$LINENO"; then :
   6188   xorg_cv_cc_flag_unknown_warning_option=yes
   6189 else
   6190   xorg_cv_cc_flag_unknown_warning_option=no
   6191 fi
   6192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6193 fi
   6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6195 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6196 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6197 	CFLAGS="$xorg_testset_save_CFLAGS"
   6198 fi
   6199 
   6200 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6201 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6202 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6203 	fi
   6204 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6205 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6206 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6207 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6208   $as_echo_n "(cached) " >&6
   6209 else
   6210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6211 /* end confdefs.h.  */
   6212 int i;
   6213 _ACEOF
   6214 if ac_fn_c_try_compile "$LINENO"; then :
   6215   xorg_cv_cc_flag_unused_command_line_argument=yes
   6216 else
   6217   xorg_cv_cc_flag_unused_command_line_argument=no
   6218 fi
   6219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6220 fi
   6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6222 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6223 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6224 	CFLAGS="$xorg_testset_save_CFLAGS"
   6225 fi
   6226 
   6227 found="no"
   6228 
   6229 	if test $found = "no" ; then
   6230 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6231 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6232 		fi
   6233 
   6234 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6235 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6236 		fi
   6237 
   6238 		CFLAGS="$CFLAGS -Wunused"
   6239 
   6240 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6241 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6242 		cacheid=xorg_cv_cc_flag__Wunused
   6243 		if eval \${$cacheid+:} false; then :
   6244   $as_echo_n "(cached) " >&6
   6245 else
   6246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6247 /* end confdefs.h.  */
   6248 int i;
   6249 int
   6250 main ()
   6251 {
   6252 
   6253   ;
   6254   return 0;
   6255 }
   6256 _ACEOF
   6257 if ac_fn_c_try_link "$LINENO"; then :
   6258   eval $cacheid=yes
   6259 else
   6260   eval $cacheid=no
   6261 fi
   6262 rm -f core conftest.err conftest.$ac_objext \
   6263     conftest$ac_exeext conftest.$ac_ext
   6264 fi
   6265 
   6266 
   6267 		CFLAGS="$xorg_testset_save_CFLAGS"
   6268 
   6269 		eval supported=\$$cacheid
   6270 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6271 $as_echo "$supported" >&6; }
   6272 		if test "$supported" = "yes" ; then
   6273 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6274 			found="yes"
   6275 		fi
   6276 	fi
   6277 
   6278 
   6279 
   6280 
   6281 
   6282 
   6283 
   6284 
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 xorg_testset_save_CFLAGS="$CFLAGS"
   6293 
   6294 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6295 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6296 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6297 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6298 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6299   $as_echo_n "(cached) " >&6
   6300 else
   6301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6302 /* end confdefs.h.  */
   6303 int i;
   6304 _ACEOF
   6305 if ac_fn_c_try_compile "$LINENO"; then :
   6306   xorg_cv_cc_flag_unknown_warning_option=yes
   6307 else
   6308   xorg_cv_cc_flag_unknown_warning_option=no
   6309 fi
   6310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6311 fi
   6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6313 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6314 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6315 	CFLAGS="$xorg_testset_save_CFLAGS"
   6316 fi
   6317 
   6318 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6319 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6320 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6321 	fi
   6322 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6323 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6324 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6325 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6326   $as_echo_n "(cached) " >&6
   6327 else
   6328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6329 /* end confdefs.h.  */
   6330 int i;
   6331 _ACEOF
   6332 if ac_fn_c_try_compile "$LINENO"; then :
   6333   xorg_cv_cc_flag_unused_command_line_argument=yes
   6334 else
   6335   xorg_cv_cc_flag_unused_command_line_argument=no
   6336 fi
   6337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6338 fi
   6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6340 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6341 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6342 	CFLAGS="$xorg_testset_save_CFLAGS"
   6343 fi
   6344 
   6345 found="no"
   6346 
   6347 	if test $found = "no" ; then
   6348 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6349 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6350 		fi
   6351 
   6352 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6353 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6354 		fi
   6355 
   6356 		CFLAGS="$CFLAGS -Wuninitialized"
   6357 
   6358 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6359 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6360 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6361 		if eval \${$cacheid+:} false; then :
   6362   $as_echo_n "(cached) " >&6
   6363 else
   6364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6365 /* end confdefs.h.  */
   6366 int i;
   6367 int
   6368 main ()
   6369 {
   6370 
   6371   ;
   6372   return 0;
   6373 }
   6374 _ACEOF
   6375 if ac_fn_c_try_link "$LINENO"; then :
   6376   eval $cacheid=yes
   6377 else
   6378   eval $cacheid=no
   6379 fi
   6380 rm -f core conftest.err conftest.$ac_objext \
   6381     conftest$ac_exeext conftest.$ac_ext
   6382 fi
   6383 
   6384 
   6385 		CFLAGS="$xorg_testset_save_CFLAGS"
   6386 
   6387 		eval supported=\$$cacheid
   6388 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6389 $as_echo "$supported" >&6; }
   6390 		if test "$supported" = "yes" ; then
   6391 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6392 			found="yes"
   6393 		fi
   6394 	fi
   6395 
   6396 
   6397 
   6398 
   6399 
   6400 
   6401 
   6402 
   6403 
   6404 
   6405 
   6406 
   6407 
   6408 
   6409 
   6410 xorg_testset_save_CFLAGS="$CFLAGS"
   6411 
   6412 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6413 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6414 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6415 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6416 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6417   $as_echo_n "(cached) " >&6
   6418 else
   6419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6420 /* end confdefs.h.  */
   6421 int i;
   6422 _ACEOF
   6423 if ac_fn_c_try_compile "$LINENO"; then :
   6424   xorg_cv_cc_flag_unknown_warning_option=yes
   6425 else
   6426   xorg_cv_cc_flag_unknown_warning_option=no
   6427 fi
   6428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6429 fi
   6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6431 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6432 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6433 	CFLAGS="$xorg_testset_save_CFLAGS"
   6434 fi
   6435 
   6436 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6437 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6438 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6439 	fi
   6440 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6441 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6442 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6443 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6444   $as_echo_n "(cached) " >&6
   6445 else
   6446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6447 /* end confdefs.h.  */
   6448 int i;
   6449 _ACEOF
   6450 if ac_fn_c_try_compile "$LINENO"; then :
   6451   xorg_cv_cc_flag_unused_command_line_argument=yes
   6452 else
   6453   xorg_cv_cc_flag_unused_command_line_argument=no
   6454 fi
   6455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6456 fi
   6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6458 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6459 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6460 	CFLAGS="$xorg_testset_save_CFLAGS"
   6461 fi
   6462 
   6463 found="no"
   6464 
   6465 	if test $found = "no" ; then
   6466 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6467 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6468 		fi
   6469 
   6470 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6471 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6472 		fi
   6473 
   6474 		CFLAGS="$CFLAGS -Wshadow"
   6475 
   6476 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6477 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6478 		cacheid=xorg_cv_cc_flag__Wshadow
   6479 		if eval \${$cacheid+:} false; then :
   6480   $as_echo_n "(cached) " >&6
   6481 else
   6482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6483 /* end confdefs.h.  */
   6484 int i;
   6485 int
   6486 main ()
   6487 {
   6488 
   6489   ;
   6490   return 0;
   6491 }
   6492 _ACEOF
   6493 if ac_fn_c_try_link "$LINENO"; then :
   6494   eval $cacheid=yes
   6495 else
   6496   eval $cacheid=no
   6497 fi
   6498 rm -f core conftest.err conftest.$ac_objext \
   6499     conftest$ac_exeext conftest.$ac_ext
   6500 fi
   6501 
   6502 
   6503 		CFLAGS="$xorg_testset_save_CFLAGS"
   6504 
   6505 		eval supported=\$$cacheid
   6506 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6507 $as_echo "$supported" >&6; }
   6508 		if test "$supported" = "yes" ; then
   6509 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6510 			found="yes"
   6511 		fi
   6512 	fi
   6513 
   6514 
   6515 
   6516 
   6517 
   6518 
   6519 
   6520 
   6521 
   6522 
   6523 
   6524 
   6525 
   6526 
   6527 
   6528 xorg_testset_save_CFLAGS="$CFLAGS"
   6529 
   6530 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6531 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6532 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6533 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6534 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6535   $as_echo_n "(cached) " >&6
   6536 else
   6537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6538 /* end confdefs.h.  */
   6539 int i;
   6540 _ACEOF
   6541 if ac_fn_c_try_compile "$LINENO"; then :
   6542   xorg_cv_cc_flag_unknown_warning_option=yes
   6543 else
   6544   xorg_cv_cc_flag_unknown_warning_option=no
   6545 fi
   6546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6547 fi
   6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6549 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6550 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6551 	CFLAGS="$xorg_testset_save_CFLAGS"
   6552 fi
   6553 
   6554 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6555 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6556 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6557 	fi
   6558 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6559 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6560 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6561 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6562   $as_echo_n "(cached) " >&6
   6563 else
   6564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6565 /* end confdefs.h.  */
   6566 int i;
   6567 _ACEOF
   6568 if ac_fn_c_try_compile "$LINENO"; then :
   6569   xorg_cv_cc_flag_unused_command_line_argument=yes
   6570 else
   6571   xorg_cv_cc_flag_unused_command_line_argument=no
   6572 fi
   6573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6574 fi
   6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6576 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6577 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6578 	CFLAGS="$xorg_testset_save_CFLAGS"
   6579 fi
   6580 
   6581 found="no"
   6582 
   6583 	if test $found = "no" ; then
   6584 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6585 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6586 		fi
   6587 
   6588 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6589 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6590 		fi
   6591 
   6592 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6593 
   6594 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6595 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6596 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6597 		if eval \${$cacheid+:} false; then :
   6598   $as_echo_n "(cached) " >&6
   6599 else
   6600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6601 /* end confdefs.h.  */
   6602 int i;
   6603 int
   6604 main ()
   6605 {
   6606 
   6607   ;
   6608   return 0;
   6609 }
   6610 _ACEOF
   6611 if ac_fn_c_try_link "$LINENO"; then :
   6612   eval $cacheid=yes
   6613 else
   6614   eval $cacheid=no
   6615 fi
   6616 rm -f core conftest.err conftest.$ac_objext \
   6617     conftest$ac_exeext conftest.$ac_ext
   6618 fi
   6619 
   6620 
   6621 		CFLAGS="$xorg_testset_save_CFLAGS"
   6622 
   6623 		eval supported=\$$cacheid
   6624 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6625 $as_echo "$supported" >&6; }
   6626 		if test "$supported" = "yes" ; then
   6627 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6628 			found="yes"
   6629 		fi
   6630 	fi
   6631 
   6632 
   6633 
   6634 
   6635 
   6636 
   6637 
   6638 
   6639 
   6640 
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 xorg_testset_save_CFLAGS="$CFLAGS"
   6647 
   6648 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6649 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6650 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6651 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6652 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6653   $as_echo_n "(cached) " >&6
   6654 else
   6655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6656 /* end confdefs.h.  */
   6657 int i;
   6658 _ACEOF
   6659 if ac_fn_c_try_compile "$LINENO"; then :
   6660   xorg_cv_cc_flag_unknown_warning_option=yes
   6661 else
   6662   xorg_cv_cc_flag_unknown_warning_option=no
   6663 fi
   6664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6665 fi
   6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6667 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6668 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6669 	CFLAGS="$xorg_testset_save_CFLAGS"
   6670 fi
   6671 
   6672 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6673 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6674 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6675 	fi
   6676 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6677 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6678 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6679 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6680   $as_echo_n "(cached) " >&6
   6681 else
   6682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6683 /* end confdefs.h.  */
   6684 int i;
   6685 _ACEOF
   6686 if ac_fn_c_try_compile "$LINENO"; then :
   6687   xorg_cv_cc_flag_unused_command_line_argument=yes
   6688 else
   6689   xorg_cv_cc_flag_unused_command_line_argument=no
   6690 fi
   6691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6692 fi
   6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6694 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6695 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6696 	CFLAGS="$xorg_testset_save_CFLAGS"
   6697 fi
   6698 
   6699 found="no"
   6700 
   6701 	if test $found = "no" ; then
   6702 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6703 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6704 		fi
   6705 
   6706 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6707 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6708 		fi
   6709 
   6710 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6711 
   6712 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6713 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6714 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6715 		if eval \${$cacheid+:} false; then :
   6716   $as_echo_n "(cached) " >&6
   6717 else
   6718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6719 /* end confdefs.h.  */
   6720 int i;
   6721 int
   6722 main ()
   6723 {
   6724 
   6725   ;
   6726   return 0;
   6727 }
   6728 _ACEOF
   6729 if ac_fn_c_try_link "$LINENO"; then :
   6730   eval $cacheid=yes
   6731 else
   6732   eval $cacheid=no
   6733 fi
   6734 rm -f core conftest.err conftest.$ac_objext \
   6735     conftest$ac_exeext conftest.$ac_ext
   6736 fi
   6737 
   6738 
   6739 		CFLAGS="$xorg_testset_save_CFLAGS"
   6740 
   6741 		eval supported=\$$cacheid
   6742 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6743 $as_echo "$supported" >&6; }
   6744 		if test "$supported" = "yes" ; then
   6745 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6746 			found="yes"
   6747 		fi
   6748 	fi
   6749 
   6750 
   6751 
   6752 
   6753 
   6754 
   6755 
   6756 
   6757 
   6758 
   6759 
   6760 
   6761 
   6762 
   6763 
   6764 xorg_testset_save_CFLAGS="$CFLAGS"
   6765 
   6766 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6767 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6768 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6769 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6770 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6771   $as_echo_n "(cached) " >&6
   6772 else
   6773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6774 /* end confdefs.h.  */
   6775 int i;
   6776 _ACEOF
   6777 if ac_fn_c_try_compile "$LINENO"; then :
   6778   xorg_cv_cc_flag_unknown_warning_option=yes
   6779 else
   6780   xorg_cv_cc_flag_unknown_warning_option=no
   6781 fi
   6782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6783 fi
   6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6785 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6786 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6787 	CFLAGS="$xorg_testset_save_CFLAGS"
   6788 fi
   6789 
   6790 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6791 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6792 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6793 	fi
   6794 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6795 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6796 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6797 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6798   $as_echo_n "(cached) " >&6
   6799 else
   6800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6801 /* end confdefs.h.  */
   6802 int i;
   6803 _ACEOF
   6804 if ac_fn_c_try_compile "$LINENO"; then :
   6805   xorg_cv_cc_flag_unused_command_line_argument=yes
   6806 else
   6807   xorg_cv_cc_flag_unused_command_line_argument=no
   6808 fi
   6809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6810 fi
   6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6812 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6813 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6814 	CFLAGS="$xorg_testset_save_CFLAGS"
   6815 fi
   6816 
   6817 found="no"
   6818 
   6819 	if test $found = "no" ; then
   6820 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6821 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6822 		fi
   6823 
   6824 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6825 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6826 		fi
   6827 
   6828 		CFLAGS="$CFLAGS -Wredundant-decls"
   6829 
   6830 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6831 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6832 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6833 		if eval \${$cacheid+:} false; then :
   6834   $as_echo_n "(cached) " >&6
   6835 else
   6836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6837 /* end confdefs.h.  */
   6838 int i;
   6839 int
   6840 main ()
   6841 {
   6842 
   6843   ;
   6844   return 0;
   6845 }
   6846 _ACEOF
   6847 if ac_fn_c_try_link "$LINENO"; then :
   6848   eval $cacheid=yes
   6849 else
   6850   eval $cacheid=no
   6851 fi
   6852 rm -f core conftest.err conftest.$ac_objext \
   6853     conftest$ac_exeext conftest.$ac_ext
   6854 fi
   6855 
   6856 
   6857 		CFLAGS="$xorg_testset_save_CFLAGS"
   6858 
   6859 		eval supported=\$$cacheid
   6860 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6861 $as_echo "$supported" >&6; }
   6862 		if test "$supported" = "yes" ; then
   6863 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6864 			found="yes"
   6865 		fi
   6866 	fi
   6867 
   6868 
   6869 
   6870 
   6871 
   6872 
   6873 
   6874 
   6875 
   6876 
   6877 
   6878 
   6879 
   6880 
   6881 
   6882 xorg_testset_save_CFLAGS="$CFLAGS"
   6883 
   6884 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6885 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6886 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6887 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6888 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6889   $as_echo_n "(cached) " >&6
   6890 else
   6891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6892 /* end confdefs.h.  */
   6893 int i;
   6894 _ACEOF
   6895 if ac_fn_c_try_compile "$LINENO"; then :
   6896   xorg_cv_cc_flag_unknown_warning_option=yes
   6897 else
   6898   xorg_cv_cc_flag_unknown_warning_option=no
   6899 fi
   6900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6901 fi
   6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6903 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6904 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6905 	CFLAGS="$xorg_testset_save_CFLAGS"
   6906 fi
   6907 
   6908 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6909 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6910 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6911 	fi
   6912 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6913 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6914 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6915 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6916   $as_echo_n "(cached) " >&6
   6917 else
   6918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6919 /* end confdefs.h.  */
   6920 int i;
   6921 _ACEOF
   6922 if ac_fn_c_try_compile "$LINENO"; then :
   6923   xorg_cv_cc_flag_unused_command_line_argument=yes
   6924 else
   6925   xorg_cv_cc_flag_unused_command_line_argument=no
   6926 fi
   6927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6928 fi
   6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6930 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6931 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6932 	CFLAGS="$xorg_testset_save_CFLAGS"
   6933 fi
   6934 
   6935 found="no"
   6936 
   6937 	if test $found = "no" ; then
   6938 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6939 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6940 		fi
   6941 
   6942 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6943 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6944 		fi
   6945 
   6946 		CFLAGS="$CFLAGS -Wlogical-op"
   6947 
   6948 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6949 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6950 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6951 		if eval \${$cacheid+:} false; then :
   6952   $as_echo_n "(cached) " >&6
   6953 else
   6954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6955 /* end confdefs.h.  */
   6956 int i;
   6957 int
   6958 main ()
   6959 {
   6960 
   6961   ;
   6962   return 0;
   6963 }
   6964 _ACEOF
   6965 if ac_fn_c_try_link "$LINENO"; then :
   6966   eval $cacheid=yes
   6967 else
   6968   eval $cacheid=no
   6969 fi
   6970 rm -f core conftest.err conftest.$ac_objext \
   6971     conftest$ac_exeext conftest.$ac_ext
   6972 fi
   6973 
   6974 
   6975 		CFLAGS="$xorg_testset_save_CFLAGS"
   6976 
   6977 		eval supported=\$$cacheid
   6978 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6979 $as_echo "$supported" >&6; }
   6980 		if test "$supported" = "yes" ; then
   6981 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6982 			found="yes"
   6983 		fi
   6984 	fi
   6985 
   6986 
   6987 
   6988 # These are currently disabled because they are noisy.  They will be enabled
   6989 # in the future once the codebase is sufficiently modernized to silence
   6990 # them.  For now, I don't want them to drown out the other warnings.
   6991 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6992 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6993 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6994 
   6995 # Turn some warnings into errors, so we don't accidently get successful builds
   6996 # when there are problems that should be fixed.
   6997 
   6998 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6999 
   7000 
   7001 
   7002 
   7003 
   7004 
   7005 
   7006 
   7007 
   7008 
   7009 
   7010 
   7011 
   7012 xorg_testset_save_CFLAGS="$CFLAGS"
   7013 
   7014 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7015 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7016 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7017 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7018 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7019   $as_echo_n "(cached) " >&6
   7020 else
   7021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7022 /* end confdefs.h.  */
   7023 int i;
   7024 _ACEOF
   7025 if ac_fn_c_try_compile "$LINENO"; then :
   7026   xorg_cv_cc_flag_unknown_warning_option=yes
   7027 else
   7028   xorg_cv_cc_flag_unknown_warning_option=no
   7029 fi
   7030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7031 fi
   7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7033 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7034 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7035 	CFLAGS="$xorg_testset_save_CFLAGS"
   7036 fi
   7037 
   7038 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7039 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7040 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7041 	fi
   7042 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7043 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7044 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7045 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7046   $as_echo_n "(cached) " >&6
   7047 else
   7048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7049 /* end confdefs.h.  */
   7050 int i;
   7051 _ACEOF
   7052 if ac_fn_c_try_compile "$LINENO"; then :
   7053   xorg_cv_cc_flag_unused_command_line_argument=yes
   7054 else
   7055   xorg_cv_cc_flag_unused_command_line_argument=no
   7056 fi
   7057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7058 fi
   7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7060 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7061 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7062 	CFLAGS="$xorg_testset_save_CFLAGS"
   7063 fi
   7064 
   7065 found="no"
   7066 
   7067 	if test $found = "no" ; then
   7068 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7069 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7070 		fi
   7071 
   7072 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7073 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7074 		fi
   7075 
   7076 		CFLAGS="$CFLAGS -Werror=implicit"
   7077 
   7078 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7079 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7080 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7081 		if eval \${$cacheid+:} false; then :
   7082   $as_echo_n "(cached) " >&6
   7083 else
   7084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7085 /* end confdefs.h.  */
   7086 int i;
   7087 int
   7088 main ()
   7089 {
   7090 
   7091   ;
   7092   return 0;
   7093 }
   7094 _ACEOF
   7095 if ac_fn_c_try_link "$LINENO"; then :
   7096   eval $cacheid=yes
   7097 else
   7098   eval $cacheid=no
   7099 fi
   7100 rm -f core conftest.err conftest.$ac_objext \
   7101     conftest$ac_exeext conftest.$ac_ext
   7102 fi
   7103 
   7104 
   7105 		CFLAGS="$xorg_testset_save_CFLAGS"
   7106 
   7107 		eval supported=\$$cacheid
   7108 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7109 $as_echo "$supported" >&6; }
   7110 		if test "$supported" = "yes" ; then
   7111 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7112 			found="yes"
   7113 		fi
   7114 	fi
   7115 
   7116 	if test $found = "no" ; then
   7117 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7118 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7119 		fi
   7120 
   7121 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7122 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7123 		fi
   7124 
   7125 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7126 
   7127 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7128 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7129 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7130 		if eval \${$cacheid+:} false; then :
   7131   $as_echo_n "(cached) " >&6
   7132 else
   7133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7134 /* end confdefs.h.  */
   7135 int i;
   7136 int
   7137 main ()
   7138 {
   7139 
   7140   ;
   7141   return 0;
   7142 }
   7143 _ACEOF
   7144 if ac_fn_c_try_link "$LINENO"; then :
   7145   eval $cacheid=yes
   7146 else
   7147   eval $cacheid=no
   7148 fi
   7149 rm -f core conftest.err conftest.$ac_objext \
   7150     conftest$ac_exeext conftest.$ac_ext
   7151 fi
   7152 
   7153 
   7154 		CFLAGS="$xorg_testset_save_CFLAGS"
   7155 
   7156 		eval supported=\$$cacheid
   7157 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7158 $as_echo "$supported" >&6; }
   7159 		if test "$supported" = "yes" ; then
   7160 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7161 			found="yes"
   7162 		fi
   7163 	fi
   7164 
   7165 
   7166 
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 xorg_testset_save_CFLAGS="$CFLAGS"
   7180 
   7181 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7182 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7183 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7184 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7185 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7186   $as_echo_n "(cached) " >&6
   7187 else
   7188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7189 /* end confdefs.h.  */
   7190 int i;
   7191 _ACEOF
   7192 if ac_fn_c_try_compile "$LINENO"; then :
   7193   xorg_cv_cc_flag_unknown_warning_option=yes
   7194 else
   7195   xorg_cv_cc_flag_unknown_warning_option=no
   7196 fi
   7197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7198 fi
   7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7200 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7201 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7202 	CFLAGS="$xorg_testset_save_CFLAGS"
   7203 fi
   7204 
   7205 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7206 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7207 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7208 	fi
   7209 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7210 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7211 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7212 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7213   $as_echo_n "(cached) " >&6
   7214 else
   7215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7216 /* end confdefs.h.  */
   7217 int i;
   7218 _ACEOF
   7219 if ac_fn_c_try_compile "$LINENO"; then :
   7220   xorg_cv_cc_flag_unused_command_line_argument=yes
   7221 else
   7222   xorg_cv_cc_flag_unused_command_line_argument=no
   7223 fi
   7224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7225 fi
   7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7227 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7228 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7229 	CFLAGS="$xorg_testset_save_CFLAGS"
   7230 fi
   7231 
   7232 found="no"
   7233 
   7234 	if test $found = "no" ; then
   7235 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7236 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7237 		fi
   7238 
   7239 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7240 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7241 		fi
   7242 
   7243 		CFLAGS="$CFLAGS -Werror=nonnull"
   7244 
   7245 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7246 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7247 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7248 		if eval \${$cacheid+:} false; then :
   7249   $as_echo_n "(cached) " >&6
   7250 else
   7251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7252 /* end confdefs.h.  */
   7253 int i;
   7254 int
   7255 main ()
   7256 {
   7257 
   7258   ;
   7259   return 0;
   7260 }
   7261 _ACEOF
   7262 if ac_fn_c_try_link "$LINENO"; then :
   7263   eval $cacheid=yes
   7264 else
   7265   eval $cacheid=no
   7266 fi
   7267 rm -f core conftest.err conftest.$ac_objext \
   7268     conftest$ac_exeext conftest.$ac_ext
   7269 fi
   7270 
   7271 
   7272 		CFLAGS="$xorg_testset_save_CFLAGS"
   7273 
   7274 		eval supported=\$$cacheid
   7275 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7276 $as_echo "$supported" >&6; }
   7277 		if test "$supported" = "yes" ; then
   7278 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7279 			found="yes"
   7280 		fi
   7281 	fi
   7282 
   7283 
   7284 
   7285 
   7286 
   7287 
   7288 
   7289 
   7290 
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 xorg_testset_save_CFLAGS="$CFLAGS"
   7298 
   7299 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7300 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7301 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7302 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7303 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7304   $as_echo_n "(cached) " >&6
   7305 else
   7306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7307 /* end confdefs.h.  */
   7308 int i;
   7309 _ACEOF
   7310 if ac_fn_c_try_compile "$LINENO"; then :
   7311   xorg_cv_cc_flag_unknown_warning_option=yes
   7312 else
   7313   xorg_cv_cc_flag_unknown_warning_option=no
   7314 fi
   7315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7316 fi
   7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7318 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7319 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7320 	CFLAGS="$xorg_testset_save_CFLAGS"
   7321 fi
   7322 
   7323 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7324 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7325 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7326 	fi
   7327 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7328 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7329 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7330 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7331   $as_echo_n "(cached) " >&6
   7332 else
   7333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7334 /* end confdefs.h.  */
   7335 int i;
   7336 _ACEOF
   7337 if ac_fn_c_try_compile "$LINENO"; then :
   7338   xorg_cv_cc_flag_unused_command_line_argument=yes
   7339 else
   7340   xorg_cv_cc_flag_unused_command_line_argument=no
   7341 fi
   7342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7343 fi
   7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7345 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7346 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7347 	CFLAGS="$xorg_testset_save_CFLAGS"
   7348 fi
   7349 
   7350 found="no"
   7351 
   7352 	if test $found = "no" ; then
   7353 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7354 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7355 		fi
   7356 
   7357 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7358 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7359 		fi
   7360 
   7361 		CFLAGS="$CFLAGS -Werror=init-self"
   7362 
   7363 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7364 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7365 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7366 		if eval \${$cacheid+:} false; then :
   7367   $as_echo_n "(cached) " >&6
   7368 else
   7369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7370 /* end confdefs.h.  */
   7371 int i;
   7372 int
   7373 main ()
   7374 {
   7375 
   7376   ;
   7377   return 0;
   7378 }
   7379 _ACEOF
   7380 if ac_fn_c_try_link "$LINENO"; then :
   7381   eval $cacheid=yes
   7382 else
   7383   eval $cacheid=no
   7384 fi
   7385 rm -f core conftest.err conftest.$ac_objext \
   7386     conftest$ac_exeext conftest.$ac_ext
   7387 fi
   7388 
   7389 
   7390 		CFLAGS="$xorg_testset_save_CFLAGS"
   7391 
   7392 		eval supported=\$$cacheid
   7393 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7394 $as_echo "$supported" >&6; }
   7395 		if test "$supported" = "yes" ; then
   7396 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7397 			found="yes"
   7398 		fi
   7399 	fi
   7400 
   7401 
   7402 
   7403 
   7404 
   7405 
   7406 
   7407 
   7408 
   7409 
   7410 
   7411 
   7412 
   7413 
   7414 
   7415 xorg_testset_save_CFLAGS="$CFLAGS"
   7416 
   7417 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7418 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7419 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7420 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7421 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7422   $as_echo_n "(cached) " >&6
   7423 else
   7424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7425 /* end confdefs.h.  */
   7426 int i;
   7427 _ACEOF
   7428 if ac_fn_c_try_compile "$LINENO"; then :
   7429   xorg_cv_cc_flag_unknown_warning_option=yes
   7430 else
   7431   xorg_cv_cc_flag_unknown_warning_option=no
   7432 fi
   7433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7434 fi
   7435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7436 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7437 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7438 	CFLAGS="$xorg_testset_save_CFLAGS"
   7439 fi
   7440 
   7441 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7442 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7443 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7444 	fi
   7445 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7446 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7447 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7448 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7449   $as_echo_n "(cached) " >&6
   7450 else
   7451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7452 /* end confdefs.h.  */
   7453 int i;
   7454 _ACEOF
   7455 if ac_fn_c_try_compile "$LINENO"; then :
   7456   xorg_cv_cc_flag_unused_command_line_argument=yes
   7457 else
   7458   xorg_cv_cc_flag_unused_command_line_argument=no
   7459 fi
   7460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7461 fi
   7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7463 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7464 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7465 	CFLAGS="$xorg_testset_save_CFLAGS"
   7466 fi
   7467 
   7468 found="no"
   7469 
   7470 	if test $found = "no" ; then
   7471 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7472 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7473 		fi
   7474 
   7475 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7476 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7477 		fi
   7478 
   7479 		CFLAGS="$CFLAGS -Werror=main"
   7480 
   7481 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7482 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7483 		cacheid=xorg_cv_cc_flag__Werror_main
   7484 		if eval \${$cacheid+:} false; then :
   7485   $as_echo_n "(cached) " >&6
   7486 else
   7487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7488 /* end confdefs.h.  */
   7489 int i;
   7490 int
   7491 main ()
   7492 {
   7493 
   7494   ;
   7495   return 0;
   7496 }
   7497 _ACEOF
   7498 if ac_fn_c_try_link "$LINENO"; then :
   7499   eval $cacheid=yes
   7500 else
   7501   eval $cacheid=no
   7502 fi
   7503 rm -f core conftest.err conftest.$ac_objext \
   7504     conftest$ac_exeext conftest.$ac_ext
   7505 fi
   7506 
   7507 
   7508 		CFLAGS="$xorg_testset_save_CFLAGS"
   7509 
   7510 		eval supported=\$$cacheid
   7511 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7512 $as_echo "$supported" >&6; }
   7513 		if test "$supported" = "yes" ; then
   7514 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7515 			found="yes"
   7516 		fi
   7517 	fi
   7518 
   7519 
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 xorg_testset_save_CFLAGS="$CFLAGS"
   7534 
   7535 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7536 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7537 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7538 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7539 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7540   $as_echo_n "(cached) " >&6
   7541 else
   7542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7543 /* end confdefs.h.  */
   7544 int i;
   7545 _ACEOF
   7546 if ac_fn_c_try_compile "$LINENO"; then :
   7547   xorg_cv_cc_flag_unknown_warning_option=yes
   7548 else
   7549   xorg_cv_cc_flag_unknown_warning_option=no
   7550 fi
   7551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7552 fi
   7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7554 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7555 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7556 	CFLAGS="$xorg_testset_save_CFLAGS"
   7557 fi
   7558 
   7559 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7560 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7561 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7562 	fi
   7563 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7564 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7565 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7566 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7567   $as_echo_n "(cached) " >&6
   7568 else
   7569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7570 /* end confdefs.h.  */
   7571 int i;
   7572 _ACEOF
   7573 if ac_fn_c_try_compile "$LINENO"; then :
   7574   xorg_cv_cc_flag_unused_command_line_argument=yes
   7575 else
   7576   xorg_cv_cc_flag_unused_command_line_argument=no
   7577 fi
   7578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7579 fi
   7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7581 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7582 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7583 	CFLAGS="$xorg_testset_save_CFLAGS"
   7584 fi
   7585 
   7586 found="no"
   7587 
   7588 	if test $found = "no" ; then
   7589 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7590 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7591 		fi
   7592 
   7593 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7594 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7595 		fi
   7596 
   7597 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7598 
   7599 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7600 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7601 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7602 		if eval \${$cacheid+:} false; then :
   7603   $as_echo_n "(cached) " >&6
   7604 else
   7605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7606 /* end confdefs.h.  */
   7607 int i;
   7608 int
   7609 main ()
   7610 {
   7611 
   7612   ;
   7613   return 0;
   7614 }
   7615 _ACEOF
   7616 if ac_fn_c_try_link "$LINENO"; then :
   7617   eval $cacheid=yes
   7618 else
   7619   eval $cacheid=no
   7620 fi
   7621 rm -f core conftest.err conftest.$ac_objext \
   7622     conftest$ac_exeext conftest.$ac_ext
   7623 fi
   7624 
   7625 
   7626 		CFLAGS="$xorg_testset_save_CFLAGS"
   7627 
   7628 		eval supported=\$$cacheid
   7629 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7630 $as_echo "$supported" >&6; }
   7631 		if test "$supported" = "yes" ; then
   7632 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7633 			found="yes"
   7634 		fi
   7635 	fi
   7636 
   7637 
   7638 
   7639 
   7640 
   7641 
   7642 
   7643 
   7644 
   7645 
   7646 
   7647 
   7648 
   7649 
   7650 
   7651 xorg_testset_save_CFLAGS="$CFLAGS"
   7652 
   7653 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7654 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7655 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7656 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7657 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7658   $as_echo_n "(cached) " >&6
   7659 else
   7660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7661 /* end confdefs.h.  */
   7662 int i;
   7663 _ACEOF
   7664 if ac_fn_c_try_compile "$LINENO"; then :
   7665   xorg_cv_cc_flag_unknown_warning_option=yes
   7666 else
   7667   xorg_cv_cc_flag_unknown_warning_option=no
   7668 fi
   7669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7670 fi
   7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7672 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7673 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7674 	CFLAGS="$xorg_testset_save_CFLAGS"
   7675 fi
   7676 
   7677 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7678 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7679 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7680 	fi
   7681 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7682 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7683 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7684 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7685   $as_echo_n "(cached) " >&6
   7686 else
   7687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7688 /* end confdefs.h.  */
   7689 int i;
   7690 _ACEOF
   7691 if ac_fn_c_try_compile "$LINENO"; then :
   7692   xorg_cv_cc_flag_unused_command_line_argument=yes
   7693 else
   7694   xorg_cv_cc_flag_unused_command_line_argument=no
   7695 fi
   7696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7697 fi
   7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7699 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7700 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7701 	CFLAGS="$xorg_testset_save_CFLAGS"
   7702 fi
   7703 
   7704 found="no"
   7705 
   7706 	if test $found = "no" ; then
   7707 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7708 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7709 		fi
   7710 
   7711 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7712 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7713 		fi
   7714 
   7715 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7716 
   7717 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7718 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7719 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7720 		if eval \${$cacheid+:} false; then :
   7721   $as_echo_n "(cached) " >&6
   7722 else
   7723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7724 /* end confdefs.h.  */
   7725 int i;
   7726 int
   7727 main ()
   7728 {
   7729 
   7730   ;
   7731   return 0;
   7732 }
   7733 _ACEOF
   7734 if ac_fn_c_try_link "$LINENO"; then :
   7735   eval $cacheid=yes
   7736 else
   7737   eval $cacheid=no
   7738 fi
   7739 rm -f core conftest.err conftest.$ac_objext \
   7740     conftest$ac_exeext conftest.$ac_ext
   7741 fi
   7742 
   7743 
   7744 		CFLAGS="$xorg_testset_save_CFLAGS"
   7745 
   7746 		eval supported=\$$cacheid
   7747 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7748 $as_echo "$supported" >&6; }
   7749 		if test "$supported" = "yes" ; then
   7750 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7751 			found="yes"
   7752 		fi
   7753 	fi
   7754 
   7755 
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 xorg_testset_save_CFLAGS="$CFLAGS"
   7770 
   7771 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7772 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7773 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7774 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7775 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7776   $as_echo_n "(cached) " >&6
   7777 else
   7778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7779 /* end confdefs.h.  */
   7780 int i;
   7781 _ACEOF
   7782 if ac_fn_c_try_compile "$LINENO"; then :
   7783   xorg_cv_cc_flag_unknown_warning_option=yes
   7784 else
   7785   xorg_cv_cc_flag_unknown_warning_option=no
   7786 fi
   7787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7788 fi
   7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7790 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7791 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7792 	CFLAGS="$xorg_testset_save_CFLAGS"
   7793 fi
   7794 
   7795 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7796 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7797 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7798 	fi
   7799 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7800 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7801 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7802 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7803   $as_echo_n "(cached) " >&6
   7804 else
   7805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7806 /* end confdefs.h.  */
   7807 int i;
   7808 _ACEOF
   7809 if ac_fn_c_try_compile "$LINENO"; then :
   7810   xorg_cv_cc_flag_unused_command_line_argument=yes
   7811 else
   7812   xorg_cv_cc_flag_unused_command_line_argument=no
   7813 fi
   7814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7815 fi
   7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7817 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7818 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7819 	CFLAGS="$xorg_testset_save_CFLAGS"
   7820 fi
   7821 
   7822 found="no"
   7823 
   7824 	if test $found = "no" ; then
   7825 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7826 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7827 		fi
   7828 
   7829 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7830 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7831 		fi
   7832 
   7833 		CFLAGS="$CFLAGS -Werror=return-type"
   7834 
   7835 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7836 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7837 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7838 		if eval \${$cacheid+:} false; then :
   7839   $as_echo_n "(cached) " >&6
   7840 else
   7841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7842 /* end confdefs.h.  */
   7843 int i;
   7844 int
   7845 main ()
   7846 {
   7847 
   7848   ;
   7849   return 0;
   7850 }
   7851 _ACEOF
   7852 if ac_fn_c_try_link "$LINENO"; then :
   7853   eval $cacheid=yes
   7854 else
   7855   eval $cacheid=no
   7856 fi
   7857 rm -f core conftest.err conftest.$ac_objext \
   7858     conftest$ac_exeext conftest.$ac_ext
   7859 fi
   7860 
   7861 
   7862 		CFLAGS="$xorg_testset_save_CFLAGS"
   7863 
   7864 		eval supported=\$$cacheid
   7865 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7866 $as_echo "$supported" >&6; }
   7867 		if test "$supported" = "yes" ; then
   7868 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7869 			found="yes"
   7870 		fi
   7871 	fi
   7872 
   7873 	if test $found = "no" ; then
   7874 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7875 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7876 		fi
   7877 
   7878 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7879 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7880 		fi
   7881 
   7882 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7883 
   7884 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7885 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7886 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7887 		if eval \${$cacheid+:} false; then :
   7888   $as_echo_n "(cached) " >&6
   7889 else
   7890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7891 /* end confdefs.h.  */
   7892 int i;
   7893 int
   7894 main ()
   7895 {
   7896 
   7897   ;
   7898   return 0;
   7899 }
   7900 _ACEOF
   7901 if ac_fn_c_try_link "$LINENO"; then :
   7902   eval $cacheid=yes
   7903 else
   7904   eval $cacheid=no
   7905 fi
   7906 rm -f core conftest.err conftest.$ac_objext \
   7907     conftest$ac_exeext conftest.$ac_ext
   7908 fi
   7909 
   7910 
   7911 		CFLAGS="$xorg_testset_save_CFLAGS"
   7912 
   7913 		eval supported=\$$cacheid
   7914 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7915 $as_echo "$supported" >&6; }
   7916 		if test "$supported" = "yes" ; then
   7917 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7918 			found="yes"
   7919 		fi
   7920 	fi
   7921 
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 
   7928 
   7929 
   7930 
   7931 
   7932 
   7933 
   7934 
   7935 
   7936 xorg_testset_save_CFLAGS="$CFLAGS"
   7937 
   7938 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7939 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7940 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7941 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7942 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7943   $as_echo_n "(cached) " >&6
   7944 else
   7945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7946 /* end confdefs.h.  */
   7947 int i;
   7948 _ACEOF
   7949 if ac_fn_c_try_compile "$LINENO"; then :
   7950   xorg_cv_cc_flag_unknown_warning_option=yes
   7951 else
   7952   xorg_cv_cc_flag_unknown_warning_option=no
   7953 fi
   7954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7955 fi
   7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7957 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7958 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7959 	CFLAGS="$xorg_testset_save_CFLAGS"
   7960 fi
   7961 
   7962 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7963 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7964 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7965 	fi
   7966 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7967 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7968 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7969 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7970   $as_echo_n "(cached) " >&6
   7971 else
   7972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7973 /* end confdefs.h.  */
   7974 int i;
   7975 _ACEOF
   7976 if ac_fn_c_try_compile "$LINENO"; then :
   7977   xorg_cv_cc_flag_unused_command_line_argument=yes
   7978 else
   7979   xorg_cv_cc_flag_unused_command_line_argument=no
   7980 fi
   7981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7982 fi
   7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7984 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7985 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7986 	CFLAGS="$xorg_testset_save_CFLAGS"
   7987 fi
   7988 
   7989 found="no"
   7990 
   7991 	if test $found = "no" ; then
   7992 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7993 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7994 		fi
   7995 
   7996 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7997 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7998 		fi
   7999 
   8000 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8001 
   8002 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8003 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   8004 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8005 		if eval \${$cacheid+:} false; then :
   8006   $as_echo_n "(cached) " >&6
   8007 else
   8008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8009 /* end confdefs.h.  */
   8010 int i;
   8011 int
   8012 main ()
   8013 {
   8014 
   8015   ;
   8016   return 0;
   8017 }
   8018 _ACEOF
   8019 if ac_fn_c_try_link "$LINENO"; then :
   8020   eval $cacheid=yes
   8021 else
   8022   eval $cacheid=no
   8023 fi
   8024 rm -f core conftest.err conftest.$ac_objext \
   8025     conftest$ac_exeext conftest.$ac_ext
   8026 fi
   8027 
   8028 
   8029 		CFLAGS="$xorg_testset_save_CFLAGS"
   8030 
   8031 		eval supported=\$$cacheid
   8032 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8033 $as_echo "$supported" >&6; }
   8034 		if test "$supported" = "yes" ; then
   8035 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8036 			found="yes"
   8037 		fi
   8038 	fi
   8039 
   8040 
   8041 
   8042 
   8043 
   8044 
   8045 
   8046 
   8047 
   8048 
   8049 
   8050 
   8051 
   8052 
   8053 
   8054 xorg_testset_save_CFLAGS="$CFLAGS"
   8055 
   8056 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8057 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8058 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8059 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8060 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8061   $as_echo_n "(cached) " >&6
   8062 else
   8063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8064 /* end confdefs.h.  */
   8065 int i;
   8066 _ACEOF
   8067 if ac_fn_c_try_compile "$LINENO"; then :
   8068   xorg_cv_cc_flag_unknown_warning_option=yes
   8069 else
   8070   xorg_cv_cc_flag_unknown_warning_option=no
   8071 fi
   8072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8073 fi
   8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8075 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8076 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8077 	CFLAGS="$xorg_testset_save_CFLAGS"
   8078 fi
   8079 
   8080 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8081 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8082 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8083 	fi
   8084 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8085 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8086 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8087 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8088   $as_echo_n "(cached) " >&6
   8089 else
   8090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8091 /* end confdefs.h.  */
   8092 int i;
   8093 _ACEOF
   8094 if ac_fn_c_try_compile "$LINENO"; then :
   8095   xorg_cv_cc_flag_unused_command_line_argument=yes
   8096 else
   8097   xorg_cv_cc_flag_unused_command_line_argument=no
   8098 fi
   8099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8100 fi
   8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8102 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8103 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8104 	CFLAGS="$xorg_testset_save_CFLAGS"
   8105 fi
   8106 
   8107 found="no"
   8108 
   8109 	if test $found = "no" ; then
   8110 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8111 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8112 		fi
   8113 
   8114 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8115 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8116 		fi
   8117 
   8118 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8119 
   8120 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8121 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8122 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8123 		if eval \${$cacheid+:} false; then :
   8124   $as_echo_n "(cached) " >&6
   8125 else
   8126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8127 /* end confdefs.h.  */
   8128 int i;
   8129 int
   8130 main ()
   8131 {
   8132 
   8133   ;
   8134   return 0;
   8135 }
   8136 _ACEOF
   8137 if ac_fn_c_try_link "$LINENO"; then :
   8138   eval $cacheid=yes
   8139 else
   8140   eval $cacheid=no
   8141 fi
   8142 rm -f core conftest.err conftest.$ac_objext \
   8143     conftest$ac_exeext conftest.$ac_ext
   8144 fi
   8145 
   8146 
   8147 		CFLAGS="$xorg_testset_save_CFLAGS"
   8148 
   8149 		eval supported=\$$cacheid
   8150 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8151 $as_echo "$supported" >&6; }
   8152 		if test "$supported" = "yes" ; then
   8153 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8154 			found="yes"
   8155 		fi
   8156 	fi
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 
   8168 
   8169 
   8170 
   8171 
   8172 xorg_testset_save_CFLAGS="$CFLAGS"
   8173 
   8174 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8175 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8176 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8177 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8178 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8179   $as_echo_n "(cached) " >&6
   8180 else
   8181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8182 /* end confdefs.h.  */
   8183 int i;
   8184 _ACEOF
   8185 if ac_fn_c_try_compile "$LINENO"; then :
   8186   xorg_cv_cc_flag_unknown_warning_option=yes
   8187 else
   8188   xorg_cv_cc_flag_unknown_warning_option=no
   8189 fi
   8190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8191 fi
   8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8193 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8194 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8195 	CFLAGS="$xorg_testset_save_CFLAGS"
   8196 fi
   8197 
   8198 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8199 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8200 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8201 	fi
   8202 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8203 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8204 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8205 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8206   $as_echo_n "(cached) " >&6
   8207 else
   8208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8209 /* end confdefs.h.  */
   8210 int i;
   8211 _ACEOF
   8212 if ac_fn_c_try_compile "$LINENO"; then :
   8213   xorg_cv_cc_flag_unused_command_line_argument=yes
   8214 else
   8215   xorg_cv_cc_flag_unused_command_line_argument=no
   8216 fi
   8217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8218 fi
   8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8220 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8221 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8222 	CFLAGS="$xorg_testset_save_CFLAGS"
   8223 fi
   8224 
   8225 found="no"
   8226 
   8227 	if test $found = "no" ; then
   8228 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8229 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8230 		fi
   8231 
   8232 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8233 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8234 		fi
   8235 
   8236 		CFLAGS="$CFLAGS -Werror=write-strings"
   8237 
   8238 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8239 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8240 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8241 		if eval \${$cacheid+:} false; then :
   8242   $as_echo_n "(cached) " >&6
   8243 else
   8244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8245 /* end confdefs.h.  */
   8246 int i;
   8247 int
   8248 main ()
   8249 {
   8250 
   8251   ;
   8252   return 0;
   8253 }
   8254 _ACEOF
   8255 if ac_fn_c_try_link "$LINENO"; then :
   8256   eval $cacheid=yes
   8257 else
   8258   eval $cacheid=no
   8259 fi
   8260 rm -f core conftest.err conftest.$ac_objext \
   8261     conftest$ac_exeext conftest.$ac_ext
   8262 fi
   8263 
   8264 
   8265 		CFLAGS="$xorg_testset_save_CFLAGS"
   8266 
   8267 		eval supported=\$$cacheid
   8268 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8269 $as_echo "$supported" >&6; }
   8270 		if test "$supported" = "yes" ; then
   8271 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8272 			found="yes"
   8273 		fi
   8274 	fi
   8275 
   8276 
   8277 
   8278 
   8279 
   8280 
   8281 
   8282 
   8283 
   8284 
   8285 
   8286 
   8287 
   8288 
   8289 
   8290 xorg_testset_save_CFLAGS="$CFLAGS"
   8291 
   8292 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8293 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8294 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8295 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8296 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8297   $as_echo_n "(cached) " >&6
   8298 else
   8299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8300 /* end confdefs.h.  */
   8301 int i;
   8302 _ACEOF
   8303 if ac_fn_c_try_compile "$LINENO"; then :
   8304   xorg_cv_cc_flag_unknown_warning_option=yes
   8305 else
   8306   xorg_cv_cc_flag_unknown_warning_option=no
   8307 fi
   8308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8309 fi
   8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8311 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8312 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8313 	CFLAGS="$xorg_testset_save_CFLAGS"
   8314 fi
   8315 
   8316 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8317 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8318 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8319 	fi
   8320 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8321 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8322 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8323 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8324   $as_echo_n "(cached) " >&6
   8325 else
   8326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8327 /* end confdefs.h.  */
   8328 int i;
   8329 _ACEOF
   8330 if ac_fn_c_try_compile "$LINENO"; then :
   8331   xorg_cv_cc_flag_unused_command_line_argument=yes
   8332 else
   8333   xorg_cv_cc_flag_unused_command_line_argument=no
   8334 fi
   8335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8336 fi
   8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8338 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8339 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8340 	CFLAGS="$xorg_testset_save_CFLAGS"
   8341 fi
   8342 
   8343 found="no"
   8344 
   8345 	if test $found = "no" ; then
   8346 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8347 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8348 		fi
   8349 
   8350 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8351 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8352 		fi
   8353 
   8354 		CFLAGS="$CFLAGS -Werror=address"
   8355 
   8356 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8357 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8358 		cacheid=xorg_cv_cc_flag__Werror_address
   8359 		if eval \${$cacheid+:} false; then :
   8360   $as_echo_n "(cached) " >&6
   8361 else
   8362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8363 /* end confdefs.h.  */
   8364 int i;
   8365 int
   8366 main ()
   8367 {
   8368 
   8369   ;
   8370   return 0;
   8371 }
   8372 _ACEOF
   8373 if ac_fn_c_try_link "$LINENO"; then :
   8374   eval $cacheid=yes
   8375 else
   8376   eval $cacheid=no
   8377 fi
   8378 rm -f core conftest.err conftest.$ac_objext \
   8379     conftest$ac_exeext conftest.$ac_ext
   8380 fi
   8381 
   8382 
   8383 		CFLAGS="$xorg_testset_save_CFLAGS"
   8384 
   8385 		eval supported=\$$cacheid
   8386 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8387 $as_echo "$supported" >&6; }
   8388 		if test "$supported" = "yes" ; then
   8389 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8390 			found="yes"
   8391 		fi
   8392 	fi
   8393 
   8394 
   8395 
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 xorg_testset_save_CFLAGS="$CFLAGS"
   8409 
   8410 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8411 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8412 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8413 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8414 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8415   $as_echo_n "(cached) " >&6
   8416 else
   8417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8418 /* end confdefs.h.  */
   8419 int i;
   8420 _ACEOF
   8421 if ac_fn_c_try_compile "$LINENO"; then :
   8422   xorg_cv_cc_flag_unknown_warning_option=yes
   8423 else
   8424   xorg_cv_cc_flag_unknown_warning_option=no
   8425 fi
   8426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8427 fi
   8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8429 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8430 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8431 	CFLAGS="$xorg_testset_save_CFLAGS"
   8432 fi
   8433 
   8434 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8435 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8436 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8437 	fi
   8438 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8439 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8440 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8441 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8442   $as_echo_n "(cached) " >&6
   8443 else
   8444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8445 /* end confdefs.h.  */
   8446 int i;
   8447 _ACEOF
   8448 if ac_fn_c_try_compile "$LINENO"; then :
   8449   xorg_cv_cc_flag_unused_command_line_argument=yes
   8450 else
   8451   xorg_cv_cc_flag_unused_command_line_argument=no
   8452 fi
   8453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8454 fi
   8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8456 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8457 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8458 	CFLAGS="$xorg_testset_save_CFLAGS"
   8459 fi
   8460 
   8461 found="no"
   8462 
   8463 	if test $found = "no" ; then
   8464 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8465 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8466 		fi
   8467 
   8468 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8469 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8470 		fi
   8471 
   8472 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8473 
   8474 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8475 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8476 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8477 		if eval \${$cacheid+:} false; then :
   8478   $as_echo_n "(cached) " >&6
   8479 else
   8480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8481 /* end confdefs.h.  */
   8482 int i;
   8483 int
   8484 main ()
   8485 {
   8486 
   8487   ;
   8488   return 0;
   8489 }
   8490 _ACEOF
   8491 if ac_fn_c_try_link "$LINENO"; then :
   8492   eval $cacheid=yes
   8493 else
   8494   eval $cacheid=no
   8495 fi
   8496 rm -f core conftest.err conftest.$ac_objext \
   8497     conftest$ac_exeext conftest.$ac_ext
   8498 fi
   8499 
   8500 
   8501 		CFLAGS="$xorg_testset_save_CFLAGS"
   8502 
   8503 		eval supported=\$$cacheid
   8504 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8505 $as_echo "$supported" >&6; }
   8506 		if test "$supported" = "yes" ; then
   8507 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8508 			found="yes"
   8509 		fi
   8510 	fi
   8511 
   8512 	if test $found = "no" ; then
   8513 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8514 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8515 		fi
   8516 
   8517 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8518 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8519 		fi
   8520 
   8521 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8522 
   8523 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8524 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8525 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8526 		if eval \${$cacheid+:} false; then :
   8527   $as_echo_n "(cached) " >&6
   8528 else
   8529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8530 /* end confdefs.h.  */
   8531 int i;
   8532 int
   8533 main ()
   8534 {
   8535 
   8536   ;
   8537   return 0;
   8538 }
   8539 _ACEOF
   8540 if ac_fn_c_try_link "$LINENO"; then :
   8541   eval $cacheid=yes
   8542 else
   8543   eval $cacheid=no
   8544 fi
   8545 rm -f core conftest.err conftest.$ac_objext \
   8546     conftest$ac_exeext conftest.$ac_ext
   8547 fi
   8548 
   8549 
   8550 		CFLAGS="$xorg_testset_save_CFLAGS"
   8551 
   8552 		eval supported=\$$cacheid
   8553 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8554 $as_echo "$supported" >&6; }
   8555 		if test "$supported" = "yes" ; then
   8556 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8557 			found="yes"
   8558 		fi
   8559 	fi
   8560 
   8561 
   8562 
   8563 
   8564 
   8565 
   8566 
   8567 
   8568 
   8569 
   8570 
   8571 
   8572 
   8573 
   8574 
   8575 xorg_testset_save_CFLAGS="$CFLAGS"
   8576 
   8577 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8578 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8579 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8580 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8581 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8582   $as_echo_n "(cached) " >&6
   8583 else
   8584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8585 /* end confdefs.h.  */
   8586 int i;
   8587 _ACEOF
   8588 if ac_fn_c_try_compile "$LINENO"; then :
   8589   xorg_cv_cc_flag_unknown_warning_option=yes
   8590 else
   8591   xorg_cv_cc_flag_unknown_warning_option=no
   8592 fi
   8593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8594 fi
   8595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8596 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8597 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8598 	CFLAGS="$xorg_testset_save_CFLAGS"
   8599 fi
   8600 
   8601 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8602 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8603 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8604 	fi
   8605 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8606 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8607 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8608 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8609   $as_echo_n "(cached) " >&6
   8610 else
   8611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8612 /* end confdefs.h.  */
   8613 int i;
   8614 _ACEOF
   8615 if ac_fn_c_try_compile "$LINENO"; then :
   8616   xorg_cv_cc_flag_unused_command_line_argument=yes
   8617 else
   8618   xorg_cv_cc_flag_unused_command_line_argument=no
   8619 fi
   8620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8621 fi
   8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8623 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8624 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8625 	CFLAGS="$xorg_testset_save_CFLAGS"
   8626 fi
   8627 
   8628 found="no"
   8629 
   8630 	if test $found = "no" ; then
   8631 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8632 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8633 		fi
   8634 
   8635 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8636 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8637 		fi
   8638 
   8639 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8640 
   8641 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8642 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8643 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8644 		if eval \${$cacheid+:} false; then :
   8645   $as_echo_n "(cached) " >&6
   8646 else
   8647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8648 /* end confdefs.h.  */
   8649 int i;
   8650 int
   8651 main ()
   8652 {
   8653 
   8654   ;
   8655   return 0;
   8656 }
   8657 _ACEOF
   8658 if ac_fn_c_try_link "$LINENO"; then :
   8659   eval $cacheid=yes
   8660 else
   8661   eval $cacheid=no
   8662 fi
   8663 rm -f core conftest.err conftest.$ac_objext \
   8664     conftest$ac_exeext conftest.$ac_ext
   8665 fi
   8666 
   8667 
   8668 		CFLAGS="$xorg_testset_save_CFLAGS"
   8669 
   8670 		eval supported=\$$cacheid
   8671 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8672 $as_echo "$supported" >&6; }
   8673 		if test "$supported" = "yes" ; then
   8674 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8675 			found="yes"
   8676 		fi
   8677 	fi
   8678 
   8679  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8680 else
   8681 { $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
   8682 $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;}
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 
   8689 
   8690 
   8691 
   8692 
   8693 
   8694 
   8695 
   8696 xorg_testset_save_CFLAGS="$CFLAGS"
   8697 
   8698 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8699 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8700 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8701 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8702 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8703   $as_echo_n "(cached) " >&6
   8704 else
   8705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8706 /* end confdefs.h.  */
   8707 int i;
   8708 _ACEOF
   8709 if ac_fn_c_try_compile "$LINENO"; then :
   8710   xorg_cv_cc_flag_unknown_warning_option=yes
   8711 else
   8712   xorg_cv_cc_flag_unknown_warning_option=no
   8713 fi
   8714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8715 fi
   8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8717 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8718 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8719 	CFLAGS="$xorg_testset_save_CFLAGS"
   8720 fi
   8721 
   8722 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8723 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8724 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8725 	fi
   8726 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8727 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8728 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8729 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8730   $as_echo_n "(cached) " >&6
   8731 else
   8732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8733 /* end confdefs.h.  */
   8734 int i;
   8735 _ACEOF
   8736 if ac_fn_c_try_compile "$LINENO"; then :
   8737   xorg_cv_cc_flag_unused_command_line_argument=yes
   8738 else
   8739   xorg_cv_cc_flag_unused_command_line_argument=no
   8740 fi
   8741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8742 fi
   8743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8744 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8745 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8746 	CFLAGS="$xorg_testset_save_CFLAGS"
   8747 fi
   8748 
   8749 found="no"
   8750 
   8751 	if test $found = "no" ; then
   8752 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8753 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8754 		fi
   8755 
   8756 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8757 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8758 		fi
   8759 
   8760 		CFLAGS="$CFLAGS -Wimplicit"
   8761 
   8762 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8763 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8764 		cacheid=xorg_cv_cc_flag__Wimplicit
   8765 		if eval \${$cacheid+:} false; then :
   8766   $as_echo_n "(cached) " >&6
   8767 else
   8768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8769 /* end confdefs.h.  */
   8770 int i;
   8771 int
   8772 main ()
   8773 {
   8774 
   8775   ;
   8776   return 0;
   8777 }
   8778 _ACEOF
   8779 if ac_fn_c_try_link "$LINENO"; then :
   8780   eval $cacheid=yes
   8781 else
   8782   eval $cacheid=no
   8783 fi
   8784 rm -f core conftest.err conftest.$ac_objext \
   8785     conftest$ac_exeext conftest.$ac_ext
   8786 fi
   8787 
   8788 
   8789 		CFLAGS="$xorg_testset_save_CFLAGS"
   8790 
   8791 		eval supported=\$$cacheid
   8792 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8793 $as_echo "$supported" >&6; }
   8794 		if test "$supported" = "yes" ; then
   8795 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8796 			found="yes"
   8797 		fi
   8798 	fi
   8799 
   8800 
   8801 
   8802 
   8803 
   8804 
   8805 
   8806 
   8807 
   8808 
   8809 
   8810 
   8811 
   8812 
   8813 
   8814 xorg_testset_save_CFLAGS="$CFLAGS"
   8815 
   8816 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8817 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8818 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8819 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8820 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8821   $as_echo_n "(cached) " >&6
   8822 else
   8823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8824 /* end confdefs.h.  */
   8825 int i;
   8826 _ACEOF
   8827 if ac_fn_c_try_compile "$LINENO"; then :
   8828   xorg_cv_cc_flag_unknown_warning_option=yes
   8829 else
   8830   xorg_cv_cc_flag_unknown_warning_option=no
   8831 fi
   8832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8833 fi
   8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8835 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8836 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8837 	CFLAGS="$xorg_testset_save_CFLAGS"
   8838 fi
   8839 
   8840 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8841 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8842 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8843 	fi
   8844 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8845 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8846 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8847 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8848   $as_echo_n "(cached) " >&6
   8849 else
   8850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8851 /* end confdefs.h.  */
   8852 int i;
   8853 _ACEOF
   8854 if ac_fn_c_try_compile "$LINENO"; then :
   8855   xorg_cv_cc_flag_unused_command_line_argument=yes
   8856 else
   8857   xorg_cv_cc_flag_unused_command_line_argument=no
   8858 fi
   8859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8860 fi
   8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8862 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8863 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8864 	CFLAGS="$xorg_testset_save_CFLAGS"
   8865 fi
   8866 
   8867 found="no"
   8868 
   8869 	if test $found = "no" ; then
   8870 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8871 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8872 		fi
   8873 
   8874 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8875 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8876 		fi
   8877 
   8878 		CFLAGS="$CFLAGS -Wnonnull"
   8879 
   8880 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8881 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8882 		cacheid=xorg_cv_cc_flag__Wnonnull
   8883 		if eval \${$cacheid+:} false; then :
   8884   $as_echo_n "(cached) " >&6
   8885 else
   8886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8887 /* end confdefs.h.  */
   8888 int i;
   8889 int
   8890 main ()
   8891 {
   8892 
   8893   ;
   8894   return 0;
   8895 }
   8896 _ACEOF
   8897 if ac_fn_c_try_link "$LINENO"; then :
   8898   eval $cacheid=yes
   8899 else
   8900   eval $cacheid=no
   8901 fi
   8902 rm -f core conftest.err conftest.$ac_objext \
   8903     conftest$ac_exeext conftest.$ac_ext
   8904 fi
   8905 
   8906 
   8907 		CFLAGS="$xorg_testset_save_CFLAGS"
   8908 
   8909 		eval supported=\$$cacheid
   8910 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8911 $as_echo "$supported" >&6; }
   8912 		if test "$supported" = "yes" ; then
   8913 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8914 			found="yes"
   8915 		fi
   8916 	fi
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 
   8924 
   8925 
   8926 
   8927 
   8928 
   8929 
   8930 
   8931 
   8932 xorg_testset_save_CFLAGS="$CFLAGS"
   8933 
   8934 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8935 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8936 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8937 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8938 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8939   $as_echo_n "(cached) " >&6
   8940 else
   8941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8942 /* end confdefs.h.  */
   8943 int i;
   8944 _ACEOF
   8945 if ac_fn_c_try_compile "$LINENO"; then :
   8946   xorg_cv_cc_flag_unknown_warning_option=yes
   8947 else
   8948   xorg_cv_cc_flag_unknown_warning_option=no
   8949 fi
   8950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8951 fi
   8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8953 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8954 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8955 	CFLAGS="$xorg_testset_save_CFLAGS"
   8956 fi
   8957 
   8958 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8959 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8960 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8961 	fi
   8962 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8963 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8964 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8965 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8966   $as_echo_n "(cached) " >&6
   8967 else
   8968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8969 /* end confdefs.h.  */
   8970 int i;
   8971 _ACEOF
   8972 if ac_fn_c_try_compile "$LINENO"; then :
   8973   xorg_cv_cc_flag_unused_command_line_argument=yes
   8974 else
   8975   xorg_cv_cc_flag_unused_command_line_argument=no
   8976 fi
   8977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8978 fi
   8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8980 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8981 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8982 	CFLAGS="$xorg_testset_save_CFLAGS"
   8983 fi
   8984 
   8985 found="no"
   8986 
   8987 	if test $found = "no" ; then
   8988 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8989 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8990 		fi
   8991 
   8992 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8993 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8994 		fi
   8995 
   8996 		CFLAGS="$CFLAGS -Winit-self"
   8997 
   8998 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8999 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   9000 		cacheid=xorg_cv_cc_flag__Winit_self
   9001 		if eval \${$cacheid+:} false; then :
   9002   $as_echo_n "(cached) " >&6
   9003 else
   9004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9005 /* end confdefs.h.  */
   9006 int i;
   9007 int
   9008 main ()
   9009 {
   9010 
   9011   ;
   9012   return 0;
   9013 }
   9014 _ACEOF
   9015 if ac_fn_c_try_link "$LINENO"; then :
   9016   eval $cacheid=yes
   9017 else
   9018   eval $cacheid=no
   9019 fi
   9020 rm -f core conftest.err conftest.$ac_objext \
   9021     conftest$ac_exeext conftest.$ac_ext
   9022 fi
   9023 
   9024 
   9025 		CFLAGS="$xorg_testset_save_CFLAGS"
   9026 
   9027 		eval supported=\$$cacheid
   9028 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9029 $as_echo "$supported" >&6; }
   9030 		if test "$supported" = "yes" ; then
   9031 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9032 			found="yes"
   9033 		fi
   9034 	fi
   9035 
   9036 
   9037 
   9038 
   9039 
   9040 
   9041 
   9042 
   9043 
   9044 
   9045 
   9046 
   9047 
   9048 
   9049 
   9050 xorg_testset_save_CFLAGS="$CFLAGS"
   9051 
   9052 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9053 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9054 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9055 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9056 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9057   $as_echo_n "(cached) " >&6
   9058 else
   9059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9060 /* end confdefs.h.  */
   9061 int i;
   9062 _ACEOF
   9063 if ac_fn_c_try_compile "$LINENO"; then :
   9064   xorg_cv_cc_flag_unknown_warning_option=yes
   9065 else
   9066   xorg_cv_cc_flag_unknown_warning_option=no
   9067 fi
   9068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9069 fi
   9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9071 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9072 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9073 	CFLAGS="$xorg_testset_save_CFLAGS"
   9074 fi
   9075 
   9076 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9077 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9078 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9079 	fi
   9080 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9081 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9082 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9083 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9084   $as_echo_n "(cached) " >&6
   9085 else
   9086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9087 /* end confdefs.h.  */
   9088 int i;
   9089 _ACEOF
   9090 if ac_fn_c_try_compile "$LINENO"; then :
   9091   xorg_cv_cc_flag_unused_command_line_argument=yes
   9092 else
   9093   xorg_cv_cc_flag_unused_command_line_argument=no
   9094 fi
   9095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9096 fi
   9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9098 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9099 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9100 	CFLAGS="$xorg_testset_save_CFLAGS"
   9101 fi
   9102 
   9103 found="no"
   9104 
   9105 	if test $found = "no" ; then
   9106 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9107 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9108 		fi
   9109 
   9110 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9111 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9112 		fi
   9113 
   9114 		CFLAGS="$CFLAGS -Wmain"
   9115 
   9116 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9117 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9118 		cacheid=xorg_cv_cc_flag__Wmain
   9119 		if eval \${$cacheid+:} false; then :
   9120   $as_echo_n "(cached) " >&6
   9121 else
   9122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9123 /* end confdefs.h.  */
   9124 int i;
   9125 int
   9126 main ()
   9127 {
   9128 
   9129   ;
   9130   return 0;
   9131 }
   9132 _ACEOF
   9133 if ac_fn_c_try_link "$LINENO"; then :
   9134   eval $cacheid=yes
   9135 else
   9136   eval $cacheid=no
   9137 fi
   9138 rm -f core conftest.err conftest.$ac_objext \
   9139     conftest$ac_exeext conftest.$ac_ext
   9140 fi
   9141 
   9142 
   9143 		CFLAGS="$xorg_testset_save_CFLAGS"
   9144 
   9145 		eval supported=\$$cacheid
   9146 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9147 $as_echo "$supported" >&6; }
   9148 		if test "$supported" = "yes" ; then
   9149 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9150 			found="yes"
   9151 		fi
   9152 	fi
   9153 
   9154 
   9155 
   9156 
   9157 
   9158 
   9159 
   9160 
   9161 
   9162 
   9163 
   9164 
   9165 
   9166 
   9167 
   9168 xorg_testset_save_CFLAGS="$CFLAGS"
   9169 
   9170 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9171 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9172 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9173 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9174 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9175   $as_echo_n "(cached) " >&6
   9176 else
   9177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9178 /* end confdefs.h.  */
   9179 int i;
   9180 _ACEOF
   9181 if ac_fn_c_try_compile "$LINENO"; then :
   9182   xorg_cv_cc_flag_unknown_warning_option=yes
   9183 else
   9184   xorg_cv_cc_flag_unknown_warning_option=no
   9185 fi
   9186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9187 fi
   9188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9189 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9190 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9191 	CFLAGS="$xorg_testset_save_CFLAGS"
   9192 fi
   9193 
   9194 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9195 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9196 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9197 	fi
   9198 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9199 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9200 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9201 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9202   $as_echo_n "(cached) " >&6
   9203 else
   9204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9205 /* end confdefs.h.  */
   9206 int i;
   9207 _ACEOF
   9208 if ac_fn_c_try_compile "$LINENO"; then :
   9209   xorg_cv_cc_flag_unused_command_line_argument=yes
   9210 else
   9211   xorg_cv_cc_flag_unused_command_line_argument=no
   9212 fi
   9213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9214 fi
   9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9216 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9217 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9218 	CFLAGS="$xorg_testset_save_CFLAGS"
   9219 fi
   9220 
   9221 found="no"
   9222 
   9223 	if test $found = "no" ; then
   9224 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9225 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9226 		fi
   9227 
   9228 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9229 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9230 		fi
   9231 
   9232 		CFLAGS="$CFLAGS -Wmissing-braces"
   9233 
   9234 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9235 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9236 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9237 		if eval \${$cacheid+:} false; then :
   9238   $as_echo_n "(cached) " >&6
   9239 else
   9240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9241 /* end confdefs.h.  */
   9242 int i;
   9243 int
   9244 main ()
   9245 {
   9246 
   9247   ;
   9248   return 0;
   9249 }
   9250 _ACEOF
   9251 if ac_fn_c_try_link "$LINENO"; then :
   9252   eval $cacheid=yes
   9253 else
   9254   eval $cacheid=no
   9255 fi
   9256 rm -f core conftest.err conftest.$ac_objext \
   9257     conftest$ac_exeext conftest.$ac_ext
   9258 fi
   9259 
   9260 
   9261 		CFLAGS="$xorg_testset_save_CFLAGS"
   9262 
   9263 		eval supported=\$$cacheid
   9264 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9265 $as_echo "$supported" >&6; }
   9266 		if test "$supported" = "yes" ; then
   9267 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9268 			found="yes"
   9269 		fi
   9270 	fi
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 
   9277 
   9278 
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 
   9285 
   9286 xorg_testset_save_CFLAGS="$CFLAGS"
   9287 
   9288 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9289 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9290 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9291 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9292 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9293   $as_echo_n "(cached) " >&6
   9294 else
   9295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9296 /* end confdefs.h.  */
   9297 int i;
   9298 _ACEOF
   9299 if ac_fn_c_try_compile "$LINENO"; then :
   9300   xorg_cv_cc_flag_unknown_warning_option=yes
   9301 else
   9302   xorg_cv_cc_flag_unknown_warning_option=no
   9303 fi
   9304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9305 fi
   9306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9307 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9308 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9309 	CFLAGS="$xorg_testset_save_CFLAGS"
   9310 fi
   9311 
   9312 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9313 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9314 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9315 	fi
   9316 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9317 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9318 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9319 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9320   $as_echo_n "(cached) " >&6
   9321 else
   9322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9323 /* end confdefs.h.  */
   9324 int i;
   9325 _ACEOF
   9326 if ac_fn_c_try_compile "$LINENO"; then :
   9327   xorg_cv_cc_flag_unused_command_line_argument=yes
   9328 else
   9329   xorg_cv_cc_flag_unused_command_line_argument=no
   9330 fi
   9331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9332 fi
   9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9334 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9335 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9336 	CFLAGS="$xorg_testset_save_CFLAGS"
   9337 fi
   9338 
   9339 found="no"
   9340 
   9341 	if test $found = "no" ; then
   9342 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9343 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9344 		fi
   9345 
   9346 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9347 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9348 		fi
   9349 
   9350 		CFLAGS="$CFLAGS -Wsequence-point"
   9351 
   9352 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9353 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9354 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9355 		if eval \${$cacheid+:} false; then :
   9356   $as_echo_n "(cached) " >&6
   9357 else
   9358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9359 /* end confdefs.h.  */
   9360 int i;
   9361 int
   9362 main ()
   9363 {
   9364 
   9365   ;
   9366   return 0;
   9367 }
   9368 _ACEOF
   9369 if ac_fn_c_try_link "$LINENO"; then :
   9370   eval $cacheid=yes
   9371 else
   9372   eval $cacheid=no
   9373 fi
   9374 rm -f core conftest.err conftest.$ac_objext \
   9375     conftest$ac_exeext conftest.$ac_ext
   9376 fi
   9377 
   9378 
   9379 		CFLAGS="$xorg_testset_save_CFLAGS"
   9380 
   9381 		eval supported=\$$cacheid
   9382 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9383 $as_echo "$supported" >&6; }
   9384 		if test "$supported" = "yes" ; then
   9385 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9386 			found="yes"
   9387 		fi
   9388 	fi
   9389 
   9390 
   9391 
   9392 
   9393 
   9394 
   9395 
   9396 
   9397 
   9398 
   9399 
   9400 
   9401 
   9402 
   9403 
   9404 xorg_testset_save_CFLAGS="$CFLAGS"
   9405 
   9406 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9407 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9408 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9409 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9410 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9411   $as_echo_n "(cached) " >&6
   9412 else
   9413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9414 /* end confdefs.h.  */
   9415 int i;
   9416 _ACEOF
   9417 if ac_fn_c_try_compile "$LINENO"; then :
   9418   xorg_cv_cc_flag_unknown_warning_option=yes
   9419 else
   9420   xorg_cv_cc_flag_unknown_warning_option=no
   9421 fi
   9422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9423 fi
   9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9425 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9426 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9427 	CFLAGS="$xorg_testset_save_CFLAGS"
   9428 fi
   9429 
   9430 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9431 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9432 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9433 	fi
   9434 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9435 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9436 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9437 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9438   $as_echo_n "(cached) " >&6
   9439 else
   9440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9441 /* end confdefs.h.  */
   9442 int i;
   9443 _ACEOF
   9444 if ac_fn_c_try_compile "$LINENO"; then :
   9445   xorg_cv_cc_flag_unused_command_line_argument=yes
   9446 else
   9447   xorg_cv_cc_flag_unused_command_line_argument=no
   9448 fi
   9449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9450 fi
   9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9452 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9453 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9454 	CFLAGS="$xorg_testset_save_CFLAGS"
   9455 fi
   9456 
   9457 found="no"
   9458 
   9459 	if test $found = "no" ; then
   9460 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9461 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9462 		fi
   9463 
   9464 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9465 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9466 		fi
   9467 
   9468 		CFLAGS="$CFLAGS -Wreturn-type"
   9469 
   9470 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9471 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9472 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9473 		if eval \${$cacheid+:} false; then :
   9474   $as_echo_n "(cached) " >&6
   9475 else
   9476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9477 /* end confdefs.h.  */
   9478 int i;
   9479 int
   9480 main ()
   9481 {
   9482 
   9483   ;
   9484   return 0;
   9485 }
   9486 _ACEOF
   9487 if ac_fn_c_try_link "$LINENO"; then :
   9488   eval $cacheid=yes
   9489 else
   9490   eval $cacheid=no
   9491 fi
   9492 rm -f core conftest.err conftest.$ac_objext \
   9493     conftest$ac_exeext conftest.$ac_ext
   9494 fi
   9495 
   9496 
   9497 		CFLAGS="$xorg_testset_save_CFLAGS"
   9498 
   9499 		eval supported=\$$cacheid
   9500 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9501 $as_echo "$supported" >&6; }
   9502 		if test "$supported" = "yes" ; then
   9503 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9504 			found="yes"
   9505 		fi
   9506 	fi
   9507 
   9508 
   9509 
   9510 
   9511 
   9512 
   9513 
   9514 
   9515 
   9516 
   9517 
   9518 
   9519 
   9520 
   9521 
   9522 xorg_testset_save_CFLAGS="$CFLAGS"
   9523 
   9524 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9525 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9526 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9527 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9528 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9529   $as_echo_n "(cached) " >&6
   9530 else
   9531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9532 /* end confdefs.h.  */
   9533 int i;
   9534 _ACEOF
   9535 if ac_fn_c_try_compile "$LINENO"; then :
   9536   xorg_cv_cc_flag_unknown_warning_option=yes
   9537 else
   9538   xorg_cv_cc_flag_unknown_warning_option=no
   9539 fi
   9540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9541 fi
   9542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9543 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9544 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9545 	CFLAGS="$xorg_testset_save_CFLAGS"
   9546 fi
   9547 
   9548 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9549 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9550 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9551 	fi
   9552 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9553 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9554 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9555 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9556   $as_echo_n "(cached) " >&6
   9557 else
   9558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9559 /* end confdefs.h.  */
   9560 int i;
   9561 _ACEOF
   9562 if ac_fn_c_try_compile "$LINENO"; then :
   9563   xorg_cv_cc_flag_unused_command_line_argument=yes
   9564 else
   9565   xorg_cv_cc_flag_unused_command_line_argument=no
   9566 fi
   9567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9568 fi
   9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9570 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9571 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9572 	CFLAGS="$xorg_testset_save_CFLAGS"
   9573 fi
   9574 
   9575 found="no"
   9576 
   9577 	if test $found = "no" ; then
   9578 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9579 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9580 		fi
   9581 
   9582 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9583 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9584 		fi
   9585 
   9586 		CFLAGS="$CFLAGS -Wtrigraphs"
   9587 
   9588 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9589 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9590 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9591 		if eval \${$cacheid+:} false; then :
   9592   $as_echo_n "(cached) " >&6
   9593 else
   9594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9595 /* end confdefs.h.  */
   9596 int i;
   9597 int
   9598 main ()
   9599 {
   9600 
   9601   ;
   9602   return 0;
   9603 }
   9604 _ACEOF
   9605 if ac_fn_c_try_link "$LINENO"; then :
   9606   eval $cacheid=yes
   9607 else
   9608   eval $cacheid=no
   9609 fi
   9610 rm -f core conftest.err conftest.$ac_objext \
   9611     conftest$ac_exeext conftest.$ac_ext
   9612 fi
   9613 
   9614 
   9615 		CFLAGS="$xorg_testset_save_CFLAGS"
   9616 
   9617 		eval supported=\$$cacheid
   9618 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9619 $as_echo "$supported" >&6; }
   9620 		if test "$supported" = "yes" ; then
   9621 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9622 			found="yes"
   9623 		fi
   9624 	fi
   9625 
   9626 
   9627 
   9628 
   9629 
   9630 
   9631 
   9632 
   9633 
   9634 
   9635 
   9636 
   9637 
   9638 
   9639 
   9640 xorg_testset_save_CFLAGS="$CFLAGS"
   9641 
   9642 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9643 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9644 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9645 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9646 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9647   $as_echo_n "(cached) " >&6
   9648 else
   9649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9650 /* end confdefs.h.  */
   9651 int i;
   9652 _ACEOF
   9653 if ac_fn_c_try_compile "$LINENO"; then :
   9654   xorg_cv_cc_flag_unknown_warning_option=yes
   9655 else
   9656   xorg_cv_cc_flag_unknown_warning_option=no
   9657 fi
   9658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9659 fi
   9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9661 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9662 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9663 	CFLAGS="$xorg_testset_save_CFLAGS"
   9664 fi
   9665 
   9666 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9667 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9668 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9669 	fi
   9670 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9671 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9672 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9673 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9674   $as_echo_n "(cached) " >&6
   9675 else
   9676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9677 /* end confdefs.h.  */
   9678 int i;
   9679 _ACEOF
   9680 if ac_fn_c_try_compile "$LINENO"; then :
   9681   xorg_cv_cc_flag_unused_command_line_argument=yes
   9682 else
   9683   xorg_cv_cc_flag_unused_command_line_argument=no
   9684 fi
   9685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9686 fi
   9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9688 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9689 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9690 	CFLAGS="$xorg_testset_save_CFLAGS"
   9691 fi
   9692 
   9693 found="no"
   9694 
   9695 	if test $found = "no" ; then
   9696 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9697 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9698 		fi
   9699 
   9700 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9701 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9702 		fi
   9703 
   9704 		CFLAGS="$CFLAGS -Warray-bounds"
   9705 
   9706 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9707 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9708 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9709 		if eval \${$cacheid+:} false; then :
   9710   $as_echo_n "(cached) " >&6
   9711 else
   9712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9713 /* end confdefs.h.  */
   9714 int i;
   9715 int
   9716 main ()
   9717 {
   9718 
   9719   ;
   9720   return 0;
   9721 }
   9722 _ACEOF
   9723 if ac_fn_c_try_link "$LINENO"; then :
   9724   eval $cacheid=yes
   9725 else
   9726   eval $cacheid=no
   9727 fi
   9728 rm -f core conftest.err conftest.$ac_objext \
   9729     conftest$ac_exeext conftest.$ac_ext
   9730 fi
   9731 
   9732 
   9733 		CFLAGS="$xorg_testset_save_CFLAGS"
   9734 
   9735 		eval supported=\$$cacheid
   9736 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9737 $as_echo "$supported" >&6; }
   9738 		if test "$supported" = "yes" ; then
   9739 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9740 			found="yes"
   9741 		fi
   9742 	fi
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 xorg_testset_save_CFLAGS="$CFLAGS"
   9759 
   9760 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9761 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9762 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9763 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9764 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9765   $as_echo_n "(cached) " >&6
   9766 else
   9767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9768 /* end confdefs.h.  */
   9769 int i;
   9770 _ACEOF
   9771 if ac_fn_c_try_compile "$LINENO"; then :
   9772   xorg_cv_cc_flag_unknown_warning_option=yes
   9773 else
   9774   xorg_cv_cc_flag_unknown_warning_option=no
   9775 fi
   9776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9777 fi
   9778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9779 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9780 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9781 	CFLAGS="$xorg_testset_save_CFLAGS"
   9782 fi
   9783 
   9784 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9785 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9786 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9787 	fi
   9788 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9789 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9790 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9791 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9792   $as_echo_n "(cached) " >&6
   9793 else
   9794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9795 /* end confdefs.h.  */
   9796 int i;
   9797 _ACEOF
   9798 if ac_fn_c_try_compile "$LINENO"; then :
   9799   xorg_cv_cc_flag_unused_command_line_argument=yes
   9800 else
   9801   xorg_cv_cc_flag_unused_command_line_argument=no
   9802 fi
   9803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9804 fi
   9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9806 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9807 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9808 	CFLAGS="$xorg_testset_save_CFLAGS"
   9809 fi
   9810 
   9811 found="no"
   9812 
   9813 	if test $found = "no" ; then
   9814 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9815 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9816 		fi
   9817 
   9818 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9819 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9820 		fi
   9821 
   9822 		CFLAGS="$CFLAGS -Wwrite-strings"
   9823 
   9824 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9825 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9826 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9827 		if eval \${$cacheid+:} false; then :
   9828   $as_echo_n "(cached) " >&6
   9829 else
   9830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9831 /* end confdefs.h.  */
   9832 int i;
   9833 int
   9834 main ()
   9835 {
   9836 
   9837   ;
   9838   return 0;
   9839 }
   9840 _ACEOF
   9841 if ac_fn_c_try_link "$LINENO"; then :
   9842   eval $cacheid=yes
   9843 else
   9844   eval $cacheid=no
   9845 fi
   9846 rm -f core conftest.err conftest.$ac_objext \
   9847     conftest$ac_exeext conftest.$ac_ext
   9848 fi
   9849 
   9850 
   9851 		CFLAGS="$xorg_testset_save_CFLAGS"
   9852 
   9853 		eval supported=\$$cacheid
   9854 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9855 $as_echo "$supported" >&6; }
   9856 		if test "$supported" = "yes" ; then
   9857 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9858 			found="yes"
   9859 		fi
   9860 	fi
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 xorg_testset_save_CFLAGS="$CFLAGS"
   9877 
   9878 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9879 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9880 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9881 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9882 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9883   $as_echo_n "(cached) " >&6
   9884 else
   9885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9886 /* end confdefs.h.  */
   9887 int i;
   9888 _ACEOF
   9889 if ac_fn_c_try_compile "$LINENO"; then :
   9890   xorg_cv_cc_flag_unknown_warning_option=yes
   9891 else
   9892   xorg_cv_cc_flag_unknown_warning_option=no
   9893 fi
   9894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9895 fi
   9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9897 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9898 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9899 	CFLAGS="$xorg_testset_save_CFLAGS"
   9900 fi
   9901 
   9902 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9903 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9904 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9905 	fi
   9906 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9907 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9908 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9909 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9910   $as_echo_n "(cached) " >&6
   9911 else
   9912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9913 /* end confdefs.h.  */
   9914 int i;
   9915 _ACEOF
   9916 if ac_fn_c_try_compile "$LINENO"; then :
   9917   xorg_cv_cc_flag_unused_command_line_argument=yes
   9918 else
   9919   xorg_cv_cc_flag_unused_command_line_argument=no
   9920 fi
   9921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9922 fi
   9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9924 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9925 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9926 	CFLAGS="$xorg_testset_save_CFLAGS"
   9927 fi
   9928 
   9929 found="no"
   9930 
   9931 	if test $found = "no" ; then
   9932 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9933 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9934 		fi
   9935 
   9936 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9937 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9938 		fi
   9939 
   9940 		CFLAGS="$CFLAGS -Waddress"
   9941 
   9942 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9943 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9944 		cacheid=xorg_cv_cc_flag__Waddress
   9945 		if eval \${$cacheid+:} false; then :
   9946   $as_echo_n "(cached) " >&6
   9947 else
   9948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9949 /* end confdefs.h.  */
   9950 int i;
   9951 int
   9952 main ()
   9953 {
   9954 
   9955   ;
   9956   return 0;
   9957 }
   9958 _ACEOF
   9959 if ac_fn_c_try_link "$LINENO"; then :
   9960   eval $cacheid=yes
   9961 else
   9962   eval $cacheid=no
   9963 fi
   9964 rm -f core conftest.err conftest.$ac_objext \
   9965     conftest$ac_exeext conftest.$ac_ext
   9966 fi
   9967 
   9968 
   9969 		CFLAGS="$xorg_testset_save_CFLAGS"
   9970 
   9971 		eval supported=\$$cacheid
   9972 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9973 $as_echo "$supported" >&6; }
   9974 		if test "$supported" = "yes" ; then
   9975 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9976 			found="yes"
   9977 		fi
   9978 	fi
   9979 
   9980 
   9981 
   9982 
   9983 
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 xorg_testset_save_CFLAGS="$CFLAGS"
   9995 
   9996 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9997 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9998 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9999 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10000 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10001   $as_echo_n "(cached) " >&6
   10002 else
   10003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10004 /* end confdefs.h.  */
   10005 int i;
   10006 _ACEOF
   10007 if ac_fn_c_try_compile "$LINENO"; then :
   10008   xorg_cv_cc_flag_unknown_warning_option=yes
   10009 else
   10010   xorg_cv_cc_flag_unknown_warning_option=no
   10011 fi
   10012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10013 fi
   10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10015 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10016 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10017 	CFLAGS="$xorg_testset_save_CFLAGS"
   10018 fi
   10019 
   10020 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10021 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10022 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10023 	fi
   10024 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10025 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10026 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10027 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10028   $as_echo_n "(cached) " >&6
   10029 else
   10030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10031 /* end confdefs.h.  */
   10032 int i;
   10033 _ACEOF
   10034 if ac_fn_c_try_compile "$LINENO"; then :
   10035   xorg_cv_cc_flag_unused_command_line_argument=yes
   10036 else
   10037   xorg_cv_cc_flag_unused_command_line_argument=no
   10038 fi
   10039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10040 fi
   10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10042 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10043 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10044 	CFLAGS="$xorg_testset_save_CFLAGS"
   10045 fi
   10046 
   10047 found="no"
   10048 
   10049 	if test $found = "no" ; then
   10050 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10051 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10052 		fi
   10053 
   10054 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10055 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10056 		fi
   10057 
   10058 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10059 
   10060 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10061 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10062 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10063 		if eval \${$cacheid+:} false; then :
   10064   $as_echo_n "(cached) " >&6
   10065 else
   10066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10067 /* end confdefs.h.  */
   10068 int i;
   10069 int
   10070 main ()
   10071 {
   10072 
   10073   ;
   10074   return 0;
   10075 }
   10076 _ACEOF
   10077 if ac_fn_c_try_link "$LINENO"; then :
   10078   eval $cacheid=yes
   10079 else
   10080   eval $cacheid=no
   10081 fi
   10082 rm -f core conftest.err conftest.$ac_objext \
   10083     conftest$ac_exeext conftest.$ac_ext
   10084 fi
   10085 
   10086 
   10087 		CFLAGS="$xorg_testset_save_CFLAGS"
   10088 
   10089 		eval supported=\$$cacheid
   10090 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10091 $as_echo "$supported" >&6; }
   10092 		if test "$supported" = "yes" ; then
   10093 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10094 			found="yes"
   10095 		fi
   10096 	fi
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 xorg_testset_save_CFLAGS="$CFLAGS"
   10113 
   10114 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10115 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10116 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10117 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10118 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10119   $as_echo_n "(cached) " >&6
   10120 else
   10121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10122 /* end confdefs.h.  */
   10123 int i;
   10124 _ACEOF
   10125 if ac_fn_c_try_compile "$LINENO"; then :
   10126   xorg_cv_cc_flag_unknown_warning_option=yes
   10127 else
   10128   xorg_cv_cc_flag_unknown_warning_option=no
   10129 fi
   10130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10131 fi
   10132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10133 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10134 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10135 	CFLAGS="$xorg_testset_save_CFLAGS"
   10136 fi
   10137 
   10138 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10139 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10140 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10141 	fi
   10142 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10143 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10144 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10145 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10146   $as_echo_n "(cached) " >&6
   10147 else
   10148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10149 /* end confdefs.h.  */
   10150 int i;
   10151 _ACEOF
   10152 if ac_fn_c_try_compile "$LINENO"; then :
   10153   xorg_cv_cc_flag_unused_command_line_argument=yes
   10154 else
   10155   xorg_cv_cc_flag_unused_command_line_argument=no
   10156 fi
   10157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10158 fi
   10159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10160 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10161 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10162 	CFLAGS="$xorg_testset_save_CFLAGS"
   10163 fi
   10164 
   10165 found="no"
   10166 
   10167 	if test $found = "no" ; then
   10168 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10169 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10170 		fi
   10171 
   10172 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10173 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10174 		fi
   10175 
   10176 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10177 
   10178 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10179 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10180 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10181 		if eval \${$cacheid+:} false; then :
   10182   $as_echo_n "(cached) " >&6
   10183 else
   10184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10185 /* end confdefs.h.  */
   10186 int i;
   10187 int
   10188 main ()
   10189 {
   10190 
   10191   ;
   10192   return 0;
   10193 }
   10194 _ACEOF
   10195 if ac_fn_c_try_link "$LINENO"; then :
   10196   eval $cacheid=yes
   10197 else
   10198   eval $cacheid=no
   10199 fi
   10200 rm -f core conftest.err conftest.$ac_objext \
   10201     conftest$ac_exeext conftest.$ac_ext
   10202 fi
   10203 
   10204 
   10205 		CFLAGS="$xorg_testset_save_CFLAGS"
   10206 
   10207 		eval supported=\$$cacheid
   10208 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10209 $as_echo "$supported" >&6; }
   10210 		if test "$supported" = "yes" ; then
   10211 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10212 			found="yes"
   10213 		fi
   10214 	fi
   10215 
   10216 
   10217 fi
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 		CWARNFLAGS="$BASE_CFLAGS"
   10226 		if  test "x$GCC" = xyes ; then
   10227 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10228 		fi
   10229 
   10230 
   10231 
   10232 
   10233 
   10234 
   10235 
   10236 
   10237 # Check whether --enable-strict-compilation was given.
   10238 if test "${enable_strict_compilation+set}" = set; then :
   10239   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10240 else
   10241   STRICT_COMPILE=no
   10242 fi
   10243 
   10244 
   10245 
   10246 
   10247 
   10248 
   10249 STRICT_CFLAGS=""
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 xorg_testset_save_CFLAGS="$CFLAGS"
   10264 
   10265 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10266 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10267 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10268 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10269 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10270   $as_echo_n "(cached) " >&6
   10271 else
   10272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10273 /* end confdefs.h.  */
   10274 int i;
   10275 _ACEOF
   10276 if ac_fn_c_try_compile "$LINENO"; then :
   10277   xorg_cv_cc_flag_unknown_warning_option=yes
   10278 else
   10279   xorg_cv_cc_flag_unknown_warning_option=no
   10280 fi
   10281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10282 fi
   10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10284 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10285 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10286 	CFLAGS="$xorg_testset_save_CFLAGS"
   10287 fi
   10288 
   10289 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10290 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10291 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10292 	fi
   10293 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10294 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10295 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10296 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10297   $as_echo_n "(cached) " >&6
   10298 else
   10299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10300 /* end confdefs.h.  */
   10301 int i;
   10302 _ACEOF
   10303 if ac_fn_c_try_compile "$LINENO"; then :
   10304   xorg_cv_cc_flag_unused_command_line_argument=yes
   10305 else
   10306   xorg_cv_cc_flag_unused_command_line_argument=no
   10307 fi
   10308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10309 fi
   10310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10311 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10312 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10313 	CFLAGS="$xorg_testset_save_CFLAGS"
   10314 fi
   10315 
   10316 found="no"
   10317 
   10318 	if test $found = "no" ; then
   10319 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10320 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10321 		fi
   10322 
   10323 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10324 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10325 		fi
   10326 
   10327 		CFLAGS="$CFLAGS -pedantic"
   10328 
   10329 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10330 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10331 		cacheid=xorg_cv_cc_flag__pedantic
   10332 		if eval \${$cacheid+:} false; then :
   10333   $as_echo_n "(cached) " >&6
   10334 else
   10335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10336 /* end confdefs.h.  */
   10337 int i;
   10338 int
   10339 main ()
   10340 {
   10341 
   10342   ;
   10343   return 0;
   10344 }
   10345 _ACEOF
   10346 if ac_fn_c_try_link "$LINENO"; then :
   10347   eval $cacheid=yes
   10348 else
   10349   eval $cacheid=no
   10350 fi
   10351 rm -f core conftest.err conftest.$ac_objext \
   10352     conftest$ac_exeext conftest.$ac_ext
   10353 fi
   10354 
   10355 
   10356 		CFLAGS="$xorg_testset_save_CFLAGS"
   10357 
   10358 		eval supported=\$$cacheid
   10359 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10360 $as_echo "$supported" >&6; }
   10361 		if test "$supported" = "yes" ; then
   10362 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10363 			found="yes"
   10364 		fi
   10365 	fi
   10366 
   10367 
   10368 
   10369 
   10370 
   10371 
   10372 
   10373 
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 xorg_testset_save_CFLAGS="$CFLAGS"
   10382 
   10383 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10384 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10385 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10386 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10387 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10388   $as_echo_n "(cached) " >&6
   10389 else
   10390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10391 /* end confdefs.h.  */
   10392 int i;
   10393 _ACEOF
   10394 if ac_fn_c_try_compile "$LINENO"; then :
   10395   xorg_cv_cc_flag_unknown_warning_option=yes
   10396 else
   10397   xorg_cv_cc_flag_unknown_warning_option=no
   10398 fi
   10399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10400 fi
   10401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10402 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10403 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10404 	CFLAGS="$xorg_testset_save_CFLAGS"
   10405 fi
   10406 
   10407 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10408 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10409 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10410 	fi
   10411 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10412 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10413 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10414 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10415   $as_echo_n "(cached) " >&6
   10416 else
   10417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10418 /* end confdefs.h.  */
   10419 int i;
   10420 _ACEOF
   10421 if ac_fn_c_try_compile "$LINENO"; then :
   10422   xorg_cv_cc_flag_unused_command_line_argument=yes
   10423 else
   10424   xorg_cv_cc_flag_unused_command_line_argument=no
   10425 fi
   10426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10427 fi
   10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10429 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10430 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10431 	CFLAGS="$xorg_testset_save_CFLAGS"
   10432 fi
   10433 
   10434 found="no"
   10435 
   10436 	if test $found = "no" ; then
   10437 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10438 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10439 		fi
   10440 
   10441 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10442 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10443 		fi
   10444 
   10445 		CFLAGS="$CFLAGS -Werror"
   10446 
   10447 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10448 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10449 		cacheid=xorg_cv_cc_flag__Werror
   10450 		if eval \${$cacheid+:} false; then :
   10451   $as_echo_n "(cached) " >&6
   10452 else
   10453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10454 /* end confdefs.h.  */
   10455 int i;
   10456 int
   10457 main ()
   10458 {
   10459 
   10460   ;
   10461   return 0;
   10462 }
   10463 _ACEOF
   10464 if ac_fn_c_try_link "$LINENO"; then :
   10465   eval $cacheid=yes
   10466 else
   10467   eval $cacheid=no
   10468 fi
   10469 rm -f core conftest.err conftest.$ac_objext \
   10470     conftest$ac_exeext conftest.$ac_ext
   10471 fi
   10472 
   10473 
   10474 		CFLAGS="$xorg_testset_save_CFLAGS"
   10475 
   10476 		eval supported=\$$cacheid
   10477 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10478 $as_echo "$supported" >&6; }
   10479 		if test "$supported" = "yes" ; then
   10480 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10481 			found="yes"
   10482 		fi
   10483 	fi
   10484 
   10485 	if test $found = "no" ; then
   10486 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10487 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10488 		fi
   10489 
   10490 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10491 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10492 		fi
   10493 
   10494 		CFLAGS="$CFLAGS -errwarn"
   10495 
   10496 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10497 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10498 		cacheid=xorg_cv_cc_flag__errwarn
   10499 		if eval \${$cacheid+:} false; then :
   10500   $as_echo_n "(cached) " >&6
   10501 else
   10502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10503 /* end confdefs.h.  */
   10504 int i;
   10505 int
   10506 main ()
   10507 {
   10508 
   10509   ;
   10510   return 0;
   10511 }
   10512 _ACEOF
   10513 if ac_fn_c_try_link "$LINENO"; then :
   10514   eval $cacheid=yes
   10515 else
   10516   eval $cacheid=no
   10517 fi
   10518 rm -f core conftest.err conftest.$ac_objext \
   10519     conftest$ac_exeext conftest.$ac_ext
   10520 fi
   10521 
   10522 
   10523 		CFLAGS="$xorg_testset_save_CFLAGS"
   10524 
   10525 		eval supported=\$$cacheid
   10526 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10527 $as_echo "$supported" >&6; }
   10528 		if test "$supported" = "yes" ; then
   10529 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10530 			found="yes"
   10531 		fi
   10532 	fi
   10533 
   10534 
   10535 
   10536 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10537 # activate it with -Werror, so we add it here explicitly.
   10538 
   10539 
   10540 
   10541 
   10542 
   10543 
   10544 
   10545 
   10546 
   10547 
   10548 
   10549 
   10550 
   10551 xorg_testset_save_CFLAGS="$CFLAGS"
   10552 
   10553 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10554 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10555 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10556 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10557 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10558   $as_echo_n "(cached) " >&6
   10559 else
   10560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10561 /* end confdefs.h.  */
   10562 int i;
   10563 _ACEOF
   10564 if ac_fn_c_try_compile "$LINENO"; then :
   10565   xorg_cv_cc_flag_unknown_warning_option=yes
   10566 else
   10567   xorg_cv_cc_flag_unknown_warning_option=no
   10568 fi
   10569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10570 fi
   10571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10572 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10573 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10574 	CFLAGS="$xorg_testset_save_CFLAGS"
   10575 fi
   10576 
   10577 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10578 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10579 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10580 	fi
   10581 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10582 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10583 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10584 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10585   $as_echo_n "(cached) " >&6
   10586 else
   10587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10588 /* end confdefs.h.  */
   10589 int i;
   10590 _ACEOF
   10591 if ac_fn_c_try_compile "$LINENO"; then :
   10592   xorg_cv_cc_flag_unused_command_line_argument=yes
   10593 else
   10594   xorg_cv_cc_flag_unused_command_line_argument=no
   10595 fi
   10596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10597 fi
   10598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10599 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10600 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10601 	CFLAGS="$xorg_testset_save_CFLAGS"
   10602 fi
   10603 
   10604 found="no"
   10605 
   10606 	if test $found = "no" ; then
   10607 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10608 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10609 		fi
   10610 
   10611 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10612 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10613 		fi
   10614 
   10615 		CFLAGS="$CFLAGS -Werror=attributes"
   10616 
   10617 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10618 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10619 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10620 		if eval \${$cacheid+:} false; then :
   10621   $as_echo_n "(cached) " >&6
   10622 else
   10623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10624 /* end confdefs.h.  */
   10625 int i;
   10626 int
   10627 main ()
   10628 {
   10629 
   10630   ;
   10631   return 0;
   10632 }
   10633 _ACEOF
   10634 if ac_fn_c_try_link "$LINENO"; then :
   10635   eval $cacheid=yes
   10636 else
   10637   eval $cacheid=no
   10638 fi
   10639 rm -f core conftest.err conftest.$ac_objext \
   10640     conftest$ac_exeext conftest.$ac_ext
   10641 fi
   10642 
   10643 
   10644 		CFLAGS="$xorg_testset_save_CFLAGS"
   10645 
   10646 		eval supported=\$$cacheid
   10647 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10648 $as_echo "$supported" >&6; }
   10649 		if test "$supported" = "yes" ; then
   10650 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10651 			found="yes"
   10652 		fi
   10653 	fi
   10654 
   10655 
   10656 
   10657 if test "x$STRICT_COMPILE" = "xyes"; then
   10658     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10659     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10660 fi
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 cat >>confdefs.h <<_ACEOF
   10668 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10669 _ACEOF
   10670 
   10671 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10672 	if test "x$PVM" = "x"; then
   10673 		PVM="0"
   10674 	fi
   10675 
   10676 cat >>confdefs.h <<_ACEOF
   10677 #define PACKAGE_VERSION_MINOR $PVM
   10678 _ACEOF
   10679 
   10680 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10681 	if test "x$PVP" = "x"; then
   10682 		PVP="0"
   10683 	fi
   10684 
   10685 cat >>confdefs.h <<_ACEOF
   10686 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10687 _ACEOF
   10688 
   10689 
   10690 
   10691 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10692 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10693 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10694 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10695 
   10696 
   10697 
   10698 
   10699 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10700 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10701 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10702 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10703 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10704 
   10705 
   10706 
   10707 
   10708 
   10709 
   10710 if test x$APP_MAN_SUFFIX = x    ; then
   10711     APP_MAN_SUFFIX=1
   10712 fi
   10713 if test x$APP_MAN_DIR = x    ; then
   10714     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10715 fi
   10716 
   10717 if test x$LIB_MAN_SUFFIX = x    ; then
   10718     LIB_MAN_SUFFIX=3
   10719 fi
   10720 if test x$LIB_MAN_DIR = x    ; then
   10721     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10722 fi
   10723 
   10724 if test x$FILE_MAN_SUFFIX = x    ; then
   10725     case $host_os in
   10726 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10727 	*)		FILE_MAN_SUFFIX=5  ;;
   10728     esac
   10729 fi
   10730 if test x$FILE_MAN_DIR = x    ; then
   10731     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10732 fi
   10733 
   10734 if test x$MISC_MAN_SUFFIX = x    ; then
   10735     case $host_os in
   10736 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10737 	*)		MISC_MAN_SUFFIX=7  ;;
   10738     esac
   10739 fi
   10740 if test x$MISC_MAN_DIR = x    ; then
   10741     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10742 fi
   10743 
   10744 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10745     case $host_os in
   10746 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10747 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10748     esac
   10749 fi
   10750 if test x$DRIVER_MAN_DIR = x    ; then
   10751     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10752 fi
   10753 
   10754 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10755     case $host_os in
   10756 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10757 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10758     esac
   10759 fi
   10760 if test x$ADMIN_MAN_DIR = x    ; then
   10761     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10762 fi
   10763 
   10764 
   10765 
   10766 
   10767 
   10768 
   10769 
   10770 
   10771 
   10772 
   10773 
   10774 
   10775 
   10776 
   10777 
   10778 XORG_MAN_PAGE="X Version 11"
   10779 
   10780 MAN_SUBSTS="\
   10781 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10782 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10783 	-e 's|__xservername__|Xorg|g' \
   10784 	-e 's|__xconfigfile__|xorg.conf|g' \
   10785 	-e 's|__projectroot__|\$(prefix)|g' \
   10786 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10787 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10788 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10789 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10790 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10791 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10792 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10793 
   10794 
   10795 
   10796 # Check whether --enable-silent-rules was given.
   10797 if test "${enable_silent_rules+set}" = set; then :
   10798   enableval=$enable_silent_rules;
   10799 fi
   10800 
   10801 case $enable_silent_rules in # (((
   10802   yes) AM_DEFAULT_VERBOSITY=0;;
   10803    no) AM_DEFAULT_VERBOSITY=1;;
   10804     *) AM_DEFAULT_VERBOSITY=0;;
   10805 esac
   10806 am_make=${MAKE-make}
   10807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10808 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10809 if ${am_cv_make_support_nested_variables+:} false; then :
   10810   $as_echo_n "(cached) " >&6
   10811 else
   10812   if $as_echo 'TRUE=$(BAR$(V))
   10813 BAR0=false
   10814 BAR1=true
   10815 V=1
   10816 am__doit:
   10817 	@$(TRUE)
   10818 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10819   am_cv_make_support_nested_variables=yes
   10820 else
   10821   am_cv_make_support_nested_variables=no
   10822 fi
   10823 fi
   10824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10825 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10826 if test $am_cv_make_support_nested_variables = yes; then
   10827     AM_V='$(V)'
   10828   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10829 else
   10830   AM_V=$AM_DEFAULT_VERBOSITY
   10831   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10832 fi
   10833 AM_BACKSLASH='\'
   10834 
   10835 
   10836 
   10837 # Checks for pkg-config packages
   10838 
   10839 pkg_failed=no
   10840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCONSOLE" >&5
   10841 $as_echo_n "checking for XCONSOLE... " >&6; }
   10842 
   10843 if test -n "$XCONSOLE_CFLAGS"; then
   10844     pkg_cv_XCONSOLE_CFLAGS="$XCONSOLE_CFLAGS"
   10845  elif test -n "$PKG_CONFIG"; then
   10846     if test -n "$PKG_CONFIG" && \
   10847     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt >= 1.0 x11 xproto >= 7.0.17\""; } >&5
   10848   ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt >= 1.0 x11 xproto >= 7.0.17") 2>&5
   10849   ac_status=$?
   10850   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10851   test $ac_status = 0; }; then
   10852   pkg_cv_XCONSOLE_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xmu xt >= 1.0 x11 xproto >= 7.0.17" 2>/dev/null`
   10853 		      test "x$?" != "x0" && pkg_failed=yes
   10854 else
   10855   pkg_failed=yes
   10856 fi
   10857  else
   10858     pkg_failed=untried
   10859 fi
   10860 if test -n "$XCONSOLE_LIBS"; then
   10861     pkg_cv_XCONSOLE_LIBS="$XCONSOLE_LIBS"
   10862  elif test -n "$PKG_CONFIG"; then
   10863     if test -n "$PKG_CONFIG" && \
   10864     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt >= 1.0 x11 xproto >= 7.0.17\""; } >&5
   10865   ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt >= 1.0 x11 xproto >= 7.0.17") 2>&5
   10866   ac_status=$?
   10867   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10868   test $ac_status = 0; }; then
   10869   pkg_cv_XCONSOLE_LIBS=`$PKG_CONFIG --libs "xaw7 xmu xt >= 1.0 x11 xproto >= 7.0.17" 2>/dev/null`
   10870 		      test "x$?" != "x0" && pkg_failed=yes
   10871 else
   10872   pkg_failed=yes
   10873 fi
   10874  else
   10875     pkg_failed=untried
   10876 fi
   10877 
   10878 
   10879 
   10880 if test $pkg_failed = yes; then
   10881    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10882 $as_echo "no" >&6; }
   10883 
   10884 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10885         _pkg_short_errors_supported=yes
   10886 else
   10887         _pkg_short_errors_supported=no
   10888 fi
   10889         if test $_pkg_short_errors_supported = yes; then
   10890 	        XCONSOLE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7 xmu xt >= 1.0 x11 xproto >= 7.0.17" 2>&1`
   10891         else
   10892 	        XCONSOLE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7 xmu xt >= 1.0 x11 xproto >= 7.0.17" 2>&1`
   10893         fi
   10894 	# Put the nasty error message in config.log where it belongs
   10895 	echo "$XCONSOLE_PKG_ERRORS" >&5
   10896 
   10897 	as_fn_error $? "Package requirements (xaw7 xmu xt >= 1.0 x11 xproto >= 7.0.17) were not met:
   10898 
   10899 $XCONSOLE_PKG_ERRORS
   10900 
   10901 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10902 installed software in a non-standard prefix.
   10903 
   10904 Alternatively, you may set the environment variables XCONSOLE_CFLAGS
   10905 and XCONSOLE_LIBS to avoid the need to call pkg-config.
   10906 See the pkg-config man page for more details." "$LINENO" 5
   10907 elif test $pkg_failed = untried; then
   10908      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10909 $as_echo "no" >&6; }
   10910 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10912 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10913 is in your PATH or set the PKG_CONFIG environment variable to the full
   10914 path to pkg-config.
   10915 
   10916 Alternatively, you may set the environment variables XCONSOLE_CFLAGS
   10917 and XCONSOLE_LIBS to avoid the need to call pkg-config.
   10918 See the pkg-config man page for more details.
   10919 
   10920 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10921 See \`config.log' for more details" "$LINENO" 5; }
   10922 else
   10923 	XCONSOLE_CFLAGS=$pkg_cv_XCONSOLE_CFLAGS
   10924 	XCONSOLE_LIBS=$pkg_cv_XCONSOLE_LIBS
   10925         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10926 $as_echo "yes" >&6; }
   10927 
   10928 fi
   10929 
   10930 
   10931 pkg_failed=no
   10932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   10933 $as_echo_n "checking for APPDEFS... " >&6; }
   10934 
   10935 if test -n "$APPDEFS_CFLAGS"; then
   10936     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   10937  elif test -n "$PKG_CONFIG"; then
   10938     if test -n "$PKG_CONFIG" && \
   10939     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   10940   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   10941   ac_status=$?
   10942   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10943   test $ac_status = 0; }; then
   10944   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   10945 		      test "x$?" != "x0" && pkg_failed=yes
   10946 else
   10947   pkg_failed=yes
   10948 fi
   10949  else
   10950     pkg_failed=untried
   10951 fi
   10952 if test -n "$APPDEFS_LIBS"; then
   10953     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   10954  elif test -n "$PKG_CONFIG"; then
   10955     if test -n "$PKG_CONFIG" && \
   10956     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   10957   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   10958   ac_status=$?
   10959   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10960   test $ac_status = 0; }; then
   10961   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   10962 		      test "x$?" != "x0" && pkg_failed=yes
   10963 else
   10964   pkg_failed=yes
   10965 fi
   10966  else
   10967     pkg_failed=untried
   10968 fi
   10969 
   10970 
   10971 
   10972 if test $pkg_failed = yes; then
   10973    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10974 $as_echo "no" >&6; }
   10975 
   10976 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10977         _pkg_short_errors_supported=yes
   10978 else
   10979         _pkg_short_errors_supported=no
   10980 fi
   10981         if test $_pkg_short_errors_supported = yes; then
   10982 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xt" 2>&1`
   10983         else
   10984 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xt" 2>&1`
   10985         fi
   10986 	# Put the nasty error message in config.log where it belongs
   10987 	echo "$APPDEFS_PKG_ERRORS" >&5
   10988 
   10989 	as_fn_error $? "Package requirements (xt) were not met:
   10990 
   10991 $APPDEFS_PKG_ERRORS
   10992 
   10993 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10994 installed software in a non-standard prefix.
   10995 
   10996 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   10997 and APPDEFS_LIBS to avoid the need to call pkg-config.
   10998 See the pkg-config man page for more details." "$LINENO" 5
   10999 elif test $pkg_failed = untried; then
   11000      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11001 $as_echo "no" >&6; }
   11002 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11003 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11004 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11005 is in your PATH or set the PKG_CONFIG environment variable to the full
   11006 path to pkg-config.
   11007 
   11008 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   11009 and APPDEFS_LIBS to avoid the need to call pkg-config.
   11010 See the pkg-config man page for more details.
   11011 
   11012 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11013 See \`config.log' for more details" "$LINENO" 5; }
   11014 else
   11015 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   11016 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   11017         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11018 $as_echo "yes" >&6; }
   11019 
   11020 fi
   11021 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   11022 
   11023 # Check whether --with-appdefaultdir was given.
   11024 if test "${with_appdefaultdir+set}" = set; then :
   11025   withval=$with_appdefaultdir; appdefaultdir="$withval"
   11026 else
   11027   appdefaultdir="${xt_appdefaultdir}"
   11028 fi
   11029 
   11030 
   11031 
   11032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5
   11033 $as_echo_n "checking for library containing openpty... " >&6; }
   11034 if ${ac_cv_search_openpty+:} false; then :
   11035   $as_echo_n "(cached) " >&6
   11036 else
   11037   ac_func_search_save_LIBS=$LIBS
   11038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11039 /* end confdefs.h.  */
   11040 
   11041 /* Override any GCC internal prototype to avoid an error.
   11042    Use char because int might match the return type of a GCC
   11043    builtin and then its argument prototype would still apply.  */
   11044 #ifdef __cplusplus
   11045 extern "C"
   11046 #endif
   11047 char openpty ();
   11048 int
   11049 main ()
   11050 {
   11051 return openpty ();
   11052   ;
   11053   return 0;
   11054 }
   11055 _ACEOF
   11056 for ac_lib in '' util; do
   11057   if test -z "$ac_lib"; then
   11058     ac_res="none required"
   11059   else
   11060     ac_res=-l$ac_lib
   11061     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11062   fi
   11063   if ac_fn_c_try_link "$LINENO"; then :
   11064   ac_cv_search_openpty=$ac_res
   11065 fi
   11066 rm -f core conftest.err conftest.$ac_objext \
   11067     conftest$ac_exeext
   11068   if ${ac_cv_search_openpty+:} false; then :
   11069   break
   11070 fi
   11071 done
   11072 if ${ac_cv_search_openpty+:} false; then :
   11073 
   11074 else
   11075   ac_cv_search_openpty=no
   11076 fi
   11077 rm conftest.$ac_ext
   11078 LIBS=$ac_func_search_save_LIBS
   11079 fi
   11080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_openpty" >&5
   11081 $as_echo "$ac_cv_search_openpty" >&6; }
   11082 ac_res=$ac_cv_search_openpty
   11083 if test "$ac_res" != no; then :
   11084   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11085 
   11086 fi
   11087 
   11088 ac_fn_c_check_func "$LINENO" "openpty" "ac_cv_func_openpty"
   11089 if test "x$ac_cv_func_openpty" = xyes; then :
   11090   HAS_OPENPTY="yes"
   11091 fi
   11092 
   11093 if test "x$HAS_OPENPTY" = "xyes" ; then
   11094 
   11095 $as_echo "#define HAS_OPENPTY 1" >>confdefs.h
   11096 
   11097 	for ac_header in util.h libutil.h pty.h
   11098 do :
   11099   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   11100 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   11101 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   11102   cat >>confdefs.h <<_ACEOF
   11103 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   11104 _ACEOF
   11105  break
   11106 fi
   11107 
   11108 done
   11109 
   11110 fi
   11111 
   11112 
   11113 ac_config_files="$ac_config_files Makefile man/Makefile"
   11114 
   11115 cat >confcache <<\_ACEOF
   11116 # This file is a shell script that caches the results of configure
   11117 # tests run on this system so they can be shared between configure
   11118 # scripts and configure runs, see configure's option --config-cache.
   11119 # It is not useful on other systems.  If it contains results you don't
   11120 # want to keep, you may remove or edit it.
   11121 #
   11122 # config.status only pays attention to the cache file if you give it
   11123 # the --recheck option to rerun configure.
   11124 #
   11125 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11126 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11127 # following values.
   11128 
   11129 _ACEOF
   11130 
   11131 # The following way of writing the cache mishandles newlines in values,
   11132 # but we know of no workaround that is simple, portable, and efficient.
   11133 # So, we kill variables containing newlines.
   11134 # Ultrix sh set writes to stderr and can't be redirected directly,
   11135 # and sets the high bit in the cache file unless we assign to the vars.
   11136 (
   11137   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11138     eval ac_val=\$$ac_var
   11139     case $ac_val in #(
   11140     *${as_nl}*)
   11141       case $ac_var in #(
   11142       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11143 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11144       esac
   11145       case $ac_var in #(
   11146       _ | IFS | as_nl) ;; #(
   11147       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11148       *) { eval $ac_var=; unset $ac_var;} ;;
   11149       esac ;;
   11150     esac
   11151   done
   11152 
   11153   (set) 2>&1 |
   11154     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11155     *${as_nl}ac_space=\ *)
   11156       # `set' does not quote correctly, so add quotes: double-quote
   11157       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11158       sed -n \
   11159 	"s/'/'\\\\''/g;
   11160 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11161       ;; #(
   11162     *)
   11163       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11164       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11165       ;;
   11166     esac |
   11167     sort
   11168 ) |
   11169   sed '
   11170      /^ac_cv_env_/b end
   11171      t clear
   11172      :clear
   11173      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11174      t end
   11175      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11176      :end' >>confcache
   11177 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11178   if test -w "$cache_file"; then
   11179     if test "x$cache_file" != "x/dev/null"; then
   11180       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11181 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11182       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11183 	cat confcache >"$cache_file"
   11184       else
   11185         case $cache_file in #(
   11186         */* | ?:*)
   11187 	  mv -f confcache "$cache_file"$$ &&
   11188 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11189         *)
   11190 	  mv -f confcache "$cache_file" ;;
   11191 	esac
   11192       fi
   11193     fi
   11194   else
   11195     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11196 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11197   fi
   11198 fi
   11199 rm -f confcache
   11200 
   11201 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11202 # Let make expand exec_prefix.
   11203 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11204 
   11205 DEFS=-DHAVE_CONFIG_H
   11206 
   11207 ac_libobjs=
   11208 ac_ltlibobjs=
   11209 U=
   11210 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11211   # 1. Remove the extension, and $U if already installed.
   11212   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11213   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11214   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11215   #    will be set to the directory where LIBOBJS objects are built.
   11216   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11217   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11218 done
   11219 LIBOBJS=$ac_libobjs
   11220 
   11221 LTLIBOBJS=$ac_ltlibobjs
   11222 
   11223 
   11224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11225 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11226    if test -n "$am_sleep_pid"; then
   11227      # Hide warnings about reused PIDs.
   11228      wait $am_sleep_pid 2>/dev/null
   11229    fi
   11230    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11231 $as_echo "done" >&6; }
   11232 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11233   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11234 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11235 fi
   11236 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11237   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11238 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11239 fi
   11240  if test -n "$EXEEXT"; then
   11241   am__EXEEXT_TRUE=
   11242   am__EXEEXT_FALSE='#'
   11243 else
   11244   am__EXEEXT_TRUE='#'
   11245   am__EXEEXT_FALSE=
   11246 fi
   11247 
   11248 
   11249 : "${CONFIG_STATUS=./config.status}"
   11250 ac_write_fail=0
   11251 ac_clean_files_save=$ac_clean_files
   11252 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11253 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11254 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11255 as_write_fail=0
   11256 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11257 #! $SHELL
   11258 # Generated by $as_me.
   11259 # Run this file to recreate the current configuration.
   11260 # Compiler output produced by configure, useful for debugging
   11261 # configure, is in config.log if it exists.
   11262 
   11263 debug=false
   11264 ac_cs_recheck=false
   11265 ac_cs_silent=false
   11266 
   11267 SHELL=\${CONFIG_SHELL-$SHELL}
   11268 export SHELL
   11269 _ASEOF
   11270 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11271 ## -------------------- ##
   11272 ## M4sh Initialization. ##
   11273 ## -------------------- ##
   11274 
   11275 # Be more Bourne compatible
   11276 DUALCASE=1; export DUALCASE # for MKS sh
   11277 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11278   emulate sh
   11279   NULLCMD=:
   11280   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11281   # is contrary to our usage.  Disable this feature.
   11282   alias -g '${1+"$@"}'='"$@"'
   11283   setopt NO_GLOB_SUBST
   11284 else
   11285   case `(set -o) 2>/dev/null` in #(
   11286   *posix*) :
   11287     set -o posix ;; #(
   11288   *) :
   11289      ;;
   11290 esac
   11291 fi
   11292 
   11293 
   11294 as_nl='
   11295 '
   11296 export as_nl
   11297 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11298 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11299 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11300 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11301 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11302 # but without wasting forks for bash or zsh.
   11303 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11304     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11305   as_echo='print -r --'
   11306   as_echo_n='print -rn --'
   11307 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11308   as_echo='printf %s\n'
   11309   as_echo_n='printf %s'
   11310 else
   11311   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11312     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11313     as_echo_n='/usr/ucb/echo -n'
   11314   else
   11315     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11316     as_echo_n_body='eval
   11317       arg=$1;
   11318       case $arg in #(
   11319       *"$as_nl"*)
   11320 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11321 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11322       esac;
   11323       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11324     '
   11325     export as_echo_n_body
   11326     as_echo_n='sh -c $as_echo_n_body as_echo'
   11327   fi
   11328   export as_echo_body
   11329   as_echo='sh -c $as_echo_body as_echo'
   11330 fi
   11331 
   11332 # The user is always right.
   11333 if test "${PATH_SEPARATOR+set}" != set; then
   11334   PATH_SEPARATOR=:
   11335   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11336     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11337       PATH_SEPARATOR=';'
   11338   }
   11339 fi
   11340 
   11341 
   11342 # IFS
   11343 # We need space, tab and new line, in precisely that order.  Quoting is
   11344 # there to prevent editors from complaining about space-tab.
   11345 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11346 # splitting by setting IFS to empty value.)
   11347 IFS=" ""	$as_nl"
   11348 
   11349 # Find who we are.  Look in the path if we contain no directory separator.
   11350 as_myself=
   11351 case $0 in #((
   11352   *[\\/]* ) as_myself=$0 ;;
   11353   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11354 for as_dir in $PATH
   11355 do
   11356   IFS=$as_save_IFS
   11357   test -z "$as_dir" && as_dir=.
   11358     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11359   done
   11360 IFS=$as_save_IFS
   11361 
   11362      ;;
   11363 esac
   11364 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11365 # in which case we are not to be found in the path.
   11366 if test "x$as_myself" = x; then
   11367   as_myself=$0
   11368 fi
   11369 if test ! -f "$as_myself"; then
   11370   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11371   exit 1
   11372 fi
   11373 
   11374 # Unset variables that we do not need and which cause bugs (e.g. in
   11375 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11376 # suppresses any "Segmentation fault" message there.  '((' could
   11377 # trigger a bug in pdksh 5.2.14.
   11378 for as_var in BASH_ENV ENV MAIL MAILPATH
   11379 do eval test x\${$as_var+set} = xset \
   11380   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11381 done
   11382 PS1='$ '
   11383 PS2='> '
   11384 PS4='+ '
   11385 
   11386 # NLS nuisances.
   11387 LC_ALL=C
   11388 export LC_ALL
   11389 LANGUAGE=C
   11390 export LANGUAGE
   11391 
   11392 # CDPATH.
   11393 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11394 
   11395 
   11396 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11397 # ----------------------------------------
   11398 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11399 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11400 # script with STATUS, using 1 if that was 0.
   11401 as_fn_error ()
   11402 {
   11403   as_status=$1; test $as_status -eq 0 && as_status=1
   11404   if test "$4"; then
   11405     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11406     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11407   fi
   11408   $as_echo "$as_me: error: $2" >&2
   11409   as_fn_exit $as_status
   11410 } # as_fn_error
   11411 
   11412 
   11413 # as_fn_set_status STATUS
   11414 # -----------------------
   11415 # Set $? to STATUS, without forking.
   11416 as_fn_set_status ()
   11417 {
   11418   return $1
   11419 } # as_fn_set_status
   11420 
   11421 # as_fn_exit STATUS
   11422 # -----------------
   11423 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11424 as_fn_exit ()
   11425 {
   11426   set +e
   11427   as_fn_set_status $1
   11428   exit $1
   11429 } # as_fn_exit
   11430 
   11431 # as_fn_unset VAR
   11432 # ---------------
   11433 # Portably unset VAR.
   11434 as_fn_unset ()
   11435 {
   11436   { eval $1=; unset $1;}
   11437 }
   11438 as_unset=as_fn_unset
   11439 # as_fn_append VAR VALUE
   11440 # ----------------------
   11441 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11442 # advantage of any shell optimizations that allow amortized linear growth over
   11443 # repeated appends, instead of the typical quadratic growth present in naive
   11444 # implementations.
   11445 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11446   eval 'as_fn_append ()
   11447   {
   11448     eval $1+=\$2
   11449   }'
   11450 else
   11451   as_fn_append ()
   11452   {
   11453     eval $1=\$$1\$2
   11454   }
   11455 fi # as_fn_append
   11456 
   11457 # as_fn_arith ARG...
   11458 # ------------------
   11459 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11460 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11461 # must be portable across $(()) and expr.
   11462 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11463   eval 'as_fn_arith ()
   11464   {
   11465     as_val=$(( $* ))
   11466   }'
   11467 else
   11468   as_fn_arith ()
   11469   {
   11470     as_val=`expr "$@" || test $? -eq 1`
   11471   }
   11472 fi # as_fn_arith
   11473 
   11474 
   11475 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11476    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11477   as_expr=expr
   11478 else
   11479   as_expr=false
   11480 fi
   11481 
   11482 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11483   as_basename=basename
   11484 else
   11485   as_basename=false
   11486 fi
   11487 
   11488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11489   as_dirname=dirname
   11490 else
   11491   as_dirname=false
   11492 fi
   11493 
   11494 as_me=`$as_basename -- "$0" ||
   11495 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11496 	 X"$0" : 'X\(//\)$' \| \
   11497 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11498 $as_echo X/"$0" |
   11499     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11500 	    s//\1/
   11501 	    q
   11502 	  }
   11503 	  /^X\/\(\/\/\)$/{
   11504 	    s//\1/
   11505 	    q
   11506 	  }
   11507 	  /^X\/\(\/\).*/{
   11508 	    s//\1/
   11509 	    q
   11510 	  }
   11511 	  s/.*/./; q'`
   11512 
   11513 # Avoid depending upon Character Ranges.
   11514 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11515 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11516 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11517 as_cr_digits='0123456789'
   11518 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11519 
   11520 ECHO_C= ECHO_N= ECHO_T=
   11521 case `echo -n x` in #(((((
   11522 -n*)
   11523   case `echo 'xy\c'` in
   11524   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11525   xy)  ECHO_C='\c';;
   11526   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11527        ECHO_T='	';;
   11528   esac;;
   11529 *)
   11530   ECHO_N='-n';;
   11531 esac
   11532 
   11533 rm -f conf$$ conf$$.exe conf$$.file
   11534 if test -d conf$$.dir; then
   11535   rm -f conf$$.dir/conf$$.file
   11536 else
   11537   rm -f conf$$.dir
   11538   mkdir conf$$.dir 2>/dev/null
   11539 fi
   11540 if (echo >conf$$.file) 2>/dev/null; then
   11541   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11542     as_ln_s='ln -s'
   11543     # ... but there are two gotchas:
   11544     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11545     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11546     # In both cases, we have to default to `cp -pR'.
   11547     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11548       as_ln_s='cp -pR'
   11549   elif ln conf$$.file conf$$ 2>/dev/null; then
   11550     as_ln_s=ln
   11551   else
   11552     as_ln_s='cp -pR'
   11553   fi
   11554 else
   11555   as_ln_s='cp -pR'
   11556 fi
   11557 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11558 rmdir conf$$.dir 2>/dev/null
   11559 
   11560 
   11561 # as_fn_mkdir_p
   11562 # -------------
   11563 # Create "$as_dir" as a directory, including parents if necessary.
   11564 as_fn_mkdir_p ()
   11565 {
   11566 
   11567   case $as_dir in #(
   11568   -*) as_dir=./$as_dir;;
   11569   esac
   11570   test -d "$as_dir" || eval $as_mkdir_p || {
   11571     as_dirs=
   11572     while :; do
   11573       case $as_dir in #(
   11574       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11575       *) as_qdir=$as_dir;;
   11576       esac
   11577       as_dirs="'$as_qdir' $as_dirs"
   11578       as_dir=`$as_dirname -- "$as_dir" ||
   11579 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11580 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11581 	 X"$as_dir" : 'X\(//\)$' \| \
   11582 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11583 $as_echo X"$as_dir" |
   11584     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11585 	    s//\1/
   11586 	    q
   11587 	  }
   11588 	  /^X\(\/\/\)[^/].*/{
   11589 	    s//\1/
   11590 	    q
   11591 	  }
   11592 	  /^X\(\/\/\)$/{
   11593 	    s//\1/
   11594 	    q
   11595 	  }
   11596 	  /^X\(\/\).*/{
   11597 	    s//\1/
   11598 	    q
   11599 	  }
   11600 	  s/.*/./; q'`
   11601       test -d "$as_dir" && break
   11602     done
   11603     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11604   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11605 
   11606 
   11607 } # as_fn_mkdir_p
   11608 if mkdir -p . 2>/dev/null; then
   11609   as_mkdir_p='mkdir -p "$as_dir"'
   11610 else
   11611   test -d ./-p && rmdir ./-p
   11612   as_mkdir_p=false
   11613 fi
   11614 
   11615 
   11616 # as_fn_executable_p FILE
   11617 # -----------------------
   11618 # Test if FILE is an executable regular file.
   11619 as_fn_executable_p ()
   11620 {
   11621   test -f "$1" && test -x "$1"
   11622 } # as_fn_executable_p
   11623 as_test_x='test -x'
   11624 as_executable_p=as_fn_executable_p
   11625 
   11626 # Sed expression to map a string onto a valid CPP name.
   11627 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11628 
   11629 # Sed expression to map a string onto a valid variable name.
   11630 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11631 
   11632 
   11633 exec 6>&1
   11634 ## ----------------------------------- ##
   11635 ## Main body of $CONFIG_STATUS script. ##
   11636 ## ----------------------------------- ##
   11637 _ASEOF
   11638 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11639 
   11640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11641 # Save the log message, to keep $0 and so on meaningful, and to
   11642 # report actual input values of CONFIG_FILES etc. instead of their
   11643 # values after options handling.
   11644 ac_log="
   11645 This file was extended by xconsole $as_me 1.0.7, which was
   11646 generated by GNU Autoconf 2.69.  Invocation command line was
   11647 
   11648   CONFIG_FILES    = $CONFIG_FILES
   11649   CONFIG_HEADERS  = $CONFIG_HEADERS
   11650   CONFIG_LINKS    = $CONFIG_LINKS
   11651   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11652   $ $0 $@
   11653 
   11654 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11655 "
   11656 
   11657 _ACEOF
   11658 
   11659 case $ac_config_files in *"
   11660 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11661 esac
   11662 
   11663 case $ac_config_headers in *"
   11664 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11665 esac
   11666 
   11667 
   11668 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11669 # Files that config.status was made for.
   11670 config_files="$ac_config_files"
   11671 config_headers="$ac_config_headers"
   11672 config_commands="$ac_config_commands"
   11673 
   11674 _ACEOF
   11675 
   11676 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11677 ac_cs_usage="\
   11678 \`$as_me' instantiates files and other configuration actions
   11679 from templates according to the current configuration.  Unless the files
   11680 and actions are specified as TAGs, all are instantiated by default.
   11681 
   11682 Usage: $0 [OPTION]... [TAG]...
   11683 
   11684   -h, --help       print this help, then exit
   11685   -V, --version    print version number and configuration settings, then exit
   11686       --config     print configuration, then exit
   11687   -q, --quiet, --silent
   11688                    do not print progress messages
   11689   -d, --debug      don't remove temporary files
   11690       --recheck    update $as_me by reconfiguring in the same conditions
   11691       --file=FILE[:TEMPLATE]
   11692                    instantiate the configuration file FILE
   11693       --header=FILE[:TEMPLATE]
   11694                    instantiate the configuration header FILE
   11695 
   11696 Configuration files:
   11697 $config_files
   11698 
   11699 Configuration headers:
   11700 $config_headers
   11701 
   11702 Configuration commands:
   11703 $config_commands
   11704 
   11705 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11706 
   11707 _ACEOF
   11708 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11709 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11710 ac_cs_version="\\
   11711 xconsole config.status 1.0.7
   11712 configured by $0, generated by GNU Autoconf 2.69,
   11713   with options \\"\$ac_cs_config\\"
   11714 
   11715 Copyright (C) 2012 Free Software Foundation, Inc.
   11716 This config.status script is free software; the Free Software Foundation
   11717 gives unlimited permission to copy, distribute and modify it."
   11718 
   11719 ac_pwd='$ac_pwd'
   11720 srcdir='$srcdir'
   11721 INSTALL='$INSTALL'
   11722 MKDIR_P='$MKDIR_P'
   11723 AWK='$AWK'
   11724 test -n "\$AWK" || AWK=awk
   11725 _ACEOF
   11726 
   11727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11728 # The default lists apply if the user does not specify any file.
   11729 ac_need_defaults=:
   11730 while test $# != 0
   11731 do
   11732   case $1 in
   11733   --*=?*)
   11734     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11735     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11736     ac_shift=:
   11737     ;;
   11738   --*=)
   11739     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11740     ac_optarg=
   11741     ac_shift=:
   11742     ;;
   11743   *)
   11744     ac_option=$1
   11745     ac_optarg=$2
   11746     ac_shift=shift
   11747     ;;
   11748   esac
   11749 
   11750   case $ac_option in
   11751   # Handling of the options.
   11752   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11753     ac_cs_recheck=: ;;
   11754   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11755     $as_echo "$ac_cs_version"; exit ;;
   11756   --config | --confi | --conf | --con | --co | --c )
   11757     $as_echo "$ac_cs_config"; exit ;;
   11758   --debug | --debu | --deb | --de | --d | -d )
   11759     debug=: ;;
   11760   --file | --fil | --fi | --f )
   11761     $ac_shift
   11762     case $ac_optarg in
   11763     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11764     '') as_fn_error $? "missing file argument" ;;
   11765     esac
   11766     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11767     ac_need_defaults=false;;
   11768   --header | --heade | --head | --hea )
   11769     $ac_shift
   11770     case $ac_optarg in
   11771     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11772     esac
   11773     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11774     ac_need_defaults=false;;
   11775   --he | --h)
   11776     # Conflict between --help and --header
   11777     as_fn_error $? "ambiguous option: \`$1'
   11778 Try \`$0 --help' for more information.";;
   11779   --help | --hel | -h )
   11780     $as_echo "$ac_cs_usage"; exit ;;
   11781   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11782   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11783     ac_cs_silent=: ;;
   11784 
   11785   # This is an error.
   11786   -*) as_fn_error $? "unrecognized option: \`$1'
   11787 Try \`$0 --help' for more information." ;;
   11788 
   11789   *) as_fn_append ac_config_targets " $1"
   11790      ac_need_defaults=false ;;
   11791 
   11792   esac
   11793   shift
   11794 done
   11795 
   11796 ac_configure_extra_args=
   11797 
   11798 if $ac_cs_silent; then
   11799   exec 6>/dev/null
   11800   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11801 fi
   11802 
   11803 _ACEOF
   11804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11805 if \$ac_cs_recheck; then
   11806   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11807   shift
   11808   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11809   CONFIG_SHELL='$SHELL'
   11810   export CONFIG_SHELL
   11811   exec "\$@"
   11812 fi
   11813 
   11814 _ACEOF
   11815 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11816 exec 5>>config.log
   11817 {
   11818   echo
   11819   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11820 ## Running $as_me. ##
   11821 _ASBOX
   11822   $as_echo "$ac_log"
   11823 } >&5
   11824 
   11825 _ACEOF
   11826 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11827 #
   11828 # INIT-COMMANDS
   11829 #
   11830 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11831 
   11832 _ACEOF
   11833 
   11834 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11835 
   11836 # Handling of arguments.
   11837 for ac_config_target in $ac_config_targets
   11838 do
   11839   case $ac_config_target in
   11840     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11841     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11842     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11843     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11844 
   11845   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11846   esac
   11847 done
   11848 
   11849 
   11850 # If the user did not use the arguments to specify the items to instantiate,
   11851 # then the envvar interface is used.  Set only those that are not.
   11852 # We use the long form for the default assignment because of an extremely
   11853 # bizarre bug on SunOS 4.1.3.
   11854 if $ac_need_defaults; then
   11855   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11856   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11857   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11858 fi
   11859 
   11860 # Have a temporary directory for convenience.  Make it in the build tree
   11861 # simply because there is no reason against having it here, and in addition,
   11862 # creating and moving files from /tmp can sometimes cause problems.
   11863 # Hook for its removal unless debugging.
   11864 # Note that there is a small window in which the directory will not be cleaned:
   11865 # after its creation but before its name has been assigned to `$tmp'.
   11866 $debug ||
   11867 {
   11868   tmp= ac_tmp=
   11869   trap 'exit_status=$?
   11870   : "${ac_tmp:=$tmp}"
   11871   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11872 ' 0
   11873   trap 'as_fn_exit 1' 1 2 13 15
   11874 }
   11875 # Create a (secure) tmp directory for tmp files.
   11876 
   11877 {
   11878   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11879   test -d "$tmp"
   11880 }  ||
   11881 {
   11882   tmp=./conf$$-$RANDOM
   11883   (umask 077 && mkdir "$tmp")
   11884 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11885 ac_tmp=$tmp
   11886 
   11887 # Set up the scripts for CONFIG_FILES section.
   11888 # No need to generate them if there are no CONFIG_FILES.
   11889 # This happens for instance with `./config.status config.h'.
   11890 if test -n "$CONFIG_FILES"; then
   11891 
   11892 
   11893 ac_cr=`echo X | tr X '\015'`
   11894 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11895 # But we know of no other shell where ac_cr would be empty at this
   11896 # point, so we can use a bashism as a fallback.
   11897 if test "x$ac_cr" = x; then
   11898   eval ac_cr=\$\'\\r\'
   11899 fi
   11900 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11901 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11902   ac_cs_awk_cr='\\r'
   11903 else
   11904   ac_cs_awk_cr=$ac_cr
   11905 fi
   11906 
   11907 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11908 _ACEOF
   11909 
   11910 
   11911 {
   11912   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11913   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11914   echo "_ACEOF"
   11915 } >conf$$subs.sh ||
   11916   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11917 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11918 ac_delim='%!_!# '
   11919 for ac_last_try in false false false false false :; do
   11920   . ./conf$$subs.sh ||
   11921     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11922 
   11923   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11924   if test $ac_delim_n = $ac_delim_num; then
   11925     break
   11926   elif $ac_last_try; then
   11927     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11928   else
   11929     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11930   fi
   11931 done
   11932 rm -f conf$$subs.sh
   11933 
   11934 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11935 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11936 _ACEOF
   11937 sed -n '
   11938 h
   11939 s/^/S["/; s/!.*/"]=/
   11940 p
   11941 g
   11942 s/^[^!]*!//
   11943 :repl
   11944 t repl
   11945 s/'"$ac_delim"'$//
   11946 t delim
   11947 :nl
   11948 h
   11949 s/\(.\{148\}\)..*/\1/
   11950 t more1
   11951 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11952 p
   11953 n
   11954 b repl
   11955 :more1
   11956 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11957 p
   11958 g
   11959 s/.\{148\}//
   11960 t nl
   11961 :delim
   11962 h
   11963 s/\(.\{148\}\)..*/\1/
   11964 t more2
   11965 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11966 p
   11967 b
   11968 :more2
   11969 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11970 p
   11971 g
   11972 s/.\{148\}//
   11973 t delim
   11974 ' <conf$$subs.awk | sed '
   11975 /^[^""]/{
   11976   N
   11977   s/\n//
   11978 }
   11979 ' >>$CONFIG_STATUS || ac_write_fail=1
   11980 rm -f conf$$subs.awk
   11981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11982 _ACAWK
   11983 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11984   for (key in S) S_is_set[key] = 1
   11985   FS = ""
   11986 
   11987 }
   11988 {
   11989   line = $ 0
   11990   nfields = split(line, field, "@")
   11991   substed = 0
   11992   len = length(field[1])
   11993   for (i = 2; i < nfields; i++) {
   11994     key = field[i]
   11995     keylen = length(key)
   11996     if (S_is_set[key]) {
   11997       value = S[key]
   11998       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11999       len += length(value) + length(field[++i])
   12000       substed = 1
   12001     } else
   12002       len += 1 + keylen
   12003   }
   12004 
   12005   print line
   12006 }
   12007 
   12008 _ACAWK
   12009 _ACEOF
   12010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12011 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12012   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12013 else
   12014   cat
   12015 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12016   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12017 _ACEOF
   12018 
   12019 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12020 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12021 # trailing colons and then remove the whole line if VPATH becomes empty
   12022 # (actually we leave an empty line to preserve line numbers).
   12023 if test "x$srcdir" = x.; then
   12024   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12025 h
   12026 s///
   12027 s/^/:/
   12028 s/[	 ]*$/:/
   12029 s/:\$(srcdir):/:/g
   12030 s/:\${srcdir}:/:/g
   12031 s/:@srcdir@:/:/g
   12032 s/^:*//
   12033 s/:*$//
   12034 x
   12035 s/\(=[	 ]*\).*/\1/
   12036 G
   12037 s/\n//
   12038 s/^[^=]*=[	 ]*$//
   12039 }'
   12040 fi
   12041 
   12042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12043 fi # test -n "$CONFIG_FILES"
   12044 
   12045 # Set up the scripts for CONFIG_HEADERS section.
   12046 # No need to generate them if there are no CONFIG_HEADERS.
   12047 # This happens for instance with `./config.status Makefile'.
   12048 if test -n "$CONFIG_HEADERS"; then
   12049 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12050 BEGIN {
   12051 _ACEOF
   12052 
   12053 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12054 # here-document in config.status, that substitutes the proper values into
   12055 # config.h.in to produce config.h.
   12056 
   12057 # Create a delimiter string that does not exist in confdefs.h, to ease
   12058 # handling of long lines.
   12059 ac_delim='%!_!# '
   12060 for ac_last_try in false false :; do
   12061   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12062   if test -z "$ac_tt"; then
   12063     break
   12064   elif $ac_last_try; then
   12065     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12066   else
   12067     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12068   fi
   12069 done
   12070 
   12071 # For the awk script, D is an array of macro values keyed by name,
   12072 # likewise P contains macro parameters if any.  Preserve backslash
   12073 # newline sequences.
   12074 
   12075 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12076 sed -n '
   12077 s/.\{148\}/&'"$ac_delim"'/g
   12078 t rset
   12079 :rset
   12080 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12081 t def
   12082 d
   12083 :def
   12084 s/\\$//
   12085 t bsnl
   12086 s/["\\]/\\&/g
   12087 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12088 D["\1"]=" \3"/p
   12089 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12090 d
   12091 :bsnl
   12092 s/["\\]/\\&/g
   12093 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12094 D["\1"]=" \3\\\\\\n"\\/p
   12095 t cont
   12096 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12097 t cont
   12098 d
   12099 :cont
   12100 n
   12101 s/.\{148\}/&'"$ac_delim"'/g
   12102 t clear
   12103 :clear
   12104 s/\\$//
   12105 t bsnlc
   12106 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12107 d
   12108 :bsnlc
   12109 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12110 b cont
   12111 ' <confdefs.h | sed '
   12112 s/'"$ac_delim"'/"\\\
   12113 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12114 
   12115 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12116   for (key in D) D_is_set[key] = 1
   12117   FS = ""
   12118 }
   12119 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12120   line = \$ 0
   12121   split(line, arg, " ")
   12122   if (arg[1] == "#") {
   12123     defundef = arg[2]
   12124     mac1 = arg[3]
   12125   } else {
   12126     defundef = substr(arg[1], 2)
   12127     mac1 = arg[2]
   12128   }
   12129   split(mac1, mac2, "(") #)
   12130   macro = mac2[1]
   12131   prefix = substr(line, 1, index(line, defundef) - 1)
   12132   if (D_is_set[macro]) {
   12133     # Preserve the white space surrounding the "#".
   12134     print prefix "define", macro P[macro] D[macro]
   12135     next
   12136   } else {
   12137     # Replace #undef with comments.  This is necessary, for example,
   12138     # in the case of _POSIX_SOURCE, which is predefined and required
   12139     # on some systems where configure will not decide to define it.
   12140     if (defundef == "undef") {
   12141       print "/*", prefix defundef, macro, "*/"
   12142       next
   12143     }
   12144   }
   12145 }
   12146 { print }
   12147 _ACAWK
   12148 _ACEOF
   12149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12150   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12151 fi # test -n "$CONFIG_HEADERS"
   12152 
   12153 
   12154 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12155 shift
   12156 for ac_tag
   12157 do
   12158   case $ac_tag in
   12159   :[FHLC]) ac_mode=$ac_tag; continue;;
   12160   esac
   12161   case $ac_mode$ac_tag in
   12162   :[FHL]*:*);;
   12163   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12164   :[FH]-) ac_tag=-:-;;
   12165   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12166   esac
   12167   ac_save_IFS=$IFS
   12168   IFS=:
   12169   set x $ac_tag
   12170   IFS=$ac_save_IFS
   12171   shift
   12172   ac_file=$1
   12173   shift
   12174 
   12175   case $ac_mode in
   12176   :L) ac_source=$1;;
   12177   :[FH])
   12178     ac_file_inputs=
   12179     for ac_f
   12180     do
   12181       case $ac_f in
   12182       -) ac_f="$ac_tmp/stdin";;
   12183       *) # Look for the file first in the build tree, then in the source tree
   12184 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12185 	 # because $ac_f cannot contain `:'.
   12186 	 test -f "$ac_f" ||
   12187 	   case $ac_f in
   12188 	   [\\/$]*) false;;
   12189 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12190 	   esac ||
   12191 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12192       esac
   12193       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12194       as_fn_append ac_file_inputs " '$ac_f'"
   12195     done
   12196 
   12197     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12198     # use $as_me), people would be surprised to read:
   12199     #    /* config.h.  Generated by config.status.  */
   12200     configure_input='Generated from '`
   12201 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12202 	`' by configure.'
   12203     if test x"$ac_file" != x-; then
   12204       configure_input="$ac_file.  $configure_input"
   12205       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12206 $as_echo "$as_me: creating $ac_file" >&6;}
   12207     fi
   12208     # Neutralize special characters interpreted by sed in replacement strings.
   12209     case $configure_input in #(
   12210     *\&* | *\|* | *\\* )
   12211        ac_sed_conf_input=`$as_echo "$configure_input" |
   12212        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12213     *) ac_sed_conf_input=$configure_input;;
   12214     esac
   12215 
   12216     case $ac_tag in
   12217     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12218       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12219     esac
   12220     ;;
   12221   esac
   12222 
   12223   ac_dir=`$as_dirname -- "$ac_file" ||
   12224 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12225 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12226 	 X"$ac_file" : 'X\(//\)$' \| \
   12227 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12228 $as_echo X"$ac_file" |
   12229     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12230 	    s//\1/
   12231 	    q
   12232 	  }
   12233 	  /^X\(\/\/\)[^/].*/{
   12234 	    s//\1/
   12235 	    q
   12236 	  }
   12237 	  /^X\(\/\/\)$/{
   12238 	    s//\1/
   12239 	    q
   12240 	  }
   12241 	  /^X\(\/\).*/{
   12242 	    s//\1/
   12243 	    q
   12244 	  }
   12245 	  s/.*/./; q'`
   12246   as_dir="$ac_dir"; as_fn_mkdir_p
   12247   ac_builddir=.
   12248 
   12249 case "$ac_dir" in
   12250 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12251 *)
   12252   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12253   # A ".." for each directory in $ac_dir_suffix.
   12254   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12255   case $ac_top_builddir_sub in
   12256   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12257   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12258   esac ;;
   12259 esac
   12260 ac_abs_top_builddir=$ac_pwd
   12261 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12262 # for backward compatibility:
   12263 ac_top_builddir=$ac_top_build_prefix
   12264 
   12265 case $srcdir in
   12266   .)  # We are building in place.
   12267     ac_srcdir=.
   12268     ac_top_srcdir=$ac_top_builddir_sub
   12269     ac_abs_top_srcdir=$ac_pwd ;;
   12270   [\\/]* | ?:[\\/]* )  # Absolute name.
   12271     ac_srcdir=$srcdir$ac_dir_suffix;
   12272     ac_top_srcdir=$srcdir
   12273     ac_abs_top_srcdir=$srcdir ;;
   12274   *) # Relative name.
   12275     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12276     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12277     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12278 esac
   12279 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12280 
   12281 
   12282   case $ac_mode in
   12283   :F)
   12284   #
   12285   # CONFIG_FILE
   12286   #
   12287 
   12288   case $INSTALL in
   12289   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12290   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12291   esac
   12292   ac_MKDIR_P=$MKDIR_P
   12293   case $MKDIR_P in
   12294   [\\/$]* | ?:[\\/]* ) ;;
   12295   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12296   esac
   12297 _ACEOF
   12298 
   12299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12300 # If the template does not know about datarootdir, expand it.
   12301 # FIXME: This hack should be removed a few years after 2.60.
   12302 ac_datarootdir_hack=; ac_datarootdir_seen=
   12303 ac_sed_dataroot='
   12304 /datarootdir/ {
   12305   p
   12306   q
   12307 }
   12308 /@datadir@/p
   12309 /@docdir@/p
   12310 /@infodir@/p
   12311 /@localedir@/p
   12312 /@mandir@/p'
   12313 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12314 *datarootdir*) ac_datarootdir_seen=yes;;
   12315 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12316   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12317 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12318 _ACEOF
   12319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12320   ac_datarootdir_hack='
   12321   s&@datadir@&$datadir&g
   12322   s&@docdir@&$docdir&g
   12323   s&@infodir@&$infodir&g
   12324   s&@localedir@&$localedir&g
   12325   s&@mandir@&$mandir&g
   12326   s&\\\${datarootdir}&$datarootdir&g' ;;
   12327 esac
   12328 _ACEOF
   12329 
   12330 # Neutralize VPATH when `$srcdir' = `.'.
   12331 # Shell code in configure.ac might set extrasub.
   12332 # FIXME: do we really want to maintain this feature?
   12333 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12334 ac_sed_extra="$ac_vpsub
   12335 $extrasub
   12336 _ACEOF
   12337 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12338 :t
   12339 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12340 s|@configure_input@|$ac_sed_conf_input|;t t
   12341 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12342 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12343 s&@srcdir@&$ac_srcdir&;t t
   12344 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12345 s&@top_srcdir@&$ac_top_srcdir&;t t
   12346 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12347 s&@builddir@&$ac_builddir&;t t
   12348 s&@abs_builddir@&$ac_abs_builddir&;t t
   12349 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12350 s&@INSTALL@&$ac_INSTALL&;t t
   12351 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12352 $ac_datarootdir_hack
   12353 "
   12354 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12355   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12356 
   12357 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12358   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12359   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12360       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12361   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12362 which seems to be undefined.  Please make sure it is defined" >&5
   12363 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12364 which seems to be undefined.  Please make sure it is defined" >&2;}
   12365 
   12366   rm -f "$ac_tmp/stdin"
   12367   case $ac_file in
   12368   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12369   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12370   esac \
   12371   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12372  ;;
   12373   :H)
   12374   #
   12375   # CONFIG_HEADER
   12376   #
   12377   if test x"$ac_file" != x-; then
   12378     {
   12379       $as_echo "/* $configure_input  */" \
   12380       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12381     } >"$ac_tmp/config.h" \
   12382       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12383     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12384       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12385 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12386     else
   12387       rm -f "$ac_file"
   12388       mv "$ac_tmp/config.h" "$ac_file" \
   12389 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12390     fi
   12391   else
   12392     $as_echo "/* $configure_input  */" \
   12393       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12394       || as_fn_error $? "could not create -" "$LINENO" 5
   12395   fi
   12396 # Compute "$ac_file"'s index in $config_headers.
   12397 _am_arg="$ac_file"
   12398 _am_stamp_count=1
   12399 for _am_header in $config_headers :; do
   12400   case $_am_header in
   12401     $_am_arg | $_am_arg:* )
   12402       break ;;
   12403     * )
   12404       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12405   esac
   12406 done
   12407 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12408 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12409 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12410 	 X"$_am_arg" : 'X\(//\)$' \| \
   12411 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12412 $as_echo X"$_am_arg" |
   12413     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12414 	    s//\1/
   12415 	    q
   12416 	  }
   12417 	  /^X\(\/\/\)[^/].*/{
   12418 	    s//\1/
   12419 	    q
   12420 	  }
   12421 	  /^X\(\/\/\)$/{
   12422 	    s//\1/
   12423 	    q
   12424 	  }
   12425 	  /^X\(\/\).*/{
   12426 	    s//\1/
   12427 	    q
   12428 	  }
   12429 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12430  ;;
   12431 
   12432   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12433 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12434  ;;
   12435   esac
   12436 
   12437 
   12438   case $ac_file$ac_mode in
   12439     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12440   # Older Autoconf quotes --file arguments for eval, but not when files
   12441   # are listed without --file.  Let's play safe and only enable the eval
   12442   # if we detect the quoting.
   12443   case $CONFIG_FILES in
   12444   *\'*) eval set x "$CONFIG_FILES" ;;
   12445   *)   set x $CONFIG_FILES ;;
   12446   esac
   12447   shift
   12448   for mf
   12449   do
   12450     # Strip MF so we end up with the name of the file.
   12451     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12452     # Check whether this is an Automake generated Makefile or not.
   12453     # We used to match only the files named 'Makefile.in', but
   12454     # some people rename them; so instead we look at the file content.
   12455     # Grep'ing the first line is not enough: some people post-process
   12456     # each Makefile.in and add a new line on top of each file to say so.
   12457     # Grep'ing the whole file is not good either: AIX grep has a line
   12458     # limit of 2048, but all sed's we know have understand at least 4000.
   12459     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12460       dirpart=`$as_dirname -- "$mf" ||
   12461 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12462 	 X"$mf" : 'X\(//\)[^/]' \| \
   12463 	 X"$mf" : 'X\(//\)$' \| \
   12464 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12465 $as_echo X"$mf" |
   12466     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12467 	    s//\1/
   12468 	    q
   12469 	  }
   12470 	  /^X\(\/\/\)[^/].*/{
   12471 	    s//\1/
   12472 	    q
   12473 	  }
   12474 	  /^X\(\/\/\)$/{
   12475 	    s//\1/
   12476 	    q
   12477 	  }
   12478 	  /^X\(\/\).*/{
   12479 	    s//\1/
   12480 	    q
   12481 	  }
   12482 	  s/.*/./; q'`
   12483     else
   12484       continue
   12485     fi
   12486     # Extract the definition of DEPDIR, am__include, and am__quote
   12487     # from the Makefile without running 'make'.
   12488     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12489     test -z "$DEPDIR" && continue
   12490     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12491     test -z "$am__include" && continue
   12492     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12493     # Find all dependency output files, they are included files with
   12494     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12495     # simplest approach to changing $(DEPDIR) to its actual value in the
   12496     # expansion.
   12497     for file in `sed -n "
   12498       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12499 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12500       # Make sure the directory exists.
   12501       test -f "$dirpart/$file" && continue
   12502       fdir=`$as_dirname -- "$file" ||
   12503 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12504 	 X"$file" : 'X\(//\)[^/]' \| \
   12505 	 X"$file" : 'X\(//\)$' \| \
   12506 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12507 $as_echo X"$file" |
   12508     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12509 	    s//\1/
   12510 	    q
   12511 	  }
   12512 	  /^X\(\/\/\)[^/].*/{
   12513 	    s//\1/
   12514 	    q
   12515 	  }
   12516 	  /^X\(\/\/\)$/{
   12517 	    s//\1/
   12518 	    q
   12519 	  }
   12520 	  /^X\(\/\).*/{
   12521 	    s//\1/
   12522 	    q
   12523 	  }
   12524 	  s/.*/./; q'`
   12525       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12526       # echo "creating $dirpart/$file"
   12527       echo '# dummy' > "$dirpart/$file"
   12528     done
   12529   done
   12530 }
   12531  ;;
   12532 
   12533   esac
   12534 done # for ac_tag
   12535 
   12536 
   12537 as_fn_exit 0
   12538 _ACEOF
   12539 ac_clean_files=$ac_clean_files_save
   12540 
   12541 test $ac_write_fail = 0 ||
   12542   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12543 
   12544 
   12545 # configure is writing to config.log, and then calls config.status.
   12546 # config.status does its own redirection, appending to config.log.
   12547 # Unfortunately, on DOS this fails, as config.log is still kept open
   12548 # by configure, so config.status won't be able to write to it; its
   12549 # output is simply discarded.  So we exec the FD to /dev/null,
   12550 # effectively closing config.log, so it can be properly (re)opened and
   12551 # appended to by config.status.  When coming back to configure, we
   12552 # need to make the FD available again.
   12553 if test "$no_create" != yes; then
   12554   ac_cs_success=:
   12555   ac_config_status_args=
   12556   test "$silent" = yes &&
   12557     ac_config_status_args="$ac_config_status_args --quiet"
   12558   exec 5>/dev/null
   12559   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12560   exec 5>>config.log
   12561   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12562   # would make configure fail if this is the last instruction.
   12563   $ac_cs_success || as_fn_exit 1
   12564 fi
   12565 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12566   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12567 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12568 fi
   12569 
   12570