Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xrefresh 1.0.6.
      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='xrefresh'
    583 PACKAGE_TARNAME='xrefresh'
    584 PACKAGE_VERSION='1.0.6'
    585 PACKAGE_STRING='xrefresh 1.0.6'
    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 XREFRESH_LIBS
    631 XREFRESH_CFLAGS
    632 MAN_SUBSTS
    633 XORG_MAN_PAGE
    634 ADMIN_MAN_DIR
    635 DRIVER_MAN_DIR
    636 MISC_MAN_DIR
    637 FILE_MAN_DIR
    638 LIB_MAN_DIR
    639 APP_MAN_DIR
    640 ADMIN_MAN_SUFFIX
    641 DRIVER_MAN_SUFFIX
    642 MISC_MAN_SUFFIX
    643 FILE_MAN_SUFFIX
    644 LIB_MAN_SUFFIX
    645 APP_MAN_SUFFIX
    646 SED
    647 host_os
    648 host_vendor
    649 host_cpu
    650 host
    651 build_os
    652 build_vendor
    653 build_cpu
    654 build
    655 INSTALL_CMD
    656 PKG_CONFIG_LIBDIR
    657 PKG_CONFIG_PATH
    658 PKG_CONFIG
    659 CHANGELOG_CMD
    660 STRICT_CFLAGS
    661 CWARNFLAGS
    662 BASE_CFLAGS
    663 AM_BACKSLASH
    664 AM_DEFAULT_VERBOSITY
    665 AM_DEFAULT_V
    666 AM_V
    667 am__fastdepCC_FALSE
    668 am__fastdepCC_TRUE
    669 CCDEPMODE
    670 am__nodep
    671 AMDEPBACKSLASH
    672 AMDEP_FALSE
    673 AMDEP_TRUE
    674 am__quote
    675 am__include
    676 DEPDIR
    677 am__untar
    678 am__tar
    679 AMTAR
    680 am__leading_dot
    681 SET_MAKE
    682 AWK
    683 mkdir_p
    684 MKDIR_P
    685 INSTALL_STRIP_PROGRAM
    686 STRIP
    687 install_sh
    688 MAKEINFO
    689 AUTOHEADER
    690 AUTOMAKE
    691 AUTOCONF
    692 ACLOCAL
    693 VERSION
    694 PACKAGE
    695 CYGPATH_W
    696 am__isrc
    697 INSTALL_DATA
    698 INSTALL_SCRIPT
    699 INSTALL_PROGRAM
    700 EGREP
    701 GREP
    702 CPP
    703 OBJEXT
    704 EXEEXT
    705 ac_ct_CC
    706 CPPFLAGS
    707 LDFLAGS
    708 CFLAGS
    709 CC
    710 target_alias
    711 host_alias
    712 build_alias
    713 LIBS
    714 ECHO_T
    715 ECHO_N
    716 ECHO_C
    717 DEFS
    718 mandir
    719 localedir
    720 libdir
    721 psdir
    722 pdfdir
    723 dvidir
    724 htmldir
    725 infodir
    726 docdir
    727 oldincludedir
    728 includedir
    729 localstatedir
    730 sharedstatedir
    731 sysconfdir
    732 datadir
    733 datarootdir
    734 libexecdir
    735 sbindir
    736 bindir
    737 program_transform_name
    738 prefix
    739 exec_prefix
    740 PACKAGE_URL
    741 PACKAGE_BUGREPORT
    742 PACKAGE_STRING
    743 PACKAGE_VERSION
    744 PACKAGE_TARNAME
    745 PACKAGE_NAME
    746 PATH_SEPARATOR
    747 SHELL'
    748 ac_subst_files=''
    749 ac_user_opts='
    750 enable_option_checking
    751 enable_dependency_tracking
    752 enable_silent_rules
    753 enable_selective_werror
    754 enable_strict_compilation
    755 '
    756       ac_precious_vars='build_alias
    757 host_alias
    758 target_alias
    759 CC
    760 CFLAGS
    761 LDFLAGS
    762 LIBS
    763 CPPFLAGS
    764 CPP
    765 PKG_CONFIG
    766 PKG_CONFIG_PATH
    767 PKG_CONFIG_LIBDIR
    768 XREFRESH_CFLAGS
    769 XREFRESH_LIBS'
    770 
    771 
    772 # Initialize some variables set by options.
    773 ac_init_help=
    774 ac_init_version=false
    775 ac_unrecognized_opts=
    776 ac_unrecognized_sep=
    777 # The variables have the same names as the options, with
    778 # dashes changed to underlines.
    779 cache_file=/dev/null
    780 exec_prefix=NONE
    781 no_create=
    782 no_recursion=
    783 prefix=NONE
    784 program_prefix=NONE
    785 program_suffix=NONE
    786 program_transform_name=s,x,x,
    787 silent=
    788 site=
    789 srcdir=
    790 verbose=
    791 x_includes=NONE
    792 x_libraries=NONE
    793 
    794 # Installation directory options.
    795 # These are left unexpanded so users can "make install exec_prefix=/foo"
    796 # and all the variables that are supposed to be based on exec_prefix
    797 # by default will actually change.
    798 # Use braces instead of parens because sh, perl, etc. also accept them.
    799 # (The list follows the same order as the GNU Coding Standards.)
    800 bindir='${exec_prefix}/bin'
    801 sbindir='${exec_prefix}/sbin'
    802 libexecdir='${exec_prefix}/libexec'
    803 datarootdir='${prefix}/share'
    804 datadir='${datarootdir}'
    805 sysconfdir='${prefix}/etc'
    806 sharedstatedir='${prefix}/com'
    807 localstatedir='${prefix}/var'
    808 includedir='${prefix}/include'
    809 oldincludedir='/usr/include'
    810 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    811 infodir='${datarootdir}/info'
    812 htmldir='${docdir}'
    813 dvidir='${docdir}'
    814 pdfdir='${docdir}'
    815 psdir='${docdir}'
    816 libdir='${exec_prefix}/lib'
    817 localedir='${datarootdir}/locale'
    818 mandir='${datarootdir}/man'
    819 
    820 ac_prev=
    821 ac_dashdash=
    822 for ac_option
    823 do
    824   # If the previous option needs an argument, assign it.
    825   if test -n "$ac_prev"; then
    826     eval $ac_prev=\$ac_option
    827     ac_prev=
    828     continue
    829   fi
    830 
    831   case $ac_option in
    832   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    833   *=)   ac_optarg= ;;
    834   *)    ac_optarg=yes ;;
    835   esac
    836 
    837   # Accept the important Cygnus configure options, so we can diagnose typos.
    838 
    839   case $ac_dashdash$ac_option in
    840   --)
    841     ac_dashdash=yes ;;
    842 
    843   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    844     ac_prev=bindir ;;
    845   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    846     bindir=$ac_optarg ;;
    847 
    848   -build | --build | --buil | --bui | --bu)
    849     ac_prev=build_alias ;;
    850   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    851     build_alias=$ac_optarg ;;
    852 
    853   -cache-file | --cache-file | --cache-fil | --cache-fi \
    854   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    855     ac_prev=cache_file ;;
    856   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    857   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    858     cache_file=$ac_optarg ;;
    859 
    860   --config-cache | -C)
    861     cache_file=config.cache ;;
    862 
    863   -datadir | --datadir | --datadi | --datad)
    864     ac_prev=datadir ;;
    865   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    866     datadir=$ac_optarg ;;
    867 
    868   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    869   | --dataroo | --dataro | --datar)
    870     ac_prev=datarootdir ;;
    871   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    872   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    873     datarootdir=$ac_optarg ;;
    874 
    875   -disable-* | --disable-*)
    876     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    877     # Reject names that are not valid shell variable names.
    878     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    879       as_fn_error $? "invalid feature name: $ac_useropt"
    880     ac_useropt_orig=$ac_useropt
    881     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    882     case $ac_user_opts in
    883       *"
    884 "enable_$ac_useropt"
    885 "*) ;;
    886       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    887 	 ac_unrecognized_sep=', ';;
    888     esac
    889     eval enable_$ac_useropt=no ;;
    890 
    891   -docdir | --docdir | --docdi | --doc | --do)
    892     ac_prev=docdir ;;
    893   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    894     docdir=$ac_optarg ;;
    895 
    896   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    897     ac_prev=dvidir ;;
    898   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    899     dvidir=$ac_optarg ;;
    900 
    901   -enable-* | --enable-*)
    902     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    903     # Reject names that are not valid shell variable names.
    904     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    905       as_fn_error $? "invalid feature name: $ac_useropt"
    906     ac_useropt_orig=$ac_useropt
    907     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    908     case $ac_user_opts in
    909       *"
    910 "enable_$ac_useropt"
    911 "*) ;;
    912       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    913 	 ac_unrecognized_sep=', ';;
    914     esac
    915     eval enable_$ac_useropt=\$ac_optarg ;;
    916 
    917   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    918   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    919   | --exec | --exe | --ex)
    920     ac_prev=exec_prefix ;;
    921   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    922   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    923   | --exec=* | --exe=* | --ex=*)
    924     exec_prefix=$ac_optarg ;;
    925 
    926   -gas | --gas | --ga | --g)
    927     # Obsolete; use --with-gas.
    928     with_gas=yes ;;
    929 
    930   -help | --help | --hel | --he | -h)
    931     ac_init_help=long ;;
    932   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    933     ac_init_help=recursive ;;
    934   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    935     ac_init_help=short ;;
    936 
    937   -host | --host | --hos | --ho)
    938     ac_prev=host_alias ;;
    939   -host=* | --host=* | --hos=* | --ho=*)
    940     host_alias=$ac_optarg ;;
    941 
    942   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    943     ac_prev=htmldir ;;
    944   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    945   | --ht=*)
    946     htmldir=$ac_optarg ;;
    947 
    948   -includedir | --includedir | --includedi | --included | --include \
    949   | --includ | --inclu | --incl | --inc)
    950     ac_prev=includedir ;;
    951   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    952   | --includ=* | --inclu=* | --incl=* | --inc=*)
    953     includedir=$ac_optarg ;;
    954 
    955   -infodir | --infodir | --infodi | --infod | --info | --inf)
    956     ac_prev=infodir ;;
    957   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    958     infodir=$ac_optarg ;;
    959 
    960   -libdir | --libdir | --libdi | --libd)
    961     ac_prev=libdir ;;
    962   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    963     libdir=$ac_optarg ;;
    964 
    965   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    966   | --libexe | --libex | --libe)
    967     ac_prev=libexecdir ;;
    968   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    969   | --libexe=* | --libex=* | --libe=*)
    970     libexecdir=$ac_optarg ;;
    971 
    972   -localedir | --localedir | --localedi | --localed | --locale)
    973     ac_prev=localedir ;;
    974   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    975     localedir=$ac_optarg ;;
    976 
    977   -localstatedir | --localstatedir | --localstatedi | --localstated \
    978   | --localstate | --localstat | --localsta | --localst | --locals)
    979     ac_prev=localstatedir ;;
    980   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    981   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    982     localstatedir=$ac_optarg ;;
    983 
    984   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    985     ac_prev=mandir ;;
    986   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    987     mandir=$ac_optarg ;;
    988 
    989   -nfp | --nfp | --nf)
    990     # Obsolete; use --without-fp.
    991     with_fp=no ;;
    992 
    993   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    994   | --no-cr | --no-c | -n)
    995     no_create=yes ;;
    996 
    997   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    998   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    999     no_recursion=yes ;;
   1000 
   1001   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1002   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1003   | --oldin | --oldi | --old | --ol | --o)
   1004     ac_prev=oldincludedir ;;
   1005   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1006   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1007   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1008     oldincludedir=$ac_optarg ;;
   1009 
   1010   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1011     ac_prev=prefix ;;
   1012   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1013     prefix=$ac_optarg ;;
   1014 
   1015   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1016   | --program-pre | --program-pr | --program-p)
   1017     ac_prev=program_prefix ;;
   1018   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1019   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1020     program_prefix=$ac_optarg ;;
   1021 
   1022   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1023   | --program-suf | --program-su | --program-s)
   1024     ac_prev=program_suffix ;;
   1025   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1026   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1027     program_suffix=$ac_optarg ;;
   1028 
   1029   -program-transform-name | --program-transform-name \
   1030   | --program-transform-nam | --program-transform-na \
   1031   | --program-transform-n | --program-transform- \
   1032   | --program-transform | --program-transfor \
   1033   | --program-transfo | --program-transf \
   1034   | --program-trans | --program-tran \
   1035   | --progr-tra | --program-tr | --program-t)
   1036     ac_prev=program_transform_name ;;
   1037   -program-transform-name=* | --program-transform-name=* \
   1038   | --program-transform-nam=* | --program-transform-na=* \
   1039   | --program-transform-n=* | --program-transform-=* \
   1040   | --program-transform=* | --program-transfor=* \
   1041   | --program-transfo=* | --program-transf=* \
   1042   | --program-trans=* | --program-tran=* \
   1043   | --progr-tra=* | --program-tr=* | --program-t=*)
   1044     program_transform_name=$ac_optarg ;;
   1045 
   1046   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1047     ac_prev=pdfdir ;;
   1048   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1049     pdfdir=$ac_optarg ;;
   1050 
   1051   -psdir | --psdir | --psdi | --psd | --ps)
   1052     ac_prev=psdir ;;
   1053   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1054     psdir=$ac_optarg ;;
   1055 
   1056   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1057   | -silent | --silent | --silen | --sile | --sil)
   1058     silent=yes ;;
   1059 
   1060   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1061     ac_prev=sbindir ;;
   1062   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1063   | --sbi=* | --sb=*)
   1064     sbindir=$ac_optarg ;;
   1065 
   1066   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1067   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1068   | --sharedst | --shareds | --shared | --share | --shar \
   1069   | --sha | --sh)
   1070     ac_prev=sharedstatedir ;;
   1071   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1072   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1073   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1074   | --sha=* | --sh=*)
   1075     sharedstatedir=$ac_optarg ;;
   1076 
   1077   -site | --site | --sit)
   1078     ac_prev=site ;;
   1079   -site=* | --site=* | --sit=*)
   1080     site=$ac_optarg ;;
   1081 
   1082   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1083     ac_prev=srcdir ;;
   1084   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1085     srcdir=$ac_optarg ;;
   1086 
   1087   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1088   | --syscon | --sysco | --sysc | --sys | --sy)
   1089     ac_prev=sysconfdir ;;
   1090   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1091   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1092     sysconfdir=$ac_optarg ;;
   1093 
   1094   -target | --target | --targe | --targ | --tar | --ta | --t)
   1095     ac_prev=target_alias ;;
   1096   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1097     target_alias=$ac_optarg ;;
   1098 
   1099   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1100     verbose=yes ;;
   1101 
   1102   -version | --version | --versio | --versi | --vers | -V)
   1103     ac_init_version=: ;;
   1104 
   1105   -with-* | --with-*)
   1106     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1107     # Reject names that are not valid shell variable names.
   1108     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1109       as_fn_error $? "invalid package name: $ac_useropt"
   1110     ac_useropt_orig=$ac_useropt
   1111     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1112     case $ac_user_opts in
   1113       *"
   1114 "with_$ac_useropt"
   1115 "*) ;;
   1116       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1117 	 ac_unrecognized_sep=', ';;
   1118     esac
   1119     eval with_$ac_useropt=\$ac_optarg ;;
   1120 
   1121   -without-* | --without-*)
   1122     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1123     # Reject names that are not valid shell variable names.
   1124     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1125       as_fn_error $? "invalid package name: $ac_useropt"
   1126     ac_useropt_orig=$ac_useropt
   1127     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1128     case $ac_user_opts in
   1129       *"
   1130 "with_$ac_useropt"
   1131 "*) ;;
   1132       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1133 	 ac_unrecognized_sep=', ';;
   1134     esac
   1135     eval with_$ac_useropt=no ;;
   1136 
   1137   --x)
   1138     # Obsolete; use --with-x.
   1139     with_x=yes ;;
   1140 
   1141   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1142   | --x-incl | --x-inc | --x-in | --x-i)
   1143     ac_prev=x_includes ;;
   1144   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1145   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1146     x_includes=$ac_optarg ;;
   1147 
   1148   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1149   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1150     ac_prev=x_libraries ;;
   1151   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1152   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1153     x_libraries=$ac_optarg ;;
   1154 
   1155   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1156 Try \`$0 --help' for more information"
   1157     ;;
   1158 
   1159   *=*)
   1160     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1161     # Reject names that are not valid shell variable names.
   1162     case $ac_envvar in #(
   1163       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1164       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1165     esac
   1166     eval $ac_envvar=\$ac_optarg
   1167     export $ac_envvar ;;
   1168 
   1169   *)
   1170     # FIXME: should be removed in autoconf 3.0.
   1171     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1172     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1173       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1174     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1175     ;;
   1176 
   1177   esac
   1178 done
   1179 
   1180 if test -n "$ac_prev"; then
   1181   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1182   as_fn_error $? "missing argument to $ac_option"
   1183 fi
   1184 
   1185 if test -n "$ac_unrecognized_opts"; then
   1186   case $enable_option_checking in
   1187     no) ;;
   1188     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1189     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1190   esac
   1191 fi
   1192 
   1193 # Check all directory arguments for consistency.
   1194 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1195 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1196 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1197 		libdir localedir mandir
   1198 do
   1199   eval ac_val=\$$ac_var
   1200   # Remove trailing slashes.
   1201   case $ac_val in
   1202     */ )
   1203       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1204       eval $ac_var=\$ac_val;;
   1205   esac
   1206   # Be sure to have absolute directory names.
   1207   case $ac_val in
   1208     [\\/$]* | ?:[\\/]* )  continue;;
   1209     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1210   esac
   1211   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1212 done
   1213 
   1214 # There might be people who depend on the old broken behavior: `$host'
   1215 # used to hold the argument of --host etc.
   1216 # FIXME: To remove some day.
   1217 build=$build_alias
   1218 host=$host_alias
   1219 target=$target_alias
   1220 
   1221 # FIXME: To remove some day.
   1222 if test "x$host_alias" != x; then
   1223   if test "x$build_alias" = x; then
   1224     cross_compiling=maybe
   1225   elif test "x$build_alias" != "x$host_alias"; then
   1226     cross_compiling=yes
   1227   fi
   1228 fi
   1229 
   1230 ac_tool_prefix=
   1231 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1232 
   1233 test "$silent" = yes && exec 6>/dev/null
   1234 
   1235 
   1236 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1237 ac_ls_di=`ls -di .` &&
   1238 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1239   as_fn_error $? "working directory cannot be determined"
   1240 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1241   as_fn_error $? "pwd does not report name of working directory"
   1242 
   1243 
   1244 # Find the source files, if location was not specified.
   1245 if test -z "$srcdir"; then
   1246   ac_srcdir_defaulted=yes
   1247   # Try the directory containing this script, then the parent directory.
   1248   ac_confdir=`$as_dirname -- "$as_myself" ||
   1249 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1250 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1251 	 X"$as_myself" : 'X\(//\)$' \| \
   1252 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1253 $as_echo X"$as_myself" |
   1254     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1255 	    s//\1/
   1256 	    q
   1257 	  }
   1258 	  /^X\(\/\/\)[^/].*/{
   1259 	    s//\1/
   1260 	    q
   1261 	  }
   1262 	  /^X\(\/\/\)$/{
   1263 	    s//\1/
   1264 	    q
   1265 	  }
   1266 	  /^X\(\/\).*/{
   1267 	    s//\1/
   1268 	    q
   1269 	  }
   1270 	  s/.*/./; q'`
   1271   srcdir=$ac_confdir
   1272   if test ! -r "$srcdir/$ac_unique_file"; then
   1273     srcdir=..
   1274   fi
   1275 else
   1276   ac_srcdir_defaulted=no
   1277 fi
   1278 if test ! -r "$srcdir/$ac_unique_file"; then
   1279   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1280   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1281 fi
   1282 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1283 ac_abs_confdir=`(
   1284 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1285 	pwd)`
   1286 # When building in place, set srcdir=.
   1287 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1288   srcdir=.
   1289 fi
   1290 # Remove unnecessary trailing slashes from srcdir.
   1291 # Double slashes in file names in object file debugging info
   1292 # mess up M-x gdb in Emacs.
   1293 case $srcdir in
   1294 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1295 esac
   1296 for ac_var in $ac_precious_vars; do
   1297   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1298   eval ac_env_${ac_var}_value=\$${ac_var}
   1299   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1300   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1301 done
   1302 
   1303 #
   1304 # Report the --help message.
   1305 #
   1306 if test "$ac_init_help" = "long"; then
   1307   # Omit some internal or obsolete options to make the list less imposing.
   1308   # This message is too long to be a string in the A/UX 3.1 sh.
   1309   cat <<_ACEOF
   1310 \`configure' configures xrefresh 1.0.6 to adapt to many kinds of systems.
   1311 
   1312 Usage: $0 [OPTION]... [VAR=VALUE]...
   1313 
   1314 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1315 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1316 
   1317 Defaults for the options are specified in brackets.
   1318 
   1319 Configuration:
   1320   -h, --help              display this help and exit
   1321       --help=short        display options specific to this package
   1322       --help=recursive    display the short help of all the included packages
   1323   -V, --version           display version information and exit
   1324   -q, --quiet, --silent   do not print \`checking ...' messages
   1325       --cache-file=FILE   cache test results in FILE [disabled]
   1326   -C, --config-cache      alias for \`--cache-file=config.cache'
   1327   -n, --no-create         do not create output files
   1328       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1329 
   1330 Installation directories:
   1331   --prefix=PREFIX         install architecture-independent files in PREFIX
   1332                           [$ac_default_prefix]
   1333   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1334                           [PREFIX]
   1335 
   1336 By default, \`make install' will install all the files in
   1337 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1338 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1339 for instance \`--prefix=\$HOME'.
   1340 
   1341 For better control, use the options below.
   1342 
   1343 Fine tuning of the installation directories:
   1344   --bindir=DIR            user executables [EPREFIX/bin]
   1345   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1346   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1347   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1348   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1349   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1350   --libdir=DIR            object code libraries [EPREFIX/lib]
   1351   --includedir=DIR        C header files [PREFIX/include]
   1352   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1353   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1354   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1355   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1356   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1357   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1358   --docdir=DIR            documentation root [DATAROOTDIR/doc/xrefresh]
   1359   --htmldir=DIR           html documentation [DOCDIR]
   1360   --dvidir=DIR            dvi documentation [DOCDIR]
   1361   --pdfdir=DIR            pdf documentation [DOCDIR]
   1362   --psdir=DIR             ps documentation [DOCDIR]
   1363 _ACEOF
   1364 
   1365   cat <<\_ACEOF
   1366 
   1367 Program names:
   1368   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1369   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1370   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1371 
   1372 System types:
   1373   --build=BUILD     configure for building on BUILD [guessed]
   1374   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1375 _ACEOF
   1376 fi
   1377 
   1378 if test -n "$ac_init_help"; then
   1379   case $ac_init_help in
   1380      short | recursive ) echo "Configuration of xrefresh 1.0.6:";;
   1381    esac
   1382   cat <<\_ACEOF
   1383 
   1384 Optional Features:
   1385   --disable-option-checking  ignore unrecognized --enable/--with options
   1386   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1387   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1388   --enable-dependency-tracking
   1389                           do not reject slow dependency extractors
   1390   --disable-dependency-tracking
   1391                           speeds up one-time build
   1392   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1393   --disable-silent-rules  verbose build output (undo: "make V=0")
   1394   --disable-selective-werror
   1395                           Turn off selective compiler errors. (default:
   1396                           enabled)
   1397   --enable-strict-compilation
   1398                           Enable all warnings from compiler and make them
   1399                           errors (default: disabled)
   1400 
   1401 Some influential environment variables:
   1402   CC          C compiler command
   1403   CFLAGS      C compiler flags
   1404   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1405               nonstandard directory <lib dir>
   1406   LIBS        libraries to pass to the linker, e.g. -l<library>
   1407   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1408               you have headers in a nonstandard directory <include dir>
   1409   CPP         C preprocessor
   1410   PKG_CONFIG  path to pkg-config utility
   1411   PKG_CONFIG_PATH
   1412               directories to add to pkg-config's search path
   1413   PKG_CONFIG_LIBDIR
   1414               path overriding pkg-config's built-in search path
   1415   XREFRESH_CFLAGS
   1416               C compiler flags for XREFRESH, overriding pkg-config
   1417   XREFRESH_LIBS
   1418               linker flags for XREFRESH, overriding pkg-config
   1419 
   1420 Use these variables to override the choices made by `configure' or to help
   1421 it to find libraries and programs with nonstandard names/locations.
   1422 
   1423 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1424 _ACEOF
   1425 ac_status=$?
   1426 fi
   1427 
   1428 if test "$ac_init_help" = "recursive"; then
   1429   # If there are subdirs, report their specific --help.
   1430   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1431     test -d "$ac_dir" ||
   1432       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1433       continue
   1434     ac_builddir=.
   1435 
   1436 case "$ac_dir" in
   1437 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1438 *)
   1439   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1440   # A ".." for each directory in $ac_dir_suffix.
   1441   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1442   case $ac_top_builddir_sub in
   1443   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1444   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1445   esac ;;
   1446 esac
   1447 ac_abs_top_builddir=$ac_pwd
   1448 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1449 # for backward compatibility:
   1450 ac_top_builddir=$ac_top_build_prefix
   1451 
   1452 case $srcdir in
   1453   .)  # We are building in place.
   1454     ac_srcdir=.
   1455     ac_top_srcdir=$ac_top_builddir_sub
   1456     ac_abs_top_srcdir=$ac_pwd ;;
   1457   [\\/]* | ?:[\\/]* )  # Absolute name.
   1458     ac_srcdir=$srcdir$ac_dir_suffix;
   1459     ac_top_srcdir=$srcdir
   1460     ac_abs_top_srcdir=$srcdir ;;
   1461   *) # Relative name.
   1462     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1463     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1464     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1465 esac
   1466 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1467 
   1468     cd "$ac_dir" || { ac_status=$?; continue; }
   1469     # Check for guested configure.
   1470     if test -f "$ac_srcdir/configure.gnu"; then
   1471       echo &&
   1472       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1473     elif test -f "$ac_srcdir/configure"; then
   1474       echo &&
   1475       $SHELL "$ac_srcdir/configure" --help=recursive
   1476     else
   1477       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1478     fi || ac_status=$?
   1479     cd "$ac_pwd" || { ac_status=$?; break; }
   1480   done
   1481 fi
   1482 
   1483 test -n "$ac_init_help" && exit $ac_status
   1484 if $ac_init_version; then
   1485   cat <<\_ACEOF
   1486 xrefresh configure 1.0.6
   1487 generated by GNU Autoconf 2.69
   1488 
   1489 Copyright (C) 2012 Free Software Foundation, Inc.
   1490 This configure script is free software; the Free Software Foundation
   1491 gives unlimited permission to copy, distribute and modify it.
   1492 _ACEOF
   1493   exit
   1494 fi
   1495 
   1496 ## ------------------------ ##
   1497 ## Autoconf initialization. ##
   1498 ## ------------------------ ##
   1499 
   1500 # ac_fn_c_try_compile LINENO
   1501 # --------------------------
   1502 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1503 ac_fn_c_try_compile ()
   1504 {
   1505   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1506   rm -f conftest.$ac_objext
   1507   if { { ac_try="$ac_compile"
   1508 case "(($ac_try" in
   1509   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1510   *) ac_try_echo=$ac_try;;
   1511 esac
   1512 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1513 $as_echo "$ac_try_echo"; } >&5
   1514   (eval "$ac_compile") 2>conftest.err
   1515   ac_status=$?
   1516   if test -s conftest.err; then
   1517     grep -v '^ *+' conftest.err >conftest.er1
   1518     cat conftest.er1 >&5
   1519     mv -f conftest.er1 conftest.err
   1520   fi
   1521   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1522   test $ac_status = 0; } && {
   1523 	 test -z "$ac_c_werror_flag" ||
   1524 	 test ! -s conftest.err
   1525        } && test -s conftest.$ac_objext; then :
   1526   ac_retval=0
   1527 else
   1528   $as_echo "$as_me: failed program was:" >&5
   1529 sed 's/^/| /' conftest.$ac_ext >&5
   1530 
   1531 	ac_retval=1
   1532 fi
   1533   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1534   as_fn_set_status $ac_retval
   1535 
   1536 } # ac_fn_c_try_compile
   1537 
   1538 # ac_fn_c_try_cpp LINENO
   1539 # ----------------------
   1540 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1541 ac_fn_c_try_cpp ()
   1542 {
   1543   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1544   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1545 case "(($ac_try" in
   1546   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1547   *) ac_try_echo=$ac_try;;
   1548 esac
   1549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1550 $as_echo "$ac_try_echo"; } >&5
   1551   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1552   ac_status=$?
   1553   if test -s conftest.err; then
   1554     grep -v '^ *+' conftest.err >conftest.er1
   1555     cat conftest.er1 >&5
   1556     mv -f conftest.er1 conftest.err
   1557   fi
   1558   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1559   test $ac_status = 0; } > conftest.i && {
   1560 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1561 	 test ! -s conftest.err
   1562        }; then :
   1563   ac_retval=0
   1564 else
   1565   $as_echo "$as_me: failed program was:" >&5
   1566 sed 's/^/| /' conftest.$ac_ext >&5
   1567 
   1568     ac_retval=1
   1569 fi
   1570   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1571   as_fn_set_status $ac_retval
   1572 
   1573 } # ac_fn_c_try_cpp
   1574 
   1575 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1576 # -------------------------------------------------------
   1577 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1578 # the include files in INCLUDES and setting the cache variable VAR
   1579 # accordingly.
   1580 ac_fn_c_check_header_mongrel ()
   1581 {
   1582   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1583   if eval \${$3+:} false; then :
   1584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1585 $as_echo_n "checking for $2... " >&6; }
   1586 if eval \${$3+:} false; then :
   1587   $as_echo_n "(cached) " >&6
   1588 fi
   1589 eval ac_res=\$$3
   1590 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1591 $as_echo "$ac_res" >&6; }
   1592 else
   1593   # Is the header compilable?
   1594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1595 $as_echo_n "checking $2 usability... " >&6; }
   1596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1597 /* end confdefs.h.  */
   1598 $4
   1599 #include <$2>
   1600 _ACEOF
   1601 if ac_fn_c_try_compile "$LINENO"; then :
   1602   ac_header_compiler=yes
   1603 else
   1604   ac_header_compiler=no
   1605 fi
   1606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1608 $as_echo "$ac_header_compiler" >&6; }
   1609 
   1610 # Is the header present?
   1611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1612 $as_echo_n "checking $2 presence... " >&6; }
   1613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1614 /* end confdefs.h.  */
   1615 #include <$2>
   1616 _ACEOF
   1617 if ac_fn_c_try_cpp "$LINENO"; then :
   1618   ac_header_preproc=yes
   1619 else
   1620   ac_header_preproc=no
   1621 fi
   1622 rm -f conftest.err conftest.i conftest.$ac_ext
   1623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1624 $as_echo "$ac_header_preproc" >&6; }
   1625 
   1626 # So?  What about this header?
   1627 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1628   yes:no: )
   1629     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1630 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1631     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1632 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1633     ;;
   1634   no:yes:* )
   1635     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1636 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1637     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1638 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1639     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1640 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1641     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1642 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1643     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1644 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1645 ( $as_echo "## ---------------------------------------------------------------------- ##
   1646 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1647 ## ---------------------------------------------------------------------- ##"
   1648      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1649     ;;
   1650 esac
   1651   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1652 $as_echo_n "checking for $2... " >&6; }
   1653 if eval \${$3+:} false; then :
   1654   $as_echo_n "(cached) " >&6
   1655 else
   1656   eval "$3=\$ac_header_compiler"
   1657 fi
   1658 eval ac_res=\$$3
   1659 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1660 $as_echo "$ac_res" >&6; }
   1661 fi
   1662   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1663 
   1664 } # ac_fn_c_check_header_mongrel
   1665 
   1666 # ac_fn_c_try_run LINENO
   1667 # ----------------------
   1668 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1669 # that executables *can* be run.
   1670 ac_fn_c_try_run ()
   1671 {
   1672   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1673   if { { ac_try="$ac_link"
   1674 case "(($ac_try" in
   1675   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1676   *) ac_try_echo=$ac_try;;
   1677 esac
   1678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1679 $as_echo "$ac_try_echo"; } >&5
   1680   (eval "$ac_link") 2>&5
   1681   ac_status=$?
   1682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1683   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1684   { { case "(($ac_try" in
   1685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1686   *) ac_try_echo=$ac_try;;
   1687 esac
   1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1689 $as_echo "$ac_try_echo"; } >&5
   1690   (eval "$ac_try") 2>&5
   1691   ac_status=$?
   1692   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1693   test $ac_status = 0; }; }; then :
   1694   ac_retval=0
   1695 else
   1696   $as_echo "$as_me: program exited with status $ac_status" >&5
   1697        $as_echo "$as_me: failed program was:" >&5
   1698 sed 's/^/| /' conftest.$ac_ext >&5
   1699 
   1700        ac_retval=$ac_status
   1701 fi
   1702   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1703   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1704   as_fn_set_status $ac_retval
   1705 
   1706 } # ac_fn_c_try_run
   1707 
   1708 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1709 # -------------------------------------------------------
   1710 # Tests whether HEADER exists and can be compiled using the include files in
   1711 # INCLUDES, setting the cache variable VAR accordingly.
   1712 ac_fn_c_check_header_compile ()
   1713 {
   1714   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1716 $as_echo_n "checking for $2... " >&6; }
   1717 if eval \${$3+:} false; then :
   1718   $as_echo_n "(cached) " >&6
   1719 else
   1720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1721 /* end confdefs.h.  */
   1722 $4
   1723 #include <$2>
   1724 _ACEOF
   1725 if ac_fn_c_try_compile "$LINENO"; then :
   1726   eval "$3=yes"
   1727 else
   1728   eval "$3=no"
   1729 fi
   1730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1731 fi
   1732 eval ac_res=\$$3
   1733 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1734 $as_echo "$ac_res" >&6; }
   1735   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1736 
   1737 } # ac_fn_c_check_header_compile
   1738 
   1739 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1740 # ---------------------------------------------
   1741 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1742 # accordingly.
   1743 ac_fn_c_check_decl ()
   1744 {
   1745   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1746   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1747   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1749 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1750 if eval \${$3+:} false; then :
   1751   $as_echo_n "(cached) " >&6
   1752 else
   1753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1754 /* end confdefs.h.  */
   1755 $4
   1756 int
   1757 main ()
   1758 {
   1759 #ifndef $as_decl_name
   1760 #ifdef __cplusplus
   1761   (void) $as_decl_use;
   1762 #else
   1763   (void) $as_decl_name;
   1764 #endif
   1765 #endif
   1766 
   1767   ;
   1768   return 0;
   1769 }
   1770 _ACEOF
   1771 if ac_fn_c_try_compile "$LINENO"; then :
   1772   eval "$3=yes"
   1773 else
   1774   eval "$3=no"
   1775 fi
   1776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1777 fi
   1778 eval ac_res=\$$3
   1779 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1780 $as_echo "$ac_res" >&6; }
   1781   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1782 
   1783 } # ac_fn_c_check_decl
   1784 
   1785 # ac_fn_c_try_link LINENO
   1786 # -----------------------
   1787 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1788 ac_fn_c_try_link ()
   1789 {
   1790   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1791   rm -f conftest.$ac_objext conftest$ac_exeext
   1792   if { { ac_try="$ac_link"
   1793 case "(($ac_try" in
   1794   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1795   *) ac_try_echo=$ac_try;;
   1796 esac
   1797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1798 $as_echo "$ac_try_echo"; } >&5
   1799   (eval "$ac_link") 2>conftest.err
   1800   ac_status=$?
   1801   if test -s conftest.err; then
   1802     grep -v '^ *+' conftest.err >conftest.er1
   1803     cat conftest.er1 >&5
   1804     mv -f conftest.er1 conftest.err
   1805   fi
   1806   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1807   test $ac_status = 0; } && {
   1808 	 test -z "$ac_c_werror_flag" ||
   1809 	 test ! -s conftest.err
   1810        } && test -s conftest$ac_exeext && {
   1811 	 test "$cross_compiling" = yes ||
   1812 	 test -x conftest$ac_exeext
   1813        }; then :
   1814   ac_retval=0
   1815 else
   1816   $as_echo "$as_me: failed program was:" >&5
   1817 sed 's/^/| /' conftest.$ac_ext >&5
   1818 
   1819 	ac_retval=1
   1820 fi
   1821   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1822   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1823   # interfere with the next link command; also delete a directory that is
   1824   # left behind by Apple's compiler.  We do this before executing the actions.
   1825   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1826   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1827   as_fn_set_status $ac_retval
   1828 
   1829 } # ac_fn_c_try_link
   1830 
   1831 # ac_fn_c_check_func LINENO FUNC VAR
   1832 # ----------------------------------
   1833 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1834 ac_fn_c_check_func ()
   1835 {
   1836   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1838 $as_echo_n "checking for $2... " >&6; }
   1839 if eval \${$3+:} false; then :
   1840   $as_echo_n "(cached) " >&6
   1841 else
   1842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1843 /* end confdefs.h.  */
   1844 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1845    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1846 #define $2 innocuous_$2
   1847 
   1848 /* System header to define __stub macros and hopefully few prototypes,
   1849     which can conflict with char $2 (); below.
   1850     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1851     <limits.h> exists even on freestanding compilers.  */
   1852 
   1853 #ifdef __STDC__
   1854 # include <limits.h>
   1855 #else
   1856 # include <assert.h>
   1857 #endif
   1858 
   1859 #undef $2
   1860 
   1861 /* Override any GCC internal prototype to avoid an error.
   1862    Use char because int might match the return type of a GCC
   1863    builtin and then its argument prototype would still apply.  */
   1864 #ifdef __cplusplus
   1865 extern "C"
   1866 #endif
   1867 char $2 ();
   1868 /* The GNU C library defines this for functions which it implements
   1869     to always fail with ENOSYS.  Some functions are actually named
   1870     something starting with __ and the normal name is an alias.  */
   1871 #if defined __stub_$2 || defined __stub___$2
   1872 choke me
   1873 #endif
   1874 
   1875 int
   1876 main ()
   1877 {
   1878 return $2 ();
   1879   ;
   1880   return 0;
   1881 }
   1882 _ACEOF
   1883 if ac_fn_c_try_link "$LINENO"; then :
   1884   eval "$3=yes"
   1885 else
   1886   eval "$3=no"
   1887 fi
   1888 rm -f core conftest.err conftest.$ac_objext \
   1889     conftest$ac_exeext conftest.$ac_ext
   1890 fi
   1891 eval ac_res=\$$3
   1892 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1893 $as_echo "$ac_res" >&6; }
   1894   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1895 
   1896 } # ac_fn_c_check_func
   1897 cat >config.log <<_ACEOF
   1898 This file contains any messages produced by compilers while
   1899 running configure, to aid debugging if configure makes a mistake.
   1900 
   1901 It was created by xrefresh $as_me 1.0.6, which was
   1902 generated by GNU Autoconf 2.69.  Invocation command line was
   1903 
   1904   $ $0 $@
   1905 
   1906 _ACEOF
   1907 exec 5>>config.log
   1908 {
   1909 cat <<_ASUNAME
   1910 ## --------- ##
   1911 ## Platform. ##
   1912 ## --------- ##
   1913 
   1914 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1915 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1916 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1917 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1918 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1919 
   1920 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1921 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1922 
   1923 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1924 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1925 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1926 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1927 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1928 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1929 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1930 
   1931 _ASUNAME
   1932 
   1933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1934 for as_dir in $PATH
   1935 do
   1936   IFS=$as_save_IFS
   1937   test -z "$as_dir" && as_dir=.
   1938     $as_echo "PATH: $as_dir"
   1939   done
   1940 IFS=$as_save_IFS
   1941 
   1942 } >&5
   1943 
   1944 cat >&5 <<_ACEOF
   1945 
   1946 
   1947 ## ----------- ##
   1948 ## Core tests. ##
   1949 ## ----------- ##
   1950 
   1951 _ACEOF
   1952 
   1953 
   1954 # Keep a trace of the command line.
   1955 # Strip out --no-create and --no-recursion so they do not pile up.
   1956 # Strip out --silent because we don't want to record it for future runs.
   1957 # Also quote any args containing shell meta-characters.
   1958 # Make two passes to allow for proper duplicate-argument suppression.
   1959 ac_configure_args=
   1960 ac_configure_args0=
   1961 ac_configure_args1=
   1962 ac_must_keep_next=false
   1963 for ac_pass in 1 2
   1964 do
   1965   for ac_arg
   1966   do
   1967     case $ac_arg in
   1968     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1969     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1970     | -silent | --silent | --silen | --sile | --sil)
   1971       continue ;;
   1972     *\'*)
   1973       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1974     esac
   1975     case $ac_pass in
   1976     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1977     2)
   1978       as_fn_append ac_configure_args1 " '$ac_arg'"
   1979       if test $ac_must_keep_next = true; then
   1980 	ac_must_keep_next=false # Got value, back to normal.
   1981       else
   1982 	case $ac_arg in
   1983 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1984 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1985 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1986 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1987 	    case "$ac_configure_args0 " in
   1988 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1989 	    esac
   1990 	    ;;
   1991 	  -* ) ac_must_keep_next=true ;;
   1992 	esac
   1993       fi
   1994       as_fn_append ac_configure_args " '$ac_arg'"
   1995       ;;
   1996     esac
   1997   done
   1998 done
   1999 { ac_configure_args0=; unset ac_configure_args0;}
   2000 { ac_configure_args1=; unset ac_configure_args1;}
   2001 
   2002 # When interrupted or exit'd, cleanup temporary files, and complete
   2003 # config.log.  We remove comments because anyway the quotes in there
   2004 # would cause problems or look ugly.
   2005 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2006 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2007 trap 'exit_status=$?
   2008   # Save into config.log some information that might help in debugging.
   2009   {
   2010     echo
   2011 
   2012     $as_echo "## ---------------- ##
   2013 ## Cache variables. ##
   2014 ## ---------------- ##"
   2015     echo
   2016     # The following way of writing the cache mishandles newlines in values,
   2017 (
   2018   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2019     eval ac_val=\$$ac_var
   2020     case $ac_val in #(
   2021     *${as_nl}*)
   2022       case $ac_var in #(
   2023       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2024 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2025       esac
   2026       case $ac_var in #(
   2027       _ | IFS | as_nl) ;; #(
   2028       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2029       *) { eval $ac_var=; unset $ac_var;} ;;
   2030       esac ;;
   2031     esac
   2032   done
   2033   (set) 2>&1 |
   2034     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2035     *${as_nl}ac_space=\ *)
   2036       sed -n \
   2037 	"s/'\''/'\''\\\\'\'''\''/g;
   2038 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2039       ;; #(
   2040     *)
   2041       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2042       ;;
   2043     esac |
   2044     sort
   2045 )
   2046     echo
   2047 
   2048     $as_echo "## ----------------- ##
   2049 ## Output variables. ##
   2050 ## ----------------- ##"
   2051     echo
   2052     for ac_var in $ac_subst_vars
   2053     do
   2054       eval ac_val=\$$ac_var
   2055       case $ac_val in
   2056       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2057       esac
   2058       $as_echo "$ac_var='\''$ac_val'\''"
   2059     done | sort
   2060     echo
   2061 
   2062     if test -n "$ac_subst_files"; then
   2063       $as_echo "## ------------------- ##
   2064 ## File substitutions. ##
   2065 ## ------------------- ##"
   2066       echo
   2067       for ac_var in $ac_subst_files
   2068       do
   2069 	eval ac_val=\$$ac_var
   2070 	case $ac_val in
   2071 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2072 	esac
   2073 	$as_echo "$ac_var='\''$ac_val'\''"
   2074       done | sort
   2075       echo
   2076     fi
   2077 
   2078     if test -s confdefs.h; then
   2079       $as_echo "## ----------- ##
   2080 ## confdefs.h. ##
   2081 ## ----------- ##"
   2082       echo
   2083       cat confdefs.h
   2084       echo
   2085     fi
   2086     test "$ac_signal" != 0 &&
   2087       $as_echo "$as_me: caught signal $ac_signal"
   2088     $as_echo "$as_me: exit $exit_status"
   2089   } >&5
   2090   rm -f core *.core core.conftest.* &&
   2091     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2092     exit $exit_status
   2093 ' 0
   2094 for ac_signal in 1 2 13 15; do
   2095   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2096 done
   2097 ac_signal=0
   2098 
   2099 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2100 rm -f -r conftest* confdefs.h
   2101 
   2102 $as_echo "/* confdefs.h */" > confdefs.h
   2103 
   2104 # Predefined preprocessor variables.
   2105 
   2106 cat >>confdefs.h <<_ACEOF
   2107 #define PACKAGE_NAME "$PACKAGE_NAME"
   2108 _ACEOF
   2109 
   2110 cat >>confdefs.h <<_ACEOF
   2111 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2112 _ACEOF
   2113 
   2114 cat >>confdefs.h <<_ACEOF
   2115 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2116 _ACEOF
   2117 
   2118 cat >>confdefs.h <<_ACEOF
   2119 #define PACKAGE_STRING "$PACKAGE_STRING"
   2120 _ACEOF
   2121 
   2122 cat >>confdefs.h <<_ACEOF
   2123 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2124 _ACEOF
   2125 
   2126 cat >>confdefs.h <<_ACEOF
   2127 #define PACKAGE_URL "$PACKAGE_URL"
   2128 _ACEOF
   2129 
   2130 
   2131 # Let the site file select an alternate cache file if it wants to.
   2132 # Prefer an explicitly selected file to automatically selected ones.
   2133 ac_site_file1=NONE
   2134 ac_site_file2=NONE
   2135 if test -n "$CONFIG_SITE"; then
   2136   # We do not want a PATH search for config.site.
   2137   case $CONFIG_SITE in #((
   2138     -*)  ac_site_file1=./$CONFIG_SITE;;
   2139     */*) ac_site_file1=$CONFIG_SITE;;
   2140     *)   ac_site_file1=./$CONFIG_SITE;;
   2141   esac
   2142 elif test "x$prefix" != xNONE; then
   2143   ac_site_file1=$prefix/share/config.site
   2144   ac_site_file2=$prefix/etc/config.site
   2145 else
   2146   ac_site_file1=$ac_default_prefix/share/config.site
   2147   ac_site_file2=$ac_default_prefix/etc/config.site
   2148 fi
   2149 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2150 do
   2151   test "x$ac_site_file" = xNONE && continue
   2152   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2153     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2154 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2155     sed 's/^/| /' "$ac_site_file" >&5
   2156     . "$ac_site_file" \
   2157       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2159 as_fn_error $? "failed to load site script $ac_site_file
   2160 See \`config.log' for more details" "$LINENO" 5; }
   2161   fi
   2162 done
   2163 
   2164 if test -r "$cache_file"; then
   2165   # Some versions of bash will fail to source /dev/null (special files
   2166   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2167   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2168     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2169 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2170     case $cache_file in
   2171       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2172       *)                      . "./$cache_file";;
   2173     esac
   2174   fi
   2175 else
   2176   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2177 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2178   >$cache_file
   2179 fi
   2180 
   2181 # Check that the precious variables saved in the cache have kept the same
   2182 # value.
   2183 ac_cache_corrupted=false
   2184 for ac_var in $ac_precious_vars; do
   2185   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2186   eval ac_new_set=\$ac_env_${ac_var}_set
   2187   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2188   eval ac_new_val=\$ac_env_${ac_var}_value
   2189   case $ac_old_set,$ac_new_set in
   2190     set,)
   2191       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2192 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2193       ac_cache_corrupted=: ;;
   2194     ,set)
   2195       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2196 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2197       ac_cache_corrupted=: ;;
   2198     ,);;
   2199     *)
   2200       if test "x$ac_old_val" != "x$ac_new_val"; then
   2201 	# differences in whitespace do not lead to failure.
   2202 	ac_old_val_w=`echo x $ac_old_val`
   2203 	ac_new_val_w=`echo x $ac_new_val`
   2204 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2205 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2206 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2207 	  ac_cache_corrupted=:
   2208 	else
   2209 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2210 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2211 	  eval $ac_var=\$ac_old_val
   2212 	fi
   2213 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2214 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2215 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2216 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2217       fi;;
   2218   esac
   2219   # Pass precious variables to config.status.
   2220   if test "$ac_new_set" = set; then
   2221     case $ac_new_val in
   2222     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2223     *) ac_arg=$ac_var=$ac_new_val ;;
   2224     esac
   2225     case " $ac_configure_args " in
   2226       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2227       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2228     esac
   2229   fi
   2230 done
   2231 if $ac_cache_corrupted; then
   2232   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2234   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2235 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2236   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2237 fi
   2238 ## -------------------- ##
   2239 ## Main body of script. ##
   2240 ## -------------------- ##
   2241 
   2242 ac_ext=c
   2243 ac_cpp='$CPP $CPPFLAGS'
   2244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2247 
   2248 
   2249 
   2250 ac_config_headers="$ac_config_headers config.h"
   2251 
   2252 ac_aux_dir=
   2253 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2254   if test -f "$ac_dir/install-sh"; then
   2255     ac_aux_dir=$ac_dir
   2256     ac_install_sh="$ac_aux_dir/install-sh -c"
   2257     break
   2258   elif test -f "$ac_dir/install.sh"; then
   2259     ac_aux_dir=$ac_dir
   2260     ac_install_sh="$ac_aux_dir/install.sh -c"
   2261     break
   2262   elif test -f "$ac_dir/shtool"; then
   2263     ac_aux_dir=$ac_dir
   2264     ac_install_sh="$ac_aux_dir/shtool install -c"
   2265     break
   2266   fi
   2267 done
   2268 if test -z "$ac_aux_dir"; then
   2269   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2270 fi
   2271 
   2272 # These three variables are undocumented and unsupported,
   2273 # and are intended to be withdrawn in a future Autoconf release.
   2274 # They can cause serious problems if a builder's source tree is in a directory
   2275 # whose full name contains unusual characters.
   2276 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2277 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2278 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2279 
   2280 
   2281 # Expand $ac_aux_dir to an absolute path.
   2282 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2283 
   2284 ac_ext=c
   2285 ac_cpp='$CPP $CPPFLAGS'
   2286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2289 if test -n "$ac_tool_prefix"; then
   2290   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2291 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2293 $as_echo_n "checking for $ac_word... " >&6; }
   2294 if ${ac_cv_prog_CC+:} false; then :
   2295   $as_echo_n "(cached) " >&6
   2296 else
   2297   if test -n "$CC"; then
   2298   ac_cv_prog_CC="$CC" # Let the user override the test.
   2299 else
   2300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2301 for as_dir in $PATH
   2302 do
   2303   IFS=$as_save_IFS
   2304   test -z "$as_dir" && as_dir=.
   2305     for ac_exec_ext in '' $ac_executable_extensions; do
   2306   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2307     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2308     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2309     break 2
   2310   fi
   2311 done
   2312   done
   2313 IFS=$as_save_IFS
   2314 
   2315 fi
   2316 fi
   2317 CC=$ac_cv_prog_CC
   2318 if test -n "$CC"; then
   2319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2320 $as_echo "$CC" >&6; }
   2321 else
   2322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2323 $as_echo "no" >&6; }
   2324 fi
   2325 
   2326 
   2327 fi
   2328 if test -z "$ac_cv_prog_CC"; then
   2329   ac_ct_CC=$CC
   2330   # Extract the first word of "gcc", so it can be a program name with args.
   2331 set dummy gcc; ac_word=$2
   2332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2333 $as_echo_n "checking for $ac_word... " >&6; }
   2334 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2335   $as_echo_n "(cached) " >&6
   2336 else
   2337   if test -n "$ac_ct_CC"; then
   2338   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2339 else
   2340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2341 for as_dir in $PATH
   2342 do
   2343   IFS=$as_save_IFS
   2344   test -z "$as_dir" && as_dir=.
   2345     for ac_exec_ext in '' $ac_executable_extensions; do
   2346   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2347     ac_cv_prog_ac_ct_CC="gcc"
   2348     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2349     break 2
   2350   fi
   2351 done
   2352   done
   2353 IFS=$as_save_IFS
   2354 
   2355 fi
   2356 fi
   2357 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2358 if test -n "$ac_ct_CC"; then
   2359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2360 $as_echo "$ac_ct_CC" >&6; }
   2361 else
   2362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2363 $as_echo "no" >&6; }
   2364 fi
   2365 
   2366   if test "x$ac_ct_CC" = x; then
   2367     CC=""
   2368   else
   2369     case $cross_compiling:$ac_tool_warned in
   2370 yes:)
   2371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2372 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2373 ac_tool_warned=yes ;;
   2374 esac
   2375     CC=$ac_ct_CC
   2376   fi
   2377 else
   2378   CC="$ac_cv_prog_CC"
   2379 fi
   2380 
   2381 if test -z "$CC"; then
   2382           if test -n "$ac_tool_prefix"; then
   2383     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2384 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2386 $as_echo_n "checking for $ac_word... " >&6; }
   2387 if ${ac_cv_prog_CC+:} false; then :
   2388   $as_echo_n "(cached) " >&6
   2389 else
   2390   if test -n "$CC"; then
   2391   ac_cv_prog_CC="$CC" # Let the user override the test.
   2392 else
   2393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2394 for as_dir in $PATH
   2395 do
   2396   IFS=$as_save_IFS
   2397   test -z "$as_dir" && as_dir=.
   2398     for ac_exec_ext in '' $ac_executable_extensions; do
   2399   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2400     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2401     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2402     break 2
   2403   fi
   2404 done
   2405   done
   2406 IFS=$as_save_IFS
   2407 
   2408 fi
   2409 fi
   2410 CC=$ac_cv_prog_CC
   2411 if test -n "$CC"; then
   2412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2413 $as_echo "$CC" >&6; }
   2414 else
   2415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2416 $as_echo "no" >&6; }
   2417 fi
   2418 
   2419 
   2420   fi
   2421 fi
   2422 if test -z "$CC"; then
   2423   # Extract the first word of "cc", so it can be a program name with args.
   2424 set dummy cc; ac_word=$2
   2425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2426 $as_echo_n "checking for $ac_word... " >&6; }
   2427 if ${ac_cv_prog_CC+:} false; then :
   2428   $as_echo_n "(cached) " >&6
   2429 else
   2430   if test -n "$CC"; then
   2431   ac_cv_prog_CC="$CC" # Let the user override the test.
   2432 else
   2433   ac_prog_rejected=no
   2434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2435 for as_dir in $PATH
   2436 do
   2437   IFS=$as_save_IFS
   2438   test -z "$as_dir" && as_dir=.
   2439     for ac_exec_ext in '' $ac_executable_extensions; do
   2440   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2441     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2442        ac_prog_rejected=yes
   2443        continue
   2444      fi
   2445     ac_cv_prog_CC="cc"
   2446     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2447     break 2
   2448   fi
   2449 done
   2450   done
   2451 IFS=$as_save_IFS
   2452 
   2453 if test $ac_prog_rejected = yes; then
   2454   # We found a bogon in the path, so make sure we never use it.
   2455   set dummy $ac_cv_prog_CC
   2456   shift
   2457   if test $# != 0; then
   2458     # We chose a different compiler from the bogus one.
   2459     # However, it has the same basename, so the bogon will be chosen
   2460     # first if we set CC to just the basename; use the full file name.
   2461     shift
   2462     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2463   fi
   2464 fi
   2465 fi
   2466 fi
   2467 CC=$ac_cv_prog_CC
   2468 if test -n "$CC"; then
   2469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2470 $as_echo "$CC" >&6; }
   2471 else
   2472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2473 $as_echo "no" >&6; }
   2474 fi
   2475 
   2476 
   2477 fi
   2478 if test -z "$CC"; then
   2479   if test -n "$ac_tool_prefix"; then
   2480   for ac_prog in cl.exe
   2481   do
   2482     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2483 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2485 $as_echo_n "checking for $ac_word... " >&6; }
   2486 if ${ac_cv_prog_CC+:} false; then :
   2487   $as_echo_n "(cached) " >&6
   2488 else
   2489   if test -n "$CC"; then
   2490   ac_cv_prog_CC="$CC" # Let the user override the test.
   2491 else
   2492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2493 for as_dir in $PATH
   2494 do
   2495   IFS=$as_save_IFS
   2496   test -z "$as_dir" && as_dir=.
   2497     for ac_exec_ext in '' $ac_executable_extensions; do
   2498   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2499     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2500     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2501     break 2
   2502   fi
   2503 done
   2504   done
   2505 IFS=$as_save_IFS
   2506 
   2507 fi
   2508 fi
   2509 CC=$ac_cv_prog_CC
   2510 if test -n "$CC"; then
   2511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2512 $as_echo "$CC" >&6; }
   2513 else
   2514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2515 $as_echo "no" >&6; }
   2516 fi
   2517 
   2518 
   2519     test -n "$CC" && break
   2520   done
   2521 fi
   2522 if test -z "$CC"; then
   2523   ac_ct_CC=$CC
   2524   for ac_prog in cl.exe
   2525 do
   2526   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2527 set dummy $ac_prog; ac_word=$2
   2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2529 $as_echo_n "checking for $ac_word... " >&6; }
   2530 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2531   $as_echo_n "(cached) " >&6
   2532 else
   2533   if test -n "$ac_ct_CC"; then
   2534   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2535 else
   2536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2537 for as_dir in $PATH
   2538 do
   2539   IFS=$as_save_IFS
   2540   test -z "$as_dir" && as_dir=.
   2541     for ac_exec_ext in '' $ac_executable_extensions; do
   2542   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2543     ac_cv_prog_ac_ct_CC="$ac_prog"
   2544     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2545     break 2
   2546   fi
   2547 done
   2548   done
   2549 IFS=$as_save_IFS
   2550 
   2551 fi
   2552 fi
   2553 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2554 if test -n "$ac_ct_CC"; then
   2555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2556 $as_echo "$ac_ct_CC" >&6; }
   2557 else
   2558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2559 $as_echo "no" >&6; }
   2560 fi
   2561 
   2562 
   2563   test -n "$ac_ct_CC" && break
   2564 done
   2565 
   2566   if test "x$ac_ct_CC" = x; then
   2567     CC=""
   2568   else
   2569     case $cross_compiling:$ac_tool_warned in
   2570 yes:)
   2571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2572 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2573 ac_tool_warned=yes ;;
   2574 esac
   2575     CC=$ac_ct_CC
   2576   fi
   2577 fi
   2578 
   2579 fi
   2580 
   2581 
   2582 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2583 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2584 as_fn_error $? "no acceptable C compiler found in \$PATH
   2585 See \`config.log' for more details" "$LINENO" 5; }
   2586 
   2587 # Provide some information about the compiler.
   2588 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2589 set X $ac_compile
   2590 ac_compiler=$2
   2591 for ac_option in --version -v -V -qversion; do
   2592   { { ac_try="$ac_compiler $ac_option >&5"
   2593 case "(($ac_try" in
   2594   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2595   *) ac_try_echo=$ac_try;;
   2596 esac
   2597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2598 $as_echo "$ac_try_echo"; } >&5
   2599   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2600   ac_status=$?
   2601   if test -s conftest.err; then
   2602     sed '10a\
   2603 ... rest of stderr output deleted ...
   2604          10q' conftest.err >conftest.er1
   2605     cat conftest.er1 >&5
   2606   fi
   2607   rm -f conftest.er1 conftest.err
   2608   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2609   test $ac_status = 0; }
   2610 done
   2611 
   2612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2613 /* end confdefs.h.  */
   2614 
   2615 int
   2616 main ()
   2617 {
   2618 
   2619   ;
   2620   return 0;
   2621 }
   2622 _ACEOF
   2623 ac_clean_files_save=$ac_clean_files
   2624 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2625 # Try to create an executable without -o first, disregard a.out.
   2626 # It will help us diagnose broken compilers, and finding out an intuition
   2627 # of exeext.
   2628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2629 $as_echo_n "checking whether the C compiler works... " >&6; }
   2630 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2631 
   2632 # The possible output files:
   2633 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2634 
   2635 ac_rmfiles=
   2636 for ac_file in $ac_files
   2637 do
   2638   case $ac_file in
   2639     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2640     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2641   esac
   2642 done
   2643 rm -f $ac_rmfiles
   2644 
   2645 if { { ac_try="$ac_link_default"
   2646 case "(($ac_try" in
   2647   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2648   *) ac_try_echo=$ac_try;;
   2649 esac
   2650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2651 $as_echo "$ac_try_echo"; } >&5
   2652   (eval "$ac_link_default") 2>&5
   2653   ac_status=$?
   2654   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2655   test $ac_status = 0; }; then :
   2656   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2657 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2658 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2659 # so that the user can short-circuit this test for compilers unknown to
   2660 # Autoconf.
   2661 for ac_file in $ac_files ''
   2662 do
   2663   test -f "$ac_file" || continue
   2664   case $ac_file in
   2665     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2666 	;;
   2667     [ab].out )
   2668 	# We found the default executable, but exeext='' is most
   2669 	# certainly right.
   2670 	break;;
   2671     *.* )
   2672 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2673 	then :; else
   2674 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2675 	fi
   2676 	# We set ac_cv_exeext here because the later test for it is not
   2677 	# safe: cross compilers may not add the suffix if given an `-o'
   2678 	# argument, so we may need to know it at that point already.
   2679 	# Even if this section looks crufty: it has the advantage of
   2680 	# actually working.
   2681 	break;;
   2682     * )
   2683 	break;;
   2684   esac
   2685 done
   2686 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2687 
   2688 else
   2689   ac_file=''
   2690 fi
   2691 if test -z "$ac_file"; then :
   2692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2693 $as_echo "no" >&6; }
   2694 $as_echo "$as_me: failed program was:" >&5
   2695 sed 's/^/| /' conftest.$ac_ext >&5
   2696 
   2697 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2699 as_fn_error 77 "C compiler cannot create executables
   2700 See \`config.log' for more details" "$LINENO" 5; }
   2701 else
   2702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2703 $as_echo "yes" >&6; }
   2704 fi
   2705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2706 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2708 $as_echo "$ac_file" >&6; }
   2709 ac_exeext=$ac_cv_exeext
   2710 
   2711 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2712 ac_clean_files=$ac_clean_files_save
   2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2714 $as_echo_n "checking for suffix of executables... " >&6; }
   2715 if { { ac_try="$ac_link"
   2716 case "(($ac_try" in
   2717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2718   *) ac_try_echo=$ac_try;;
   2719 esac
   2720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2721 $as_echo "$ac_try_echo"; } >&5
   2722   (eval "$ac_link") 2>&5
   2723   ac_status=$?
   2724   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2725   test $ac_status = 0; }; then :
   2726   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2727 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2728 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2729 # `rm'.
   2730 for ac_file in conftest.exe conftest conftest.*; do
   2731   test -f "$ac_file" || continue
   2732   case $ac_file in
   2733     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2734     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2735 	  break;;
   2736     * ) break;;
   2737   esac
   2738 done
   2739 else
   2740   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2741 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2742 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   2743 See \`config.log' for more details" "$LINENO" 5; }
   2744 fi
   2745 rm -f conftest conftest$ac_cv_exeext
   2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2747 $as_echo "$ac_cv_exeext" >&6; }
   2748 
   2749 rm -f conftest.$ac_ext
   2750 EXEEXT=$ac_cv_exeext
   2751 ac_exeext=$EXEEXT
   2752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2753 /* end confdefs.h.  */
   2754 #include <stdio.h>
   2755 int
   2756 main ()
   2757 {
   2758 FILE *f = fopen ("conftest.out", "w");
   2759  return ferror (f) || fclose (f) != 0;
   2760 
   2761   ;
   2762   return 0;
   2763 }
   2764 _ACEOF
   2765 ac_clean_files="$ac_clean_files conftest.out"
   2766 # Check that the compiler produces executables we can run.  If not, either
   2767 # the compiler is broken, or we cross compile.
   2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2769 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2770 if test "$cross_compiling" != yes; then
   2771   { { ac_try="$ac_link"
   2772 case "(($ac_try" in
   2773   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2774   *) ac_try_echo=$ac_try;;
   2775 esac
   2776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2777 $as_echo "$ac_try_echo"; } >&5
   2778   (eval "$ac_link") 2>&5
   2779   ac_status=$?
   2780   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2781   test $ac_status = 0; }
   2782   if { ac_try='./conftest$ac_cv_exeext'
   2783   { { case "(($ac_try" in
   2784   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2785   *) ac_try_echo=$ac_try;;
   2786 esac
   2787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2788 $as_echo "$ac_try_echo"; } >&5
   2789   (eval "$ac_try") 2>&5
   2790   ac_status=$?
   2791   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2792   test $ac_status = 0; }; }; then
   2793     cross_compiling=no
   2794   else
   2795     if test "$cross_compiling" = maybe; then
   2796 	cross_compiling=yes
   2797     else
   2798 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2800 as_fn_error $? "cannot run C compiled programs.
   2801 If you meant to cross compile, use \`--host'.
   2802 See \`config.log' for more details" "$LINENO" 5; }
   2803     fi
   2804   fi
   2805 fi
   2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   2807 $as_echo "$cross_compiling" >&6; }
   2808 
   2809 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   2810 ac_clean_files=$ac_clean_files_save
   2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   2812 $as_echo_n "checking for suffix of object files... " >&6; }
   2813 if ${ac_cv_objext+:} false; then :
   2814   $as_echo_n "(cached) " >&6
   2815 else
   2816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2817 /* end confdefs.h.  */
   2818 
   2819 int
   2820 main ()
   2821 {
   2822 
   2823   ;
   2824   return 0;
   2825 }
   2826 _ACEOF
   2827 rm -f conftest.o conftest.obj
   2828 if { { ac_try="$ac_compile"
   2829 case "(($ac_try" in
   2830   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2831   *) ac_try_echo=$ac_try;;
   2832 esac
   2833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2834 $as_echo "$ac_try_echo"; } >&5
   2835   (eval "$ac_compile") 2>&5
   2836   ac_status=$?
   2837   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2838   test $ac_status = 0; }; then :
   2839   for ac_file in conftest.o conftest.obj conftest.*; do
   2840   test -f "$ac_file" || continue;
   2841   case $ac_file in
   2842     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   2843     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2844        break;;
   2845   esac
   2846 done
   2847 else
   2848   $as_echo "$as_me: failed program was:" >&5
   2849 sed 's/^/| /' conftest.$ac_ext >&5
   2850 
   2851 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2852 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2853 as_fn_error $? "cannot compute suffix of object files: cannot compile
   2854 See \`config.log' for more details" "$LINENO" 5; }
   2855 fi
   2856 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2857 fi
   2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   2859 $as_echo "$ac_cv_objext" >&6; }
   2860 OBJEXT=$ac_cv_objext
   2861 ac_objext=$OBJEXT
   2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   2863 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   2864 if ${ac_cv_c_compiler_gnu+:} false; then :
   2865   $as_echo_n "(cached) " >&6
   2866 else
   2867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2868 /* end confdefs.h.  */
   2869 
   2870 int
   2871 main ()
   2872 {
   2873 #ifndef __GNUC__
   2874        choke me
   2875 #endif
   2876 
   2877   ;
   2878   return 0;
   2879 }
   2880 _ACEOF
   2881 if ac_fn_c_try_compile "$LINENO"; then :
   2882   ac_compiler_gnu=yes
   2883 else
   2884   ac_compiler_gnu=no
   2885 fi
   2886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2887 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2888 
   2889 fi
   2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   2891 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   2892 if test $ac_compiler_gnu = yes; then
   2893   GCC=yes
   2894 else
   2895   GCC=
   2896 fi
   2897 ac_test_CFLAGS=${CFLAGS+set}
   2898 ac_save_CFLAGS=$CFLAGS
   2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   2900 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   2901 if ${ac_cv_prog_cc_g+:} false; then :
   2902   $as_echo_n "(cached) " >&6
   2903 else
   2904   ac_save_c_werror_flag=$ac_c_werror_flag
   2905    ac_c_werror_flag=yes
   2906    ac_cv_prog_cc_g=no
   2907    CFLAGS="-g"
   2908    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2909 /* end confdefs.h.  */
   2910 
   2911 int
   2912 main ()
   2913 {
   2914 
   2915   ;
   2916   return 0;
   2917 }
   2918 _ACEOF
   2919 if ac_fn_c_try_compile "$LINENO"; then :
   2920   ac_cv_prog_cc_g=yes
   2921 else
   2922   CFLAGS=""
   2923       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2924 /* end confdefs.h.  */
   2925 
   2926 int
   2927 main ()
   2928 {
   2929 
   2930   ;
   2931   return 0;
   2932 }
   2933 _ACEOF
   2934 if ac_fn_c_try_compile "$LINENO"; then :
   2935 
   2936 else
   2937   ac_c_werror_flag=$ac_save_c_werror_flag
   2938 	 CFLAGS="-g"
   2939 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2940 /* end confdefs.h.  */
   2941 
   2942 int
   2943 main ()
   2944 {
   2945 
   2946   ;
   2947   return 0;
   2948 }
   2949 _ACEOF
   2950 if ac_fn_c_try_compile "$LINENO"; then :
   2951   ac_cv_prog_cc_g=yes
   2952 fi
   2953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2954 fi
   2955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2956 fi
   2957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2958    ac_c_werror_flag=$ac_save_c_werror_flag
   2959 fi
   2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   2961 $as_echo "$ac_cv_prog_cc_g" >&6; }
   2962 if test "$ac_test_CFLAGS" = set; then
   2963   CFLAGS=$ac_save_CFLAGS
   2964 elif test $ac_cv_prog_cc_g = yes; then
   2965   if test "$GCC" = yes; then
   2966     CFLAGS="-g -O2"
   2967   else
   2968     CFLAGS="-g"
   2969   fi
   2970 else
   2971   if test "$GCC" = yes; then
   2972     CFLAGS="-O2"
   2973   else
   2974     CFLAGS=
   2975   fi
   2976 fi
   2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   2978 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   2979 if ${ac_cv_prog_cc_c89+:} false; then :
   2980   $as_echo_n "(cached) " >&6
   2981 else
   2982   ac_cv_prog_cc_c89=no
   2983 ac_save_CC=$CC
   2984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2985 /* end confdefs.h.  */
   2986 #include <stdarg.h>
   2987 #include <stdio.h>
   2988 struct stat;
   2989 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   2990 struct buf { int x; };
   2991 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   2992 static char *e (p, i)
   2993      char **p;
   2994      int i;
   2995 {
   2996   return p[i];
   2997 }
   2998 static char *f (char * (*g) (char **, int), char **p, ...)
   2999 {
   3000   char *s;
   3001   va_list v;
   3002   va_start (v,p);
   3003   s = g (p, va_arg (v,int));
   3004   va_end (v);
   3005   return s;
   3006 }
   3007 
   3008 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3009    function prototypes and stuff, but not '\xHH' hex character constants.
   3010    These don't provoke an error unfortunately, instead are silently treated
   3011    as 'x'.  The following induces an error, until -std is added to get
   3012    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3013    array size at least.  It's necessary to write '\x00'==0 to get something
   3014    that's true only with -std.  */
   3015 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3016 
   3017 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3018    inside strings and character constants.  */
   3019 #define FOO(x) 'x'
   3020 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3021 
   3022 int test (int i, double x);
   3023 struct s1 {int (*f) (int a);};
   3024 struct s2 {int (*f) (double a);};
   3025 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3026 int argc;
   3027 char **argv;
   3028 int
   3029 main ()
   3030 {
   3031 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3032   ;
   3033   return 0;
   3034 }
   3035 _ACEOF
   3036 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3037 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3038 do
   3039   CC="$ac_save_CC $ac_arg"
   3040   if ac_fn_c_try_compile "$LINENO"; then :
   3041   ac_cv_prog_cc_c89=$ac_arg
   3042 fi
   3043 rm -f core conftest.err conftest.$ac_objext
   3044   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3045 done
   3046 rm -f conftest.$ac_ext
   3047 CC=$ac_save_CC
   3048 
   3049 fi
   3050 # AC_CACHE_VAL
   3051 case "x$ac_cv_prog_cc_c89" in
   3052   x)
   3053     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3054 $as_echo "none needed" >&6; } ;;
   3055   xno)
   3056     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3057 $as_echo "unsupported" >&6; } ;;
   3058   *)
   3059     CC="$CC $ac_cv_prog_cc_c89"
   3060     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3061 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3062 esac
   3063 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3064 
   3065 fi
   3066 
   3067 ac_ext=c
   3068 ac_cpp='$CPP $CPPFLAGS'
   3069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3072 
   3073 ac_ext=c
   3074 ac_cpp='$CPP $CPPFLAGS'
   3075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3079 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3080 if ${am_cv_prog_cc_c_o+:} false; then :
   3081   $as_echo_n "(cached) " >&6
   3082 else
   3083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3084 /* end confdefs.h.  */
   3085 
   3086 int
   3087 main ()
   3088 {
   3089 
   3090   ;
   3091   return 0;
   3092 }
   3093 _ACEOF
   3094   # Make sure it works both with $CC and with simple cc.
   3095   # Following AC_PROG_CC_C_O, we do the test twice because some
   3096   # compilers refuse to overwrite an existing .o file with -o,
   3097   # though they will create one.
   3098   am_cv_prog_cc_c_o=yes
   3099   for am_i in 1 2; do
   3100     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3101    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3102    ac_status=$?
   3103    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3104    (exit $ac_status); } \
   3105          && test -f conftest2.$ac_objext; then
   3106       : OK
   3107     else
   3108       am_cv_prog_cc_c_o=no
   3109       break
   3110     fi
   3111   done
   3112   rm -f core conftest*
   3113   unset am_i
   3114 fi
   3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3116 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3117 if test "$am_cv_prog_cc_c_o" != yes; then
   3118    # Losing compiler, so override with the script.
   3119    # FIXME: It is wrong to rewrite CC.
   3120    # But if we don't then we get into trouble of one sort or another.
   3121    # A longer-term fix would be to have automake use am__CC in this case,
   3122    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3123    CC="$am_aux_dir/compile $CC"
   3124 fi
   3125 ac_ext=c
   3126 ac_cpp='$CPP $CPPFLAGS'
   3127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3130 
   3131 
   3132 
   3133 ac_ext=c
   3134 ac_cpp='$CPP $CPPFLAGS'
   3135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3139 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3140 # On Suns, sometimes $CPP names a directory.
   3141 if test -n "$CPP" && test -d "$CPP"; then
   3142   CPP=
   3143 fi
   3144 if test -z "$CPP"; then
   3145   if ${ac_cv_prog_CPP+:} false; then :
   3146   $as_echo_n "(cached) " >&6
   3147 else
   3148       # Double quotes because CPP needs to be expanded
   3149     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3150     do
   3151       ac_preproc_ok=false
   3152 for ac_c_preproc_warn_flag in '' yes
   3153 do
   3154   # Use a header file that comes with gcc, so configuring glibc
   3155   # with a fresh cross-compiler works.
   3156   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3157   # <limits.h> exists even on freestanding compilers.
   3158   # On the NeXT, cc -E runs the code through the compiler's parser,
   3159   # not just through cpp. "Syntax error" is here to catch this case.
   3160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3161 /* end confdefs.h.  */
   3162 #ifdef __STDC__
   3163 # include <limits.h>
   3164 #else
   3165 # include <assert.h>
   3166 #endif
   3167 		     Syntax error
   3168 _ACEOF
   3169 if ac_fn_c_try_cpp "$LINENO"; then :
   3170 
   3171 else
   3172   # Broken: fails on valid input.
   3173 continue
   3174 fi
   3175 rm -f conftest.err conftest.i conftest.$ac_ext
   3176 
   3177   # OK, works on sane cases.  Now check whether nonexistent headers
   3178   # can be detected and how.
   3179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3180 /* end confdefs.h.  */
   3181 #include <ac_nonexistent.h>
   3182 _ACEOF
   3183 if ac_fn_c_try_cpp "$LINENO"; then :
   3184   # Broken: success on invalid input.
   3185 continue
   3186 else
   3187   # Passes both tests.
   3188 ac_preproc_ok=:
   3189 break
   3190 fi
   3191 rm -f conftest.err conftest.i conftest.$ac_ext
   3192 
   3193 done
   3194 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3195 rm -f conftest.i conftest.err conftest.$ac_ext
   3196 if $ac_preproc_ok; then :
   3197   break
   3198 fi
   3199 
   3200     done
   3201     ac_cv_prog_CPP=$CPP
   3202 
   3203 fi
   3204   CPP=$ac_cv_prog_CPP
   3205 else
   3206   ac_cv_prog_CPP=$CPP
   3207 fi
   3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3209 $as_echo "$CPP" >&6; }
   3210 ac_preproc_ok=false
   3211 for ac_c_preproc_warn_flag in '' yes
   3212 do
   3213   # Use a header file that comes with gcc, so configuring glibc
   3214   # with a fresh cross-compiler works.
   3215   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3216   # <limits.h> exists even on freestanding compilers.
   3217   # On the NeXT, cc -E runs the code through the compiler's parser,
   3218   # not just through cpp. "Syntax error" is here to catch this case.
   3219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3220 /* end confdefs.h.  */
   3221 #ifdef __STDC__
   3222 # include <limits.h>
   3223 #else
   3224 # include <assert.h>
   3225 #endif
   3226 		     Syntax error
   3227 _ACEOF
   3228 if ac_fn_c_try_cpp "$LINENO"; then :
   3229 
   3230 else
   3231   # Broken: fails on valid input.
   3232 continue
   3233 fi
   3234 rm -f conftest.err conftest.i conftest.$ac_ext
   3235 
   3236   # OK, works on sane cases.  Now check whether nonexistent headers
   3237   # can be detected and how.
   3238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3239 /* end confdefs.h.  */
   3240 #include <ac_nonexistent.h>
   3241 _ACEOF
   3242 if ac_fn_c_try_cpp "$LINENO"; then :
   3243   # Broken: success on invalid input.
   3244 continue
   3245 else
   3246   # Passes both tests.
   3247 ac_preproc_ok=:
   3248 break
   3249 fi
   3250 rm -f conftest.err conftest.i conftest.$ac_ext
   3251 
   3252 done
   3253 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3254 rm -f conftest.i conftest.err conftest.$ac_ext
   3255 if $ac_preproc_ok; then :
   3256 
   3257 else
   3258   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3260 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3261 See \`config.log' for more details" "$LINENO" 5; }
   3262 fi
   3263 
   3264 ac_ext=c
   3265 ac_cpp='$CPP $CPPFLAGS'
   3266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3269 
   3270 
   3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3272 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3273 if ${ac_cv_path_GREP+:} false; then :
   3274   $as_echo_n "(cached) " >&6
   3275 else
   3276   if test -z "$GREP"; then
   3277   ac_path_GREP_found=false
   3278   # Loop through the user's path and test for each of PROGNAME-LIST
   3279   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3280 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3281 do
   3282   IFS=$as_save_IFS
   3283   test -z "$as_dir" && as_dir=.
   3284     for ac_prog in grep ggrep; do
   3285     for ac_exec_ext in '' $ac_executable_extensions; do
   3286       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3287       as_fn_executable_p "$ac_path_GREP" || continue
   3288 # Check for GNU ac_path_GREP and select it if it is found.
   3289   # Check for GNU $ac_path_GREP
   3290 case `"$ac_path_GREP" --version 2>&1` in
   3291 *GNU*)
   3292   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3293 *)
   3294   ac_count=0
   3295   $as_echo_n 0123456789 >"conftest.in"
   3296   while :
   3297   do
   3298     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3299     mv "conftest.tmp" "conftest.in"
   3300     cp "conftest.in" "conftest.nl"
   3301     $as_echo 'GREP' >> "conftest.nl"
   3302     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3303     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3304     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3305     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3306       # Best one so far, save it but keep looking for a better one
   3307       ac_cv_path_GREP="$ac_path_GREP"
   3308       ac_path_GREP_max=$ac_count
   3309     fi
   3310     # 10*(2^10) chars as input seems more than enough
   3311     test $ac_count -gt 10 && break
   3312   done
   3313   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3314 esac
   3315 
   3316       $ac_path_GREP_found && break 3
   3317     done
   3318   done
   3319   done
   3320 IFS=$as_save_IFS
   3321   if test -z "$ac_cv_path_GREP"; then
   3322     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3323   fi
   3324 else
   3325   ac_cv_path_GREP=$GREP
   3326 fi
   3327 
   3328 fi
   3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3330 $as_echo "$ac_cv_path_GREP" >&6; }
   3331  GREP="$ac_cv_path_GREP"
   3332 
   3333 
   3334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3335 $as_echo_n "checking for egrep... " >&6; }
   3336 if ${ac_cv_path_EGREP+:} false; then :
   3337   $as_echo_n "(cached) " >&6
   3338 else
   3339   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3340    then ac_cv_path_EGREP="$GREP -E"
   3341    else
   3342      if test -z "$EGREP"; then
   3343   ac_path_EGREP_found=false
   3344   # Loop through the user's path and test for each of PROGNAME-LIST
   3345   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3346 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3347 do
   3348   IFS=$as_save_IFS
   3349   test -z "$as_dir" && as_dir=.
   3350     for ac_prog in egrep; do
   3351     for ac_exec_ext in '' $ac_executable_extensions; do
   3352       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3353       as_fn_executable_p "$ac_path_EGREP" || continue
   3354 # Check for GNU ac_path_EGREP and select it if it is found.
   3355   # Check for GNU $ac_path_EGREP
   3356 case `"$ac_path_EGREP" --version 2>&1` in
   3357 *GNU*)
   3358   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3359 *)
   3360   ac_count=0
   3361   $as_echo_n 0123456789 >"conftest.in"
   3362   while :
   3363   do
   3364     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3365     mv "conftest.tmp" "conftest.in"
   3366     cp "conftest.in" "conftest.nl"
   3367     $as_echo 'EGREP' >> "conftest.nl"
   3368     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3369     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3370     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3371     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3372       # Best one so far, save it but keep looking for a better one
   3373       ac_cv_path_EGREP="$ac_path_EGREP"
   3374       ac_path_EGREP_max=$ac_count
   3375     fi
   3376     # 10*(2^10) chars as input seems more than enough
   3377     test $ac_count -gt 10 && break
   3378   done
   3379   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3380 esac
   3381 
   3382       $ac_path_EGREP_found && break 3
   3383     done
   3384   done
   3385   done
   3386 IFS=$as_save_IFS
   3387   if test -z "$ac_cv_path_EGREP"; then
   3388     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3389   fi
   3390 else
   3391   ac_cv_path_EGREP=$EGREP
   3392 fi
   3393 
   3394    fi
   3395 fi
   3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3397 $as_echo "$ac_cv_path_EGREP" >&6; }
   3398  EGREP="$ac_cv_path_EGREP"
   3399 
   3400 
   3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3402 $as_echo_n "checking for ANSI C header files... " >&6; }
   3403 if ${ac_cv_header_stdc+:} false; then :
   3404   $as_echo_n "(cached) " >&6
   3405 else
   3406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3407 /* end confdefs.h.  */
   3408 #include <stdlib.h>
   3409 #include <stdarg.h>
   3410 #include <string.h>
   3411 #include <float.h>
   3412 
   3413 int
   3414 main ()
   3415 {
   3416 
   3417   ;
   3418   return 0;
   3419 }
   3420 _ACEOF
   3421 if ac_fn_c_try_compile "$LINENO"; then :
   3422   ac_cv_header_stdc=yes
   3423 else
   3424   ac_cv_header_stdc=no
   3425 fi
   3426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3427 
   3428 if test $ac_cv_header_stdc = yes; then
   3429   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3431 /* end confdefs.h.  */
   3432 #include <string.h>
   3433 
   3434 _ACEOF
   3435 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3436   $EGREP "memchr" >/dev/null 2>&1; then :
   3437 
   3438 else
   3439   ac_cv_header_stdc=no
   3440 fi
   3441 rm -f conftest*
   3442 
   3443 fi
   3444 
   3445 if test $ac_cv_header_stdc = yes; then
   3446   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3448 /* end confdefs.h.  */
   3449 #include <stdlib.h>
   3450 
   3451 _ACEOF
   3452 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3453   $EGREP "free" >/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   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3464   if test "$cross_compiling" = yes; then :
   3465   :
   3466 else
   3467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3468 /* end confdefs.h.  */
   3469 #include <ctype.h>
   3470 #include <stdlib.h>
   3471 #if ((' ' & 0x0FF) == 0x020)
   3472 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3473 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3474 #else
   3475 # define ISLOWER(c) \
   3476 		   (('a' <= (c) && (c) <= 'i') \
   3477 		     || ('j' <= (c) && (c) <= 'r') \
   3478 		     || ('s' <= (c) && (c) <= 'z'))
   3479 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3480 #endif
   3481 
   3482 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3483 int
   3484 main ()
   3485 {
   3486   int i;
   3487   for (i = 0; i < 256; i++)
   3488     if (XOR (islower (i), ISLOWER (i))
   3489 	|| toupper (i) != TOUPPER (i))
   3490       return 2;
   3491   return 0;
   3492 }
   3493 _ACEOF
   3494 if ac_fn_c_try_run "$LINENO"; then :
   3495 
   3496 else
   3497   ac_cv_header_stdc=no
   3498 fi
   3499 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3500   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3501 fi
   3502 
   3503 fi
   3504 fi
   3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3506 $as_echo "$ac_cv_header_stdc" >&6; }
   3507 if test $ac_cv_header_stdc = yes; then
   3508 
   3509 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3510 
   3511 fi
   3512 
   3513 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3514 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3515 		  inttypes.h stdint.h unistd.h
   3516 do :
   3517   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3518 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3519 "
   3520 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3521   cat >>confdefs.h <<_ACEOF
   3522 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3523 _ACEOF
   3524 
   3525 fi
   3526 
   3527 done
   3528 
   3529 
   3530 
   3531   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3532 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   3533   MINIX=yes
   3534 else
   3535   MINIX=
   3536 fi
   3537 
   3538 
   3539   if test "$MINIX" = yes; then
   3540 
   3541 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3542 
   3543 
   3544 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3545 
   3546 
   3547 $as_echo "#define _MINIX 1" >>confdefs.h
   3548 
   3549   fi
   3550 
   3551 
   3552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3553 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3554 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   3555   $as_echo_n "(cached) " >&6
   3556 else
   3557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3558 /* end confdefs.h.  */
   3559 
   3560 #         define __EXTENSIONS__ 1
   3561           $ac_includes_default
   3562 int
   3563 main ()
   3564 {
   3565 
   3566   ;
   3567   return 0;
   3568 }
   3569 _ACEOF
   3570 if ac_fn_c_try_compile "$LINENO"; then :
   3571   ac_cv_safe_to_define___extensions__=yes
   3572 else
   3573   ac_cv_safe_to_define___extensions__=no
   3574 fi
   3575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3576 fi
   3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3578 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   3579   test $ac_cv_safe_to_define___extensions__ = yes &&
   3580     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   3581 
   3582   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   3583 
   3584   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   3585 
   3586   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3587 
   3588   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   3589 
   3590 
   3591 
   3592 # Initialize Automake
   3593 am__api_version='1.15'
   3594 
   3595 # Find a good install program.  We prefer a C program (faster),
   3596 # so one script is as good as another.  But avoid the broken or
   3597 # incompatible versions:
   3598 # SysV /etc/install, /usr/sbin/install
   3599 # SunOS /usr/etc/install
   3600 # IRIX /sbin/install
   3601 # AIX /bin/install
   3602 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3603 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3604 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3605 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3606 # OS/2's system install, which has a completely different semantic
   3607 # ./install, which can be erroneously created by make from ./install.sh.
   3608 # Reject install programs that cannot install multiple files.
   3609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3610 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3611 if test -z "$INSTALL"; then
   3612 if ${ac_cv_path_install+:} false; then :
   3613   $as_echo_n "(cached) " >&6
   3614 else
   3615   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3616 for as_dir in $PATH
   3617 do
   3618   IFS=$as_save_IFS
   3619   test -z "$as_dir" && as_dir=.
   3620     # Account for people who put trailing slashes in PATH elements.
   3621 case $as_dir/ in #((
   3622   ./ | .// | /[cC]/* | \
   3623   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3624   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3625   /usr/ucb/* ) ;;
   3626   *)
   3627     # OSF1 and SCO ODT 3.0 have their own names for install.
   3628     # Don't use installbsd from OSF since it installs stuff as root
   3629     # by default.
   3630     for ac_prog in ginstall scoinst install; do
   3631       for ac_exec_ext in '' $ac_executable_extensions; do
   3632 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   3633 	  if test $ac_prog = install &&
   3634 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3635 	    # AIX install.  It has an incompatible calling convention.
   3636 	    :
   3637 	  elif test $ac_prog = install &&
   3638 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3639 	    # program-specific install script used by HP pwplus--don't use.
   3640 	    :
   3641 	  else
   3642 	    rm -rf conftest.one conftest.two conftest.dir
   3643 	    echo one > conftest.one
   3644 	    echo two > conftest.two
   3645 	    mkdir conftest.dir
   3646 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3647 	      test -s conftest.one && test -s conftest.two &&
   3648 	      test -s conftest.dir/conftest.one &&
   3649 	      test -s conftest.dir/conftest.two
   3650 	    then
   3651 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3652 	      break 3
   3653 	    fi
   3654 	  fi
   3655 	fi
   3656       done
   3657     done
   3658     ;;
   3659 esac
   3660 
   3661   done
   3662 IFS=$as_save_IFS
   3663 
   3664 rm -rf conftest.one conftest.two conftest.dir
   3665 
   3666 fi
   3667   if test "${ac_cv_path_install+set}" = set; then
   3668     INSTALL=$ac_cv_path_install
   3669   else
   3670     # As a last resort, use the slow shell script.  Don't cache a
   3671     # value for INSTALL within a source directory, because that will
   3672     # break other packages using the cache if that directory is
   3673     # removed, or if the value is a relative name.
   3674     INSTALL=$ac_install_sh
   3675   fi
   3676 fi
   3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3678 $as_echo "$INSTALL" >&6; }
   3679 
   3680 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3681 # It thinks the first close brace ends the variable substitution.
   3682 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3683 
   3684 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3685 
   3686 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3687 
   3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3689 $as_echo_n "checking whether build environment is sane... " >&6; }
   3690 # Reject unsafe characters in $srcdir or the absolute working directory
   3691 # name.  Accept space and tab only in the latter.
   3692 am_lf='
   3693 '
   3694 case `pwd` in
   3695   *[\\\"\#\$\&\'\`$am_lf]*)
   3696     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3697 esac
   3698 case $srcdir in
   3699   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3700     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3701 esac
   3702 
   3703 # Do 'set' in a subshell so we don't clobber the current shell's
   3704 # arguments.  Must try -L first in case configure is actually a
   3705 # symlink; some systems play weird games with the mod time of symlinks
   3706 # (eg FreeBSD returns the mod time of the symlink's containing
   3707 # directory).
   3708 if (
   3709    am_has_slept=no
   3710    for am_try in 1 2; do
   3711      echo "timestamp, slept: $am_has_slept" > conftest.file
   3712      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3713      if test "$*" = "X"; then
   3714 	# -L didn't work.
   3715 	set X `ls -t "$srcdir/configure" conftest.file`
   3716      fi
   3717      if test "$*" != "X $srcdir/configure conftest.file" \
   3718 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3719 
   3720 	# If neither matched, then we have a broken ls.  This can happen
   3721 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3722 	# broken ls alias from the environment.  This has actually
   3723 	# happened.  Such a system could not be considered "sane".
   3724 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3725   alias in your environment" "$LINENO" 5
   3726      fi
   3727      if test "$2" = conftest.file || test $am_try -eq 2; then
   3728        break
   3729      fi
   3730      # Just in case.
   3731      sleep 1
   3732      am_has_slept=yes
   3733    done
   3734    test "$2" = conftest.file
   3735    )
   3736 then
   3737    # Ok.
   3738    :
   3739 else
   3740    as_fn_error $? "newly created file is older than distributed files!
   3741 Check your system clock" "$LINENO" 5
   3742 fi
   3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3744 $as_echo "yes" >&6; }
   3745 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3746 # generated files are strictly newer.
   3747 am_sleep_pid=
   3748 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3749   ( sleep 1 ) &
   3750   am_sleep_pid=$!
   3751 fi
   3752 
   3753 rm -f conftest.file
   3754 
   3755 test "$program_prefix" != NONE &&
   3756   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3757 # Use a double $ so make ignores it.
   3758 test "$program_suffix" != NONE &&
   3759   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3760 # Double any \ or $.
   3761 # By default was `s,x,x', remove it if useless.
   3762 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3763 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   3764 
   3765 if test x"${MISSING+set}" != xset; then
   3766   case $am_aux_dir in
   3767   *\ * | *\	*)
   3768     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   3769   *)
   3770     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   3771   esac
   3772 fi
   3773 # Use eval to expand $SHELL
   3774 if eval "$MISSING --is-lightweight"; then
   3775   am_missing_run="$MISSING "
   3776 else
   3777   am_missing_run=
   3778   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3779 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3780 fi
   3781 
   3782 if test x"${install_sh+set}" != xset; then
   3783   case $am_aux_dir in
   3784   *\ * | *\	*)
   3785     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3786   *)
   3787     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3788   esac
   3789 fi
   3790 
   3791 # Installed binaries are usually stripped using 'strip' when the user
   3792 # run "make install-strip".  However 'strip' might not be the right
   3793 # tool to use in cross-compilation environments, therefore Automake
   3794 # will honor the 'STRIP' environment variable to overrule this program.
   3795 if test "$cross_compiling" != no; then
   3796   if test -n "$ac_tool_prefix"; then
   3797   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3798 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3800 $as_echo_n "checking for $ac_word... " >&6; }
   3801 if ${ac_cv_prog_STRIP+:} false; then :
   3802   $as_echo_n "(cached) " >&6
   3803 else
   3804   if test -n "$STRIP"; then
   3805   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3806 else
   3807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3808 for as_dir in $PATH
   3809 do
   3810   IFS=$as_save_IFS
   3811   test -z "$as_dir" && as_dir=.
   3812     for ac_exec_ext in '' $ac_executable_extensions; do
   3813   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3814     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3815     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3816     break 2
   3817   fi
   3818 done
   3819   done
   3820 IFS=$as_save_IFS
   3821 
   3822 fi
   3823 fi
   3824 STRIP=$ac_cv_prog_STRIP
   3825 if test -n "$STRIP"; then
   3826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3827 $as_echo "$STRIP" >&6; }
   3828 else
   3829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3830 $as_echo "no" >&6; }
   3831 fi
   3832 
   3833 
   3834 fi
   3835 if test -z "$ac_cv_prog_STRIP"; then
   3836   ac_ct_STRIP=$STRIP
   3837   # Extract the first word of "strip", so it can be a program name with args.
   3838 set dummy strip; ac_word=$2
   3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3840 $as_echo_n "checking for $ac_word... " >&6; }
   3841 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   3842   $as_echo_n "(cached) " >&6
   3843 else
   3844   if test -n "$ac_ct_STRIP"; then
   3845   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3846 else
   3847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3848 for as_dir in $PATH
   3849 do
   3850   IFS=$as_save_IFS
   3851   test -z "$as_dir" && as_dir=.
   3852     for ac_exec_ext in '' $ac_executable_extensions; do
   3853   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3854     ac_cv_prog_ac_ct_STRIP="strip"
   3855     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3856     break 2
   3857   fi
   3858 done
   3859   done
   3860 IFS=$as_save_IFS
   3861 
   3862 fi
   3863 fi
   3864 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3865 if test -n "$ac_ct_STRIP"; then
   3866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3867 $as_echo "$ac_ct_STRIP" >&6; }
   3868 else
   3869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3870 $as_echo "no" >&6; }
   3871 fi
   3872 
   3873   if test "x$ac_ct_STRIP" = x; then
   3874     STRIP=":"
   3875   else
   3876     case $cross_compiling:$ac_tool_warned in
   3877 yes:)
   3878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3879 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3880 ac_tool_warned=yes ;;
   3881 esac
   3882     STRIP=$ac_ct_STRIP
   3883   fi
   3884 else
   3885   STRIP="$ac_cv_prog_STRIP"
   3886 fi
   3887 
   3888 fi
   3889 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3890 
   3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   3892 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   3893 if test -z "$MKDIR_P"; then
   3894   if ${ac_cv_path_mkdir+:} false; then :
   3895   $as_echo_n "(cached) " >&6
   3896 else
   3897   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3898 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3899 do
   3900   IFS=$as_save_IFS
   3901   test -z "$as_dir" && as_dir=.
   3902     for ac_prog in mkdir gmkdir; do
   3903 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3904 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   3905 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3906 	     'mkdir (GNU coreutils) '* | \
   3907 	     'mkdir (coreutils) '* | \
   3908 	     'mkdir (fileutils) '4.1*)
   3909 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   3910 	       break 3;;
   3911 	   esac
   3912 	 done
   3913        done
   3914   done
   3915 IFS=$as_save_IFS
   3916 
   3917 fi
   3918 
   3919   test -d ./--version && rmdir ./--version
   3920   if test "${ac_cv_path_mkdir+set}" = set; then
   3921     MKDIR_P="$ac_cv_path_mkdir -p"
   3922   else
   3923     # As a last resort, use the slow shell script.  Don't cache a
   3924     # value for MKDIR_P within a source directory, because that will
   3925     # break other packages using the cache if that directory is
   3926     # removed, or if the value is a relative name.
   3927     MKDIR_P="$ac_install_sh -d"
   3928   fi
   3929 fi
   3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3931 $as_echo "$MKDIR_P" >&6; }
   3932 
   3933 for ac_prog in gawk mawk nawk awk
   3934 do
   3935   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3936 set dummy $ac_prog; ac_word=$2
   3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3938 $as_echo_n "checking for $ac_word... " >&6; }
   3939 if ${ac_cv_prog_AWK+:} false; then :
   3940   $as_echo_n "(cached) " >&6
   3941 else
   3942   if test -n "$AWK"; then
   3943   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3944 else
   3945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3946 for as_dir in $PATH
   3947 do
   3948   IFS=$as_save_IFS
   3949   test -z "$as_dir" && as_dir=.
   3950     for ac_exec_ext in '' $ac_executable_extensions; do
   3951   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3952     ac_cv_prog_AWK="$ac_prog"
   3953     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3954     break 2
   3955   fi
   3956 done
   3957   done
   3958 IFS=$as_save_IFS
   3959 
   3960 fi
   3961 fi
   3962 AWK=$ac_cv_prog_AWK
   3963 if test -n "$AWK"; then
   3964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3965 $as_echo "$AWK" >&6; }
   3966 else
   3967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3968 $as_echo "no" >&6; }
   3969 fi
   3970 
   3971 
   3972   test -n "$AWK" && break
   3973 done
   3974 
   3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3976 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3977 set x ${MAKE-make}
   3978 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3979 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3980   $as_echo_n "(cached) " >&6
   3981 else
   3982   cat >conftest.make <<\_ACEOF
   3983 SHELL = /bin/sh
   3984 all:
   3985 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3986 _ACEOF
   3987 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3988 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3989   *@@@%%%=?*=@@@%%%*)
   3990     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3991   *)
   3992     eval ac_cv_prog_make_${ac_make}_set=no;;
   3993 esac
   3994 rm -f conftest.make
   3995 fi
   3996 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3998 $as_echo "yes" >&6; }
   3999   SET_MAKE=
   4000 else
   4001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4002 $as_echo "no" >&6; }
   4003   SET_MAKE="MAKE=${MAKE-make}"
   4004 fi
   4005 
   4006 rm -rf .tst 2>/dev/null
   4007 mkdir .tst 2>/dev/null
   4008 if test -d .tst; then
   4009   am__leading_dot=.
   4010 else
   4011   am__leading_dot=_
   4012 fi
   4013 rmdir .tst 2>/dev/null
   4014 
   4015 DEPDIR="${am__leading_dot}deps"
   4016 
   4017 ac_config_commands="$ac_config_commands depfiles"
   4018 
   4019 
   4020 am_make=${MAKE-make}
   4021 cat > confinc << 'END'
   4022 am__doit:
   4023 	@echo this is the am__doit target
   4024 .PHONY: am__doit
   4025 END
   4026 # If we don't find an include directive, just comment out the code.
   4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4028 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4029 am__include="#"
   4030 am__quote=
   4031 _am_result=none
   4032 # First try GNU make style include.
   4033 echo "include confinc" > confmf
   4034 # Ignore all kinds of additional output from 'make'.
   4035 case `$am_make -s -f confmf 2> /dev/null` in #(
   4036 *the\ am__doit\ target*)
   4037   am__include=include
   4038   am__quote=
   4039   _am_result=GNU
   4040   ;;
   4041 esac
   4042 # Now try BSD make style include.
   4043 if test "$am__include" = "#"; then
   4044    echo '.include "confinc"' > confmf
   4045    case `$am_make -s -f confmf 2> /dev/null` in #(
   4046    *the\ am__doit\ target*)
   4047      am__include=.include
   4048      am__quote="\""
   4049      _am_result=BSD
   4050      ;;
   4051    esac
   4052 fi
   4053 
   4054 
   4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4056 $as_echo "$_am_result" >&6; }
   4057 rm -f confinc confmf
   4058 
   4059 # Check whether --enable-dependency-tracking was given.
   4060 if test "${enable_dependency_tracking+set}" = set; then :
   4061   enableval=$enable_dependency_tracking;
   4062 fi
   4063 
   4064 if test "x$enable_dependency_tracking" != xno; then
   4065   am_depcomp="$ac_aux_dir/depcomp"
   4066   AMDEPBACKSLASH='\'
   4067   am__nodep='_no'
   4068 fi
   4069  if test "x$enable_dependency_tracking" != xno; then
   4070   AMDEP_TRUE=
   4071   AMDEP_FALSE='#'
   4072 else
   4073   AMDEP_TRUE='#'
   4074   AMDEP_FALSE=
   4075 fi
   4076 
   4077 
   4078 # Check whether --enable-silent-rules was given.
   4079 if test "${enable_silent_rules+set}" = set; then :
   4080   enableval=$enable_silent_rules;
   4081 fi
   4082 
   4083 case $enable_silent_rules in # (((
   4084   yes) AM_DEFAULT_VERBOSITY=0;;
   4085    no) AM_DEFAULT_VERBOSITY=1;;
   4086     *) AM_DEFAULT_VERBOSITY=1;;
   4087 esac
   4088 am_make=${MAKE-make}
   4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4090 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   4091 if ${am_cv_make_support_nested_variables+:} false; then :
   4092   $as_echo_n "(cached) " >&6
   4093 else
   4094   if $as_echo 'TRUE=$(BAR$(V))
   4095 BAR0=false
   4096 BAR1=true
   4097 V=1
   4098 am__doit:
   4099 	@$(TRUE)
   4100 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4101   am_cv_make_support_nested_variables=yes
   4102 else
   4103   am_cv_make_support_nested_variables=no
   4104 fi
   4105 fi
   4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4107 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   4108 if test $am_cv_make_support_nested_variables = yes; then
   4109     AM_V='$(V)'
   4110   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4111 else
   4112   AM_V=$AM_DEFAULT_VERBOSITY
   4113   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4114 fi
   4115 AM_BACKSLASH='\'
   4116 
   4117 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4118   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4119   # is not polluted with repeated "-I."
   4120   am__isrc=' -I$(srcdir)'
   4121   # test to see if srcdir already configured
   4122   if test -f $srcdir/config.status; then
   4123     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4124   fi
   4125 fi
   4126 
   4127 # test whether we have cygpath
   4128 if test -z "$CYGPATH_W"; then
   4129   if (cygpath --version) >/dev/null 2>/dev/null; then
   4130     CYGPATH_W='cygpath -w'
   4131   else
   4132     CYGPATH_W=echo
   4133   fi
   4134 fi
   4135 
   4136 
   4137 # Define the identity of the package.
   4138  PACKAGE='xrefresh'
   4139  VERSION='1.0.6'
   4140 
   4141 
   4142 cat >>confdefs.h <<_ACEOF
   4143 #define PACKAGE "$PACKAGE"
   4144 _ACEOF
   4145 
   4146 
   4147 cat >>confdefs.h <<_ACEOF
   4148 #define VERSION "$VERSION"
   4149 _ACEOF
   4150 
   4151 # Some tools Automake needs.
   4152 
   4153 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4154 
   4155 
   4156 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4157 
   4158 
   4159 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4160 
   4161 
   4162 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4163 
   4164 
   4165 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4166 
   4167 # For better backward compatibility.  To be removed once Automake 1.9.x
   4168 # dies out for good.  For more background, see:
   4169 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4170 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4171 mkdir_p='$(MKDIR_P)'
   4172 
   4173 # We need awk for the "check" target (and possibly the TAP driver).  The
   4174 # system "awk" is bad on some platforms.
   4175 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4176 # in the wild :-(  We should find a proper way to deprecate it ...
   4177 AMTAR='$${TAR-tar}'
   4178 
   4179 
   4180 # We'll loop over all known methods to create a tar archive until one works.
   4181 _am_tools='gnutar  pax cpio none'
   4182 
   4183 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4184 
   4185 
   4186 
   4187 
   4188 
   4189 depcc="$CC"   am_compiler_list=
   4190 
   4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4192 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4193 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4194   $as_echo_n "(cached) " >&6
   4195 else
   4196   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4197   # We make a subdir and do the tests there.  Otherwise we can end up
   4198   # making bogus files that we don't know about and never remove.  For
   4199   # instance it was reported that on HP-UX the gcc test will end up
   4200   # making a dummy file named 'D' -- because '-MD' means "put the output
   4201   # in D".
   4202   rm -rf conftest.dir
   4203   mkdir conftest.dir
   4204   # Copy depcomp to subdir because otherwise we won't find it if we're
   4205   # using a relative directory.
   4206   cp "$am_depcomp" conftest.dir
   4207   cd conftest.dir
   4208   # We will build objects and dependencies in a subdirectory because
   4209   # it helps to detect inapplicable dependency modes.  For instance
   4210   # both Tru64's cc and ICC support -MD to output dependencies as a
   4211   # side effect of compilation, but ICC will put the dependencies in
   4212   # the current directory while Tru64 will put them in the object
   4213   # directory.
   4214   mkdir sub
   4215 
   4216   am_cv_CC_dependencies_compiler_type=none
   4217   if test "$am_compiler_list" = ""; then
   4218      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4219   fi
   4220   am__universal=false
   4221   case " $depcc " in #(
   4222      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4223      esac
   4224 
   4225   for depmode in $am_compiler_list; do
   4226     # Setup a source with many dependencies, because some compilers
   4227     # like to wrap large dependency lists on column 80 (with \), and
   4228     # we should not choose a depcomp mode which is confused by this.
   4229     #
   4230     # We need to recreate these files for each test, as the compiler may
   4231     # overwrite some of them when testing with obscure command lines.
   4232     # This happens at least with the AIX C compiler.
   4233     : > sub/conftest.c
   4234     for i in 1 2 3 4 5 6; do
   4235       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4236       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4237       # Solaris 10 /bin/sh.
   4238       echo '/* dummy */' > sub/conftst$i.h
   4239     done
   4240     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4241 
   4242     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4243     # mode.  It turns out that the SunPro C++ compiler does not properly
   4244     # handle '-M -o', and we need to detect this.  Also, some Intel
   4245     # versions had trouble with output in subdirs.
   4246     am__obj=sub/conftest.${OBJEXT-o}
   4247     am__minus_obj="-o $am__obj"
   4248     case $depmode in
   4249     gcc)
   4250       # This depmode causes a compiler race in universal mode.
   4251       test "$am__universal" = false || continue
   4252       ;;
   4253     nosideeffect)
   4254       # After this tag, mechanisms are not by side-effect, so they'll
   4255       # only be used when explicitly requested.
   4256       if test "x$enable_dependency_tracking" = xyes; then
   4257 	continue
   4258       else
   4259 	break
   4260       fi
   4261       ;;
   4262     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4263       # This compiler won't grok '-c -o', but also, the minuso test has
   4264       # not run yet.  These depmodes are late enough in the game, and
   4265       # so weak that their functioning should not be impacted.
   4266       am__obj=conftest.${OBJEXT-o}
   4267       am__minus_obj=
   4268       ;;
   4269     none) break ;;
   4270     esac
   4271     if depmode=$depmode \
   4272        source=sub/conftest.c object=$am__obj \
   4273        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4274        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4275          >/dev/null 2>conftest.err &&
   4276        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4277        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4278        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4279        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4280       # icc doesn't choke on unknown options, it will just issue warnings
   4281       # or remarks (even with -Werror).  So we grep stderr for any message
   4282       # that says an option was ignored or not supported.
   4283       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4284       #   icc: Command line warning: ignoring option '-M'; no argument required
   4285       # The diagnosis changed in icc 8.0:
   4286       #   icc: Command line remark: option '-MP' not supported
   4287       if (grep 'ignoring option' conftest.err ||
   4288           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4289         am_cv_CC_dependencies_compiler_type=$depmode
   4290         break
   4291       fi
   4292     fi
   4293   done
   4294 
   4295   cd ..
   4296   rm -rf conftest.dir
   4297 else
   4298   am_cv_CC_dependencies_compiler_type=none
   4299 fi
   4300 
   4301 fi
   4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4303 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4304 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4305 
   4306  if
   4307   test "x$enable_dependency_tracking" != xno \
   4308   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4309   am__fastdepCC_TRUE=
   4310   am__fastdepCC_FALSE='#'
   4311 else
   4312   am__fastdepCC_TRUE='#'
   4313   am__fastdepCC_FALSE=
   4314 fi
   4315 
   4316 
   4317 
   4318 # POSIX will say in a future version that running "rm -f" with no argument
   4319 # is OK; and we want to be able to make that assumption in our Makefile
   4320 # recipes.  So use an aggressive probe to check that the usage we want is
   4321 # actually supported "in the wild" to an acceptable degree.
   4322 # See automake bug#10828.
   4323 # To make any issue more visible, cause the running configure to be aborted
   4324 # by default if the 'rm' program in use doesn't match our expectations; the
   4325 # user can still override this though.
   4326 if rm -f && rm -fr && rm -rf; then : OK; else
   4327   cat >&2 <<'END'
   4328 Oops!
   4329 
   4330 Your 'rm' program seems unable to run without file operands specified
   4331 on the command line, even when the '-f' option is present.  This is contrary
   4332 to the behaviour of most rm programs out there, and not conforming with
   4333 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4334 
   4335 Please tell bug-automake@gnu.org about your system, including the value
   4336 of your $PATH and any error possibly output before this message.  This
   4337 can help us improve future automake versions.
   4338 
   4339 END
   4340   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4341     echo 'Configuration will proceed anyway, since you have set the' >&2
   4342     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4343     echo >&2
   4344   else
   4345     cat >&2 <<'END'
   4346 Aborting the configuration process, to ensure you take notice of the issue.
   4347 
   4348 You can download and install GNU coreutils to get an 'rm' implementation
   4349 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   4350 
   4351 If you want to complete the configuration process using your problematic
   4352 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4353 to "yes", and re-run configure.
   4354 
   4355 END
   4356     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4357   fi
   4358 fi
   4359 
   4360 
   4361 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4362 
   4363 
   4364 
   4365 
   4366 
   4367 
   4368 
   4369 
   4370 
   4371 
   4372 
   4373    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4374 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4375 if ${ac_cv_prog_cc_c99+:} false; then :
   4376   $as_echo_n "(cached) " >&6
   4377 else
   4378   ac_cv_prog_cc_c99=no
   4379 ac_save_CC=$CC
   4380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4381 /* end confdefs.h.  */
   4382 #include <stdarg.h>
   4383 #include <stdbool.h>
   4384 #include <stdlib.h>
   4385 #include <wchar.h>
   4386 #include <stdio.h>
   4387 
   4388 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4389 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4390 #define showlist(...) puts (#__VA_ARGS__)
   4391 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4392 static void
   4393 test_varargs_macros (void)
   4394 {
   4395   int x = 1234;
   4396   int y = 5678;
   4397   debug ("Flag");
   4398   debug ("X = %d\n", x);
   4399   showlist (The first, second, and third items.);
   4400   report (x>y, "x is %d but y is %d", x, y);
   4401 }
   4402 
   4403 // Check long long types.
   4404 #define BIG64 18446744073709551615ull
   4405 #define BIG32 4294967295ul
   4406 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4407 #if !BIG_OK
   4408   your preprocessor is broken;
   4409 #endif
   4410 #if BIG_OK
   4411 #else
   4412   your preprocessor is broken;
   4413 #endif
   4414 static long long int bignum = -9223372036854775807LL;
   4415 static unsigned long long int ubignum = BIG64;
   4416 
   4417 struct incomplete_array
   4418 {
   4419   int datasize;
   4420   double data[];
   4421 };
   4422 
   4423 struct named_init {
   4424   int number;
   4425   const wchar_t *name;
   4426   double average;
   4427 };
   4428 
   4429 typedef const char *ccp;
   4430 
   4431 static inline int
   4432 test_restrict (ccp restrict text)
   4433 {
   4434   // See if C++-style comments work.
   4435   // Iterate through items via the restricted pointer.
   4436   // Also check for declarations in for loops.
   4437   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4438     continue;
   4439   return 0;
   4440 }
   4441 
   4442 // Check varargs and va_copy.
   4443 static void
   4444 test_varargs (const char *format, ...)
   4445 {
   4446   va_list args;
   4447   va_start (args, format);
   4448   va_list args_copy;
   4449   va_copy (args_copy, args);
   4450 
   4451   const char *str;
   4452   int number;
   4453   float fnumber;
   4454 
   4455   while (*format)
   4456     {
   4457       switch (*format++)
   4458 	{
   4459 	case 's': // string
   4460 	  str = va_arg (args_copy, const char *);
   4461 	  break;
   4462 	case 'd': // int
   4463 	  number = va_arg (args_copy, int);
   4464 	  break;
   4465 	case 'f': // float
   4466 	  fnumber = va_arg (args_copy, double);
   4467 	  break;
   4468 	default:
   4469 	  break;
   4470 	}
   4471     }
   4472   va_end (args_copy);
   4473   va_end (args);
   4474 }
   4475 
   4476 int
   4477 main ()
   4478 {
   4479 
   4480   // Check bool.
   4481   _Bool success = false;
   4482 
   4483   // Check restrict.
   4484   if (test_restrict ("String literal") == 0)
   4485     success = true;
   4486   char *restrict newvar = "Another string";
   4487 
   4488   // Check varargs.
   4489   test_varargs ("s, d' f .", "string", 65, 34.234);
   4490   test_varargs_macros ();
   4491 
   4492   // Check flexible array members.
   4493   struct incomplete_array *ia =
   4494     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4495   ia->datasize = 10;
   4496   for (int i = 0; i < ia->datasize; ++i)
   4497     ia->data[i] = i * 1.234;
   4498 
   4499   // Check named initializers.
   4500   struct named_init ni = {
   4501     .number = 34,
   4502     .name = L"Test wide string",
   4503     .average = 543.34343,
   4504   };
   4505 
   4506   ni.number = 58;
   4507 
   4508   int dynamic_array[ni.number];
   4509   dynamic_array[ni.number - 1] = 543;
   4510 
   4511   // work around unused variable warnings
   4512   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4513 	  || dynamic_array[ni.number - 1] != 543);
   4514 
   4515   ;
   4516   return 0;
   4517 }
   4518 _ACEOF
   4519 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4520 do
   4521   CC="$ac_save_CC $ac_arg"
   4522   if ac_fn_c_try_compile "$LINENO"; then :
   4523   ac_cv_prog_cc_c99=$ac_arg
   4524 fi
   4525 rm -f core conftest.err conftest.$ac_objext
   4526   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4527 done
   4528 rm -f conftest.$ac_ext
   4529 CC=$ac_save_CC
   4530 
   4531 fi
   4532 # AC_CACHE_VAL
   4533 case "x$ac_cv_prog_cc_c99" in
   4534   x)
   4535     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4536 $as_echo "none needed" >&6; } ;;
   4537   xno)
   4538     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4539 $as_echo "unsupported" >&6; } ;;
   4540   *)
   4541     CC="$CC $ac_cv_prog_cc_c99"
   4542     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4543 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4544 esac
   4545 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4546 
   4547 fi
   4548 
   4549 
   4550 
   4551 
   4552 
   4553 
   4554 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4555 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4556   CLANGCC="yes"
   4557 else
   4558   CLANGCC="no"
   4559 fi
   4560 
   4561 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4562 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4563   INTELCC="yes"
   4564 else
   4565   INTELCC="no"
   4566 fi
   4567 
   4568 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4569 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4570   SUNCC="yes"
   4571 else
   4572   SUNCC="no"
   4573 fi
   4574 
   4575 
   4576 
   4577 
   4578 
   4579 
   4580 
   4581 
   4582 
   4583 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4584 	if test -n "$ac_tool_prefix"; then
   4585   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4586 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4588 $as_echo_n "checking for $ac_word... " >&6; }
   4589 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4590   $as_echo_n "(cached) " >&6
   4591 else
   4592   case $PKG_CONFIG in
   4593   [\\/]* | ?:[\\/]*)
   4594   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4595   ;;
   4596   *)
   4597   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4598 for as_dir in $PATH
   4599 do
   4600   IFS=$as_save_IFS
   4601   test -z "$as_dir" && as_dir=.
   4602     for ac_exec_ext in '' $ac_executable_extensions; do
   4603   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4604     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4605     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4606     break 2
   4607   fi
   4608 done
   4609   done
   4610 IFS=$as_save_IFS
   4611 
   4612   ;;
   4613 esac
   4614 fi
   4615 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4616 if test -n "$PKG_CONFIG"; then
   4617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4618 $as_echo "$PKG_CONFIG" >&6; }
   4619 else
   4620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4621 $as_echo "no" >&6; }
   4622 fi
   4623 
   4624 
   4625 fi
   4626 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4627   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4628   # Extract the first word of "pkg-config", so it can be a program name with args.
   4629 set dummy pkg-config; ac_word=$2
   4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4631 $as_echo_n "checking for $ac_word... " >&6; }
   4632 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4633   $as_echo_n "(cached) " >&6
   4634 else
   4635   case $ac_pt_PKG_CONFIG in
   4636   [\\/]* | ?:[\\/]*)
   4637   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4638   ;;
   4639   *)
   4640   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4641 for as_dir in $PATH
   4642 do
   4643   IFS=$as_save_IFS
   4644   test -z "$as_dir" && as_dir=.
   4645     for ac_exec_ext in '' $ac_executable_extensions; do
   4646   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4647     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4648     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4649     break 2
   4650   fi
   4651 done
   4652   done
   4653 IFS=$as_save_IFS
   4654 
   4655   ;;
   4656 esac
   4657 fi
   4658 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4659 if test -n "$ac_pt_PKG_CONFIG"; then
   4660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4661 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4662 else
   4663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4664 $as_echo "no" >&6; }
   4665 fi
   4666 
   4667   if test "x$ac_pt_PKG_CONFIG" = x; then
   4668     PKG_CONFIG=""
   4669   else
   4670     case $cross_compiling:$ac_tool_warned in
   4671 yes:)
   4672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4674 ac_tool_warned=yes ;;
   4675 esac
   4676     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4677   fi
   4678 else
   4679   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4680 fi
   4681 
   4682 fi
   4683 if test -n "$PKG_CONFIG"; then
   4684 	_pkg_min_version=0.9.0
   4685 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4686 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4687 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4688 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4689 $as_echo "yes" >&6; }
   4690 	else
   4691 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4692 $as_echo "no" >&6; }
   4693 		PKG_CONFIG=""
   4694 	fi
   4695 fi
   4696 # Make sure we can run config.sub.
   4697 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4698   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4699 
   4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4701 $as_echo_n "checking build system type... " >&6; }
   4702 if ${ac_cv_build+:} false; then :
   4703   $as_echo_n "(cached) " >&6
   4704 else
   4705   ac_build_alias=$build_alias
   4706 test "x$ac_build_alias" = x &&
   4707   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4708 test "x$ac_build_alias" = x &&
   4709   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4710 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4711   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4712 
   4713 fi
   4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4715 $as_echo "$ac_cv_build" >&6; }
   4716 case $ac_cv_build in
   4717 *-*-*) ;;
   4718 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4719 esac
   4720 build=$ac_cv_build
   4721 ac_save_IFS=$IFS; IFS='-'
   4722 set x $ac_cv_build
   4723 shift
   4724 build_cpu=$1
   4725 build_vendor=$2
   4726 shift; shift
   4727 # Remember, the first character of IFS is used to create $*,
   4728 # except with old shells:
   4729 build_os=$*
   4730 IFS=$ac_save_IFS
   4731 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4732 
   4733 
   4734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4735 $as_echo_n "checking host system type... " >&6; }
   4736 if ${ac_cv_host+:} false; then :
   4737   $as_echo_n "(cached) " >&6
   4738 else
   4739   if test "x$host_alias" = x; then
   4740   ac_cv_host=$ac_cv_build
   4741 else
   4742   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4743     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4744 fi
   4745 
   4746 fi
   4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4748 $as_echo "$ac_cv_host" >&6; }
   4749 case $ac_cv_host in
   4750 *-*-*) ;;
   4751 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4752 esac
   4753 host=$ac_cv_host
   4754 ac_save_IFS=$IFS; IFS='-'
   4755 set x $ac_cv_host
   4756 shift
   4757 host_cpu=$1
   4758 host_vendor=$2
   4759 shift; shift
   4760 # Remember, the first character of IFS is used to create $*,
   4761 # except with old shells:
   4762 host_os=$*
   4763 IFS=$ac_save_IFS
   4764 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4765 
   4766 
   4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4768 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4769 if ${ac_cv_path_SED+:} false; then :
   4770   $as_echo_n "(cached) " >&6
   4771 else
   4772             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4773      for ac_i in 1 2 3 4 5 6 7; do
   4774        ac_script="$ac_script$as_nl$ac_script"
   4775      done
   4776      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4777      { ac_script=; unset ac_script;}
   4778      if test -z "$SED"; then
   4779   ac_path_SED_found=false
   4780   # Loop through the user's path and test for each of PROGNAME-LIST
   4781   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4782 for as_dir in $PATH
   4783 do
   4784   IFS=$as_save_IFS
   4785   test -z "$as_dir" && as_dir=.
   4786     for ac_prog in sed gsed; do
   4787     for ac_exec_ext in '' $ac_executable_extensions; do
   4788       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4789       as_fn_executable_p "$ac_path_SED" || continue
   4790 # Check for GNU ac_path_SED and select it if it is found.
   4791   # Check for GNU $ac_path_SED
   4792 case `"$ac_path_SED" --version 2>&1` in
   4793 *GNU*)
   4794   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4795 *)
   4796   ac_count=0
   4797   $as_echo_n 0123456789 >"conftest.in"
   4798   while :
   4799   do
   4800     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4801     mv "conftest.tmp" "conftest.in"
   4802     cp "conftest.in" "conftest.nl"
   4803     $as_echo '' >> "conftest.nl"
   4804     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4805     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4806     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4807     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4808       # Best one so far, save it but keep looking for a better one
   4809       ac_cv_path_SED="$ac_path_SED"
   4810       ac_path_SED_max=$ac_count
   4811     fi
   4812     # 10*(2^10) chars as input seems more than enough
   4813     test $ac_count -gt 10 && break
   4814   done
   4815   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4816 esac
   4817 
   4818       $ac_path_SED_found && break 3
   4819     done
   4820   done
   4821   done
   4822 IFS=$as_save_IFS
   4823   if test -z "$ac_cv_path_SED"; then
   4824     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4825   fi
   4826 else
   4827   ac_cv_path_SED=$SED
   4828 fi
   4829 
   4830 fi
   4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4832 $as_echo "$ac_cv_path_SED" >&6; }
   4833  SED="$ac_cv_path_SED"
   4834   rm -f conftest.sed
   4835 
   4836 
   4837 
   4838 
   4839 
   4840 
   4841 # Check whether --enable-selective-werror was given.
   4842 if test "${enable_selective_werror+set}" = set; then :
   4843   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4844 else
   4845   SELECTIVE_WERROR=yes
   4846 fi
   4847 
   4848 
   4849 
   4850 
   4851 
   4852 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4853 if test "x$SUNCC" = "xyes"; then
   4854     BASE_CFLAGS="-v"
   4855 else
   4856     BASE_CFLAGS=""
   4857 fi
   4858 
   4859 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4860 
   4861 
   4862 
   4863 
   4864 
   4865 
   4866 
   4867 
   4868 
   4869 
   4870 
   4871 
   4872 
   4873 xorg_testset_save_CFLAGS="$CFLAGS"
   4874 
   4875 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4876 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4877 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4878 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4879 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4880   $as_echo_n "(cached) " >&6
   4881 else
   4882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4883 /* end confdefs.h.  */
   4884 int i;
   4885 _ACEOF
   4886 if ac_fn_c_try_compile "$LINENO"; then :
   4887   xorg_cv_cc_flag_unknown_warning_option=yes
   4888 else
   4889   xorg_cv_cc_flag_unknown_warning_option=no
   4890 fi
   4891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4892 fi
   4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4894 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4895 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4896 	CFLAGS="$xorg_testset_save_CFLAGS"
   4897 fi
   4898 
   4899 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4900 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4901 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4902 	fi
   4903 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4904 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4905 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4906 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4907   $as_echo_n "(cached) " >&6
   4908 else
   4909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4910 /* end confdefs.h.  */
   4911 int i;
   4912 _ACEOF
   4913 if ac_fn_c_try_compile "$LINENO"; then :
   4914   xorg_cv_cc_flag_unused_command_line_argument=yes
   4915 else
   4916   xorg_cv_cc_flag_unused_command_line_argument=no
   4917 fi
   4918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4919 fi
   4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4921 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4922 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4923 	CFLAGS="$xorg_testset_save_CFLAGS"
   4924 fi
   4925 
   4926 found="no"
   4927 
   4928 	if test $found = "no" ; then
   4929 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4930 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4931 		fi
   4932 
   4933 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4934 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4935 		fi
   4936 
   4937 		CFLAGS="$CFLAGS -Wall"
   4938 
   4939 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4940 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4941 		cacheid=xorg_cv_cc_flag__Wall
   4942 		if eval \${$cacheid+:} false; then :
   4943   $as_echo_n "(cached) " >&6
   4944 else
   4945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4946 /* end confdefs.h.  */
   4947 int i;
   4948 int
   4949 main ()
   4950 {
   4951 
   4952   ;
   4953   return 0;
   4954 }
   4955 _ACEOF
   4956 if ac_fn_c_try_link "$LINENO"; then :
   4957   eval $cacheid=yes
   4958 else
   4959   eval $cacheid=no
   4960 fi
   4961 rm -f core conftest.err conftest.$ac_objext \
   4962     conftest$ac_exeext conftest.$ac_ext
   4963 fi
   4964 
   4965 
   4966 		CFLAGS="$xorg_testset_save_CFLAGS"
   4967 
   4968 		eval supported=\$$cacheid
   4969 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4970 $as_echo "$supported" >&6; }
   4971 		if test "$supported" = "yes" ; then
   4972 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4973 			found="yes"
   4974 		fi
   4975 	fi
   4976 
   4977 
   4978 
   4979 
   4980 
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 
   4987 
   4988 
   4989 
   4990 
   4991 xorg_testset_save_CFLAGS="$CFLAGS"
   4992 
   4993 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4994 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4995 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4996 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4997 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4998   $as_echo_n "(cached) " >&6
   4999 else
   5000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5001 /* end confdefs.h.  */
   5002 int i;
   5003 _ACEOF
   5004 if ac_fn_c_try_compile "$LINENO"; then :
   5005   xorg_cv_cc_flag_unknown_warning_option=yes
   5006 else
   5007   xorg_cv_cc_flag_unknown_warning_option=no
   5008 fi
   5009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5010 fi
   5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5012 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5013 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5014 	CFLAGS="$xorg_testset_save_CFLAGS"
   5015 fi
   5016 
   5017 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5018 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5019 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5020 	fi
   5021 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5022 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5023 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5024 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5025   $as_echo_n "(cached) " >&6
   5026 else
   5027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5028 /* end confdefs.h.  */
   5029 int i;
   5030 _ACEOF
   5031 if ac_fn_c_try_compile "$LINENO"; then :
   5032   xorg_cv_cc_flag_unused_command_line_argument=yes
   5033 else
   5034   xorg_cv_cc_flag_unused_command_line_argument=no
   5035 fi
   5036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5037 fi
   5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5039 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5040 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5041 	CFLAGS="$xorg_testset_save_CFLAGS"
   5042 fi
   5043 
   5044 found="no"
   5045 
   5046 	if test $found = "no" ; then
   5047 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5048 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5049 		fi
   5050 
   5051 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5052 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5053 		fi
   5054 
   5055 		CFLAGS="$CFLAGS -Wpointer-arith"
   5056 
   5057 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5058 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5059 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5060 		if eval \${$cacheid+:} false; then :
   5061   $as_echo_n "(cached) " >&6
   5062 else
   5063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5064 /* end confdefs.h.  */
   5065 int i;
   5066 int
   5067 main ()
   5068 {
   5069 
   5070   ;
   5071   return 0;
   5072 }
   5073 _ACEOF
   5074 if ac_fn_c_try_link "$LINENO"; then :
   5075   eval $cacheid=yes
   5076 else
   5077   eval $cacheid=no
   5078 fi
   5079 rm -f core conftest.err conftest.$ac_objext \
   5080     conftest$ac_exeext conftest.$ac_ext
   5081 fi
   5082 
   5083 
   5084 		CFLAGS="$xorg_testset_save_CFLAGS"
   5085 
   5086 		eval supported=\$$cacheid
   5087 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5088 $as_echo "$supported" >&6; }
   5089 		if test "$supported" = "yes" ; then
   5090 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5091 			found="yes"
   5092 		fi
   5093 	fi
   5094 
   5095 
   5096 
   5097 
   5098 
   5099 
   5100 
   5101 
   5102 
   5103 
   5104 
   5105 
   5106 
   5107 
   5108 
   5109 xorg_testset_save_CFLAGS="$CFLAGS"
   5110 
   5111 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5112 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5113 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5114 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5115 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5116   $as_echo_n "(cached) " >&6
   5117 else
   5118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5119 /* end confdefs.h.  */
   5120 int i;
   5121 _ACEOF
   5122 if ac_fn_c_try_compile "$LINENO"; then :
   5123   xorg_cv_cc_flag_unknown_warning_option=yes
   5124 else
   5125   xorg_cv_cc_flag_unknown_warning_option=no
   5126 fi
   5127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5128 fi
   5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5130 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5131 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5132 	CFLAGS="$xorg_testset_save_CFLAGS"
   5133 fi
   5134 
   5135 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5136 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5137 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5138 	fi
   5139 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5140 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5141 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5142 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5143   $as_echo_n "(cached) " >&6
   5144 else
   5145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5146 /* end confdefs.h.  */
   5147 int i;
   5148 _ACEOF
   5149 if ac_fn_c_try_compile "$LINENO"; then :
   5150   xorg_cv_cc_flag_unused_command_line_argument=yes
   5151 else
   5152   xorg_cv_cc_flag_unused_command_line_argument=no
   5153 fi
   5154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5155 fi
   5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5157 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5158 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5159 	CFLAGS="$xorg_testset_save_CFLAGS"
   5160 fi
   5161 
   5162 found="no"
   5163 
   5164 	if test $found = "no" ; then
   5165 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5166 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5167 		fi
   5168 
   5169 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5170 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5171 		fi
   5172 
   5173 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5174 
   5175 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5176 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5177 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5178 		if eval \${$cacheid+:} false; then :
   5179   $as_echo_n "(cached) " >&6
   5180 else
   5181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5182 /* end confdefs.h.  */
   5183 int i;
   5184 int
   5185 main ()
   5186 {
   5187 
   5188   ;
   5189   return 0;
   5190 }
   5191 _ACEOF
   5192 if ac_fn_c_try_link "$LINENO"; then :
   5193   eval $cacheid=yes
   5194 else
   5195   eval $cacheid=no
   5196 fi
   5197 rm -f core conftest.err conftest.$ac_objext \
   5198     conftest$ac_exeext conftest.$ac_ext
   5199 fi
   5200 
   5201 
   5202 		CFLAGS="$xorg_testset_save_CFLAGS"
   5203 
   5204 		eval supported=\$$cacheid
   5205 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5206 $as_echo "$supported" >&6; }
   5207 		if test "$supported" = "yes" ; then
   5208 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5209 			found="yes"
   5210 		fi
   5211 	fi
   5212 
   5213 
   5214 
   5215 
   5216 
   5217 
   5218 
   5219 
   5220 
   5221 
   5222 
   5223 
   5224 
   5225 
   5226 
   5227 xorg_testset_save_CFLAGS="$CFLAGS"
   5228 
   5229 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5230 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5231 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5232 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5233 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5234   $as_echo_n "(cached) " >&6
   5235 else
   5236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5237 /* end confdefs.h.  */
   5238 int i;
   5239 _ACEOF
   5240 if ac_fn_c_try_compile "$LINENO"; then :
   5241   xorg_cv_cc_flag_unknown_warning_option=yes
   5242 else
   5243   xorg_cv_cc_flag_unknown_warning_option=no
   5244 fi
   5245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5246 fi
   5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5248 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5249 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5250 	CFLAGS="$xorg_testset_save_CFLAGS"
   5251 fi
   5252 
   5253 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5254 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5255 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5256 	fi
   5257 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5258 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5259 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5260 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5261   $as_echo_n "(cached) " >&6
   5262 else
   5263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5264 /* end confdefs.h.  */
   5265 int i;
   5266 _ACEOF
   5267 if ac_fn_c_try_compile "$LINENO"; then :
   5268   xorg_cv_cc_flag_unused_command_line_argument=yes
   5269 else
   5270   xorg_cv_cc_flag_unused_command_line_argument=no
   5271 fi
   5272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5273 fi
   5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5275 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5276 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5277 	CFLAGS="$xorg_testset_save_CFLAGS"
   5278 fi
   5279 
   5280 found="no"
   5281 
   5282 	if test $found = "no" ; then
   5283 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5284 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5285 		fi
   5286 
   5287 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5288 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5289 		fi
   5290 
   5291 		CFLAGS="$CFLAGS -Wformat=2"
   5292 
   5293 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5294 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5295 		cacheid=xorg_cv_cc_flag__Wformat_2
   5296 		if eval \${$cacheid+:} false; then :
   5297   $as_echo_n "(cached) " >&6
   5298 else
   5299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5300 /* end confdefs.h.  */
   5301 int i;
   5302 int
   5303 main ()
   5304 {
   5305 
   5306   ;
   5307   return 0;
   5308 }
   5309 _ACEOF
   5310 if ac_fn_c_try_link "$LINENO"; then :
   5311   eval $cacheid=yes
   5312 else
   5313   eval $cacheid=no
   5314 fi
   5315 rm -f core conftest.err conftest.$ac_objext \
   5316     conftest$ac_exeext conftest.$ac_ext
   5317 fi
   5318 
   5319 
   5320 		CFLAGS="$xorg_testset_save_CFLAGS"
   5321 
   5322 		eval supported=\$$cacheid
   5323 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5324 $as_echo "$supported" >&6; }
   5325 		if test "$supported" = "yes" ; then
   5326 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5327 			found="yes"
   5328 		fi
   5329 	fi
   5330 
   5331 	if test $found = "no" ; then
   5332 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5333 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5334 		fi
   5335 
   5336 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5337 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5338 		fi
   5339 
   5340 		CFLAGS="$CFLAGS -Wformat"
   5341 
   5342 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5343 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5344 		cacheid=xorg_cv_cc_flag__Wformat
   5345 		if eval \${$cacheid+:} false; then :
   5346   $as_echo_n "(cached) " >&6
   5347 else
   5348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5349 /* end confdefs.h.  */
   5350 int i;
   5351 int
   5352 main ()
   5353 {
   5354 
   5355   ;
   5356   return 0;
   5357 }
   5358 _ACEOF
   5359 if ac_fn_c_try_link "$LINENO"; then :
   5360   eval $cacheid=yes
   5361 else
   5362   eval $cacheid=no
   5363 fi
   5364 rm -f core conftest.err conftest.$ac_objext \
   5365     conftest$ac_exeext conftest.$ac_ext
   5366 fi
   5367 
   5368 
   5369 		CFLAGS="$xorg_testset_save_CFLAGS"
   5370 
   5371 		eval supported=\$$cacheid
   5372 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5373 $as_echo "$supported" >&6; }
   5374 		if test "$supported" = "yes" ; then
   5375 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5376 			found="yes"
   5377 		fi
   5378 	fi
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 
   5385 
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 
   5394 
   5395 
   5396 xorg_testset_save_CFLAGS="$CFLAGS"
   5397 
   5398 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5399 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5400 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5401 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5402 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5403   $as_echo_n "(cached) " >&6
   5404 else
   5405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5406 /* end confdefs.h.  */
   5407 int i;
   5408 _ACEOF
   5409 if ac_fn_c_try_compile "$LINENO"; then :
   5410   xorg_cv_cc_flag_unknown_warning_option=yes
   5411 else
   5412   xorg_cv_cc_flag_unknown_warning_option=no
   5413 fi
   5414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5415 fi
   5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5417 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5418 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5419 	CFLAGS="$xorg_testset_save_CFLAGS"
   5420 fi
   5421 
   5422 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5423 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5424 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5425 	fi
   5426 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5427 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5428 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5429 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5430   $as_echo_n "(cached) " >&6
   5431 else
   5432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5433 /* end confdefs.h.  */
   5434 int i;
   5435 _ACEOF
   5436 if ac_fn_c_try_compile "$LINENO"; then :
   5437   xorg_cv_cc_flag_unused_command_line_argument=yes
   5438 else
   5439   xorg_cv_cc_flag_unused_command_line_argument=no
   5440 fi
   5441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5442 fi
   5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5444 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5445 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5446 	CFLAGS="$xorg_testset_save_CFLAGS"
   5447 fi
   5448 
   5449 found="no"
   5450 
   5451 	if test $found = "no" ; then
   5452 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5453 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5454 		fi
   5455 
   5456 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5457 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5458 		fi
   5459 
   5460 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5461 
   5462 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5463 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5464 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5465 		if eval \${$cacheid+:} false; then :
   5466   $as_echo_n "(cached) " >&6
   5467 else
   5468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5469 /* end confdefs.h.  */
   5470 int i;
   5471 int
   5472 main ()
   5473 {
   5474 
   5475   ;
   5476   return 0;
   5477 }
   5478 _ACEOF
   5479 if ac_fn_c_try_link "$LINENO"; then :
   5480   eval $cacheid=yes
   5481 else
   5482   eval $cacheid=no
   5483 fi
   5484 rm -f core conftest.err conftest.$ac_objext \
   5485     conftest$ac_exeext conftest.$ac_ext
   5486 fi
   5487 
   5488 
   5489 		CFLAGS="$xorg_testset_save_CFLAGS"
   5490 
   5491 		eval supported=\$$cacheid
   5492 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5493 $as_echo "$supported" >&6; }
   5494 		if test "$supported" = "yes" ; then
   5495 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5496 			found="yes"
   5497 		fi
   5498 	fi
   5499 
   5500 
   5501 
   5502 
   5503 
   5504 
   5505 
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 xorg_testset_save_CFLAGS="$CFLAGS"
   5515 
   5516 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5517 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5518 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5519 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5520 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5521   $as_echo_n "(cached) " >&6
   5522 else
   5523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5524 /* end confdefs.h.  */
   5525 int i;
   5526 _ACEOF
   5527 if ac_fn_c_try_compile "$LINENO"; then :
   5528   xorg_cv_cc_flag_unknown_warning_option=yes
   5529 else
   5530   xorg_cv_cc_flag_unknown_warning_option=no
   5531 fi
   5532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5533 fi
   5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5535 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5536 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5537 	CFLAGS="$xorg_testset_save_CFLAGS"
   5538 fi
   5539 
   5540 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5541 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5542 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5543 	fi
   5544 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5545 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5546 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5547 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5548   $as_echo_n "(cached) " >&6
   5549 else
   5550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5551 /* end confdefs.h.  */
   5552 int i;
   5553 _ACEOF
   5554 if ac_fn_c_try_compile "$LINENO"; then :
   5555   xorg_cv_cc_flag_unused_command_line_argument=yes
   5556 else
   5557   xorg_cv_cc_flag_unused_command_line_argument=no
   5558 fi
   5559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5560 fi
   5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5562 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5563 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5564 	CFLAGS="$xorg_testset_save_CFLAGS"
   5565 fi
   5566 
   5567 found="no"
   5568 
   5569 	if test $found = "no" ; then
   5570 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5571 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5572 		fi
   5573 
   5574 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5575 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5576 		fi
   5577 
   5578 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5579 
   5580 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5581 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5582 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5583 		if eval \${$cacheid+:} false; then :
   5584   $as_echo_n "(cached) " >&6
   5585 else
   5586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5587 /* end confdefs.h.  */
   5588 int i;
   5589 int
   5590 main ()
   5591 {
   5592 
   5593   ;
   5594   return 0;
   5595 }
   5596 _ACEOF
   5597 if ac_fn_c_try_link "$LINENO"; then :
   5598   eval $cacheid=yes
   5599 else
   5600   eval $cacheid=no
   5601 fi
   5602 rm -f core conftest.err conftest.$ac_objext \
   5603     conftest$ac_exeext conftest.$ac_ext
   5604 fi
   5605 
   5606 
   5607 		CFLAGS="$xorg_testset_save_CFLAGS"
   5608 
   5609 		eval supported=\$$cacheid
   5610 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5611 $as_echo "$supported" >&6; }
   5612 		if test "$supported" = "yes" ; then
   5613 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5614 			found="yes"
   5615 		fi
   5616 	fi
   5617 
   5618 
   5619 
   5620 
   5621 
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 xorg_testset_save_CFLAGS="$CFLAGS"
   5633 
   5634 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5635 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5636 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5637 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5638 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5639   $as_echo_n "(cached) " >&6
   5640 else
   5641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5642 /* end confdefs.h.  */
   5643 int i;
   5644 _ACEOF
   5645 if ac_fn_c_try_compile "$LINENO"; then :
   5646   xorg_cv_cc_flag_unknown_warning_option=yes
   5647 else
   5648   xorg_cv_cc_flag_unknown_warning_option=no
   5649 fi
   5650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5651 fi
   5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5653 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5654 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5655 	CFLAGS="$xorg_testset_save_CFLAGS"
   5656 fi
   5657 
   5658 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5659 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5660 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5661 	fi
   5662 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5663 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5664 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5665 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5666   $as_echo_n "(cached) " >&6
   5667 else
   5668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5669 /* end confdefs.h.  */
   5670 int i;
   5671 _ACEOF
   5672 if ac_fn_c_try_compile "$LINENO"; then :
   5673   xorg_cv_cc_flag_unused_command_line_argument=yes
   5674 else
   5675   xorg_cv_cc_flag_unused_command_line_argument=no
   5676 fi
   5677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5678 fi
   5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5680 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5681 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5682 	CFLAGS="$xorg_testset_save_CFLAGS"
   5683 fi
   5684 
   5685 found="no"
   5686 
   5687 	if test $found = "no" ; then
   5688 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5689 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5690 		fi
   5691 
   5692 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5693 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5694 		fi
   5695 
   5696 		CFLAGS="$CFLAGS -Wnested-externs"
   5697 
   5698 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5699 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5700 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5701 		if eval \${$cacheid+:} false; then :
   5702   $as_echo_n "(cached) " >&6
   5703 else
   5704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5705 /* end confdefs.h.  */
   5706 int i;
   5707 int
   5708 main ()
   5709 {
   5710 
   5711   ;
   5712   return 0;
   5713 }
   5714 _ACEOF
   5715 if ac_fn_c_try_link "$LINENO"; then :
   5716   eval $cacheid=yes
   5717 else
   5718   eval $cacheid=no
   5719 fi
   5720 rm -f core conftest.err conftest.$ac_objext \
   5721     conftest$ac_exeext conftest.$ac_ext
   5722 fi
   5723 
   5724 
   5725 		CFLAGS="$xorg_testset_save_CFLAGS"
   5726 
   5727 		eval supported=\$$cacheid
   5728 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5729 $as_echo "$supported" >&6; }
   5730 		if test "$supported" = "yes" ; then
   5731 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5732 			found="yes"
   5733 		fi
   5734 	fi
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 xorg_testset_save_CFLAGS="$CFLAGS"
   5751 
   5752 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5753 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5754 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5755 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5756 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5757   $as_echo_n "(cached) " >&6
   5758 else
   5759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5760 /* end confdefs.h.  */
   5761 int i;
   5762 _ACEOF
   5763 if ac_fn_c_try_compile "$LINENO"; then :
   5764   xorg_cv_cc_flag_unknown_warning_option=yes
   5765 else
   5766   xorg_cv_cc_flag_unknown_warning_option=no
   5767 fi
   5768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5769 fi
   5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5771 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5772 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5773 	CFLAGS="$xorg_testset_save_CFLAGS"
   5774 fi
   5775 
   5776 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5777 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5778 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5779 	fi
   5780 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5781 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5782 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5783 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5784   $as_echo_n "(cached) " >&6
   5785 else
   5786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5787 /* end confdefs.h.  */
   5788 int i;
   5789 _ACEOF
   5790 if ac_fn_c_try_compile "$LINENO"; then :
   5791   xorg_cv_cc_flag_unused_command_line_argument=yes
   5792 else
   5793   xorg_cv_cc_flag_unused_command_line_argument=no
   5794 fi
   5795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5796 fi
   5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5798 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5799 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5800 	CFLAGS="$xorg_testset_save_CFLAGS"
   5801 fi
   5802 
   5803 found="no"
   5804 
   5805 	if test $found = "no" ; then
   5806 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5807 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5808 		fi
   5809 
   5810 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5811 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5812 		fi
   5813 
   5814 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5815 
   5816 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5817 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5818 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5819 		if eval \${$cacheid+:} false; then :
   5820   $as_echo_n "(cached) " >&6
   5821 else
   5822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5823 /* end confdefs.h.  */
   5824 int i;
   5825 int
   5826 main ()
   5827 {
   5828 
   5829   ;
   5830   return 0;
   5831 }
   5832 _ACEOF
   5833 if ac_fn_c_try_link "$LINENO"; then :
   5834   eval $cacheid=yes
   5835 else
   5836   eval $cacheid=no
   5837 fi
   5838 rm -f core conftest.err conftest.$ac_objext \
   5839     conftest$ac_exeext conftest.$ac_ext
   5840 fi
   5841 
   5842 
   5843 		CFLAGS="$xorg_testset_save_CFLAGS"
   5844 
   5845 		eval supported=\$$cacheid
   5846 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5847 $as_echo "$supported" >&6; }
   5848 		if test "$supported" = "yes" ; then
   5849 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5850 			found="yes"
   5851 		fi
   5852 	fi
   5853 
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 xorg_testset_save_CFLAGS="$CFLAGS"
   5869 
   5870 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5871 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5872 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5873 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5874 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5875   $as_echo_n "(cached) " >&6
   5876 else
   5877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5878 /* end confdefs.h.  */
   5879 int i;
   5880 _ACEOF
   5881 if ac_fn_c_try_compile "$LINENO"; then :
   5882   xorg_cv_cc_flag_unknown_warning_option=yes
   5883 else
   5884   xorg_cv_cc_flag_unknown_warning_option=no
   5885 fi
   5886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5887 fi
   5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5889 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5890 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5891 	CFLAGS="$xorg_testset_save_CFLAGS"
   5892 fi
   5893 
   5894 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5895 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5896 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5897 	fi
   5898 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5899 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5900 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5901 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5902   $as_echo_n "(cached) " >&6
   5903 else
   5904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5905 /* end confdefs.h.  */
   5906 int i;
   5907 _ACEOF
   5908 if ac_fn_c_try_compile "$LINENO"; then :
   5909   xorg_cv_cc_flag_unused_command_line_argument=yes
   5910 else
   5911   xorg_cv_cc_flag_unused_command_line_argument=no
   5912 fi
   5913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5914 fi
   5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5916 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5917 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5918 	CFLAGS="$xorg_testset_save_CFLAGS"
   5919 fi
   5920 
   5921 found="no"
   5922 
   5923 	if test $found = "no" ; then
   5924 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5925 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5926 		fi
   5927 
   5928 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5929 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5930 		fi
   5931 
   5932 		CFLAGS="$CFLAGS -Wold-style-definition"
   5933 
   5934 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5935 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5936 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5937 		if eval \${$cacheid+:} false; then :
   5938   $as_echo_n "(cached) " >&6
   5939 else
   5940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5941 /* end confdefs.h.  */
   5942 int i;
   5943 int
   5944 main ()
   5945 {
   5946 
   5947   ;
   5948   return 0;
   5949 }
   5950 _ACEOF
   5951 if ac_fn_c_try_link "$LINENO"; then :
   5952   eval $cacheid=yes
   5953 else
   5954   eval $cacheid=no
   5955 fi
   5956 rm -f core conftest.err conftest.$ac_objext \
   5957     conftest$ac_exeext conftest.$ac_ext
   5958 fi
   5959 
   5960 
   5961 		CFLAGS="$xorg_testset_save_CFLAGS"
   5962 
   5963 		eval supported=\$$cacheid
   5964 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5965 $as_echo "$supported" >&6; }
   5966 		if test "$supported" = "yes" ; then
   5967 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5968 			found="yes"
   5969 		fi
   5970 	fi
   5971 
   5972 	if test $found = "no" ; then
   5973 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5974 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5975 		fi
   5976 
   5977 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5978 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5979 		fi
   5980 
   5981 		CFLAGS="$CFLAGS -fd"
   5982 
   5983 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5984 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5985 		cacheid=xorg_cv_cc_flag__fd
   5986 		if eval \${$cacheid+:} false; then :
   5987   $as_echo_n "(cached) " >&6
   5988 else
   5989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5990 /* end confdefs.h.  */
   5991 int i;
   5992 int
   5993 main ()
   5994 {
   5995 
   5996   ;
   5997   return 0;
   5998 }
   5999 _ACEOF
   6000 if ac_fn_c_try_link "$LINENO"; then :
   6001   eval $cacheid=yes
   6002 else
   6003   eval $cacheid=no
   6004 fi
   6005 rm -f core conftest.err conftest.$ac_objext \
   6006     conftest$ac_exeext conftest.$ac_ext
   6007 fi
   6008 
   6009 
   6010 		CFLAGS="$xorg_testset_save_CFLAGS"
   6011 
   6012 		eval supported=\$$cacheid
   6013 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6014 $as_echo "$supported" >&6; }
   6015 		if test "$supported" = "yes" ; then
   6016 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6017 			found="yes"
   6018 		fi
   6019 	fi
   6020 
   6021 
   6022 
   6023 
   6024 
   6025 
   6026 
   6027 
   6028 
   6029 
   6030 
   6031 
   6032 
   6033 
   6034 
   6035 xorg_testset_save_CFLAGS="$CFLAGS"
   6036 
   6037 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6038 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6039 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6040 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6041 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6042   $as_echo_n "(cached) " >&6
   6043 else
   6044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6045 /* end confdefs.h.  */
   6046 int i;
   6047 _ACEOF
   6048 if ac_fn_c_try_compile "$LINENO"; then :
   6049   xorg_cv_cc_flag_unknown_warning_option=yes
   6050 else
   6051   xorg_cv_cc_flag_unknown_warning_option=no
   6052 fi
   6053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6054 fi
   6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6056 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6057 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6058 	CFLAGS="$xorg_testset_save_CFLAGS"
   6059 fi
   6060 
   6061 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6062 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6063 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6064 	fi
   6065 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6066 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6067 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6068 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6069   $as_echo_n "(cached) " >&6
   6070 else
   6071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6072 /* end confdefs.h.  */
   6073 int i;
   6074 _ACEOF
   6075 if ac_fn_c_try_compile "$LINENO"; then :
   6076   xorg_cv_cc_flag_unused_command_line_argument=yes
   6077 else
   6078   xorg_cv_cc_flag_unused_command_line_argument=no
   6079 fi
   6080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6081 fi
   6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6083 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6084 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6085 	CFLAGS="$xorg_testset_save_CFLAGS"
   6086 fi
   6087 
   6088 found="no"
   6089 
   6090 	if test $found = "no" ; then
   6091 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6092 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6093 		fi
   6094 
   6095 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6096 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6097 		fi
   6098 
   6099 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6100 
   6101 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6102 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6103 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6104 		if eval \${$cacheid+:} false; then :
   6105   $as_echo_n "(cached) " >&6
   6106 else
   6107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6108 /* end confdefs.h.  */
   6109 int i;
   6110 int
   6111 main ()
   6112 {
   6113 
   6114   ;
   6115   return 0;
   6116 }
   6117 _ACEOF
   6118 if ac_fn_c_try_link "$LINENO"; then :
   6119   eval $cacheid=yes
   6120 else
   6121   eval $cacheid=no
   6122 fi
   6123 rm -f core conftest.err conftest.$ac_objext \
   6124     conftest$ac_exeext conftest.$ac_ext
   6125 fi
   6126 
   6127 
   6128 		CFLAGS="$xorg_testset_save_CFLAGS"
   6129 
   6130 		eval supported=\$$cacheid
   6131 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6132 $as_echo "$supported" >&6; }
   6133 		if test "$supported" = "yes" ; then
   6134 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6135 			found="yes"
   6136 		fi
   6137 	fi
   6138 
   6139 
   6140 
   6141 
   6142 
   6143 # This chunk adds additional warnings that could catch undesired effects.
   6144 
   6145 
   6146 
   6147 
   6148 
   6149 
   6150 
   6151 
   6152 
   6153 
   6154 
   6155 
   6156 
   6157 xorg_testset_save_CFLAGS="$CFLAGS"
   6158 
   6159 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6160 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6161 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6162 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6163 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6164   $as_echo_n "(cached) " >&6
   6165 else
   6166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6167 /* end confdefs.h.  */
   6168 int i;
   6169 _ACEOF
   6170 if ac_fn_c_try_compile "$LINENO"; then :
   6171   xorg_cv_cc_flag_unknown_warning_option=yes
   6172 else
   6173   xorg_cv_cc_flag_unknown_warning_option=no
   6174 fi
   6175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6176 fi
   6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6178 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6179 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6180 	CFLAGS="$xorg_testset_save_CFLAGS"
   6181 fi
   6182 
   6183 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6184 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6185 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6186 	fi
   6187 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6188 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6189 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6190 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6191   $as_echo_n "(cached) " >&6
   6192 else
   6193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6194 /* end confdefs.h.  */
   6195 int i;
   6196 _ACEOF
   6197 if ac_fn_c_try_compile "$LINENO"; then :
   6198   xorg_cv_cc_flag_unused_command_line_argument=yes
   6199 else
   6200   xorg_cv_cc_flag_unused_command_line_argument=no
   6201 fi
   6202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6203 fi
   6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6205 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6206 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6207 	CFLAGS="$xorg_testset_save_CFLAGS"
   6208 fi
   6209 
   6210 found="no"
   6211 
   6212 	if test $found = "no" ; then
   6213 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6214 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6215 		fi
   6216 
   6217 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6218 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6219 		fi
   6220 
   6221 		CFLAGS="$CFLAGS -Wunused"
   6222 
   6223 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6224 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6225 		cacheid=xorg_cv_cc_flag__Wunused
   6226 		if eval \${$cacheid+:} false; then :
   6227   $as_echo_n "(cached) " >&6
   6228 else
   6229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6230 /* end confdefs.h.  */
   6231 int i;
   6232 int
   6233 main ()
   6234 {
   6235 
   6236   ;
   6237   return 0;
   6238 }
   6239 _ACEOF
   6240 if ac_fn_c_try_link "$LINENO"; then :
   6241   eval $cacheid=yes
   6242 else
   6243   eval $cacheid=no
   6244 fi
   6245 rm -f core conftest.err conftest.$ac_objext \
   6246     conftest$ac_exeext conftest.$ac_ext
   6247 fi
   6248 
   6249 
   6250 		CFLAGS="$xorg_testset_save_CFLAGS"
   6251 
   6252 		eval supported=\$$cacheid
   6253 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6254 $as_echo "$supported" >&6; }
   6255 		if test "$supported" = "yes" ; then
   6256 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6257 			found="yes"
   6258 		fi
   6259 	fi
   6260 
   6261 
   6262 
   6263 
   6264 
   6265 
   6266 
   6267 
   6268 
   6269 
   6270 
   6271 
   6272 
   6273 
   6274 
   6275 xorg_testset_save_CFLAGS="$CFLAGS"
   6276 
   6277 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6278 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6279 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6280 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6281 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6282   $as_echo_n "(cached) " >&6
   6283 else
   6284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6285 /* end confdefs.h.  */
   6286 int i;
   6287 _ACEOF
   6288 if ac_fn_c_try_compile "$LINENO"; then :
   6289   xorg_cv_cc_flag_unknown_warning_option=yes
   6290 else
   6291   xorg_cv_cc_flag_unknown_warning_option=no
   6292 fi
   6293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6294 fi
   6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6296 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6297 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6298 	CFLAGS="$xorg_testset_save_CFLAGS"
   6299 fi
   6300 
   6301 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6302 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6303 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6304 	fi
   6305 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6306 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6307 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6308 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6309   $as_echo_n "(cached) " >&6
   6310 else
   6311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6312 /* end confdefs.h.  */
   6313 int i;
   6314 _ACEOF
   6315 if ac_fn_c_try_compile "$LINENO"; then :
   6316   xorg_cv_cc_flag_unused_command_line_argument=yes
   6317 else
   6318   xorg_cv_cc_flag_unused_command_line_argument=no
   6319 fi
   6320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6321 fi
   6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6323 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6324 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6325 	CFLAGS="$xorg_testset_save_CFLAGS"
   6326 fi
   6327 
   6328 found="no"
   6329 
   6330 	if test $found = "no" ; then
   6331 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6332 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6333 		fi
   6334 
   6335 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6336 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6337 		fi
   6338 
   6339 		CFLAGS="$CFLAGS -Wuninitialized"
   6340 
   6341 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6342 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6343 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6344 		if eval \${$cacheid+:} false; then :
   6345   $as_echo_n "(cached) " >&6
   6346 else
   6347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6348 /* end confdefs.h.  */
   6349 int i;
   6350 int
   6351 main ()
   6352 {
   6353 
   6354   ;
   6355   return 0;
   6356 }
   6357 _ACEOF
   6358 if ac_fn_c_try_link "$LINENO"; then :
   6359   eval $cacheid=yes
   6360 else
   6361   eval $cacheid=no
   6362 fi
   6363 rm -f core conftest.err conftest.$ac_objext \
   6364     conftest$ac_exeext conftest.$ac_ext
   6365 fi
   6366 
   6367 
   6368 		CFLAGS="$xorg_testset_save_CFLAGS"
   6369 
   6370 		eval supported=\$$cacheid
   6371 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6372 $as_echo "$supported" >&6; }
   6373 		if test "$supported" = "yes" ; then
   6374 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6375 			found="yes"
   6376 		fi
   6377 	fi
   6378 
   6379 
   6380 
   6381 
   6382 
   6383 
   6384 
   6385 
   6386 
   6387 
   6388 
   6389 
   6390 
   6391 
   6392 
   6393 xorg_testset_save_CFLAGS="$CFLAGS"
   6394 
   6395 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6396 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6397 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6398 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6399 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6400   $as_echo_n "(cached) " >&6
   6401 else
   6402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6403 /* end confdefs.h.  */
   6404 int i;
   6405 _ACEOF
   6406 if ac_fn_c_try_compile "$LINENO"; then :
   6407   xorg_cv_cc_flag_unknown_warning_option=yes
   6408 else
   6409   xorg_cv_cc_flag_unknown_warning_option=no
   6410 fi
   6411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6412 fi
   6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6414 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6415 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6416 	CFLAGS="$xorg_testset_save_CFLAGS"
   6417 fi
   6418 
   6419 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6420 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6421 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6422 	fi
   6423 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6424 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6425 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6426 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6427   $as_echo_n "(cached) " >&6
   6428 else
   6429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6430 /* end confdefs.h.  */
   6431 int i;
   6432 _ACEOF
   6433 if ac_fn_c_try_compile "$LINENO"; then :
   6434   xorg_cv_cc_flag_unused_command_line_argument=yes
   6435 else
   6436   xorg_cv_cc_flag_unused_command_line_argument=no
   6437 fi
   6438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6439 fi
   6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6441 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6442 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6443 	CFLAGS="$xorg_testset_save_CFLAGS"
   6444 fi
   6445 
   6446 found="no"
   6447 
   6448 	if test $found = "no" ; then
   6449 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6450 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6451 		fi
   6452 
   6453 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6454 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6455 		fi
   6456 
   6457 		CFLAGS="$CFLAGS -Wshadow"
   6458 
   6459 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6460 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6461 		cacheid=xorg_cv_cc_flag__Wshadow
   6462 		if eval \${$cacheid+:} false; then :
   6463   $as_echo_n "(cached) " >&6
   6464 else
   6465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6466 /* end confdefs.h.  */
   6467 int i;
   6468 int
   6469 main ()
   6470 {
   6471 
   6472   ;
   6473   return 0;
   6474 }
   6475 _ACEOF
   6476 if ac_fn_c_try_link "$LINENO"; then :
   6477   eval $cacheid=yes
   6478 else
   6479   eval $cacheid=no
   6480 fi
   6481 rm -f core conftest.err conftest.$ac_objext \
   6482     conftest$ac_exeext conftest.$ac_ext
   6483 fi
   6484 
   6485 
   6486 		CFLAGS="$xorg_testset_save_CFLAGS"
   6487 
   6488 		eval supported=\$$cacheid
   6489 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6490 $as_echo "$supported" >&6; }
   6491 		if test "$supported" = "yes" ; then
   6492 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6493 			found="yes"
   6494 		fi
   6495 	fi
   6496 
   6497 
   6498 
   6499 
   6500 
   6501 
   6502 
   6503 
   6504 
   6505 
   6506 
   6507 
   6508 
   6509 
   6510 
   6511 xorg_testset_save_CFLAGS="$CFLAGS"
   6512 
   6513 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6514 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6515 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6516 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6517 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6518   $as_echo_n "(cached) " >&6
   6519 else
   6520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6521 /* end confdefs.h.  */
   6522 int i;
   6523 _ACEOF
   6524 if ac_fn_c_try_compile "$LINENO"; then :
   6525   xorg_cv_cc_flag_unknown_warning_option=yes
   6526 else
   6527   xorg_cv_cc_flag_unknown_warning_option=no
   6528 fi
   6529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6530 fi
   6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6532 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6533 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6534 	CFLAGS="$xorg_testset_save_CFLAGS"
   6535 fi
   6536 
   6537 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6538 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6539 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6540 	fi
   6541 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6542 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6543 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6544 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6545   $as_echo_n "(cached) " >&6
   6546 else
   6547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6548 /* end confdefs.h.  */
   6549 int i;
   6550 _ACEOF
   6551 if ac_fn_c_try_compile "$LINENO"; then :
   6552   xorg_cv_cc_flag_unused_command_line_argument=yes
   6553 else
   6554   xorg_cv_cc_flag_unused_command_line_argument=no
   6555 fi
   6556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6557 fi
   6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6559 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6560 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6561 	CFLAGS="$xorg_testset_save_CFLAGS"
   6562 fi
   6563 
   6564 found="no"
   6565 
   6566 	if test $found = "no" ; then
   6567 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6568 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6569 		fi
   6570 
   6571 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6572 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6573 		fi
   6574 
   6575 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6576 
   6577 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6578 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6579 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6580 		if eval \${$cacheid+:} false; then :
   6581   $as_echo_n "(cached) " >&6
   6582 else
   6583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6584 /* end confdefs.h.  */
   6585 int i;
   6586 int
   6587 main ()
   6588 {
   6589 
   6590   ;
   6591   return 0;
   6592 }
   6593 _ACEOF
   6594 if ac_fn_c_try_link "$LINENO"; then :
   6595   eval $cacheid=yes
   6596 else
   6597   eval $cacheid=no
   6598 fi
   6599 rm -f core conftest.err conftest.$ac_objext \
   6600     conftest$ac_exeext conftest.$ac_ext
   6601 fi
   6602 
   6603 
   6604 		CFLAGS="$xorg_testset_save_CFLAGS"
   6605 
   6606 		eval supported=\$$cacheid
   6607 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6608 $as_echo "$supported" >&6; }
   6609 		if test "$supported" = "yes" ; then
   6610 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6611 			found="yes"
   6612 		fi
   6613 	fi
   6614 
   6615 
   6616 
   6617 
   6618 
   6619 
   6620 
   6621 
   6622 
   6623 
   6624 
   6625 
   6626 
   6627 
   6628 
   6629 xorg_testset_save_CFLAGS="$CFLAGS"
   6630 
   6631 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6632 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6633 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6634 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6635 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6636   $as_echo_n "(cached) " >&6
   6637 else
   6638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6639 /* end confdefs.h.  */
   6640 int i;
   6641 _ACEOF
   6642 if ac_fn_c_try_compile "$LINENO"; then :
   6643   xorg_cv_cc_flag_unknown_warning_option=yes
   6644 else
   6645   xorg_cv_cc_flag_unknown_warning_option=no
   6646 fi
   6647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6648 fi
   6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6650 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6651 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6652 	CFLAGS="$xorg_testset_save_CFLAGS"
   6653 fi
   6654 
   6655 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6656 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6657 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6658 	fi
   6659 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6660 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6661 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6662 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6663   $as_echo_n "(cached) " >&6
   6664 else
   6665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6666 /* end confdefs.h.  */
   6667 int i;
   6668 _ACEOF
   6669 if ac_fn_c_try_compile "$LINENO"; then :
   6670   xorg_cv_cc_flag_unused_command_line_argument=yes
   6671 else
   6672   xorg_cv_cc_flag_unused_command_line_argument=no
   6673 fi
   6674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6675 fi
   6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6677 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6678 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6679 	CFLAGS="$xorg_testset_save_CFLAGS"
   6680 fi
   6681 
   6682 found="no"
   6683 
   6684 	if test $found = "no" ; then
   6685 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6686 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6687 		fi
   6688 
   6689 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6690 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6691 		fi
   6692 
   6693 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6694 
   6695 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6696 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6697 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6698 		if eval \${$cacheid+:} false; then :
   6699   $as_echo_n "(cached) " >&6
   6700 else
   6701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6702 /* end confdefs.h.  */
   6703 int i;
   6704 int
   6705 main ()
   6706 {
   6707 
   6708   ;
   6709   return 0;
   6710 }
   6711 _ACEOF
   6712 if ac_fn_c_try_link "$LINENO"; then :
   6713   eval $cacheid=yes
   6714 else
   6715   eval $cacheid=no
   6716 fi
   6717 rm -f core conftest.err conftest.$ac_objext \
   6718     conftest$ac_exeext conftest.$ac_ext
   6719 fi
   6720 
   6721 
   6722 		CFLAGS="$xorg_testset_save_CFLAGS"
   6723 
   6724 		eval supported=\$$cacheid
   6725 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6726 $as_echo "$supported" >&6; }
   6727 		if test "$supported" = "yes" ; then
   6728 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6729 			found="yes"
   6730 		fi
   6731 	fi
   6732 
   6733 
   6734 
   6735 
   6736 
   6737 
   6738 
   6739 
   6740 
   6741 
   6742 
   6743 
   6744 
   6745 
   6746 
   6747 xorg_testset_save_CFLAGS="$CFLAGS"
   6748 
   6749 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6750 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6751 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6752 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6753 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6754   $as_echo_n "(cached) " >&6
   6755 else
   6756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6757 /* end confdefs.h.  */
   6758 int i;
   6759 _ACEOF
   6760 if ac_fn_c_try_compile "$LINENO"; then :
   6761   xorg_cv_cc_flag_unknown_warning_option=yes
   6762 else
   6763   xorg_cv_cc_flag_unknown_warning_option=no
   6764 fi
   6765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6766 fi
   6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6768 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6769 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6770 	CFLAGS="$xorg_testset_save_CFLAGS"
   6771 fi
   6772 
   6773 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6774 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6775 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6776 	fi
   6777 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6778 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6779 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6780 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6781   $as_echo_n "(cached) " >&6
   6782 else
   6783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6784 /* end confdefs.h.  */
   6785 int i;
   6786 _ACEOF
   6787 if ac_fn_c_try_compile "$LINENO"; then :
   6788   xorg_cv_cc_flag_unused_command_line_argument=yes
   6789 else
   6790   xorg_cv_cc_flag_unused_command_line_argument=no
   6791 fi
   6792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6793 fi
   6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6795 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6796 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6797 	CFLAGS="$xorg_testset_save_CFLAGS"
   6798 fi
   6799 
   6800 found="no"
   6801 
   6802 	if test $found = "no" ; then
   6803 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6804 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6805 		fi
   6806 
   6807 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6808 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6809 		fi
   6810 
   6811 		CFLAGS="$CFLAGS -Wredundant-decls"
   6812 
   6813 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6814 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6815 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6816 		if eval \${$cacheid+:} false; then :
   6817   $as_echo_n "(cached) " >&6
   6818 else
   6819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6820 /* end confdefs.h.  */
   6821 int i;
   6822 int
   6823 main ()
   6824 {
   6825 
   6826   ;
   6827   return 0;
   6828 }
   6829 _ACEOF
   6830 if ac_fn_c_try_link "$LINENO"; then :
   6831   eval $cacheid=yes
   6832 else
   6833   eval $cacheid=no
   6834 fi
   6835 rm -f core conftest.err conftest.$ac_objext \
   6836     conftest$ac_exeext conftest.$ac_ext
   6837 fi
   6838 
   6839 
   6840 		CFLAGS="$xorg_testset_save_CFLAGS"
   6841 
   6842 		eval supported=\$$cacheid
   6843 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6844 $as_echo "$supported" >&6; }
   6845 		if test "$supported" = "yes" ; then
   6846 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6847 			found="yes"
   6848 		fi
   6849 	fi
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 
   6861 
   6862 
   6863 
   6864 
   6865 xorg_testset_save_CFLAGS="$CFLAGS"
   6866 
   6867 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6868 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6869 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6870 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6871 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6872   $as_echo_n "(cached) " >&6
   6873 else
   6874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6875 /* end confdefs.h.  */
   6876 int i;
   6877 _ACEOF
   6878 if ac_fn_c_try_compile "$LINENO"; then :
   6879   xorg_cv_cc_flag_unknown_warning_option=yes
   6880 else
   6881   xorg_cv_cc_flag_unknown_warning_option=no
   6882 fi
   6883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6884 fi
   6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6886 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6887 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6888 	CFLAGS="$xorg_testset_save_CFLAGS"
   6889 fi
   6890 
   6891 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6892 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6893 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6894 	fi
   6895 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6896 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6897 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6898 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6899   $as_echo_n "(cached) " >&6
   6900 else
   6901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6902 /* end confdefs.h.  */
   6903 int i;
   6904 _ACEOF
   6905 if ac_fn_c_try_compile "$LINENO"; then :
   6906   xorg_cv_cc_flag_unused_command_line_argument=yes
   6907 else
   6908   xorg_cv_cc_flag_unused_command_line_argument=no
   6909 fi
   6910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6911 fi
   6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6913 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6914 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6915 	CFLAGS="$xorg_testset_save_CFLAGS"
   6916 fi
   6917 
   6918 found="no"
   6919 
   6920 	if test $found = "no" ; then
   6921 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6922 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6923 		fi
   6924 
   6925 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6926 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6927 		fi
   6928 
   6929 		CFLAGS="$CFLAGS -Wlogical-op"
   6930 
   6931 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6932 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6933 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6934 		if eval \${$cacheid+:} false; then :
   6935   $as_echo_n "(cached) " >&6
   6936 else
   6937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6938 /* end confdefs.h.  */
   6939 int i;
   6940 int
   6941 main ()
   6942 {
   6943 
   6944   ;
   6945   return 0;
   6946 }
   6947 _ACEOF
   6948 if ac_fn_c_try_link "$LINENO"; then :
   6949   eval $cacheid=yes
   6950 else
   6951   eval $cacheid=no
   6952 fi
   6953 rm -f core conftest.err conftest.$ac_objext \
   6954     conftest$ac_exeext conftest.$ac_ext
   6955 fi
   6956 
   6957 
   6958 		CFLAGS="$xorg_testset_save_CFLAGS"
   6959 
   6960 		eval supported=\$$cacheid
   6961 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6962 $as_echo "$supported" >&6; }
   6963 		if test "$supported" = "yes" ; then
   6964 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6965 			found="yes"
   6966 		fi
   6967 	fi
   6968 
   6969 
   6970 
   6971 # These are currently disabled because they are noisy.  They will be enabled
   6972 # in the future once the codebase is sufficiently modernized to silence
   6973 # them.  For now, I don't want them to drown out the other warnings.
   6974 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6975 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6976 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6977 
   6978 # Turn some warnings into errors, so we don't accidently get successful builds
   6979 # when there are problems that should be fixed.
   6980 
   6981 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6982 
   6983 
   6984 
   6985 
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 
   6993 
   6994 
   6995 xorg_testset_save_CFLAGS="$CFLAGS"
   6996 
   6997 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6998 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6999 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7000 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7001 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7002   $as_echo_n "(cached) " >&6
   7003 else
   7004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7005 /* end confdefs.h.  */
   7006 int i;
   7007 _ACEOF
   7008 if ac_fn_c_try_compile "$LINENO"; then :
   7009   xorg_cv_cc_flag_unknown_warning_option=yes
   7010 else
   7011   xorg_cv_cc_flag_unknown_warning_option=no
   7012 fi
   7013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7014 fi
   7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7016 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7017 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7018 	CFLAGS="$xorg_testset_save_CFLAGS"
   7019 fi
   7020 
   7021 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7022 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7023 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7024 	fi
   7025 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7026 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7027 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7028 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7029   $as_echo_n "(cached) " >&6
   7030 else
   7031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7032 /* end confdefs.h.  */
   7033 int i;
   7034 _ACEOF
   7035 if ac_fn_c_try_compile "$LINENO"; then :
   7036   xorg_cv_cc_flag_unused_command_line_argument=yes
   7037 else
   7038   xorg_cv_cc_flag_unused_command_line_argument=no
   7039 fi
   7040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7041 fi
   7042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7043 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7044 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7045 	CFLAGS="$xorg_testset_save_CFLAGS"
   7046 fi
   7047 
   7048 found="no"
   7049 
   7050 	if test $found = "no" ; then
   7051 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7052 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7053 		fi
   7054 
   7055 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7056 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7057 		fi
   7058 
   7059 		CFLAGS="$CFLAGS -Werror=implicit"
   7060 
   7061 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7062 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7063 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7064 		if eval \${$cacheid+:} false; then :
   7065   $as_echo_n "(cached) " >&6
   7066 else
   7067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7068 /* end confdefs.h.  */
   7069 int i;
   7070 int
   7071 main ()
   7072 {
   7073 
   7074   ;
   7075   return 0;
   7076 }
   7077 _ACEOF
   7078 if ac_fn_c_try_link "$LINENO"; then :
   7079   eval $cacheid=yes
   7080 else
   7081   eval $cacheid=no
   7082 fi
   7083 rm -f core conftest.err conftest.$ac_objext \
   7084     conftest$ac_exeext conftest.$ac_ext
   7085 fi
   7086 
   7087 
   7088 		CFLAGS="$xorg_testset_save_CFLAGS"
   7089 
   7090 		eval supported=\$$cacheid
   7091 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7092 $as_echo "$supported" >&6; }
   7093 		if test "$supported" = "yes" ; then
   7094 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7095 			found="yes"
   7096 		fi
   7097 	fi
   7098 
   7099 	if test $found = "no" ; then
   7100 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7101 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7102 		fi
   7103 
   7104 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7105 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7106 		fi
   7107 
   7108 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7109 
   7110 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7111 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7112 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7113 		if eval \${$cacheid+:} false; then :
   7114   $as_echo_n "(cached) " >&6
   7115 else
   7116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7117 /* end confdefs.h.  */
   7118 int i;
   7119 int
   7120 main ()
   7121 {
   7122 
   7123   ;
   7124   return 0;
   7125 }
   7126 _ACEOF
   7127 if ac_fn_c_try_link "$LINENO"; then :
   7128   eval $cacheid=yes
   7129 else
   7130   eval $cacheid=no
   7131 fi
   7132 rm -f core conftest.err conftest.$ac_objext \
   7133     conftest$ac_exeext conftest.$ac_ext
   7134 fi
   7135 
   7136 
   7137 		CFLAGS="$xorg_testset_save_CFLAGS"
   7138 
   7139 		eval supported=\$$cacheid
   7140 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7141 $as_echo "$supported" >&6; }
   7142 		if test "$supported" = "yes" ; then
   7143 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7144 			found="yes"
   7145 		fi
   7146 	fi
   7147 
   7148 
   7149 
   7150 
   7151 
   7152 
   7153 
   7154 
   7155 
   7156 
   7157 
   7158 
   7159 
   7160 
   7161 
   7162 xorg_testset_save_CFLAGS="$CFLAGS"
   7163 
   7164 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7165 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7166 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7167 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7168 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7169   $as_echo_n "(cached) " >&6
   7170 else
   7171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7172 /* end confdefs.h.  */
   7173 int i;
   7174 _ACEOF
   7175 if ac_fn_c_try_compile "$LINENO"; then :
   7176   xorg_cv_cc_flag_unknown_warning_option=yes
   7177 else
   7178   xorg_cv_cc_flag_unknown_warning_option=no
   7179 fi
   7180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7181 fi
   7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7183 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7184 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7185 	CFLAGS="$xorg_testset_save_CFLAGS"
   7186 fi
   7187 
   7188 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7189 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7190 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7191 	fi
   7192 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7193 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7194 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7195 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7196   $as_echo_n "(cached) " >&6
   7197 else
   7198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7199 /* end confdefs.h.  */
   7200 int i;
   7201 _ACEOF
   7202 if ac_fn_c_try_compile "$LINENO"; then :
   7203   xorg_cv_cc_flag_unused_command_line_argument=yes
   7204 else
   7205   xorg_cv_cc_flag_unused_command_line_argument=no
   7206 fi
   7207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7208 fi
   7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7210 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7211 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7212 	CFLAGS="$xorg_testset_save_CFLAGS"
   7213 fi
   7214 
   7215 found="no"
   7216 
   7217 	if test $found = "no" ; then
   7218 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7219 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7220 		fi
   7221 
   7222 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7223 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7224 		fi
   7225 
   7226 		CFLAGS="$CFLAGS -Werror=nonnull"
   7227 
   7228 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7229 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7230 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7231 		if eval \${$cacheid+:} false; then :
   7232   $as_echo_n "(cached) " >&6
   7233 else
   7234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7235 /* end confdefs.h.  */
   7236 int i;
   7237 int
   7238 main ()
   7239 {
   7240 
   7241   ;
   7242   return 0;
   7243 }
   7244 _ACEOF
   7245 if ac_fn_c_try_link "$LINENO"; then :
   7246   eval $cacheid=yes
   7247 else
   7248   eval $cacheid=no
   7249 fi
   7250 rm -f core conftest.err conftest.$ac_objext \
   7251     conftest$ac_exeext conftest.$ac_ext
   7252 fi
   7253 
   7254 
   7255 		CFLAGS="$xorg_testset_save_CFLAGS"
   7256 
   7257 		eval supported=\$$cacheid
   7258 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7259 $as_echo "$supported" >&6; }
   7260 		if test "$supported" = "yes" ; then
   7261 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7262 			found="yes"
   7263 		fi
   7264 	fi
   7265 
   7266 
   7267 
   7268 
   7269 
   7270 
   7271 
   7272 
   7273 
   7274 
   7275 
   7276 
   7277 
   7278 
   7279 
   7280 xorg_testset_save_CFLAGS="$CFLAGS"
   7281 
   7282 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7283 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7284 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7285 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7286 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7287   $as_echo_n "(cached) " >&6
   7288 else
   7289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7290 /* end confdefs.h.  */
   7291 int i;
   7292 _ACEOF
   7293 if ac_fn_c_try_compile "$LINENO"; then :
   7294   xorg_cv_cc_flag_unknown_warning_option=yes
   7295 else
   7296   xorg_cv_cc_flag_unknown_warning_option=no
   7297 fi
   7298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7299 fi
   7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7301 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7302 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7303 	CFLAGS="$xorg_testset_save_CFLAGS"
   7304 fi
   7305 
   7306 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7307 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7308 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7309 	fi
   7310 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7311 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7312 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7313 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7314   $as_echo_n "(cached) " >&6
   7315 else
   7316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7317 /* end confdefs.h.  */
   7318 int i;
   7319 _ACEOF
   7320 if ac_fn_c_try_compile "$LINENO"; then :
   7321   xorg_cv_cc_flag_unused_command_line_argument=yes
   7322 else
   7323   xorg_cv_cc_flag_unused_command_line_argument=no
   7324 fi
   7325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7326 fi
   7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7328 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7329 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7330 	CFLAGS="$xorg_testset_save_CFLAGS"
   7331 fi
   7332 
   7333 found="no"
   7334 
   7335 	if test $found = "no" ; then
   7336 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7337 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7338 		fi
   7339 
   7340 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7341 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7342 		fi
   7343 
   7344 		CFLAGS="$CFLAGS -Werror=init-self"
   7345 
   7346 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7347 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7348 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7349 		if eval \${$cacheid+:} false; then :
   7350   $as_echo_n "(cached) " >&6
   7351 else
   7352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7353 /* end confdefs.h.  */
   7354 int i;
   7355 int
   7356 main ()
   7357 {
   7358 
   7359   ;
   7360   return 0;
   7361 }
   7362 _ACEOF
   7363 if ac_fn_c_try_link "$LINENO"; then :
   7364   eval $cacheid=yes
   7365 else
   7366   eval $cacheid=no
   7367 fi
   7368 rm -f core conftest.err conftest.$ac_objext \
   7369     conftest$ac_exeext conftest.$ac_ext
   7370 fi
   7371 
   7372 
   7373 		CFLAGS="$xorg_testset_save_CFLAGS"
   7374 
   7375 		eval supported=\$$cacheid
   7376 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7377 $as_echo "$supported" >&6; }
   7378 		if test "$supported" = "yes" ; then
   7379 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7380 			found="yes"
   7381 		fi
   7382 	fi
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 
   7393 
   7394 
   7395 
   7396 
   7397 
   7398 xorg_testset_save_CFLAGS="$CFLAGS"
   7399 
   7400 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7401 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7402 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7403 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7404 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7405   $as_echo_n "(cached) " >&6
   7406 else
   7407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7408 /* end confdefs.h.  */
   7409 int i;
   7410 _ACEOF
   7411 if ac_fn_c_try_compile "$LINENO"; then :
   7412   xorg_cv_cc_flag_unknown_warning_option=yes
   7413 else
   7414   xorg_cv_cc_flag_unknown_warning_option=no
   7415 fi
   7416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7417 fi
   7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7419 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7420 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7421 	CFLAGS="$xorg_testset_save_CFLAGS"
   7422 fi
   7423 
   7424 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7425 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7426 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7427 	fi
   7428 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7429 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7430 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7431 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7432   $as_echo_n "(cached) " >&6
   7433 else
   7434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7435 /* end confdefs.h.  */
   7436 int i;
   7437 _ACEOF
   7438 if ac_fn_c_try_compile "$LINENO"; then :
   7439   xorg_cv_cc_flag_unused_command_line_argument=yes
   7440 else
   7441   xorg_cv_cc_flag_unused_command_line_argument=no
   7442 fi
   7443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7444 fi
   7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7446 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7447 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7448 	CFLAGS="$xorg_testset_save_CFLAGS"
   7449 fi
   7450 
   7451 found="no"
   7452 
   7453 	if test $found = "no" ; then
   7454 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7455 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7456 		fi
   7457 
   7458 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7459 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7460 		fi
   7461 
   7462 		CFLAGS="$CFLAGS -Werror=main"
   7463 
   7464 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7465 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7466 		cacheid=xorg_cv_cc_flag__Werror_main
   7467 		if eval \${$cacheid+:} false; then :
   7468   $as_echo_n "(cached) " >&6
   7469 else
   7470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7471 /* end confdefs.h.  */
   7472 int i;
   7473 int
   7474 main ()
   7475 {
   7476 
   7477   ;
   7478   return 0;
   7479 }
   7480 _ACEOF
   7481 if ac_fn_c_try_link "$LINENO"; then :
   7482   eval $cacheid=yes
   7483 else
   7484   eval $cacheid=no
   7485 fi
   7486 rm -f core conftest.err conftest.$ac_objext \
   7487     conftest$ac_exeext conftest.$ac_ext
   7488 fi
   7489 
   7490 
   7491 		CFLAGS="$xorg_testset_save_CFLAGS"
   7492 
   7493 		eval supported=\$$cacheid
   7494 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7495 $as_echo "$supported" >&6; }
   7496 		if test "$supported" = "yes" ; then
   7497 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7498 			found="yes"
   7499 		fi
   7500 	fi
   7501 
   7502 
   7503 
   7504 
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 xorg_testset_save_CFLAGS="$CFLAGS"
   7517 
   7518 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7519 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7520 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7521 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7522 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7523   $as_echo_n "(cached) " >&6
   7524 else
   7525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7526 /* end confdefs.h.  */
   7527 int i;
   7528 _ACEOF
   7529 if ac_fn_c_try_compile "$LINENO"; then :
   7530   xorg_cv_cc_flag_unknown_warning_option=yes
   7531 else
   7532   xorg_cv_cc_flag_unknown_warning_option=no
   7533 fi
   7534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7535 fi
   7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7537 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7538 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7539 	CFLAGS="$xorg_testset_save_CFLAGS"
   7540 fi
   7541 
   7542 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7543 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7544 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7545 	fi
   7546 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7547 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7548 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7549 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7550   $as_echo_n "(cached) " >&6
   7551 else
   7552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7553 /* end confdefs.h.  */
   7554 int i;
   7555 _ACEOF
   7556 if ac_fn_c_try_compile "$LINENO"; then :
   7557   xorg_cv_cc_flag_unused_command_line_argument=yes
   7558 else
   7559   xorg_cv_cc_flag_unused_command_line_argument=no
   7560 fi
   7561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7562 fi
   7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7564 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7565 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7566 	CFLAGS="$xorg_testset_save_CFLAGS"
   7567 fi
   7568 
   7569 found="no"
   7570 
   7571 	if test $found = "no" ; then
   7572 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7573 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7574 		fi
   7575 
   7576 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7577 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7578 		fi
   7579 
   7580 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7581 
   7582 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7583 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7584 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7585 		if eval \${$cacheid+:} false; then :
   7586   $as_echo_n "(cached) " >&6
   7587 else
   7588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7589 /* end confdefs.h.  */
   7590 int i;
   7591 int
   7592 main ()
   7593 {
   7594 
   7595   ;
   7596   return 0;
   7597 }
   7598 _ACEOF
   7599 if ac_fn_c_try_link "$LINENO"; then :
   7600   eval $cacheid=yes
   7601 else
   7602   eval $cacheid=no
   7603 fi
   7604 rm -f core conftest.err conftest.$ac_objext \
   7605     conftest$ac_exeext conftest.$ac_ext
   7606 fi
   7607 
   7608 
   7609 		CFLAGS="$xorg_testset_save_CFLAGS"
   7610 
   7611 		eval supported=\$$cacheid
   7612 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7613 $as_echo "$supported" >&6; }
   7614 		if test "$supported" = "yes" ; then
   7615 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7616 			found="yes"
   7617 		fi
   7618 	fi
   7619 
   7620 
   7621 
   7622 
   7623 
   7624 
   7625 
   7626 
   7627 
   7628 
   7629 
   7630 
   7631 
   7632 
   7633 
   7634 xorg_testset_save_CFLAGS="$CFLAGS"
   7635 
   7636 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7637 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7638 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7639 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7640 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7641   $as_echo_n "(cached) " >&6
   7642 else
   7643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7644 /* end confdefs.h.  */
   7645 int i;
   7646 _ACEOF
   7647 if ac_fn_c_try_compile "$LINENO"; then :
   7648   xorg_cv_cc_flag_unknown_warning_option=yes
   7649 else
   7650   xorg_cv_cc_flag_unknown_warning_option=no
   7651 fi
   7652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7653 fi
   7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7655 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7656 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7657 	CFLAGS="$xorg_testset_save_CFLAGS"
   7658 fi
   7659 
   7660 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7661 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7662 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7663 	fi
   7664 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7665 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7666 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7667 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7668   $as_echo_n "(cached) " >&6
   7669 else
   7670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7671 /* end confdefs.h.  */
   7672 int i;
   7673 _ACEOF
   7674 if ac_fn_c_try_compile "$LINENO"; then :
   7675   xorg_cv_cc_flag_unused_command_line_argument=yes
   7676 else
   7677   xorg_cv_cc_flag_unused_command_line_argument=no
   7678 fi
   7679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7680 fi
   7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7682 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7683 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7684 	CFLAGS="$xorg_testset_save_CFLAGS"
   7685 fi
   7686 
   7687 found="no"
   7688 
   7689 	if test $found = "no" ; then
   7690 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7691 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7692 		fi
   7693 
   7694 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7695 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7696 		fi
   7697 
   7698 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7699 
   7700 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7701 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7702 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7703 		if eval \${$cacheid+:} false; then :
   7704   $as_echo_n "(cached) " >&6
   7705 else
   7706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7707 /* end confdefs.h.  */
   7708 int i;
   7709 int
   7710 main ()
   7711 {
   7712 
   7713   ;
   7714   return 0;
   7715 }
   7716 _ACEOF
   7717 if ac_fn_c_try_link "$LINENO"; then :
   7718   eval $cacheid=yes
   7719 else
   7720   eval $cacheid=no
   7721 fi
   7722 rm -f core conftest.err conftest.$ac_objext \
   7723     conftest$ac_exeext conftest.$ac_ext
   7724 fi
   7725 
   7726 
   7727 		CFLAGS="$xorg_testset_save_CFLAGS"
   7728 
   7729 		eval supported=\$$cacheid
   7730 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7731 $as_echo "$supported" >&6; }
   7732 		if test "$supported" = "yes" ; then
   7733 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7734 			found="yes"
   7735 		fi
   7736 	fi
   7737 
   7738 
   7739 
   7740 
   7741 
   7742 
   7743 
   7744 
   7745 
   7746 
   7747 
   7748 
   7749 
   7750 
   7751 
   7752 xorg_testset_save_CFLAGS="$CFLAGS"
   7753 
   7754 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7755 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7756 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7757 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7758 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7759   $as_echo_n "(cached) " >&6
   7760 else
   7761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7762 /* end confdefs.h.  */
   7763 int i;
   7764 _ACEOF
   7765 if ac_fn_c_try_compile "$LINENO"; then :
   7766   xorg_cv_cc_flag_unknown_warning_option=yes
   7767 else
   7768   xorg_cv_cc_flag_unknown_warning_option=no
   7769 fi
   7770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7771 fi
   7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7773 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7774 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7775 	CFLAGS="$xorg_testset_save_CFLAGS"
   7776 fi
   7777 
   7778 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7779 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7780 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7781 	fi
   7782 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7783 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7784 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7785 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7786   $as_echo_n "(cached) " >&6
   7787 else
   7788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7789 /* end confdefs.h.  */
   7790 int i;
   7791 _ACEOF
   7792 if ac_fn_c_try_compile "$LINENO"; then :
   7793   xorg_cv_cc_flag_unused_command_line_argument=yes
   7794 else
   7795   xorg_cv_cc_flag_unused_command_line_argument=no
   7796 fi
   7797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7798 fi
   7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7800 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7801 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7802 	CFLAGS="$xorg_testset_save_CFLAGS"
   7803 fi
   7804 
   7805 found="no"
   7806 
   7807 	if test $found = "no" ; then
   7808 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7809 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7810 		fi
   7811 
   7812 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7813 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7814 		fi
   7815 
   7816 		CFLAGS="$CFLAGS -Werror=return-type"
   7817 
   7818 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7819 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7820 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7821 		if eval \${$cacheid+:} false; then :
   7822   $as_echo_n "(cached) " >&6
   7823 else
   7824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7825 /* end confdefs.h.  */
   7826 int i;
   7827 int
   7828 main ()
   7829 {
   7830 
   7831   ;
   7832   return 0;
   7833 }
   7834 _ACEOF
   7835 if ac_fn_c_try_link "$LINENO"; then :
   7836   eval $cacheid=yes
   7837 else
   7838   eval $cacheid=no
   7839 fi
   7840 rm -f core conftest.err conftest.$ac_objext \
   7841     conftest$ac_exeext conftest.$ac_ext
   7842 fi
   7843 
   7844 
   7845 		CFLAGS="$xorg_testset_save_CFLAGS"
   7846 
   7847 		eval supported=\$$cacheid
   7848 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7849 $as_echo "$supported" >&6; }
   7850 		if test "$supported" = "yes" ; then
   7851 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7852 			found="yes"
   7853 		fi
   7854 	fi
   7855 
   7856 	if test $found = "no" ; then
   7857 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7858 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7859 		fi
   7860 
   7861 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7862 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7863 		fi
   7864 
   7865 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7866 
   7867 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7868 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7869 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7870 		if eval \${$cacheid+:} false; then :
   7871   $as_echo_n "(cached) " >&6
   7872 else
   7873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7874 /* end confdefs.h.  */
   7875 int i;
   7876 int
   7877 main ()
   7878 {
   7879 
   7880   ;
   7881   return 0;
   7882 }
   7883 _ACEOF
   7884 if ac_fn_c_try_link "$LINENO"; then :
   7885   eval $cacheid=yes
   7886 else
   7887   eval $cacheid=no
   7888 fi
   7889 rm -f core conftest.err conftest.$ac_objext \
   7890     conftest$ac_exeext conftest.$ac_ext
   7891 fi
   7892 
   7893 
   7894 		CFLAGS="$xorg_testset_save_CFLAGS"
   7895 
   7896 		eval supported=\$$cacheid
   7897 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7898 $as_echo "$supported" >&6; }
   7899 		if test "$supported" = "yes" ; then
   7900 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7901 			found="yes"
   7902 		fi
   7903 	fi
   7904 
   7905 
   7906 
   7907 
   7908 
   7909 
   7910 
   7911 
   7912 
   7913 
   7914 
   7915 
   7916 
   7917 
   7918 
   7919 xorg_testset_save_CFLAGS="$CFLAGS"
   7920 
   7921 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7922 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7923 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7924 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7925 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7926   $as_echo_n "(cached) " >&6
   7927 else
   7928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7929 /* end confdefs.h.  */
   7930 int i;
   7931 _ACEOF
   7932 if ac_fn_c_try_compile "$LINENO"; then :
   7933   xorg_cv_cc_flag_unknown_warning_option=yes
   7934 else
   7935   xorg_cv_cc_flag_unknown_warning_option=no
   7936 fi
   7937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7938 fi
   7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7940 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7941 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7942 	CFLAGS="$xorg_testset_save_CFLAGS"
   7943 fi
   7944 
   7945 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7946 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7947 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7948 	fi
   7949 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7950 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7951 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7952 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7953   $as_echo_n "(cached) " >&6
   7954 else
   7955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7956 /* end confdefs.h.  */
   7957 int i;
   7958 _ACEOF
   7959 if ac_fn_c_try_compile "$LINENO"; then :
   7960   xorg_cv_cc_flag_unused_command_line_argument=yes
   7961 else
   7962   xorg_cv_cc_flag_unused_command_line_argument=no
   7963 fi
   7964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7965 fi
   7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7967 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7968 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7969 	CFLAGS="$xorg_testset_save_CFLAGS"
   7970 fi
   7971 
   7972 found="no"
   7973 
   7974 	if test $found = "no" ; then
   7975 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7976 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7977 		fi
   7978 
   7979 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7980 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7981 		fi
   7982 
   7983 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7984 
   7985 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7986 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7987 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7988 		if eval \${$cacheid+:} false; then :
   7989   $as_echo_n "(cached) " >&6
   7990 else
   7991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7992 /* end confdefs.h.  */
   7993 int i;
   7994 int
   7995 main ()
   7996 {
   7997 
   7998   ;
   7999   return 0;
   8000 }
   8001 _ACEOF
   8002 if ac_fn_c_try_link "$LINENO"; then :
   8003   eval $cacheid=yes
   8004 else
   8005   eval $cacheid=no
   8006 fi
   8007 rm -f core conftest.err conftest.$ac_objext \
   8008     conftest$ac_exeext conftest.$ac_ext
   8009 fi
   8010 
   8011 
   8012 		CFLAGS="$xorg_testset_save_CFLAGS"
   8013 
   8014 		eval supported=\$$cacheid
   8015 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8016 $as_echo "$supported" >&6; }
   8017 		if test "$supported" = "yes" ; then
   8018 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8019 			found="yes"
   8020 		fi
   8021 	fi
   8022 
   8023 
   8024 
   8025 
   8026 
   8027 
   8028 
   8029 
   8030 
   8031 
   8032 
   8033 
   8034 
   8035 
   8036 
   8037 xorg_testset_save_CFLAGS="$CFLAGS"
   8038 
   8039 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8040 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8041 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8042 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8043 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8044   $as_echo_n "(cached) " >&6
   8045 else
   8046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8047 /* end confdefs.h.  */
   8048 int i;
   8049 _ACEOF
   8050 if ac_fn_c_try_compile "$LINENO"; then :
   8051   xorg_cv_cc_flag_unknown_warning_option=yes
   8052 else
   8053   xorg_cv_cc_flag_unknown_warning_option=no
   8054 fi
   8055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8056 fi
   8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8058 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8059 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8060 	CFLAGS="$xorg_testset_save_CFLAGS"
   8061 fi
   8062 
   8063 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8064 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8065 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8066 	fi
   8067 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8068 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8069 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8070 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8071   $as_echo_n "(cached) " >&6
   8072 else
   8073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8074 /* end confdefs.h.  */
   8075 int i;
   8076 _ACEOF
   8077 if ac_fn_c_try_compile "$LINENO"; then :
   8078   xorg_cv_cc_flag_unused_command_line_argument=yes
   8079 else
   8080   xorg_cv_cc_flag_unused_command_line_argument=no
   8081 fi
   8082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8083 fi
   8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8085 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8086 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8087 	CFLAGS="$xorg_testset_save_CFLAGS"
   8088 fi
   8089 
   8090 found="no"
   8091 
   8092 	if test $found = "no" ; then
   8093 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8094 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8095 		fi
   8096 
   8097 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8098 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8099 		fi
   8100 
   8101 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8102 
   8103 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8104 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8105 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8106 		if eval \${$cacheid+:} false; then :
   8107   $as_echo_n "(cached) " >&6
   8108 else
   8109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8110 /* end confdefs.h.  */
   8111 int i;
   8112 int
   8113 main ()
   8114 {
   8115 
   8116   ;
   8117   return 0;
   8118 }
   8119 _ACEOF
   8120 if ac_fn_c_try_link "$LINENO"; then :
   8121   eval $cacheid=yes
   8122 else
   8123   eval $cacheid=no
   8124 fi
   8125 rm -f core conftest.err conftest.$ac_objext \
   8126     conftest$ac_exeext conftest.$ac_ext
   8127 fi
   8128 
   8129 
   8130 		CFLAGS="$xorg_testset_save_CFLAGS"
   8131 
   8132 		eval supported=\$$cacheid
   8133 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8134 $as_echo "$supported" >&6; }
   8135 		if test "$supported" = "yes" ; then
   8136 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8137 			found="yes"
   8138 		fi
   8139 	fi
   8140 
   8141 
   8142 
   8143 
   8144 
   8145 
   8146 
   8147 
   8148 
   8149 
   8150 
   8151 
   8152 
   8153 
   8154 
   8155 xorg_testset_save_CFLAGS="$CFLAGS"
   8156 
   8157 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8158 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8159 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8160 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8161 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8162   $as_echo_n "(cached) " >&6
   8163 else
   8164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8165 /* end confdefs.h.  */
   8166 int i;
   8167 _ACEOF
   8168 if ac_fn_c_try_compile "$LINENO"; then :
   8169   xorg_cv_cc_flag_unknown_warning_option=yes
   8170 else
   8171   xorg_cv_cc_flag_unknown_warning_option=no
   8172 fi
   8173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8174 fi
   8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8176 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8177 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8178 	CFLAGS="$xorg_testset_save_CFLAGS"
   8179 fi
   8180 
   8181 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8182 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8183 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8184 	fi
   8185 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8186 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8187 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8188 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8189   $as_echo_n "(cached) " >&6
   8190 else
   8191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8192 /* end confdefs.h.  */
   8193 int i;
   8194 _ACEOF
   8195 if ac_fn_c_try_compile "$LINENO"; then :
   8196   xorg_cv_cc_flag_unused_command_line_argument=yes
   8197 else
   8198   xorg_cv_cc_flag_unused_command_line_argument=no
   8199 fi
   8200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8201 fi
   8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8203 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8204 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8205 	CFLAGS="$xorg_testset_save_CFLAGS"
   8206 fi
   8207 
   8208 found="no"
   8209 
   8210 	if test $found = "no" ; then
   8211 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8212 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8213 		fi
   8214 
   8215 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8216 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8217 		fi
   8218 
   8219 		CFLAGS="$CFLAGS -Werror=write-strings"
   8220 
   8221 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8222 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8223 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8224 		if eval \${$cacheid+:} false; then :
   8225   $as_echo_n "(cached) " >&6
   8226 else
   8227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8228 /* end confdefs.h.  */
   8229 int i;
   8230 int
   8231 main ()
   8232 {
   8233 
   8234   ;
   8235   return 0;
   8236 }
   8237 _ACEOF
   8238 if ac_fn_c_try_link "$LINENO"; then :
   8239   eval $cacheid=yes
   8240 else
   8241   eval $cacheid=no
   8242 fi
   8243 rm -f core conftest.err conftest.$ac_objext \
   8244     conftest$ac_exeext conftest.$ac_ext
   8245 fi
   8246 
   8247 
   8248 		CFLAGS="$xorg_testset_save_CFLAGS"
   8249 
   8250 		eval supported=\$$cacheid
   8251 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8252 $as_echo "$supported" >&6; }
   8253 		if test "$supported" = "yes" ; then
   8254 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8255 			found="yes"
   8256 		fi
   8257 	fi
   8258 
   8259 
   8260 
   8261 
   8262 
   8263 
   8264 
   8265 
   8266 
   8267 
   8268 
   8269 
   8270 
   8271 
   8272 
   8273 xorg_testset_save_CFLAGS="$CFLAGS"
   8274 
   8275 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8276 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8277 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8278 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8279 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8280   $as_echo_n "(cached) " >&6
   8281 else
   8282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8283 /* end confdefs.h.  */
   8284 int i;
   8285 _ACEOF
   8286 if ac_fn_c_try_compile "$LINENO"; then :
   8287   xorg_cv_cc_flag_unknown_warning_option=yes
   8288 else
   8289   xorg_cv_cc_flag_unknown_warning_option=no
   8290 fi
   8291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8292 fi
   8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8294 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8295 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8296 	CFLAGS="$xorg_testset_save_CFLAGS"
   8297 fi
   8298 
   8299 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8300 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8301 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8302 	fi
   8303 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8304 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8305 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8306 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8307   $as_echo_n "(cached) " >&6
   8308 else
   8309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8310 /* end confdefs.h.  */
   8311 int i;
   8312 _ACEOF
   8313 if ac_fn_c_try_compile "$LINENO"; then :
   8314   xorg_cv_cc_flag_unused_command_line_argument=yes
   8315 else
   8316   xorg_cv_cc_flag_unused_command_line_argument=no
   8317 fi
   8318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8319 fi
   8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8321 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8322 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8323 	CFLAGS="$xorg_testset_save_CFLAGS"
   8324 fi
   8325 
   8326 found="no"
   8327 
   8328 	if test $found = "no" ; then
   8329 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8330 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8331 		fi
   8332 
   8333 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8334 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8335 		fi
   8336 
   8337 		CFLAGS="$CFLAGS -Werror=address"
   8338 
   8339 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8340 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8341 		cacheid=xorg_cv_cc_flag__Werror_address
   8342 		if eval \${$cacheid+:} false; then :
   8343   $as_echo_n "(cached) " >&6
   8344 else
   8345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8346 /* end confdefs.h.  */
   8347 int i;
   8348 int
   8349 main ()
   8350 {
   8351 
   8352   ;
   8353   return 0;
   8354 }
   8355 _ACEOF
   8356 if ac_fn_c_try_link "$LINENO"; then :
   8357   eval $cacheid=yes
   8358 else
   8359   eval $cacheid=no
   8360 fi
   8361 rm -f core conftest.err conftest.$ac_objext \
   8362     conftest$ac_exeext conftest.$ac_ext
   8363 fi
   8364 
   8365 
   8366 		CFLAGS="$xorg_testset_save_CFLAGS"
   8367 
   8368 		eval supported=\$$cacheid
   8369 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8370 $as_echo "$supported" >&6; }
   8371 		if test "$supported" = "yes" ; then
   8372 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8373 			found="yes"
   8374 		fi
   8375 	fi
   8376 
   8377 
   8378 
   8379 
   8380 
   8381 
   8382 
   8383 
   8384 
   8385 
   8386 
   8387 
   8388 
   8389 
   8390 
   8391 xorg_testset_save_CFLAGS="$CFLAGS"
   8392 
   8393 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8394 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8395 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8396 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8397 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8398   $as_echo_n "(cached) " >&6
   8399 else
   8400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8401 /* end confdefs.h.  */
   8402 int i;
   8403 _ACEOF
   8404 if ac_fn_c_try_compile "$LINENO"; then :
   8405   xorg_cv_cc_flag_unknown_warning_option=yes
   8406 else
   8407   xorg_cv_cc_flag_unknown_warning_option=no
   8408 fi
   8409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8410 fi
   8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8412 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8413 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8414 	CFLAGS="$xorg_testset_save_CFLAGS"
   8415 fi
   8416 
   8417 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8418 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8419 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8420 	fi
   8421 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8422 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8423 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8424 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8425   $as_echo_n "(cached) " >&6
   8426 else
   8427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8428 /* end confdefs.h.  */
   8429 int i;
   8430 _ACEOF
   8431 if ac_fn_c_try_compile "$LINENO"; then :
   8432   xorg_cv_cc_flag_unused_command_line_argument=yes
   8433 else
   8434   xorg_cv_cc_flag_unused_command_line_argument=no
   8435 fi
   8436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8437 fi
   8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8439 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8440 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8441 	CFLAGS="$xorg_testset_save_CFLAGS"
   8442 fi
   8443 
   8444 found="no"
   8445 
   8446 	if test $found = "no" ; then
   8447 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8448 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8449 		fi
   8450 
   8451 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8452 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8453 		fi
   8454 
   8455 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8456 
   8457 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8458 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8459 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8460 		if eval \${$cacheid+:} false; then :
   8461   $as_echo_n "(cached) " >&6
   8462 else
   8463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8464 /* end confdefs.h.  */
   8465 int i;
   8466 int
   8467 main ()
   8468 {
   8469 
   8470   ;
   8471   return 0;
   8472 }
   8473 _ACEOF
   8474 if ac_fn_c_try_link "$LINENO"; then :
   8475   eval $cacheid=yes
   8476 else
   8477   eval $cacheid=no
   8478 fi
   8479 rm -f core conftest.err conftest.$ac_objext \
   8480     conftest$ac_exeext conftest.$ac_ext
   8481 fi
   8482 
   8483 
   8484 		CFLAGS="$xorg_testset_save_CFLAGS"
   8485 
   8486 		eval supported=\$$cacheid
   8487 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8488 $as_echo "$supported" >&6; }
   8489 		if test "$supported" = "yes" ; then
   8490 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8491 			found="yes"
   8492 		fi
   8493 	fi
   8494 
   8495 	if test $found = "no" ; then
   8496 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8497 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8498 		fi
   8499 
   8500 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8501 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8502 		fi
   8503 
   8504 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8505 
   8506 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8507 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8508 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8509 		if eval \${$cacheid+:} false; then :
   8510   $as_echo_n "(cached) " >&6
   8511 else
   8512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8513 /* end confdefs.h.  */
   8514 int i;
   8515 int
   8516 main ()
   8517 {
   8518 
   8519   ;
   8520   return 0;
   8521 }
   8522 _ACEOF
   8523 if ac_fn_c_try_link "$LINENO"; then :
   8524   eval $cacheid=yes
   8525 else
   8526   eval $cacheid=no
   8527 fi
   8528 rm -f core conftest.err conftest.$ac_objext \
   8529     conftest$ac_exeext conftest.$ac_ext
   8530 fi
   8531 
   8532 
   8533 		CFLAGS="$xorg_testset_save_CFLAGS"
   8534 
   8535 		eval supported=\$$cacheid
   8536 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8537 $as_echo "$supported" >&6; }
   8538 		if test "$supported" = "yes" ; then
   8539 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8540 			found="yes"
   8541 		fi
   8542 	fi
   8543 
   8544 
   8545 
   8546 
   8547 
   8548 
   8549 
   8550 
   8551 
   8552 
   8553 
   8554 
   8555 
   8556 
   8557 
   8558 xorg_testset_save_CFLAGS="$CFLAGS"
   8559 
   8560 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8561 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8562 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8563 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8564 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8565   $as_echo_n "(cached) " >&6
   8566 else
   8567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8568 /* end confdefs.h.  */
   8569 int i;
   8570 _ACEOF
   8571 if ac_fn_c_try_compile "$LINENO"; then :
   8572   xorg_cv_cc_flag_unknown_warning_option=yes
   8573 else
   8574   xorg_cv_cc_flag_unknown_warning_option=no
   8575 fi
   8576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8577 fi
   8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8579 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8580 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8581 	CFLAGS="$xorg_testset_save_CFLAGS"
   8582 fi
   8583 
   8584 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8585 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8586 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8587 	fi
   8588 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8589 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8590 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8591 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8592   $as_echo_n "(cached) " >&6
   8593 else
   8594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8595 /* end confdefs.h.  */
   8596 int i;
   8597 _ACEOF
   8598 if ac_fn_c_try_compile "$LINENO"; then :
   8599   xorg_cv_cc_flag_unused_command_line_argument=yes
   8600 else
   8601   xorg_cv_cc_flag_unused_command_line_argument=no
   8602 fi
   8603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8604 fi
   8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8606 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8607 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8608 	CFLAGS="$xorg_testset_save_CFLAGS"
   8609 fi
   8610 
   8611 found="no"
   8612 
   8613 	if test $found = "no" ; then
   8614 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8615 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8616 		fi
   8617 
   8618 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8619 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8620 		fi
   8621 
   8622 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8623 
   8624 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8625 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8626 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8627 		if eval \${$cacheid+:} false; then :
   8628   $as_echo_n "(cached) " >&6
   8629 else
   8630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8631 /* end confdefs.h.  */
   8632 int i;
   8633 int
   8634 main ()
   8635 {
   8636 
   8637   ;
   8638   return 0;
   8639 }
   8640 _ACEOF
   8641 if ac_fn_c_try_link "$LINENO"; then :
   8642   eval $cacheid=yes
   8643 else
   8644   eval $cacheid=no
   8645 fi
   8646 rm -f core conftest.err conftest.$ac_objext \
   8647     conftest$ac_exeext conftest.$ac_ext
   8648 fi
   8649 
   8650 
   8651 		CFLAGS="$xorg_testset_save_CFLAGS"
   8652 
   8653 		eval supported=\$$cacheid
   8654 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8655 $as_echo "$supported" >&6; }
   8656 		if test "$supported" = "yes" ; then
   8657 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8658 			found="yes"
   8659 		fi
   8660 	fi
   8661 
   8662  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8663 else
   8664 { $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
   8665 $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;}
   8666 
   8667 
   8668 
   8669 
   8670 
   8671 
   8672 
   8673 
   8674 
   8675 
   8676 
   8677 
   8678 
   8679 xorg_testset_save_CFLAGS="$CFLAGS"
   8680 
   8681 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8682 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8683 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8684 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8685 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8686   $as_echo_n "(cached) " >&6
   8687 else
   8688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8689 /* end confdefs.h.  */
   8690 int i;
   8691 _ACEOF
   8692 if ac_fn_c_try_compile "$LINENO"; then :
   8693   xorg_cv_cc_flag_unknown_warning_option=yes
   8694 else
   8695   xorg_cv_cc_flag_unknown_warning_option=no
   8696 fi
   8697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8698 fi
   8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8700 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8701 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8702 	CFLAGS="$xorg_testset_save_CFLAGS"
   8703 fi
   8704 
   8705 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8706 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8707 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8708 	fi
   8709 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8710 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8711 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8712 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8713   $as_echo_n "(cached) " >&6
   8714 else
   8715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8716 /* end confdefs.h.  */
   8717 int i;
   8718 _ACEOF
   8719 if ac_fn_c_try_compile "$LINENO"; then :
   8720   xorg_cv_cc_flag_unused_command_line_argument=yes
   8721 else
   8722   xorg_cv_cc_flag_unused_command_line_argument=no
   8723 fi
   8724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8725 fi
   8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8727 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8728 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8729 	CFLAGS="$xorg_testset_save_CFLAGS"
   8730 fi
   8731 
   8732 found="no"
   8733 
   8734 	if test $found = "no" ; then
   8735 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8736 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8737 		fi
   8738 
   8739 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8740 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8741 		fi
   8742 
   8743 		CFLAGS="$CFLAGS -Wimplicit"
   8744 
   8745 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8746 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8747 		cacheid=xorg_cv_cc_flag__Wimplicit
   8748 		if eval \${$cacheid+:} false; then :
   8749   $as_echo_n "(cached) " >&6
   8750 else
   8751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8752 /* end confdefs.h.  */
   8753 int i;
   8754 int
   8755 main ()
   8756 {
   8757 
   8758   ;
   8759   return 0;
   8760 }
   8761 _ACEOF
   8762 if ac_fn_c_try_link "$LINENO"; then :
   8763   eval $cacheid=yes
   8764 else
   8765   eval $cacheid=no
   8766 fi
   8767 rm -f core conftest.err conftest.$ac_objext \
   8768     conftest$ac_exeext conftest.$ac_ext
   8769 fi
   8770 
   8771 
   8772 		CFLAGS="$xorg_testset_save_CFLAGS"
   8773 
   8774 		eval supported=\$$cacheid
   8775 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8776 $as_echo "$supported" >&6; }
   8777 		if test "$supported" = "yes" ; then
   8778 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8779 			found="yes"
   8780 		fi
   8781 	fi
   8782 
   8783 
   8784 
   8785 
   8786 
   8787 
   8788 
   8789 
   8790 
   8791 
   8792 
   8793 
   8794 
   8795 
   8796 
   8797 xorg_testset_save_CFLAGS="$CFLAGS"
   8798 
   8799 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8800 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8801 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8802 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8803 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8804   $as_echo_n "(cached) " >&6
   8805 else
   8806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8807 /* end confdefs.h.  */
   8808 int i;
   8809 _ACEOF
   8810 if ac_fn_c_try_compile "$LINENO"; then :
   8811   xorg_cv_cc_flag_unknown_warning_option=yes
   8812 else
   8813   xorg_cv_cc_flag_unknown_warning_option=no
   8814 fi
   8815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8816 fi
   8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8818 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8819 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8820 	CFLAGS="$xorg_testset_save_CFLAGS"
   8821 fi
   8822 
   8823 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8824 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8825 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8826 	fi
   8827 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8828 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8829 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8830 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8831   $as_echo_n "(cached) " >&6
   8832 else
   8833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8834 /* end confdefs.h.  */
   8835 int i;
   8836 _ACEOF
   8837 if ac_fn_c_try_compile "$LINENO"; then :
   8838   xorg_cv_cc_flag_unused_command_line_argument=yes
   8839 else
   8840   xorg_cv_cc_flag_unused_command_line_argument=no
   8841 fi
   8842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8843 fi
   8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8845 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8846 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8847 	CFLAGS="$xorg_testset_save_CFLAGS"
   8848 fi
   8849 
   8850 found="no"
   8851 
   8852 	if test $found = "no" ; then
   8853 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8854 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8855 		fi
   8856 
   8857 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8858 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8859 		fi
   8860 
   8861 		CFLAGS="$CFLAGS -Wnonnull"
   8862 
   8863 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8864 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8865 		cacheid=xorg_cv_cc_flag__Wnonnull
   8866 		if eval \${$cacheid+:} false; then :
   8867   $as_echo_n "(cached) " >&6
   8868 else
   8869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8870 /* end confdefs.h.  */
   8871 int i;
   8872 int
   8873 main ()
   8874 {
   8875 
   8876   ;
   8877   return 0;
   8878 }
   8879 _ACEOF
   8880 if ac_fn_c_try_link "$LINENO"; then :
   8881   eval $cacheid=yes
   8882 else
   8883   eval $cacheid=no
   8884 fi
   8885 rm -f core conftest.err conftest.$ac_objext \
   8886     conftest$ac_exeext conftest.$ac_ext
   8887 fi
   8888 
   8889 
   8890 		CFLAGS="$xorg_testset_save_CFLAGS"
   8891 
   8892 		eval supported=\$$cacheid
   8893 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8894 $as_echo "$supported" >&6; }
   8895 		if test "$supported" = "yes" ; then
   8896 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8897 			found="yes"
   8898 		fi
   8899 	fi
   8900 
   8901 
   8902 
   8903 
   8904 
   8905 
   8906 
   8907 
   8908 
   8909 
   8910 
   8911 
   8912 
   8913 
   8914 
   8915 xorg_testset_save_CFLAGS="$CFLAGS"
   8916 
   8917 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8918 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8919 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8920 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8921 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8922   $as_echo_n "(cached) " >&6
   8923 else
   8924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8925 /* end confdefs.h.  */
   8926 int i;
   8927 _ACEOF
   8928 if ac_fn_c_try_compile "$LINENO"; then :
   8929   xorg_cv_cc_flag_unknown_warning_option=yes
   8930 else
   8931   xorg_cv_cc_flag_unknown_warning_option=no
   8932 fi
   8933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8934 fi
   8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8936 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8937 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8938 	CFLAGS="$xorg_testset_save_CFLAGS"
   8939 fi
   8940 
   8941 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8942 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8943 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8944 	fi
   8945 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8946 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8947 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8948 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8949   $as_echo_n "(cached) " >&6
   8950 else
   8951   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8952 /* end confdefs.h.  */
   8953 int i;
   8954 _ACEOF
   8955 if ac_fn_c_try_compile "$LINENO"; then :
   8956   xorg_cv_cc_flag_unused_command_line_argument=yes
   8957 else
   8958   xorg_cv_cc_flag_unused_command_line_argument=no
   8959 fi
   8960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8961 fi
   8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8963 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8964 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8965 	CFLAGS="$xorg_testset_save_CFLAGS"
   8966 fi
   8967 
   8968 found="no"
   8969 
   8970 	if test $found = "no" ; then
   8971 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8972 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8973 		fi
   8974 
   8975 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8976 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8977 		fi
   8978 
   8979 		CFLAGS="$CFLAGS -Winit-self"
   8980 
   8981 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8982 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8983 		cacheid=xorg_cv_cc_flag__Winit_self
   8984 		if eval \${$cacheid+:} false; then :
   8985   $as_echo_n "(cached) " >&6
   8986 else
   8987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8988 /* end confdefs.h.  */
   8989 int i;
   8990 int
   8991 main ()
   8992 {
   8993 
   8994   ;
   8995   return 0;
   8996 }
   8997 _ACEOF
   8998 if ac_fn_c_try_link "$LINENO"; then :
   8999   eval $cacheid=yes
   9000 else
   9001   eval $cacheid=no
   9002 fi
   9003 rm -f core conftest.err conftest.$ac_objext \
   9004     conftest$ac_exeext conftest.$ac_ext
   9005 fi
   9006 
   9007 
   9008 		CFLAGS="$xorg_testset_save_CFLAGS"
   9009 
   9010 		eval supported=\$$cacheid
   9011 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9012 $as_echo "$supported" >&6; }
   9013 		if test "$supported" = "yes" ; then
   9014 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9015 			found="yes"
   9016 		fi
   9017 	fi
   9018 
   9019 
   9020 
   9021 
   9022 
   9023 
   9024 
   9025 
   9026 
   9027 
   9028 
   9029 
   9030 
   9031 
   9032 
   9033 xorg_testset_save_CFLAGS="$CFLAGS"
   9034 
   9035 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9036 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9037 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9038 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9039 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9040   $as_echo_n "(cached) " >&6
   9041 else
   9042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9043 /* end confdefs.h.  */
   9044 int i;
   9045 _ACEOF
   9046 if ac_fn_c_try_compile "$LINENO"; then :
   9047   xorg_cv_cc_flag_unknown_warning_option=yes
   9048 else
   9049   xorg_cv_cc_flag_unknown_warning_option=no
   9050 fi
   9051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9052 fi
   9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9054 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9055 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9056 	CFLAGS="$xorg_testset_save_CFLAGS"
   9057 fi
   9058 
   9059 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9060 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9061 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9062 	fi
   9063 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9064 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9065 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9066 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9067   $as_echo_n "(cached) " >&6
   9068 else
   9069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9070 /* end confdefs.h.  */
   9071 int i;
   9072 _ACEOF
   9073 if ac_fn_c_try_compile "$LINENO"; then :
   9074   xorg_cv_cc_flag_unused_command_line_argument=yes
   9075 else
   9076   xorg_cv_cc_flag_unused_command_line_argument=no
   9077 fi
   9078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9079 fi
   9080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9081 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9082 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9083 	CFLAGS="$xorg_testset_save_CFLAGS"
   9084 fi
   9085 
   9086 found="no"
   9087 
   9088 	if test $found = "no" ; then
   9089 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9090 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9091 		fi
   9092 
   9093 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9094 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9095 		fi
   9096 
   9097 		CFLAGS="$CFLAGS -Wmain"
   9098 
   9099 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9100 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9101 		cacheid=xorg_cv_cc_flag__Wmain
   9102 		if eval \${$cacheid+:} false; then :
   9103   $as_echo_n "(cached) " >&6
   9104 else
   9105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9106 /* end confdefs.h.  */
   9107 int i;
   9108 int
   9109 main ()
   9110 {
   9111 
   9112   ;
   9113   return 0;
   9114 }
   9115 _ACEOF
   9116 if ac_fn_c_try_link "$LINENO"; then :
   9117   eval $cacheid=yes
   9118 else
   9119   eval $cacheid=no
   9120 fi
   9121 rm -f core conftest.err conftest.$ac_objext \
   9122     conftest$ac_exeext conftest.$ac_ext
   9123 fi
   9124 
   9125 
   9126 		CFLAGS="$xorg_testset_save_CFLAGS"
   9127 
   9128 		eval supported=\$$cacheid
   9129 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9130 $as_echo "$supported" >&6; }
   9131 		if test "$supported" = "yes" ; then
   9132 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9133 			found="yes"
   9134 		fi
   9135 	fi
   9136 
   9137 
   9138 
   9139 
   9140 
   9141 
   9142 
   9143 
   9144 
   9145 
   9146 
   9147 
   9148 
   9149 
   9150 
   9151 xorg_testset_save_CFLAGS="$CFLAGS"
   9152 
   9153 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9154 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9155 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9156 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9157 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9158   $as_echo_n "(cached) " >&6
   9159 else
   9160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9161 /* end confdefs.h.  */
   9162 int i;
   9163 _ACEOF
   9164 if ac_fn_c_try_compile "$LINENO"; then :
   9165   xorg_cv_cc_flag_unknown_warning_option=yes
   9166 else
   9167   xorg_cv_cc_flag_unknown_warning_option=no
   9168 fi
   9169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9170 fi
   9171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9172 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9173 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9174 	CFLAGS="$xorg_testset_save_CFLAGS"
   9175 fi
   9176 
   9177 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9178 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9179 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9180 	fi
   9181 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9182 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9183 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9184 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9185   $as_echo_n "(cached) " >&6
   9186 else
   9187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9188 /* end confdefs.h.  */
   9189 int i;
   9190 _ACEOF
   9191 if ac_fn_c_try_compile "$LINENO"; then :
   9192   xorg_cv_cc_flag_unused_command_line_argument=yes
   9193 else
   9194   xorg_cv_cc_flag_unused_command_line_argument=no
   9195 fi
   9196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9197 fi
   9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9199 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9200 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9201 	CFLAGS="$xorg_testset_save_CFLAGS"
   9202 fi
   9203 
   9204 found="no"
   9205 
   9206 	if test $found = "no" ; then
   9207 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9208 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9209 		fi
   9210 
   9211 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9212 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9213 		fi
   9214 
   9215 		CFLAGS="$CFLAGS -Wmissing-braces"
   9216 
   9217 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9218 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9219 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9220 		if eval \${$cacheid+:} false; then :
   9221   $as_echo_n "(cached) " >&6
   9222 else
   9223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9224 /* end confdefs.h.  */
   9225 int i;
   9226 int
   9227 main ()
   9228 {
   9229 
   9230   ;
   9231   return 0;
   9232 }
   9233 _ACEOF
   9234 if ac_fn_c_try_link "$LINENO"; then :
   9235   eval $cacheid=yes
   9236 else
   9237   eval $cacheid=no
   9238 fi
   9239 rm -f core conftest.err conftest.$ac_objext \
   9240     conftest$ac_exeext conftest.$ac_ext
   9241 fi
   9242 
   9243 
   9244 		CFLAGS="$xorg_testset_save_CFLAGS"
   9245 
   9246 		eval supported=\$$cacheid
   9247 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9248 $as_echo "$supported" >&6; }
   9249 		if test "$supported" = "yes" ; then
   9250 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9251 			found="yes"
   9252 		fi
   9253 	fi
   9254 
   9255 
   9256 
   9257 
   9258 
   9259 
   9260 
   9261 
   9262 
   9263 
   9264 
   9265 
   9266 
   9267 
   9268 
   9269 xorg_testset_save_CFLAGS="$CFLAGS"
   9270 
   9271 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9272 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9273 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9274 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9275 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9276   $as_echo_n "(cached) " >&6
   9277 else
   9278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9279 /* end confdefs.h.  */
   9280 int i;
   9281 _ACEOF
   9282 if ac_fn_c_try_compile "$LINENO"; then :
   9283   xorg_cv_cc_flag_unknown_warning_option=yes
   9284 else
   9285   xorg_cv_cc_flag_unknown_warning_option=no
   9286 fi
   9287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9288 fi
   9289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9290 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9291 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9292 	CFLAGS="$xorg_testset_save_CFLAGS"
   9293 fi
   9294 
   9295 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9296 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9297 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9298 	fi
   9299 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9300 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9301 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9302 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9303   $as_echo_n "(cached) " >&6
   9304 else
   9305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9306 /* end confdefs.h.  */
   9307 int i;
   9308 _ACEOF
   9309 if ac_fn_c_try_compile "$LINENO"; then :
   9310   xorg_cv_cc_flag_unused_command_line_argument=yes
   9311 else
   9312   xorg_cv_cc_flag_unused_command_line_argument=no
   9313 fi
   9314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9315 fi
   9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9317 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9318 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9319 	CFLAGS="$xorg_testset_save_CFLAGS"
   9320 fi
   9321 
   9322 found="no"
   9323 
   9324 	if test $found = "no" ; then
   9325 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9326 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9327 		fi
   9328 
   9329 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9330 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9331 		fi
   9332 
   9333 		CFLAGS="$CFLAGS -Wsequence-point"
   9334 
   9335 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9336 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9337 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9338 		if eval \${$cacheid+:} false; then :
   9339   $as_echo_n "(cached) " >&6
   9340 else
   9341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9342 /* end confdefs.h.  */
   9343 int i;
   9344 int
   9345 main ()
   9346 {
   9347 
   9348   ;
   9349   return 0;
   9350 }
   9351 _ACEOF
   9352 if ac_fn_c_try_link "$LINENO"; then :
   9353   eval $cacheid=yes
   9354 else
   9355   eval $cacheid=no
   9356 fi
   9357 rm -f core conftest.err conftest.$ac_objext \
   9358     conftest$ac_exeext conftest.$ac_ext
   9359 fi
   9360 
   9361 
   9362 		CFLAGS="$xorg_testset_save_CFLAGS"
   9363 
   9364 		eval supported=\$$cacheid
   9365 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9366 $as_echo "$supported" >&6; }
   9367 		if test "$supported" = "yes" ; then
   9368 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9369 			found="yes"
   9370 		fi
   9371 	fi
   9372 
   9373 
   9374 
   9375 
   9376 
   9377 
   9378 
   9379 
   9380 
   9381 
   9382 
   9383 
   9384 
   9385 
   9386 
   9387 xorg_testset_save_CFLAGS="$CFLAGS"
   9388 
   9389 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9390 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9391 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9392 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9393 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9394   $as_echo_n "(cached) " >&6
   9395 else
   9396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9397 /* end confdefs.h.  */
   9398 int i;
   9399 _ACEOF
   9400 if ac_fn_c_try_compile "$LINENO"; then :
   9401   xorg_cv_cc_flag_unknown_warning_option=yes
   9402 else
   9403   xorg_cv_cc_flag_unknown_warning_option=no
   9404 fi
   9405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9406 fi
   9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9408 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9409 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9410 	CFLAGS="$xorg_testset_save_CFLAGS"
   9411 fi
   9412 
   9413 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9414 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9415 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9416 	fi
   9417 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9418 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9419 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9420 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9421   $as_echo_n "(cached) " >&6
   9422 else
   9423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9424 /* end confdefs.h.  */
   9425 int i;
   9426 _ACEOF
   9427 if ac_fn_c_try_compile "$LINENO"; then :
   9428   xorg_cv_cc_flag_unused_command_line_argument=yes
   9429 else
   9430   xorg_cv_cc_flag_unused_command_line_argument=no
   9431 fi
   9432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9433 fi
   9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9435 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9436 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9437 	CFLAGS="$xorg_testset_save_CFLAGS"
   9438 fi
   9439 
   9440 found="no"
   9441 
   9442 	if test $found = "no" ; then
   9443 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9444 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9445 		fi
   9446 
   9447 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9448 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9449 		fi
   9450 
   9451 		CFLAGS="$CFLAGS -Wreturn-type"
   9452 
   9453 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9454 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9455 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9456 		if eval \${$cacheid+:} false; then :
   9457   $as_echo_n "(cached) " >&6
   9458 else
   9459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9460 /* end confdefs.h.  */
   9461 int i;
   9462 int
   9463 main ()
   9464 {
   9465 
   9466   ;
   9467   return 0;
   9468 }
   9469 _ACEOF
   9470 if ac_fn_c_try_link "$LINENO"; then :
   9471   eval $cacheid=yes
   9472 else
   9473   eval $cacheid=no
   9474 fi
   9475 rm -f core conftest.err conftest.$ac_objext \
   9476     conftest$ac_exeext conftest.$ac_ext
   9477 fi
   9478 
   9479 
   9480 		CFLAGS="$xorg_testset_save_CFLAGS"
   9481 
   9482 		eval supported=\$$cacheid
   9483 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9484 $as_echo "$supported" >&6; }
   9485 		if test "$supported" = "yes" ; then
   9486 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9487 			found="yes"
   9488 		fi
   9489 	fi
   9490 
   9491 
   9492 
   9493 
   9494 
   9495 
   9496 
   9497 
   9498 
   9499 
   9500 
   9501 
   9502 
   9503 
   9504 
   9505 xorg_testset_save_CFLAGS="$CFLAGS"
   9506 
   9507 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9508 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9509 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9510 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9511 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9512   $as_echo_n "(cached) " >&6
   9513 else
   9514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9515 /* end confdefs.h.  */
   9516 int i;
   9517 _ACEOF
   9518 if ac_fn_c_try_compile "$LINENO"; then :
   9519   xorg_cv_cc_flag_unknown_warning_option=yes
   9520 else
   9521   xorg_cv_cc_flag_unknown_warning_option=no
   9522 fi
   9523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9524 fi
   9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9526 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9527 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9528 	CFLAGS="$xorg_testset_save_CFLAGS"
   9529 fi
   9530 
   9531 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9532 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9533 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9534 	fi
   9535 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9536 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9537 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9538 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9539   $as_echo_n "(cached) " >&6
   9540 else
   9541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9542 /* end confdefs.h.  */
   9543 int i;
   9544 _ACEOF
   9545 if ac_fn_c_try_compile "$LINENO"; then :
   9546   xorg_cv_cc_flag_unused_command_line_argument=yes
   9547 else
   9548   xorg_cv_cc_flag_unused_command_line_argument=no
   9549 fi
   9550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9551 fi
   9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9553 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9554 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9555 	CFLAGS="$xorg_testset_save_CFLAGS"
   9556 fi
   9557 
   9558 found="no"
   9559 
   9560 	if test $found = "no" ; then
   9561 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9562 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9563 		fi
   9564 
   9565 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9566 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9567 		fi
   9568 
   9569 		CFLAGS="$CFLAGS -Wtrigraphs"
   9570 
   9571 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9572 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9573 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9574 		if eval \${$cacheid+:} false; then :
   9575   $as_echo_n "(cached) " >&6
   9576 else
   9577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9578 /* end confdefs.h.  */
   9579 int i;
   9580 int
   9581 main ()
   9582 {
   9583 
   9584   ;
   9585   return 0;
   9586 }
   9587 _ACEOF
   9588 if ac_fn_c_try_link "$LINENO"; then :
   9589   eval $cacheid=yes
   9590 else
   9591   eval $cacheid=no
   9592 fi
   9593 rm -f core conftest.err conftest.$ac_objext \
   9594     conftest$ac_exeext conftest.$ac_ext
   9595 fi
   9596 
   9597 
   9598 		CFLAGS="$xorg_testset_save_CFLAGS"
   9599 
   9600 		eval supported=\$$cacheid
   9601 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9602 $as_echo "$supported" >&6; }
   9603 		if test "$supported" = "yes" ; then
   9604 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9605 			found="yes"
   9606 		fi
   9607 	fi
   9608 
   9609 
   9610 
   9611 
   9612 
   9613 
   9614 
   9615 
   9616 
   9617 
   9618 
   9619 
   9620 
   9621 
   9622 
   9623 xorg_testset_save_CFLAGS="$CFLAGS"
   9624 
   9625 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9626 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9627 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9628 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9629 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9630   $as_echo_n "(cached) " >&6
   9631 else
   9632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9633 /* end confdefs.h.  */
   9634 int i;
   9635 _ACEOF
   9636 if ac_fn_c_try_compile "$LINENO"; then :
   9637   xorg_cv_cc_flag_unknown_warning_option=yes
   9638 else
   9639   xorg_cv_cc_flag_unknown_warning_option=no
   9640 fi
   9641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9642 fi
   9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9644 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9645 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9646 	CFLAGS="$xorg_testset_save_CFLAGS"
   9647 fi
   9648 
   9649 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9650 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9651 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9652 	fi
   9653 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9654 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9655 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9656 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9657   $as_echo_n "(cached) " >&6
   9658 else
   9659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9660 /* end confdefs.h.  */
   9661 int i;
   9662 _ACEOF
   9663 if ac_fn_c_try_compile "$LINENO"; then :
   9664   xorg_cv_cc_flag_unused_command_line_argument=yes
   9665 else
   9666   xorg_cv_cc_flag_unused_command_line_argument=no
   9667 fi
   9668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9669 fi
   9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9671 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9672 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9673 	CFLAGS="$xorg_testset_save_CFLAGS"
   9674 fi
   9675 
   9676 found="no"
   9677 
   9678 	if test $found = "no" ; then
   9679 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9680 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9681 		fi
   9682 
   9683 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9684 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9685 		fi
   9686 
   9687 		CFLAGS="$CFLAGS -Warray-bounds"
   9688 
   9689 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9690 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9691 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9692 		if eval \${$cacheid+:} false; then :
   9693   $as_echo_n "(cached) " >&6
   9694 else
   9695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9696 /* end confdefs.h.  */
   9697 int i;
   9698 int
   9699 main ()
   9700 {
   9701 
   9702   ;
   9703   return 0;
   9704 }
   9705 _ACEOF
   9706 if ac_fn_c_try_link "$LINENO"; then :
   9707   eval $cacheid=yes
   9708 else
   9709   eval $cacheid=no
   9710 fi
   9711 rm -f core conftest.err conftest.$ac_objext \
   9712     conftest$ac_exeext conftest.$ac_ext
   9713 fi
   9714 
   9715 
   9716 		CFLAGS="$xorg_testset_save_CFLAGS"
   9717 
   9718 		eval supported=\$$cacheid
   9719 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9720 $as_echo "$supported" >&6; }
   9721 		if test "$supported" = "yes" ; then
   9722 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9723 			found="yes"
   9724 		fi
   9725 	fi
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 xorg_testset_save_CFLAGS="$CFLAGS"
   9742 
   9743 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9744 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9745 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9746 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9747 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9748   $as_echo_n "(cached) " >&6
   9749 else
   9750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9751 /* end confdefs.h.  */
   9752 int i;
   9753 _ACEOF
   9754 if ac_fn_c_try_compile "$LINENO"; then :
   9755   xorg_cv_cc_flag_unknown_warning_option=yes
   9756 else
   9757   xorg_cv_cc_flag_unknown_warning_option=no
   9758 fi
   9759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9760 fi
   9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9762 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9763 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9764 	CFLAGS="$xorg_testset_save_CFLAGS"
   9765 fi
   9766 
   9767 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9768 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9769 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9770 	fi
   9771 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9772 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9773 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9774 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9775   $as_echo_n "(cached) " >&6
   9776 else
   9777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9778 /* end confdefs.h.  */
   9779 int i;
   9780 _ACEOF
   9781 if ac_fn_c_try_compile "$LINENO"; then :
   9782   xorg_cv_cc_flag_unused_command_line_argument=yes
   9783 else
   9784   xorg_cv_cc_flag_unused_command_line_argument=no
   9785 fi
   9786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9787 fi
   9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9789 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9790 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9791 	CFLAGS="$xorg_testset_save_CFLAGS"
   9792 fi
   9793 
   9794 found="no"
   9795 
   9796 	if test $found = "no" ; then
   9797 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9798 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9799 		fi
   9800 
   9801 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9802 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9803 		fi
   9804 
   9805 		CFLAGS="$CFLAGS -Wwrite-strings"
   9806 
   9807 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9808 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9809 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9810 		if eval \${$cacheid+:} false; then :
   9811   $as_echo_n "(cached) " >&6
   9812 else
   9813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9814 /* end confdefs.h.  */
   9815 int i;
   9816 int
   9817 main ()
   9818 {
   9819 
   9820   ;
   9821   return 0;
   9822 }
   9823 _ACEOF
   9824 if ac_fn_c_try_link "$LINENO"; then :
   9825   eval $cacheid=yes
   9826 else
   9827   eval $cacheid=no
   9828 fi
   9829 rm -f core conftest.err conftest.$ac_objext \
   9830     conftest$ac_exeext conftest.$ac_ext
   9831 fi
   9832 
   9833 
   9834 		CFLAGS="$xorg_testset_save_CFLAGS"
   9835 
   9836 		eval supported=\$$cacheid
   9837 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9838 $as_echo "$supported" >&6; }
   9839 		if test "$supported" = "yes" ; then
   9840 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9841 			found="yes"
   9842 		fi
   9843 	fi
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 xorg_testset_save_CFLAGS="$CFLAGS"
   9860 
   9861 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9862 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9863 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9864 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9865 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9866   $as_echo_n "(cached) " >&6
   9867 else
   9868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9869 /* end confdefs.h.  */
   9870 int i;
   9871 _ACEOF
   9872 if ac_fn_c_try_compile "$LINENO"; then :
   9873   xorg_cv_cc_flag_unknown_warning_option=yes
   9874 else
   9875   xorg_cv_cc_flag_unknown_warning_option=no
   9876 fi
   9877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9878 fi
   9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9880 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9881 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9882 	CFLAGS="$xorg_testset_save_CFLAGS"
   9883 fi
   9884 
   9885 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9886 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9887 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9888 	fi
   9889 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9890 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9891 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9892 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9893   $as_echo_n "(cached) " >&6
   9894 else
   9895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9896 /* end confdefs.h.  */
   9897 int i;
   9898 _ACEOF
   9899 if ac_fn_c_try_compile "$LINENO"; then :
   9900   xorg_cv_cc_flag_unused_command_line_argument=yes
   9901 else
   9902   xorg_cv_cc_flag_unused_command_line_argument=no
   9903 fi
   9904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9905 fi
   9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9907 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9908 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9909 	CFLAGS="$xorg_testset_save_CFLAGS"
   9910 fi
   9911 
   9912 found="no"
   9913 
   9914 	if test $found = "no" ; then
   9915 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9916 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9917 		fi
   9918 
   9919 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9920 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9921 		fi
   9922 
   9923 		CFLAGS="$CFLAGS -Waddress"
   9924 
   9925 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9926 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9927 		cacheid=xorg_cv_cc_flag__Waddress
   9928 		if eval \${$cacheid+:} false; then :
   9929   $as_echo_n "(cached) " >&6
   9930 else
   9931   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9932 /* end confdefs.h.  */
   9933 int i;
   9934 int
   9935 main ()
   9936 {
   9937 
   9938   ;
   9939   return 0;
   9940 }
   9941 _ACEOF
   9942 if ac_fn_c_try_link "$LINENO"; then :
   9943   eval $cacheid=yes
   9944 else
   9945   eval $cacheid=no
   9946 fi
   9947 rm -f core conftest.err conftest.$ac_objext \
   9948     conftest$ac_exeext conftest.$ac_ext
   9949 fi
   9950 
   9951 
   9952 		CFLAGS="$xorg_testset_save_CFLAGS"
   9953 
   9954 		eval supported=\$$cacheid
   9955 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9956 $as_echo "$supported" >&6; }
   9957 		if test "$supported" = "yes" ; then
   9958 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9959 			found="yes"
   9960 		fi
   9961 	fi
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 xorg_testset_save_CFLAGS="$CFLAGS"
   9978 
   9979 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9980 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9981 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9982 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9983 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9984   $as_echo_n "(cached) " >&6
   9985 else
   9986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9987 /* end confdefs.h.  */
   9988 int i;
   9989 _ACEOF
   9990 if ac_fn_c_try_compile "$LINENO"; then :
   9991   xorg_cv_cc_flag_unknown_warning_option=yes
   9992 else
   9993   xorg_cv_cc_flag_unknown_warning_option=no
   9994 fi
   9995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9996 fi
   9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9998 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9999 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10000 	CFLAGS="$xorg_testset_save_CFLAGS"
   10001 fi
   10002 
   10003 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10004 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10005 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10006 	fi
   10007 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10008 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10009 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10010 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10011   $as_echo_n "(cached) " >&6
   10012 else
   10013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10014 /* end confdefs.h.  */
   10015 int i;
   10016 _ACEOF
   10017 if ac_fn_c_try_compile "$LINENO"; then :
   10018   xorg_cv_cc_flag_unused_command_line_argument=yes
   10019 else
   10020   xorg_cv_cc_flag_unused_command_line_argument=no
   10021 fi
   10022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10023 fi
   10024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10025 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10026 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10027 	CFLAGS="$xorg_testset_save_CFLAGS"
   10028 fi
   10029 
   10030 found="no"
   10031 
   10032 	if test $found = "no" ; then
   10033 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10034 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10035 		fi
   10036 
   10037 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10038 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10039 		fi
   10040 
   10041 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10042 
   10043 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10044 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10045 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10046 		if eval \${$cacheid+:} false; then :
   10047   $as_echo_n "(cached) " >&6
   10048 else
   10049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10050 /* end confdefs.h.  */
   10051 int i;
   10052 int
   10053 main ()
   10054 {
   10055 
   10056   ;
   10057   return 0;
   10058 }
   10059 _ACEOF
   10060 if ac_fn_c_try_link "$LINENO"; then :
   10061   eval $cacheid=yes
   10062 else
   10063   eval $cacheid=no
   10064 fi
   10065 rm -f core conftest.err conftest.$ac_objext \
   10066     conftest$ac_exeext conftest.$ac_ext
   10067 fi
   10068 
   10069 
   10070 		CFLAGS="$xorg_testset_save_CFLAGS"
   10071 
   10072 		eval supported=\$$cacheid
   10073 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10074 $as_echo "$supported" >&6; }
   10075 		if test "$supported" = "yes" ; then
   10076 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10077 			found="yes"
   10078 		fi
   10079 	fi
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 xorg_testset_save_CFLAGS="$CFLAGS"
   10096 
   10097 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10098 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10099 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10100 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10101 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10102   $as_echo_n "(cached) " >&6
   10103 else
   10104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10105 /* end confdefs.h.  */
   10106 int i;
   10107 _ACEOF
   10108 if ac_fn_c_try_compile "$LINENO"; then :
   10109   xorg_cv_cc_flag_unknown_warning_option=yes
   10110 else
   10111   xorg_cv_cc_flag_unknown_warning_option=no
   10112 fi
   10113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10114 fi
   10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10116 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10117 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10118 	CFLAGS="$xorg_testset_save_CFLAGS"
   10119 fi
   10120 
   10121 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10122 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10123 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10124 	fi
   10125 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10126 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10127 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10128 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10129   $as_echo_n "(cached) " >&6
   10130 else
   10131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10132 /* end confdefs.h.  */
   10133 int i;
   10134 _ACEOF
   10135 if ac_fn_c_try_compile "$LINENO"; then :
   10136   xorg_cv_cc_flag_unused_command_line_argument=yes
   10137 else
   10138   xorg_cv_cc_flag_unused_command_line_argument=no
   10139 fi
   10140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10141 fi
   10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10143 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10144 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10145 	CFLAGS="$xorg_testset_save_CFLAGS"
   10146 fi
   10147 
   10148 found="no"
   10149 
   10150 	if test $found = "no" ; then
   10151 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10152 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10153 		fi
   10154 
   10155 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10156 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10157 		fi
   10158 
   10159 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10160 
   10161 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10162 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10163 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10164 		if eval \${$cacheid+:} false; then :
   10165   $as_echo_n "(cached) " >&6
   10166 else
   10167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10168 /* end confdefs.h.  */
   10169 int i;
   10170 int
   10171 main ()
   10172 {
   10173 
   10174   ;
   10175   return 0;
   10176 }
   10177 _ACEOF
   10178 if ac_fn_c_try_link "$LINENO"; then :
   10179   eval $cacheid=yes
   10180 else
   10181   eval $cacheid=no
   10182 fi
   10183 rm -f core conftest.err conftest.$ac_objext \
   10184     conftest$ac_exeext conftest.$ac_ext
   10185 fi
   10186 
   10187 
   10188 		CFLAGS="$xorg_testset_save_CFLAGS"
   10189 
   10190 		eval supported=\$$cacheid
   10191 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10192 $as_echo "$supported" >&6; }
   10193 		if test "$supported" = "yes" ; then
   10194 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10195 			found="yes"
   10196 		fi
   10197 	fi
   10198 
   10199 
   10200 fi
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 		CWARNFLAGS="$BASE_CFLAGS"
   10209 		if  test "x$GCC" = xyes ; then
   10210 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10211 		fi
   10212 
   10213 
   10214 
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 # Check whether --enable-strict-compilation was given.
   10221 if test "${enable_strict_compilation+set}" = set; then :
   10222   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10223 else
   10224   STRICT_COMPILE=no
   10225 fi
   10226 
   10227 
   10228 
   10229 
   10230 
   10231 
   10232 STRICT_CFLAGS=""
   10233 
   10234 
   10235 
   10236 
   10237 
   10238 
   10239 
   10240 
   10241 
   10242 
   10243 
   10244 
   10245 
   10246 xorg_testset_save_CFLAGS="$CFLAGS"
   10247 
   10248 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10249 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10250 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10251 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10252 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10253   $as_echo_n "(cached) " >&6
   10254 else
   10255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10256 /* end confdefs.h.  */
   10257 int i;
   10258 _ACEOF
   10259 if ac_fn_c_try_compile "$LINENO"; then :
   10260   xorg_cv_cc_flag_unknown_warning_option=yes
   10261 else
   10262   xorg_cv_cc_flag_unknown_warning_option=no
   10263 fi
   10264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10265 fi
   10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10267 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10268 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10269 	CFLAGS="$xorg_testset_save_CFLAGS"
   10270 fi
   10271 
   10272 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10273 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10274 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10275 	fi
   10276 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10277 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10278 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10279 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10280   $as_echo_n "(cached) " >&6
   10281 else
   10282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10283 /* end confdefs.h.  */
   10284 int i;
   10285 _ACEOF
   10286 if ac_fn_c_try_compile "$LINENO"; then :
   10287   xorg_cv_cc_flag_unused_command_line_argument=yes
   10288 else
   10289   xorg_cv_cc_flag_unused_command_line_argument=no
   10290 fi
   10291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10292 fi
   10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10294 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10295 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10296 	CFLAGS="$xorg_testset_save_CFLAGS"
   10297 fi
   10298 
   10299 found="no"
   10300 
   10301 	if test $found = "no" ; then
   10302 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10303 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10304 		fi
   10305 
   10306 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10307 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10308 		fi
   10309 
   10310 		CFLAGS="$CFLAGS -pedantic"
   10311 
   10312 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10313 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10314 		cacheid=xorg_cv_cc_flag__pedantic
   10315 		if eval \${$cacheid+:} false; then :
   10316   $as_echo_n "(cached) " >&6
   10317 else
   10318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10319 /* end confdefs.h.  */
   10320 int i;
   10321 int
   10322 main ()
   10323 {
   10324 
   10325   ;
   10326   return 0;
   10327 }
   10328 _ACEOF
   10329 if ac_fn_c_try_link "$LINENO"; then :
   10330   eval $cacheid=yes
   10331 else
   10332   eval $cacheid=no
   10333 fi
   10334 rm -f core conftest.err conftest.$ac_objext \
   10335     conftest$ac_exeext conftest.$ac_ext
   10336 fi
   10337 
   10338 
   10339 		CFLAGS="$xorg_testset_save_CFLAGS"
   10340 
   10341 		eval supported=\$$cacheid
   10342 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10343 $as_echo "$supported" >&6; }
   10344 		if test "$supported" = "yes" ; then
   10345 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10346 			found="yes"
   10347 		fi
   10348 	fi
   10349 
   10350 
   10351 
   10352 
   10353 
   10354 
   10355 
   10356 
   10357 
   10358 
   10359 
   10360 
   10361 
   10362 
   10363 
   10364 xorg_testset_save_CFLAGS="$CFLAGS"
   10365 
   10366 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10367 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10368 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10369 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10370 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10371   $as_echo_n "(cached) " >&6
   10372 else
   10373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10374 /* end confdefs.h.  */
   10375 int i;
   10376 _ACEOF
   10377 if ac_fn_c_try_compile "$LINENO"; then :
   10378   xorg_cv_cc_flag_unknown_warning_option=yes
   10379 else
   10380   xorg_cv_cc_flag_unknown_warning_option=no
   10381 fi
   10382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10383 fi
   10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10385 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10386 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10387 	CFLAGS="$xorg_testset_save_CFLAGS"
   10388 fi
   10389 
   10390 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10391 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10392 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10393 	fi
   10394 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10395 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10396 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10397 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10398   $as_echo_n "(cached) " >&6
   10399 else
   10400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10401 /* end confdefs.h.  */
   10402 int i;
   10403 _ACEOF
   10404 if ac_fn_c_try_compile "$LINENO"; then :
   10405   xorg_cv_cc_flag_unused_command_line_argument=yes
   10406 else
   10407   xorg_cv_cc_flag_unused_command_line_argument=no
   10408 fi
   10409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10410 fi
   10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10412 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10413 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10414 	CFLAGS="$xorg_testset_save_CFLAGS"
   10415 fi
   10416 
   10417 found="no"
   10418 
   10419 	if test $found = "no" ; then
   10420 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10421 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10422 		fi
   10423 
   10424 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10425 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10426 		fi
   10427 
   10428 		CFLAGS="$CFLAGS -Werror"
   10429 
   10430 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10431 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10432 		cacheid=xorg_cv_cc_flag__Werror
   10433 		if eval \${$cacheid+:} false; then :
   10434   $as_echo_n "(cached) " >&6
   10435 else
   10436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10437 /* end confdefs.h.  */
   10438 int i;
   10439 int
   10440 main ()
   10441 {
   10442 
   10443   ;
   10444   return 0;
   10445 }
   10446 _ACEOF
   10447 if ac_fn_c_try_link "$LINENO"; then :
   10448   eval $cacheid=yes
   10449 else
   10450   eval $cacheid=no
   10451 fi
   10452 rm -f core conftest.err conftest.$ac_objext \
   10453     conftest$ac_exeext conftest.$ac_ext
   10454 fi
   10455 
   10456 
   10457 		CFLAGS="$xorg_testset_save_CFLAGS"
   10458 
   10459 		eval supported=\$$cacheid
   10460 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10461 $as_echo "$supported" >&6; }
   10462 		if test "$supported" = "yes" ; then
   10463 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10464 			found="yes"
   10465 		fi
   10466 	fi
   10467 
   10468 	if test $found = "no" ; then
   10469 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10470 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10471 		fi
   10472 
   10473 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10474 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10475 		fi
   10476 
   10477 		CFLAGS="$CFLAGS -errwarn"
   10478 
   10479 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10480 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10481 		cacheid=xorg_cv_cc_flag__errwarn
   10482 		if eval \${$cacheid+:} false; then :
   10483   $as_echo_n "(cached) " >&6
   10484 else
   10485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10486 /* end confdefs.h.  */
   10487 int i;
   10488 int
   10489 main ()
   10490 {
   10491 
   10492   ;
   10493   return 0;
   10494 }
   10495 _ACEOF
   10496 if ac_fn_c_try_link "$LINENO"; then :
   10497   eval $cacheid=yes
   10498 else
   10499   eval $cacheid=no
   10500 fi
   10501 rm -f core conftest.err conftest.$ac_objext \
   10502     conftest$ac_exeext conftest.$ac_ext
   10503 fi
   10504 
   10505 
   10506 		CFLAGS="$xorg_testset_save_CFLAGS"
   10507 
   10508 		eval supported=\$$cacheid
   10509 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10510 $as_echo "$supported" >&6; }
   10511 		if test "$supported" = "yes" ; then
   10512 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10513 			found="yes"
   10514 		fi
   10515 	fi
   10516 
   10517 
   10518 
   10519 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10520 # activate it with -Werror, so we add it here explicitly.
   10521 
   10522 
   10523 
   10524 
   10525 
   10526 
   10527 
   10528 
   10529 
   10530 
   10531 
   10532 
   10533 
   10534 xorg_testset_save_CFLAGS="$CFLAGS"
   10535 
   10536 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10537 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10538 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10539 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10540 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10541   $as_echo_n "(cached) " >&6
   10542 else
   10543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10544 /* end confdefs.h.  */
   10545 int i;
   10546 _ACEOF
   10547 if ac_fn_c_try_compile "$LINENO"; then :
   10548   xorg_cv_cc_flag_unknown_warning_option=yes
   10549 else
   10550   xorg_cv_cc_flag_unknown_warning_option=no
   10551 fi
   10552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10553 fi
   10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10555 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10556 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10557 	CFLAGS="$xorg_testset_save_CFLAGS"
   10558 fi
   10559 
   10560 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10561 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10562 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10563 	fi
   10564 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10565 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10566 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10567 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10568   $as_echo_n "(cached) " >&6
   10569 else
   10570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10571 /* end confdefs.h.  */
   10572 int i;
   10573 _ACEOF
   10574 if ac_fn_c_try_compile "$LINENO"; then :
   10575   xorg_cv_cc_flag_unused_command_line_argument=yes
   10576 else
   10577   xorg_cv_cc_flag_unused_command_line_argument=no
   10578 fi
   10579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10580 fi
   10581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10582 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10583 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10584 	CFLAGS="$xorg_testset_save_CFLAGS"
   10585 fi
   10586 
   10587 found="no"
   10588 
   10589 	if test $found = "no" ; then
   10590 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10591 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10592 		fi
   10593 
   10594 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10595 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10596 		fi
   10597 
   10598 		CFLAGS="$CFLAGS -Werror=attributes"
   10599 
   10600 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10601 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10602 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10603 		if eval \${$cacheid+:} false; then :
   10604   $as_echo_n "(cached) " >&6
   10605 else
   10606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10607 /* end confdefs.h.  */
   10608 int i;
   10609 int
   10610 main ()
   10611 {
   10612 
   10613   ;
   10614   return 0;
   10615 }
   10616 _ACEOF
   10617 if ac_fn_c_try_link "$LINENO"; then :
   10618   eval $cacheid=yes
   10619 else
   10620   eval $cacheid=no
   10621 fi
   10622 rm -f core conftest.err conftest.$ac_objext \
   10623     conftest$ac_exeext conftest.$ac_ext
   10624 fi
   10625 
   10626 
   10627 		CFLAGS="$xorg_testset_save_CFLAGS"
   10628 
   10629 		eval supported=\$$cacheid
   10630 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10631 $as_echo "$supported" >&6; }
   10632 		if test "$supported" = "yes" ; then
   10633 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10634 			found="yes"
   10635 		fi
   10636 	fi
   10637 
   10638 
   10639 
   10640 if test "x$STRICT_COMPILE" = "xyes"; then
   10641     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10642     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10643 fi
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 
   10650 cat >>confdefs.h <<_ACEOF
   10651 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10652 _ACEOF
   10653 
   10654 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10655 	if test "x$PVM" = "x"; then
   10656 		PVM="0"
   10657 	fi
   10658 
   10659 cat >>confdefs.h <<_ACEOF
   10660 #define PACKAGE_VERSION_MINOR $PVM
   10661 _ACEOF
   10662 
   10663 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10664 	if test "x$PVP" = "x"; then
   10665 		PVP="0"
   10666 	fi
   10667 
   10668 cat >>confdefs.h <<_ACEOF
   10669 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10670 _ACEOF
   10671 
   10672 
   10673 
   10674 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10675 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10676 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10677 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10678 
   10679 
   10680 
   10681 
   10682 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10683 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10684 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10685 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10686 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10687 
   10688 
   10689 
   10690 
   10691 
   10692 
   10693 if test x$APP_MAN_SUFFIX = x    ; then
   10694     APP_MAN_SUFFIX=1
   10695 fi
   10696 if test x$APP_MAN_DIR = x    ; then
   10697     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10698 fi
   10699 
   10700 if test x$LIB_MAN_SUFFIX = x    ; then
   10701     LIB_MAN_SUFFIX=3
   10702 fi
   10703 if test x$LIB_MAN_DIR = x    ; then
   10704     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10705 fi
   10706 
   10707 if test x$FILE_MAN_SUFFIX = x    ; then
   10708     case $host_os in
   10709 	# Solaris 2.0 - 11 use SysV man page sections
   10710 	solaris2.?|solaris2.1[01])	FILE_MAN_SUFFIX=4  ;;
   10711 	*)				FILE_MAN_SUFFIX=5  ;;
   10712     esac
   10713 fi
   10714 if test x$FILE_MAN_DIR = x    ; then
   10715     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10716 fi
   10717 
   10718 if test x$MISC_MAN_SUFFIX = x    ; then
   10719     case $host_os in
   10720 	# Solaris 2.0 - 11 use SysV man page sections
   10721 	solaris2.?|solaris2.1[01])	MISC_MAN_SUFFIX=5  ;;
   10722 	*)				MISC_MAN_SUFFIX=7  ;;
   10723     esac
   10724 fi
   10725 if test x$MISC_MAN_DIR = x    ; then
   10726     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10727 fi
   10728 
   10729 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10730     case $host_os in
   10731 	# Solaris 2.0 - 11 use SysV man page sections
   10732 	solaris2.?|solaris2.1[01])	DRIVER_MAN_SUFFIX=7  ;;
   10733 	*)				DRIVER_MAN_SUFFIX=4  ;;
   10734     esac
   10735 fi
   10736 if test x$DRIVER_MAN_DIR = x    ; then
   10737     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10738 fi
   10739 
   10740 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10741     case $host_os in
   10742 	# Solaris 2.0 - 11 use SysV man page sections
   10743 	solaris2.?|solaris2.1[01])	ADMIN_MAN_SUFFIX=1m ;;
   10744 	*)				ADMIN_MAN_SUFFIX=8  ;;
   10745     esac
   10746 fi
   10747 if test x$ADMIN_MAN_DIR = x    ; then
   10748     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10749 fi
   10750 
   10751 
   10752 
   10753 
   10754 
   10755 
   10756 
   10757 
   10758 
   10759 
   10760 
   10761 
   10762 
   10763 
   10764 
   10765 XORG_MAN_PAGE="X Version 11"
   10766 
   10767 MAN_SUBSTS="\
   10768 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10769 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10770 	-e 's|__xservername__|Xorg|g' \
   10771 	-e 's|__xconfigfile__|xorg.conf|g' \
   10772 	-e 's|__projectroot__|\$(prefix)|g' \
   10773 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10774 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10775 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10776 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10777 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10778 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10779 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10780 
   10781 
   10782 
   10783 # Check whether --enable-silent-rules was given.
   10784 if test "${enable_silent_rules+set}" = set; then :
   10785   enableval=$enable_silent_rules;
   10786 fi
   10787 
   10788 case $enable_silent_rules in # (((
   10789   yes) AM_DEFAULT_VERBOSITY=0;;
   10790    no) AM_DEFAULT_VERBOSITY=1;;
   10791     *) AM_DEFAULT_VERBOSITY=0;;
   10792 esac
   10793 am_make=${MAKE-make}
   10794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10795 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10796 if ${am_cv_make_support_nested_variables+:} false; then :
   10797   $as_echo_n "(cached) " >&6
   10798 else
   10799   if $as_echo 'TRUE=$(BAR$(V))
   10800 BAR0=false
   10801 BAR1=true
   10802 V=1
   10803 am__doit:
   10804 	@$(TRUE)
   10805 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10806   am_cv_make_support_nested_variables=yes
   10807 else
   10808   am_cv_make_support_nested_variables=no
   10809 fi
   10810 fi
   10811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10812 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10813 if test $am_cv_make_support_nested_variables = yes; then
   10814     AM_V='$(V)'
   10815   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10816 else
   10817   AM_V=$AM_DEFAULT_VERBOSITY
   10818   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10819 fi
   10820 AM_BACKSLASH='\'
   10821 
   10822 
   10823 
   10824 for ac_func in strcasecmp
   10825 do :
   10826   ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
   10827 if test "x$ac_cv_func_strcasecmp" = xyes; then :
   10828   cat >>confdefs.h <<_ACEOF
   10829 #define HAVE_STRCASECMP 1
   10830 _ACEOF
   10831 
   10832 fi
   10833 done
   10834 
   10835 
   10836 # Checks for pkg-config packages
   10837 
   10838 pkg_failed=no
   10839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XREFRESH" >&5
   10840 $as_echo_n "checking for XREFRESH... " >&6; }
   10841 
   10842 if test -n "$XREFRESH_CFLAGS"; then
   10843     pkg_cv_XREFRESH_CFLAGS="$XREFRESH_CFLAGS"
   10844  elif test -n "$PKG_CONFIG"; then
   10845     if test -n "$PKG_CONFIG" && \
   10846     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.25\""; } >&5
   10847   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.25") 2>&5
   10848   ac_status=$?
   10849   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10850   test $ac_status = 0; }; then
   10851   pkg_cv_XREFRESH_CFLAGS=`$PKG_CONFIG --cflags "x11 xproto >= 7.0.25" 2>/dev/null`
   10852 		      test "x$?" != "x0" && pkg_failed=yes
   10853 else
   10854   pkg_failed=yes
   10855 fi
   10856  else
   10857     pkg_failed=untried
   10858 fi
   10859 if test -n "$XREFRESH_LIBS"; then
   10860     pkg_cv_XREFRESH_LIBS="$XREFRESH_LIBS"
   10861  elif test -n "$PKG_CONFIG"; then
   10862     if test -n "$PKG_CONFIG" && \
   10863     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.25\""; } >&5
   10864   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.25") 2>&5
   10865   ac_status=$?
   10866   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10867   test $ac_status = 0; }; then
   10868   pkg_cv_XREFRESH_LIBS=`$PKG_CONFIG --libs "x11 xproto >= 7.0.25" 2>/dev/null`
   10869 		      test "x$?" != "x0" && pkg_failed=yes
   10870 else
   10871   pkg_failed=yes
   10872 fi
   10873  else
   10874     pkg_failed=untried
   10875 fi
   10876 
   10877 
   10878 
   10879 if test $pkg_failed = yes; then
   10880    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10881 $as_echo "no" >&6; }
   10882 
   10883 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10884         _pkg_short_errors_supported=yes
   10885 else
   10886         _pkg_short_errors_supported=no
   10887 fi
   10888         if test $_pkg_short_errors_supported = yes; then
   10889 	        XREFRESH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xproto >= 7.0.25" 2>&1`
   10890         else
   10891 	        XREFRESH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xproto >= 7.0.25" 2>&1`
   10892         fi
   10893 	# Put the nasty error message in config.log where it belongs
   10894 	echo "$XREFRESH_PKG_ERRORS" >&5
   10895 
   10896 	as_fn_error $? "Package requirements (x11 xproto >= 7.0.25) were not met:
   10897 
   10898 $XREFRESH_PKG_ERRORS
   10899 
   10900 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10901 installed software in a non-standard prefix.
   10902 
   10903 Alternatively, you may set the environment variables XREFRESH_CFLAGS
   10904 and XREFRESH_LIBS to avoid the need to call pkg-config.
   10905 See the pkg-config man page for more details." "$LINENO" 5
   10906 elif test $pkg_failed = untried; then
   10907      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10908 $as_echo "no" >&6; }
   10909 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10910 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10911 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10912 is in your PATH or set the PKG_CONFIG environment variable to the full
   10913 path to pkg-config.
   10914 
   10915 Alternatively, you may set the environment variables XREFRESH_CFLAGS
   10916 and XREFRESH_LIBS to avoid the need to call pkg-config.
   10917 See the pkg-config man page for more details.
   10918 
   10919 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10920 See \`config.log' for more details" "$LINENO" 5; }
   10921 else
   10922 	XREFRESH_CFLAGS=$pkg_cv_XREFRESH_CFLAGS
   10923 	XREFRESH_LIBS=$pkg_cv_XREFRESH_LIBS
   10924         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10925 $as_echo "yes" >&6; }
   10926 
   10927 fi
   10928 
   10929 ac_config_files="$ac_config_files Makefile man/Makefile"
   10930 
   10931 cat >confcache <<\_ACEOF
   10932 # This file is a shell script that caches the results of configure
   10933 # tests run on this system so they can be shared between configure
   10934 # scripts and configure runs, see configure's option --config-cache.
   10935 # It is not useful on other systems.  If it contains results you don't
   10936 # want to keep, you may remove or edit it.
   10937 #
   10938 # config.status only pays attention to the cache file if you give it
   10939 # the --recheck option to rerun configure.
   10940 #
   10941 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10942 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10943 # following values.
   10944 
   10945 _ACEOF
   10946 
   10947 # The following way of writing the cache mishandles newlines in values,
   10948 # but we know of no workaround that is simple, portable, and efficient.
   10949 # So, we kill variables containing newlines.
   10950 # Ultrix sh set writes to stderr and can't be redirected directly,
   10951 # and sets the high bit in the cache file unless we assign to the vars.
   10952 (
   10953   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10954     eval ac_val=\$$ac_var
   10955     case $ac_val in #(
   10956     *${as_nl}*)
   10957       case $ac_var in #(
   10958       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10959 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10960       esac
   10961       case $ac_var in #(
   10962       _ | IFS | as_nl) ;; #(
   10963       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10964       *) { eval $ac_var=; unset $ac_var;} ;;
   10965       esac ;;
   10966     esac
   10967   done
   10968 
   10969   (set) 2>&1 |
   10970     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10971     *${as_nl}ac_space=\ *)
   10972       # `set' does not quote correctly, so add quotes: double-quote
   10973       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10974       sed -n \
   10975 	"s/'/'\\\\''/g;
   10976 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10977       ;; #(
   10978     *)
   10979       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10980       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10981       ;;
   10982     esac |
   10983     sort
   10984 ) |
   10985   sed '
   10986      /^ac_cv_env_/b end
   10987      t clear
   10988      :clear
   10989      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10990      t end
   10991      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10992      :end' >>confcache
   10993 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10994   if test -w "$cache_file"; then
   10995     if test "x$cache_file" != "x/dev/null"; then
   10996       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10997 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10998       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10999 	cat confcache >"$cache_file"
   11000       else
   11001         case $cache_file in #(
   11002         */* | ?:*)
   11003 	  mv -f confcache "$cache_file"$$ &&
   11004 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11005         *)
   11006 	  mv -f confcache "$cache_file" ;;
   11007 	esac
   11008       fi
   11009     fi
   11010   else
   11011     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11012 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11013   fi
   11014 fi
   11015 rm -f confcache
   11016 
   11017 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11018 # Let make expand exec_prefix.
   11019 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11020 
   11021 DEFS=-DHAVE_CONFIG_H
   11022 
   11023 ac_libobjs=
   11024 ac_ltlibobjs=
   11025 U=
   11026 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11027   # 1. Remove the extension, and $U if already installed.
   11028   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11029   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11030   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11031   #    will be set to the directory where LIBOBJS objects are built.
   11032   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11033   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11034 done
   11035 LIBOBJS=$ac_libobjs
   11036 
   11037 LTLIBOBJS=$ac_ltlibobjs
   11038 
   11039 
   11040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11041 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11042    if test -n "$am_sleep_pid"; then
   11043      # Hide warnings about reused PIDs.
   11044      wait $am_sleep_pid 2>/dev/null
   11045    fi
   11046    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11047 $as_echo "done" >&6; }
   11048 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11049   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11050 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11051 fi
   11052 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11053   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11054 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11055 fi
   11056  if test -n "$EXEEXT"; then
   11057   am__EXEEXT_TRUE=
   11058   am__EXEEXT_FALSE='#'
   11059 else
   11060   am__EXEEXT_TRUE='#'
   11061   am__EXEEXT_FALSE=
   11062 fi
   11063 
   11064 
   11065 : "${CONFIG_STATUS=./config.status}"
   11066 ac_write_fail=0
   11067 ac_clean_files_save=$ac_clean_files
   11068 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11069 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11070 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11071 as_write_fail=0
   11072 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11073 #! $SHELL
   11074 # Generated by $as_me.
   11075 # Run this file to recreate the current configuration.
   11076 # Compiler output produced by configure, useful for debugging
   11077 # configure, is in config.log if it exists.
   11078 
   11079 debug=false
   11080 ac_cs_recheck=false
   11081 ac_cs_silent=false
   11082 
   11083 SHELL=\${CONFIG_SHELL-$SHELL}
   11084 export SHELL
   11085 _ASEOF
   11086 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11087 ## -------------------- ##
   11088 ## M4sh Initialization. ##
   11089 ## -------------------- ##
   11090 
   11091 # Be more Bourne compatible
   11092 DUALCASE=1; export DUALCASE # for MKS sh
   11093 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11094   emulate sh
   11095   NULLCMD=:
   11096   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11097   # is contrary to our usage.  Disable this feature.
   11098   alias -g '${1+"$@"}'='"$@"'
   11099   setopt NO_GLOB_SUBST
   11100 else
   11101   case `(set -o) 2>/dev/null` in #(
   11102   *posix*) :
   11103     set -o posix ;; #(
   11104   *) :
   11105      ;;
   11106 esac
   11107 fi
   11108 
   11109 
   11110 as_nl='
   11111 '
   11112 export as_nl
   11113 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11114 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11115 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11116 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11117 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11118 # but without wasting forks for bash or zsh.
   11119 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11120     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11121   as_echo='print -r --'
   11122   as_echo_n='print -rn --'
   11123 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11124   as_echo='printf %s\n'
   11125   as_echo_n='printf %s'
   11126 else
   11127   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11128     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11129     as_echo_n='/usr/ucb/echo -n'
   11130   else
   11131     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11132     as_echo_n_body='eval
   11133       arg=$1;
   11134       case $arg in #(
   11135       *"$as_nl"*)
   11136 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11137 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11138       esac;
   11139       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11140     '
   11141     export as_echo_n_body
   11142     as_echo_n='sh -c $as_echo_n_body as_echo'
   11143   fi
   11144   export as_echo_body
   11145   as_echo='sh -c $as_echo_body as_echo'
   11146 fi
   11147 
   11148 # The user is always right.
   11149 if test "${PATH_SEPARATOR+set}" != set; then
   11150   PATH_SEPARATOR=:
   11151   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11152     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11153       PATH_SEPARATOR=';'
   11154   }
   11155 fi
   11156 
   11157 
   11158 # IFS
   11159 # We need space, tab and new line, in precisely that order.  Quoting is
   11160 # there to prevent editors from complaining about space-tab.
   11161 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11162 # splitting by setting IFS to empty value.)
   11163 IFS=" ""	$as_nl"
   11164 
   11165 # Find who we are.  Look in the path if we contain no directory separator.
   11166 as_myself=
   11167 case $0 in #((
   11168   *[\\/]* ) as_myself=$0 ;;
   11169   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11170 for as_dir in $PATH
   11171 do
   11172   IFS=$as_save_IFS
   11173   test -z "$as_dir" && as_dir=.
   11174     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11175   done
   11176 IFS=$as_save_IFS
   11177 
   11178      ;;
   11179 esac
   11180 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11181 # in which case we are not to be found in the path.
   11182 if test "x$as_myself" = x; then
   11183   as_myself=$0
   11184 fi
   11185 if test ! -f "$as_myself"; then
   11186   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11187   exit 1
   11188 fi
   11189 
   11190 # Unset variables that we do not need and which cause bugs (e.g. in
   11191 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11192 # suppresses any "Segmentation fault" message there.  '((' could
   11193 # trigger a bug in pdksh 5.2.14.
   11194 for as_var in BASH_ENV ENV MAIL MAILPATH
   11195 do eval test x\${$as_var+set} = xset \
   11196   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11197 done
   11198 PS1='$ '
   11199 PS2='> '
   11200 PS4='+ '
   11201 
   11202 # NLS nuisances.
   11203 LC_ALL=C
   11204 export LC_ALL
   11205 LANGUAGE=C
   11206 export LANGUAGE
   11207 
   11208 # CDPATH.
   11209 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11210 
   11211 
   11212 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11213 # ----------------------------------------
   11214 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11215 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11216 # script with STATUS, using 1 if that was 0.
   11217 as_fn_error ()
   11218 {
   11219   as_status=$1; test $as_status -eq 0 && as_status=1
   11220   if test "$4"; then
   11221     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11222     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11223   fi
   11224   $as_echo "$as_me: error: $2" >&2
   11225   as_fn_exit $as_status
   11226 } # as_fn_error
   11227 
   11228 
   11229 # as_fn_set_status STATUS
   11230 # -----------------------
   11231 # Set $? to STATUS, without forking.
   11232 as_fn_set_status ()
   11233 {
   11234   return $1
   11235 } # as_fn_set_status
   11236 
   11237 # as_fn_exit STATUS
   11238 # -----------------
   11239 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11240 as_fn_exit ()
   11241 {
   11242   set +e
   11243   as_fn_set_status $1
   11244   exit $1
   11245 } # as_fn_exit
   11246 
   11247 # as_fn_unset VAR
   11248 # ---------------
   11249 # Portably unset VAR.
   11250 as_fn_unset ()
   11251 {
   11252   { eval $1=; unset $1;}
   11253 }
   11254 as_unset=as_fn_unset
   11255 # as_fn_append VAR VALUE
   11256 # ----------------------
   11257 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11258 # advantage of any shell optimizations that allow amortized linear growth over
   11259 # repeated appends, instead of the typical quadratic growth present in naive
   11260 # implementations.
   11261 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11262   eval 'as_fn_append ()
   11263   {
   11264     eval $1+=\$2
   11265   }'
   11266 else
   11267   as_fn_append ()
   11268   {
   11269     eval $1=\$$1\$2
   11270   }
   11271 fi # as_fn_append
   11272 
   11273 # as_fn_arith ARG...
   11274 # ------------------
   11275 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11276 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11277 # must be portable across $(()) and expr.
   11278 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11279   eval 'as_fn_arith ()
   11280   {
   11281     as_val=$(( $* ))
   11282   }'
   11283 else
   11284   as_fn_arith ()
   11285   {
   11286     as_val=`expr "$@" || test $? -eq 1`
   11287   }
   11288 fi # as_fn_arith
   11289 
   11290 
   11291 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11292    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11293   as_expr=expr
   11294 else
   11295   as_expr=false
   11296 fi
   11297 
   11298 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11299   as_basename=basename
   11300 else
   11301   as_basename=false
   11302 fi
   11303 
   11304 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11305   as_dirname=dirname
   11306 else
   11307   as_dirname=false
   11308 fi
   11309 
   11310 as_me=`$as_basename -- "$0" ||
   11311 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11312 	 X"$0" : 'X\(//\)$' \| \
   11313 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11314 $as_echo X/"$0" |
   11315     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11316 	    s//\1/
   11317 	    q
   11318 	  }
   11319 	  /^X\/\(\/\/\)$/{
   11320 	    s//\1/
   11321 	    q
   11322 	  }
   11323 	  /^X\/\(\/\).*/{
   11324 	    s//\1/
   11325 	    q
   11326 	  }
   11327 	  s/.*/./; q'`
   11328 
   11329 # Avoid depending upon Character Ranges.
   11330 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11331 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11332 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11333 as_cr_digits='0123456789'
   11334 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11335 
   11336 ECHO_C= ECHO_N= ECHO_T=
   11337 case `echo -n x` in #(((((
   11338 -n*)
   11339   case `echo 'xy\c'` in
   11340   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11341   xy)  ECHO_C='\c';;
   11342   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11343        ECHO_T='	';;
   11344   esac;;
   11345 *)
   11346   ECHO_N='-n';;
   11347 esac
   11348 
   11349 rm -f conf$$ conf$$.exe conf$$.file
   11350 if test -d conf$$.dir; then
   11351   rm -f conf$$.dir/conf$$.file
   11352 else
   11353   rm -f conf$$.dir
   11354   mkdir conf$$.dir 2>/dev/null
   11355 fi
   11356 if (echo >conf$$.file) 2>/dev/null; then
   11357   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11358     as_ln_s='ln -s'
   11359     # ... but there are two gotchas:
   11360     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11361     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11362     # In both cases, we have to default to `cp -pR'.
   11363     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11364       as_ln_s='cp -pR'
   11365   elif ln conf$$.file conf$$ 2>/dev/null; then
   11366     as_ln_s=ln
   11367   else
   11368     as_ln_s='cp -pR'
   11369   fi
   11370 else
   11371   as_ln_s='cp -pR'
   11372 fi
   11373 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11374 rmdir conf$$.dir 2>/dev/null
   11375 
   11376 
   11377 # as_fn_mkdir_p
   11378 # -------------
   11379 # Create "$as_dir" as a directory, including parents if necessary.
   11380 as_fn_mkdir_p ()
   11381 {
   11382 
   11383   case $as_dir in #(
   11384   -*) as_dir=./$as_dir;;
   11385   esac
   11386   test -d "$as_dir" || eval $as_mkdir_p || {
   11387     as_dirs=
   11388     while :; do
   11389       case $as_dir in #(
   11390       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11391       *) as_qdir=$as_dir;;
   11392       esac
   11393       as_dirs="'$as_qdir' $as_dirs"
   11394       as_dir=`$as_dirname -- "$as_dir" ||
   11395 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11396 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11397 	 X"$as_dir" : 'X\(//\)$' \| \
   11398 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11399 $as_echo X"$as_dir" |
   11400     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11401 	    s//\1/
   11402 	    q
   11403 	  }
   11404 	  /^X\(\/\/\)[^/].*/{
   11405 	    s//\1/
   11406 	    q
   11407 	  }
   11408 	  /^X\(\/\/\)$/{
   11409 	    s//\1/
   11410 	    q
   11411 	  }
   11412 	  /^X\(\/\).*/{
   11413 	    s//\1/
   11414 	    q
   11415 	  }
   11416 	  s/.*/./; q'`
   11417       test -d "$as_dir" && break
   11418     done
   11419     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11420   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11421 
   11422 
   11423 } # as_fn_mkdir_p
   11424 if mkdir -p . 2>/dev/null; then
   11425   as_mkdir_p='mkdir -p "$as_dir"'
   11426 else
   11427   test -d ./-p && rmdir ./-p
   11428   as_mkdir_p=false
   11429 fi
   11430 
   11431 
   11432 # as_fn_executable_p FILE
   11433 # -----------------------
   11434 # Test if FILE is an executable regular file.
   11435 as_fn_executable_p ()
   11436 {
   11437   test -f "$1" && test -x "$1"
   11438 } # as_fn_executable_p
   11439 as_test_x='test -x'
   11440 as_executable_p=as_fn_executable_p
   11441 
   11442 # Sed expression to map a string onto a valid CPP name.
   11443 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11444 
   11445 # Sed expression to map a string onto a valid variable name.
   11446 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11447 
   11448 
   11449 exec 6>&1
   11450 ## ----------------------------------- ##
   11451 ## Main body of $CONFIG_STATUS script. ##
   11452 ## ----------------------------------- ##
   11453 _ASEOF
   11454 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11455 
   11456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11457 # Save the log message, to keep $0 and so on meaningful, and to
   11458 # report actual input values of CONFIG_FILES etc. instead of their
   11459 # values after options handling.
   11460 ac_log="
   11461 This file was extended by xrefresh $as_me 1.0.6, which was
   11462 generated by GNU Autoconf 2.69.  Invocation command line was
   11463 
   11464   CONFIG_FILES    = $CONFIG_FILES
   11465   CONFIG_HEADERS  = $CONFIG_HEADERS
   11466   CONFIG_LINKS    = $CONFIG_LINKS
   11467   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11468   $ $0 $@
   11469 
   11470 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11471 "
   11472 
   11473 _ACEOF
   11474 
   11475 case $ac_config_files in *"
   11476 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11477 esac
   11478 
   11479 case $ac_config_headers in *"
   11480 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11481 esac
   11482 
   11483 
   11484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11485 # Files that config.status was made for.
   11486 config_files="$ac_config_files"
   11487 config_headers="$ac_config_headers"
   11488 config_commands="$ac_config_commands"
   11489 
   11490 _ACEOF
   11491 
   11492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11493 ac_cs_usage="\
   11494 \`$as_me' instantiates files and other configuration actions
   11495 from templates according to the current configuration.  Unless the files
   11496 and actions are specified as TAGs, all are instantiated by default.
   11497 
   11498 Usage: $0 [OPTION]... [TAG]...
   11499 
   11500   -h, --help       print this help, then exit
   11501   -V, --version    print version number and configuration settings, then exit
   11502       --config     print configuration, then exit
   11503   -q, --quiet, --silent
   11504                    do not print progress messages
   11505   -d, --debug      don't remove temporary files
   11506       --recheck    update $as_me by reconfiguring in the same conditions
   11507       --file=FILE[:TEMPLATE]
   11508                    instantiate the configuration file FILE
   11509       --header=FILE[:TEMPLATE]
   11510                    instantiate the configuration header FILE
   11511 
   11512 Configuration files:
   11513 $config_files
   11514 
   11515 Configuration headers:
   11516 $config_headers
   11517 
   11518 Configuration commands:
   11519 $config_commands
   11520 
   11521 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11522 
   11523 _ACEOF
   11524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11525 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11526 ac_cs_version="\\
   11527 xrefresh config.status 1.0.6
   11528 configured by $0, generated by GNU Autoconf 2.69,
   11529   with options \\"\$ac_cs_config\\"
   11530 
   11531 Copyright (C) 2012 Free Software Foundation, Inc.
   11532 This config.status script is free software; the Free Software Foundation
   11533 gives unlimited permission to copy, distribute and modify it."
   11534 
   11535 ac_pwd='$ac_pwd'
   11536 srcdir='$srcdir'
   11537 INSTALL='$INSTALL'
   11538 MKDIR_P='$MKDIR_P'
   11539 AWK='$AWK'
   11540 test -n "\$AWK" || AWK=awk
   11541 _ACEOF
   11542 
   11543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11544 # The default lists apply if the user does not specify any file.
   11545 ac_need_defaults=:
   11546 while test $# != 0
   11547 do
   11548   case $1 in
   11549   --*=?*)
   11550     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11551     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11552     ac_shift=:
   11553     ;;
   11554   --*=)
   11555     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11556     ac_optarg=
   11557     ac_shift=:
   11558     ;;
   11559   *)
   11560     ac_option=$1
   11561     ac_optarg=$2
   11562     ac_shift=shift
   11563     ;;
   11564   esac
   11565 
   11566   case $ac_option in
   11567   # Handling of the options.
   11568   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11569     ac_cs_recheck=: ;;
   11570   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11571     $as_echo "$ac_cs_version"; exit ;;
   11572   --config | --confi | --conf | --con | --co | --c )
   11573     $as_echo "$ac_cs_config"; exit ;;
   11574   --debug | --debu | --deb | --de | --d | -d )
   11575     debug=: ;;
   11576   --file | --fil | --fi | --f )
   11577     $ac_shift
   11578     case $ac_optarg in
   11579     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11580     '') as_fn_error $? "missing file argument" ;;
   11581     esac
   11582     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11583     ac_need_defaults=false;;
   11584   --header | --heade | --head | --hea )
   11585     $ac_shift
   11586     case $ac_optarg in
   11587     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11588     esac
   11589     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11590     ac_need_defaults=false;;
   11591   --he | --h)
   11592     # Conflict between --help and --header
   11593     as_fn_error $? "ambiguous option: \`$1'
   11594 Try \`$0 --help' for more information.";;
   11595   --help | --hel | -h )
   11596     $as_echo "$ac_cs_usage"; exit ;;
   11597   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11598   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11599     ac_cs_silent=: ;;
   11600 
   11601   # This is an error.
   11602   -*) as_fn_error $? "unrecognized option: \`$1'
   11603 Try \`$0 --help' for more information." ;;
   11604 
   11605   *) as_fn_append ac_config_targets " $1"
   11606      ac_need_defaults=false ;;
   11607 
   11608   esac
   11609   shift
   11610 done
   11611 
   11612 ac_configure_extra_args=
   11613 
   11614 if $ac_cs_silent; then
   11615   exec 6>/dev/null
   11616   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11617 fi
   11618 
   11619 _ACEOF
   11620 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11621 if \$ac_cs_recheck; then
   11622   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11623   shift
   11624   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11625   CONFIG_SHELL='$SHELL'
   11626   export CONFIG_SHELL
   11627   exec "\$@"
   11628 fi
   11629 
   11630 _ACEOF
   11631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11632 exec 5>>config.log
   11633 {
   11634   echo
   11635   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11636 ## Running $as_me. ##
   11637 _ASBOX
   11638   $as_echo "$ac_log"
   11639 } >&5
   11640 
   11641 _ACEOF
   11642 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11643 #
   11644 # INIT-COMMANDS
   11645 #
   11646 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11647 
   11648 _ACEOF
   11649 
   11650 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11651 
   11652 # Handling of arguments.
   11653 for ac_config_target in $ac_config_targets
   11654 do
   11655   case $ac_config_target in
   11656     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11657     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11658     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11659     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11660 
   11661   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11662   esac
   11663 done
   11664 
   11665 
   11666 # If the user did not use the arguments to specify the items to instantiate,
   11667 # then the envvar interface is used.  Set only those that are not.
   11668 # We use the long form for the default assignment because of an extremely
   11669 # bizarre bug on SunOS 4.1.3.
   11670 if $ac_need_defaults; then
   11671   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11672   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11673   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11674 fi
   11675 
   11676 # Have a temporary directory for convenience.  Make it in the build tree
   11677 # simply because there is no reason against having it here, and in addition,
   11678 # creating and moving files from /tmp can sometimes cause problems.
   11679 # Hook for its removal unless debugging.
   11680 # Note that there is a small window in which the directory will not be cleaned:
   11681 # after its creation but before its name has been assigned to `$tmp'.
   11682 $debug ||
   11683 {
   11684   tmp= ac_tmp=
   11685   trap 'exit_status=$?
   11686   : "${ac_tmp:=$tmp}"
   11687   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11688 ' 0
   11689   trap 'as_fn_exit 1' 1 2 13 15
   11690 }
   11691 # Create a (secure) tmp directory for tmp files.
   11692 
   11693 {
   11694   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11695   test -d "$tmp"
   11696 }  ||
   11697 {
   11698   tmp=./conf$$-$RANDOM
   11699   (umask 077 && mkdir "$tmp")
   11700 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11701 ac_tmp=$tmp
   11702 
   11703 # Set up the scripts for CONFIG_FILES section.
   11704 # No need to generate them if there are no CONFIG_FILES.
   11705 # This happens for instance with `./config.status config.h'.
   11706 if test -n "$CONFIG_FILES"; then
   11707 
   11708 
   11709 ac_cr=`echo X | tr X '\015'`
   11710 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11711 # But we know of no other shell where ac_cr would be empty at this
   11712 # point, so we can use a bashism as a fallback.
   11713 if test "x$ac_cr" = x; then
   11714   eval ac_cr=\$\'\\r\'
   11715 fi
   11716 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11717 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11718   ac_cs_awk_cr='\\r'
   11719 else
   11720   ac_cs_awk_cr=$ac_cr
   11721 fi
   11722 
   11723 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11724 _ACEOF
   11725 
   11726 
   11727 {
   11728   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11729   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11730   echo "_ACEOF"
   11731 } >conf$$subs.sh ||
   11732   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11733 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11734 ac_delim='%!_!# '
   11735 for ac_last_try in false false false false false :; do
   11736   . ./conf$$subs.sh ||
   11737     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11738 
   11739   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11740   if test $ac_delim_n = $ac_delim_num; then
   11741     break
   11742   elif $ac_last_try; then
   11743     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11744   else
   11745     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11746   fi
   11747 done
   11748 rm -f conf$$subs.sh
   11749 
   11750 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11751 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11752 _ACEOF
   11753 sed -n '
   11754 h
   11755 s/^/S["/; s/!.*/"]=/
   11756 p
   11757 g
   11758 s/^[^!]*!//
   11759 :repl
   11760 t repl
   11761 s/'"$ac_delim"'$//
   11762 t delim
   11763 :nl
   11764 h
   11765 s/\(.\{148\}\)..*/\1/
   11766 t more1
   11767 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11768 p
   11769 n
   11770 b repl
   11771 :more1
   11772 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11773 p
   11774 g
   11775 s/.\{148\}//
   11776 t nl
   11777 :delim
   11778 h
   11779 s/\(.\{148\}\)..*/\1/
   11780 t more2
   11781 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11782 p
   11783 b
   11784 :more2
   11785 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11786 p
   11787 g
   11788 s/.\{148\}//
   11789 t delim
   11790 ' <conf$$subs.awk | sed '
   11791 /^[^""]/{
   11792   N
   11793   s/\n//
   11794 }
   11795 ' >>$CONFIG_STATUS || ac_write_fail=1
   11796 rm -f conf$$subs.awk
   11797 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11798 _ACAWK
   11799 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11800   for (key in S) S_is_set[key] = 1
   11801   FS = ""
   11802 
   11803 }
   11804 {
   11805   line = $ 0
   11806   nfields = split(line, field, "@")
   11807   substed = 0
   11808   len = length(field[1])
   11809   for (i = 2; i < nfields; i++) {
   11810     key = field[i]
   11811     keylen = length(key)
   11812     if (S_is_set[key]) {
   11813       value = S[key]
   11814       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11815       len += length(value) + length(field[++i])
   11816       substed = 1
   11817     } else
   11818       len += 1 + keylen
   11819   }
   11820 
   11821   print line
   11822 }
   11823 
   11824 _ACAWK
   11825 _ACEOF
   11826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11827 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11828   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11829 else
   11830   cat
   11831 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11832   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11833 _ACEOF
   11834 
   11835 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11836 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11837 # trailing colons and then remove the whole line if VPATH becomes empty
   11838 # (actually we leave an empty line to preserve line numbers).
   11839 if test "x$srcdir" = x.; then
   11840   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11841 h
   11842 s///
   11843 s/^/:/
   11844 s/[	 ]*$/:/
   11845 s/:\$(srcdir):/:/g
   11846 s/:\${srcdir}:/:/g
   11847 s/:@srcdir@:/:/g
   11848 s/^:*//
   11849 s/:*$//
   11850 x
   11851 s/\(=[	 ]*\).*/\1/
   11852 G
   11853 s/\n//
   11854 s/^[^=]*=[	 ]*$//
   11855 }'
   11856 fi
   11857 
   11858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11859 fi # test -n "$CONFIG_FILES"
   11860 
   11861 # Set up the scripts for CONFIG_HEADERS section.
   11862 # No need to generate them if there are no CONFIG_HEADERS.
   11863 # This happens for instance with `./config.status Makefile'.
   11864 if test -n "$CONFIG_HEADERS"; then
   11865 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11866 BEGIN {
   11867 _ACEOF
   11868 
   11869 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11870 # here-document in config.status, that substitutes the proper values into
   11871 # config.h.in to produce config.h.
   11872 
   11873 # Create a delimiter string that does not exist in confdefs.h, to ease
   11874 # handling of long lines.
   11875 ac_delim='%!_!# '
   11876 for ac_last_try in false false :; do
   11877   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11878   if test -z "$ac_tt"; then
   11879     break
   11880   elif $ac_last_try; then
   11881     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11882   else
   11883     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11884   fi
   11885 done
   11886 
   11887 # For the awk script, D is an array of macro values keyed by name,
   11888 # likewise P contains macro parameters if any.  Preserve backslash
   11889 # newline sequences.
   11890 
   11891 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11892 sed -n '
   11893 s/.\{148\}/&'"$ac_delim"'/g
   11894 t rset
   11895 :rset
   11896 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11897 t def
   11898 d
   11899 :def
   11900 s/\\$//
   11901 t bsnl
   11902 s/["\\]/\\&/g
   11903 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11904 D["\1"]=" \3"/p
   11905 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11906 d
   11907 :bsnl
   11908 s/["\\]/\\&/g
   11909 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11910 D["\1"]=" \3\\\\\\n"\\/p
   11911 t cont
   11912 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11913 t cont
   11914 d
   11915 :cont
   11916 n
   11917 s/.\{148\}/&'"$ac_delim"'/g
   11918 t clear
   11919 :clear
   11920 s/\\$//
   11921 t bsnlc
   11922 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11923 d
   11924 :bsnlc
   11925 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11926 b cont
   11927 ' <confdefs.h | sed '
   11928 s/'"$ac_delim"'/"\\\
   11929 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11930 
   11931 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11932   for (key in D) D_is_set[key] = 1
   11933   FS = ""
   11934 }
   11935 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11936   line = \$ 0
   11937   split(line, arg, " ")
   11938   if (arg[1] == "#") {
   11939     defundef = arg[2]
   11940     mac1 = arg[3]
   11941   } else {
   11942     defundef = substr(arg[1], 2)
   11943     mac1 = arg[2]
   11944   }
   11945   split(mac1, mac2, "(") #)
   11946   macro = mac2[1]
   11947   prefix = substr(line, 1, index(line, defundef) - 1)
   11948   if (D_is_set[macro]) {
   11949     # Preserve the white space surrounding the "#".
   11950     print prefix "define", macro P[macro] D[macro]
   11951     next
   11952   } else {
   11953     # Replace #undef with comments.  This is necessary, for example,
   11954     # in the case of _POSIX_SOURCE, which is predefined and required
   11955     # on some systems where configure will not decide to define it.
   11956     if (defundef == "undef") {
   11957       print "/*", prefix defundef, macro, "*/"
   11958       next
   11959     }
   11960   }
   11961 }
   11962 { print }
   11963 _ACAWK
   11964 _ACEOF
   11965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11966   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11967 fi # test -n "$CONFIG_HEADERS"
   11968 
   11969 
   11970 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11971 shift
   11972 for ac_tag
   11973 do
   11974   case $ac_tag in
   11975   :[FHLC]) ac_mode=$ac_tag; continue;;
   11976   esac
   11977   case $ac_mode$ac_tag in
   11978   :[FHL]*:*);;
   11979   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11980   :[FH]-) ac_tag=-:-;;
   11981   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11982   esac
   11983   ac_save_IFS=$IFS
   11984   IFS=:
   11985   set x $ac_tag
   11986   IFS=$ac_save_IFS
   11987   shift
   11988   ac_file=$1
   11989   shift
   11990 
   11991   case $ac_mode in
   11992   :L) ac_source=$1;;
   11993   :[FH])
   11994     ac_file_inputs=
   11995     for ac_f
   11996     do
   11997       case $ac_f in
   11998       -) ac_f="$ac_tmp/stdin";;
   11999       *) # Look for the file first in the build tree, then in the source tree
   12000 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12001 	 # because $ac_f cannot contain `:'.
   12002 	 test -f "$ac_f" ||
   12003 	   case $ac_f in
   12004 	   [\\/$]*) false;;
   12005 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12006 	   esac ||
   12007 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12008       esac
   12009       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12010       as_fn_append ac_file_inputs " '$ac_f'"
   12011     done
   12012 
   12013     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12014     # use $as_me), people would be surprised to read:
   12015     #    /* config.h.  Generated by config.status.  */
   12016     configure_input='Generated from '`
   12017 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12018 	`' by configure.'
   12019     if test x"$ac_file" != x-; then
   12020       configure_input="$ac_file.  $configure_input"
   12021       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12022 $as_echo "$as_me: creating $ac_file" >&6;}
   12023     fi
   12024     # Neutralize special characters interpreted by sed in replacement strings.
   12025     case $configure_input in #(
   12026     *\&* | *\|* | *\\* )
   12027        ac_sed_conf_input=`$as_echo "$configure_input" |
   12028        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12029     *) ac_sed_conf_input=$configure_input;;
   12030     esac
   12031 
   12032     case $ac_tag in
   12033     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12034       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12035     esac
   12036     ;;
   12037   esac
   12038 
   12039   ac_dir=`$as_dirname -- "$ac_file" ||
   12040 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12041 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12042 	 X"$ac_file" : 'X\(//\)$' \| \
   12043 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12044 $as_echo X"$ac_file" |
   12045     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12046 	    s//\1/
   12047 	    q
   12048 	  }
   12049 	  /^X\(\/\/\)[^/].*/{
   12050 	    s//\1/
   12051 	    q
   12052 	  }
   12053 	  /^X\(\/\/\)$/{
   12054 	    s//\1/
   12055 	    q
   12056 	  }
   12057 	  /^X\(\/\).*/{
   12058 	    s//\1/
   12059 	    q
   12060 	  }
   12061 	  s/.*/./; q'`
   12062   as_dir="$ac_dir"; as_fn_mkdir_p
   12063   ac_builddir=.
   12064 
   12065 case "$ac_dir" in
   12066 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12067 *)
   12068   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12069   # A ".." for each directory in $ac_dir_suffix.
   12070   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12071   case $ac_top_builddir_sub in
   12072   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12073   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12074   esac ;;
   12075 esac
   12076 ac_abs_top_builddir=$ac_pwd
   12077 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12078 # for backward compatibility:
   12079 ac_top_builddir=$ac_top_build_prefix
   12080 
   12081 case $srcdir in
   12082   .)  # We are building in place.
   12083     ac_srcdir=.
   12084     ac_top_srcdir=$ac_top_builddir_sub
   12085     ac_abs_top_srcdir=$ac_pwd ;;
   12086   [\\/]* | ?:[\\/]* )  # Absolute name.
   12087     ac_srcdir=$srcdir$ac_dir_suffix;
   12088     ac_top_srcdir=$srcdir
   12089     ac_abs_top_srcdir=$srcdir ;;
   12090   *) # Relative name.
   12091     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12092     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12093     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12094 esac
   12095 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12096 
   12097 
   12098   case $ac_mode in
   12099   :F)
   12100   #
   12101   # CONFIG_FILE
   12102   #
   12103 
   12104   case $INSTALL in
   12105   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12106   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12107   esac
   12108   ac_MKDIR_P=$MKDIR_P
   12109   case $MKDIR_P in
   12110   [\\/$]* | ?:[\\/]* ) ;;
   12111   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12112   esac
   12113 _ACEOF
   12114 
   12115 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12116 # If the template does not know about datarootdir, expand it.
   12117 # FIXME: This hack should be removed a few years after 2.60.
   12118 ac_datarootdir_hack=; ac_datarootdir_seen=
   12119 ac_sed_dataroot='
   12120 /datarootdir/ {
   12121   p
   12122   q
   12123 }
   12124 /@datadir@/p
   12125 /@docdir@/p
   12126 /@infodir@/p
   12127 /@localedir@/p
   12128 /@mandir@/p'
   12129 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12130 *datarootdir*) ac_datarootdir_seen=yes;;
   12131 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12132   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12133 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12134 _ACEOF
   12135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12136   ac_datarootdir_hack='
   12137   s&@datadir@&$datadir&g
   12138   s&@docdir@&$docdir&g
   12139   s&@infodir@&$infodir&g
   12140   s&@localedir@&$localedir&g
   12141   s&@mandir@&$mandir&g
   12142   s&\\\${datarootdir}&$datarootdir&g' ;;
   12143 esac
   12144 _ACEOF
   12145 
   12146 # Neutralize VPATH when `$srcdir' = `.'.
   12147 # Shell code in configure.ac might set extrasub.
   12148 # FIXME: do we really want to maintain this feature?
   12149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12150 ac_sed_extra="$ac_vpsub
   12151 $extrasub
   12152 _ACEOF
   12153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12154 :t
   12155 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12156 s|@configure_input@|$ac_sed_conf_input|;t t
   12157 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12158 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12159 s&@srcdir@&$ac_srcdir&;t t
   12160 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12161 s&@top_srcdir@&$ac_top_srcdir&;t t
   12162 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12163 s&@builddir@&$ac_builddir&;t t
   12164 s&@abs_builddir@&$ac_abs_builddir&;t t
   12165 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12166 s&@INSTALL@&$ac_INSTALL&;t t
   12167 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12168 $ac_datarootdir_hack
   12169 "
   12170 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12171   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12172 
   12173 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12174   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12175   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12176       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12177   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12178 which seems to be undefined.  Please make sure it is defined" >&5
   12179 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12180 which seems to be undefined.  Please make sure it is defined" >&2;}
   12181 
   12182   rm -f "$ac_tmp/stdin"
   12183   case $ac_file in
   12184   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12185   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12186   esac \
   12187   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12188  ;;
   12189   :H)
   12190   #
   12191   # CONFIG_HEADER
   12192   #
   12193   if test x"$ac_file" != x-; then
   12194     {
   12195       $as_echo "/* $configure_input  */" \
   12196       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12197     } >"$ac_tmp/config.h" \
   12198       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12199     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12200       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12201 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12202     else
   12203       rm -f "$ac_file"
   12204       mv "$ac_tmp/config.h" "$ac_file" \
   12205 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12206     fi
   12207   else
   12208     $as_echo "/* $configure_input  */" \
   12209       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12210       || as_fn_error $? "could not create -" "$LINENO" 5
   12211   fi
   12212 # Compute "$ac_file"'s index in $config_headers.
   12213 _am_arg="$ac_file"
   12214 _am_stamp_count=1
   12215 for _am_header in $config_headers :; do
   12216   case $_am_header in
   12217     $_am_arg | $_am_arg:* )
   12218       break ;;
   12219     * )
   12220       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12221   esac
   12222 done
   12223 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12224 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12225 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12226 	 X"$_am_arg" : 'X\(//\)$' \| \
   12227 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12228 $as_echo X"$_am_arg" |
   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'`/stamp-h$_am_stamp_count
   12246  ;;
   12247 
   12248   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12249 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12250  ;;
   12251   esac
   12252 
   12253 
   12254   case $ac_file$ac_mode in
   12255     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12256   # Older Autoconf quotes --file arguments for eval, but not when files
   12257   # are listed without --file.  Let's play safe and only enable the eval
   12258   # if we detect the quoting.
   12259   case $CONFIG_FILES in
   12260   *\'*) eval set x "$CONFIG_FILES" ;;
   12261   *)   set x $CONFIG_FILES ;;
   12262   esac
   12263   shift
   12264   for mf
   12265   do
   12266     # Strip MF so we end up with the name of the file.
   12267     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12268     # Check whether this is an Automake generated Makefile or not.
   12269     # We used to match only the files named 'Makefile.in', but
   12270     # some people rename them; so instead we look at the file content.
   12271     # Grep'ing the first line is not enough: some people post-process
   12272     # each Makefile.in and add a new line on top of each file to say so.
   12273     # Grep'ing the whole file is not good either: AIX grep has a line
   12274     # limit of 2048, but all sed's we know have understand at least 4000.
   12275     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12276       dirpart=`$as_dirname -- "$mf" ||
   12277 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12278 	 X"$mf" : 'X\(//\)[^/]' \| \
   12279 	 X"$mf" : 'X\(//\)$' \| \
   12280 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12281 $as_echo X"$mf" |
   12282     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12283 	    s//\1/
   12284 	    q
   12285 	  }
   12286 	  /^X\(\/\/\)[^/].*/{
   12287 	    s//\1/
   12288 	    q
   12289 	  }
   12290 	  /^X\(\/\/\)$/{
   12291 	    s//\1/
   12292 	    q
   12293 	  }
   12294 	  /^X\(\/\).*/{
   12295 	    s//\1/
   12296 	    q
   12297 	  }
   12298 	  s/.*/./; q'`
   12299     else
   12300       continue
   12301     fi
   12302     # Extract the definition of DEPDIR, am__include, and am__quote
   12303     # from the Makefile without running 'make'.
   12304     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12305     test -z "$DEPDIR" && continue
   12306     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12307     test -z "$am__include" && continue
   12308     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12309     # Find all dependency output files, they are included files with
   12310     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12311     # simplest approach to changing $(DEPDIR) to its actual value in the
   12312     # expansion.
   12313     for file in `sed -n "
   12314       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12315 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12316       # Make sure the directory exists.
   12317       test -f "$dirpart/$file" && continue
   12318       fdir=`$as_dirname -- "$file" ||
   12319 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12320 	 X"$file" : 'X\(//\)[^/]' \| \
   12321 	 X"$file" : 'X\(//\)$' \| \
   12322 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12323 $as_echo X"$file" |
   12324     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12325 	    s//\1/
   12326 	    q
   12327 	  }
   12328 	  /^X\(\/\/\)[^/].*/{
   12329 	    s//\1/
   12330 	    q
   12331 	  }
   12332 	  /^X\(\/\/\)$/{
   12333 	    s//\1/
   12334 	    q
   12335 	  }
   12336 	  /^X\(\/\).*/{
   12337 	    s//\1/
   12338 	    q
   12339 	  }
   12340 	  s/.*/./; q'`
   12341       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12342       # echo "creating $dirpart/$file"
   12343       echo '# dummy' > "$dirpart/$file"
   12344     done
   12345   done
   12346 }
   12347  ;;
   12348 
   12349   esac
   12350 done # for ac_tag
   12351 
   12352 
   12353 as_fn_exit 0
   12354 _ACEOF
   12355 ac_clean_files=$ac_clean_files_save
   12356 
   12357 test $ac_write_fail = 0 ||
   12358   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12359 
   12360 
   12361 # configure is writing to config.log, and then calls config.status.
   12362 # config.status does its own redirection, appending to config.log.
   12363 # Unfortunately, on DOS this fails, as config.log is still kept open
   12364 # by configure, so config.status won't be able to write to it; its
   12365 # output is simply discarded.  So we exec the FD to /dev/null,
   12366 # effectively closing config.log, so it can be properly (re)opened and
   12367 # appended to by config.status.  When coming back to configure, we
   12368 # need to make the FD available again.
   12369 if test "$no_create" != yes; then
   12370   ac_cs_success=:
   12371   ac_config_status_args=
   12372   test "$silent" = yes &&
   12373     ac_config_status_args="$ac_config_status_args --quiet"
   12374   exec 5>/dev/null
   12375   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12376   exec 5>>config.log
   12377   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12378   # would make configure fail if this is the last instruction.
   12379   $ac_cs_success || as_fn_exit 1
   12380 fi
   12381 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12382   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12383 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12384 fi
   12385 
   12386