Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.3
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for oclock 1.0.3.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1"
    178   if (eval "$as_required") 2>/dev/null; then :
    179   as_have_required=yes
    180 else
    181   as_have_required=no
    182 fi
    183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    184 
    185 else
    186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    187 as_found=false
    188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    189 do
    190   IFS=$as_save_IFS
    191   test -z "$as_dir" && as_dir=.
    192   as_found=:
    193   case $as_dir in #(
    194 	 /*)
    195 	   for as_base in sh bash ksh sh5; do
    196 	     # Try only shells that exist, to save several forks.
    197 	     as_shell=$as_dir/$as_base
    198 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    199 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    200   CONFIG_SHELL=$as_shell as_have_required=yes
    201 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    202   break 2
    203 fi
    204 fi
    205 	   done;;
    206        esac
    207   as_found=false
    208 done
    209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    210 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    211   CONFIG_SHELL=$SHELL as_have_required=yes
    212 fi; }
    213 IFS=$as_save_IFS
    214 
    215 
    216       if test "x$CONFIG_SHELL" != x; then :
    217   # We cannot yet assume a decent shell, so we have to provide a
    218 	# neutralization value for shells without unset; and this also
    219 	# works around shells that cannot unset nonexistent variables.
    220 	# Preserve -v and -x to the replacement shell.
    221 	BASH_ENV=/dev/null
    222 	ENV=/dev/null
    223 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    224 	export CONFIG_SHELL
    225 	case $- in # ((((
    226 	  *v*x* | *x*v* ) as_opts=-vx ;;
    227 	  *v* ) as_opts=-v ;;
    228 	  *x* ) as_opts=-x ;;
    229 	  * ) as_opts= ;;
    230 	esac
    231 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    232 fi
    233 
    234     if test x$as_have_required = xno; then :
    235   $as_echo "$0: This script requires a shell more modern than all"
    236   $as_echo "$0: the shells that I found on your system."
    237   if test x${ZSH_VERSION+set} = xset ; then
    238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    240   else
    241     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    242 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    243 $0: about your system, including any error possibly output
    244 $0: before this message. Then install a modern shell, or
    245 $0: manually run the script under such a shell if you do
    246 $0: have one."
    247   fi
    248   exit 1
    249 fi
    250 fi
    251 fi
    252 SHELL=${CONFIG_SHELL-/bin/sh}
    253 export SHELL
    254 # Unset more variables known to interfere with behavior of common tools.
    255 CLICOLOR_FORCE= GREP_OPTIONS=
    256 unset CLICOLOR_FORCE GREP_OPTIONS
    257 
    258 ## --------------------- ##
    259 ## M4sh Shell Functions. ##
    260 ## --------------------- ##
    261 # as_fn_unset VAR
    262 # ---------------
    263 # Portably unset VAR.
    264 as_fn_unset ()
    265 {
    266   { eval $1=; unset $1;}
    267 }
    268 as_unset=as_fn_unset
    269 
    270 # as_fn_set_status STATUS
    271 # -----------------------
    272 # Set $? to STATUS, without forking.
    273 as_fn_set_status ()
    274 {
    275   return $1
    276 } # as_fn_set_status
    277 
    278 # as_fn_exit STATUS
    279 # -----------------
    280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    281 as_fn_exit ()
    282 {
    283   set +e
    284   as_fn_set_status $1
    285   exit $1
    286 } # as_fn_exit
    287 
    288 # as_fn_mkdir_p
    289 # -------------
    290 # Create "$as_dir" as a directory, including parents if necessary.
    291 as_fn_mkdir_p ()
    292 {
    293 
    294   case $as_dir in #(
    295   -*) as_dir=./$as_dir;;
    296   esac
    297   test -d "$as_dir" || eval $as_mkdir_p || {
    298     as_dirs=
    299     while :; do
    300       case $as_dir in #(
    301       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    302       *) as_qdir=$as_dir;;
    303       esac
    304       as_dirs="'$as_qdir' $as_dirs"
    305       as_dir=`$as_dirname -- "$as_dir" ||
    306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    307 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    308 	 X"$as_dir" : 'X\(//\)$' \| \
    309 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    310 $as_echo X"$as_dir" |
    311     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    312 	    s//\1/
    313 	    q
    314 	  }
    315 	  /^X\(\/\/\)[^/].*/{
    316 	    s//\1/
    317 	    q
    318 	  }
    319 	  /^X\(\/\/\)$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\).*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  s/.*/./; q'`
    328       test -d "$as_dir" && break
    329     done
    330     test -z "$as_dirs" || eval "mkdir $as_dirs"
    331   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    332 
    333 
    334 } # as_fn_mkdir_p
    335 # as_fn_append VAR VALUE
    336 # ----------------------
    337 # Append the text in VALUE to the end of the definition contained in VAR. Take
    338 # advantage of any shell optimizations that allow amortized linear growth over
    339 # repeated appends, instead of the typical quadratic growth present in naive
    340 # implementations.
    341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    342   eval 'as_fn_append ()
    343   {
    344     eval $1+=\$2
    345   }'
    346 else
    347   as_fn_append ()
    348   {
    349     eval $1=\$$1\$2
    350   }
    351 fi # as_fn_append
    352 
    353 # as_fn_arith ARG...
    354 # ------------------
    355 # Perform arithmetic evaluation on the ARGs, and store the result in the
    356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    357 # must be portable across $(()) and expr.
    358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    359   eval 'as_fn_arith ()
    360   {
    361     as_val=$(( $* ))
    362   }'
    363 else
    364   as_fn_arith ()
    365   {
    366     as_val=`expr "$@" || test $? -eq 1`
    367   }
    368 fi # as_fn_arith
    369 
    370 
    371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    372 # ----------------------------------------
    373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    375 # script with STATUS, using 1 if that was 0.
    376 as_fn_error ()
    377 {
    378   as_status=$1; test $as_status -eq 0 && as_status=1
    379   if test "$4"; then
    380     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    381     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    382   fi
    383   $as_echo "$as_me: error: $2" >&2
    384   as_fn_exit $as_status
    385 } # as_fn_error
    386 
    387 if expr a : '\(a\)' >/dev/null 2>&1 &&
    388    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    389   as_expr=expr
    390 else
    391   as_expr=false
    392 fi
    393 
    394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    395   as_basename=basename
    396 else
    397   as_basename=false
    398 fi
    399 
    400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    401   as_dirname=dirname
    402 else
    403   as_dirname=false
    404 fi
    405 
    406 as_me=`$as_basename -- "$0" ||
    407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    408 	 X"$0" : 'X\(//\)$' \| \
    409 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    410 $as_echo X/"$0" |
    411     sed '/^.*\/\([^/][^/]*\)\/*$/{
    412 	    s//\1/
    413 	    q
    414 	  }
    415 	  /^X\/\(\/\/\)$/{
    416 	    s//\1/
    417 	    q
    418 	  }
    419 	  /^X\/\(\/\).*/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  s/.*/./; q'`
    424 
    425 # Avoid depending upon Character Ranges.
    426 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    429 as_cr_digits='0123456789'
    430 as_cr_alnum=$as_cr_Letters$as_cr_digits
    431 
    432 
    433   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    434   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    435   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    436   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    437   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    438   sed -n '
    439     p
    440     /[$]LINENO/=
    441   ' <$as_myself |
    442     sed '
    443       s/[$]LINENO.*/&-/
    444       t lineno
    445       b
    446       :lineno
    447       N
    448       :loop
    449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    450       t loop
    451       s/-\n.*//
    452     ' >$as_me.lineno &&
    453   chmod +x "$as_me.lineno" ||
    454     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    455 
    456   # Don't try to exec as it changes $[0], causing all sort of problems
    457   # (the dirname of $[0] is not the place where we might find the
    458   # original and so on.  Autoconf is especially sensitive to this).
    459   . "./$as_me.lineno"
    460   # Exit status is that of the last command.
    461   exit
    462 }
    463 
    464 ECHO_C= ECHO_N= ECHO_T=
    465 case `echo -n x` in #(((((
    466 -n*)
    467   case `echo 'xy\c'` in
    468   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    469   xy)  ECHO_C='\c';;
    470   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    471        ECHO_T='	';;
    472   esac;;
    473 *)
    474   ECHO_N='-n';;
    475 esac
    476 
    477 rm -f conf$$ conf$$.exe conf$$.file
    478 if test -d conf$$.dir; then
    479   rm -f conf$$.dir/conf$$.file
    480 else
    481   rm -f conf$$.dir
    482   mkdir conf$$.dir 2>/dev/null
    483 fi
    484 if (echo >conf$$.file) 2>/dev/null; then
    485   if ln -s conf$$.file conf$$ 2>/dev/null; then
    486     as_ln_s='ln -s'
    487     # ... but there are two gotchas:
    488     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    489     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    490     # In both cases, we have to default to `cp -p'.
    491     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    492       as_ln_s='cp -p'
    493   elif ln conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s=ln
    495   else
    496     as_ln_s='cp -p'
    497   fi
    498 else
    499   as_ln_s='cp -p'
    500 fi
    501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    502 rmdir conf$$.dir 2>/dev/null
    503 
    504 if mkdir -p . 2>/dev/null; then
    505   as_mkdir_p='mkdir -p "$as_dir"'
    506 else
    507   test -d ./-p && rmdir ./-p
    508   as_mkdir_p=false
    509 fi
    510 
    511 if test -x / >/dev/null 2>&1; then
    512   as_test_x='test -x'
    513 else
    514   if ls -dL / >/dev/null 2>&1; then
    515     as_ls_L_option=L
    516   else
    517     as_ls_L_option=
    518   fi
    519   as_test_x='
    520     eval sh -c '\''
    521       if test -d "$1"; then
    522 	test -d "$1/.";
    523       else
    524 	case $1 in #(
    525 	-*)set "./$1";;
    526 	esac;
    527 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    528 	???[sx]*):;;*)false;;esac;fi
    529     '\'' sh
    530   '
    531 fi
    532 as_executable_p=$as_test_x
    533 
    534 # Sed expression to map a string onto a valid CPP name.
    535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    536 
    537 # Sed expression to map a string onto a valid variable name.
    538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    539 
    540 
    541 test -n "$DJDIR" || exec 7<&0 </dev/null
    542 exec 6>&1
    543 
    544 # Name of the host.
    545 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    546 # so uname gets run too.
    547 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    548 
    549 #
    550 # Initializations.
    551 #
    552 ac_default_prefix=/usr/local
    553 ac_clean_files=
    554 ac_config_libobj_dir=.
    555 LIBOBJS=
    556 cross_compiling=no
    557 subdirs=
    558 MFLAGS=
    559 MAKEFLAGS=
    560 
    561 # Identity of this package.
    562 PACKAGE_NAME='oclock'
    563 PACKAGE_TARNAME='oclock'
    564 PACKAGE_VERSION='1.0.3'
    565 PACKAGE_STRING='oclock 1.0.3'
    566 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    567 PACKAGE_URL=''
    568 
    569 # Factoring default headers for most tests.
    570 ac_includes_default="\
    571 #include <stdio.h>
    572 #ifdef HAVE_SYS_TYPES_H
    573 # include <sys/types.h>
    574 #endif
    575 #ifdef HAVE_SYS_STAT_H
    576 # include <sys/stat.h>
    577 #endif
    578 #ifdef STDC_HEADERS
    579 # include <stdlib.h>
    580 # include <stddef.h>
    581 #else
    582 # ifdef HAVE_STDLIB_H
    583 #  include <stdlib.h>
    584 # endif
    585 #endif
    586 #ifdef HAVE_STRING_H
    587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    588 #  include <memory.h>
    589 # endif
    590 # include <string.h>
    591 #endif
    592 #ifdef HAVE_STRINGS_H
    593 # include <strings.h>
    594 #endif
    595 #ifdef HAVE_INTTYPES_H
    596 # include <inttypes.h>
    597 #endif
    598 #ifdef HAVE_STDINT_H
    599 # include <stdint.h>
    600 #endif
    601 #ifdef HAVE_UNISTD_H
    602 # include <unistd.h>
    603 #endif"
    604 
    605 ac_subst_vars='am__EXEEXT_FALSE
    606 am__EXEEXT_TRUE
    607 LTLIBOBJS
    608 LIBOBJS
    609 appdefaultdir
    610 OCLOCK_LIBS
    611 OCLOCK_CFLAGS
    612 AM_BACKSLASH
    613 AM_DEFAULT_VERBOSITY
    614 MAN_SUBSTS
    615 XORG_MAN_PAGE
    616 ADMIN_MAN_DIR
    617 DRIVER_MAN_DIR
    618 MISC_MAN_DIR
    619 FILE_MAN_DIR
    620 LIB_MAN_DIR
    621 APP_MAN_DIR
    622 ADMIN_MAN_SUFFIX
    623 DRIVER_MAN_SUFFIX
    624 MISC_MAN_SUFFIX
    625 FILE_MAN_SUFFIX
    626 LIB_MAN_SUFFIX
    627 APP_MAN_SUFFIX
    628 SED
    629 host_os
    630 host_vendor
    631 host_cpu
    632 host
    633 build_os
    634 build_vendor
    635 build_cpu
    636 build
    637 INSTALL_CMD
    638 PKG_CONFIG
    639 CHANGELOG_CMD
    640 STRICT_CFLAGS
    641 CWARNFLAGS
    642 BASE_CFLAGS
    643 EGREP
    644 GREP
    645 CPP
    646 am__fastdepCC_FALSE
    647 am__fastdepCC_TRUE
    648 CCDEPMODE
    649 AMDEPBACKSLASH
    650 AMDEP_FALSE
    651 AMDEP_TRUE
    652 am__quote
    653 am__include
    654 DEPDIR
    655 OBJEXT
    656 EXEEXT
    657 ac_ct_CC
    658 CPPFLAGS
    659 LDFLAGS
    660 CFLAGS
    661 CC
    662 MAINT
    663 MAINTAINER_MODE_FALSE
    664 MAINTAINER_MODE_TRUE
    665 am__untar
    666 am__tar
    667 AMTAR
    668 am__leading_dot
    669 SET_MAKE
    670 AWK
    671 mkdir_p
    672 MKDIR_P
    673 INSTALL_STRIP_PROGRAM
    674 STRIP
    675 install_sh
    676 MAKEINFO
    677 AUTOHEADER
    678 AUTOMAKE
    679 AUTOCONF
    680 ACLOCAL
    681 VERSION
    682 PACKAGE
    683 CYGPATH_W
    684 am__isrc
    685 INSTALL_DATA
    686 INSTALL_SCRIPT
    687 INSTALL_PROGRAM
    688 target_alias
    689 host_alias
    690 build_alias
    691 LIBS
    692 ECHO_T
    693 ECHO_N
    694 ECHO_C
    695 DEFS
    696 mandir
    697 localedir
    698 libdir
    699 psdir
    700 pdfdir
    701 dvidir
    702 htmldir
    703 infodir
    704 docdir
    705 oldincludedir
    706 includedir
    707 localstatedir
    708 sharedstatedir
    709 sysconfdir
    710 datadir
    711 datarootdir
    712 libexecdir
    713 sbindir
    714 bindir
    715 program_transform_name
    716 prefix
    717 exec_prefix
    718 PACKAGE_URL
    719 PACKAGE_BUGREPORT
    720 PACKAGE_STRING
    721 PACKAGE_VERSION
    722 PACKAGE_TARNAME
    723 PACKAGE_NAME
    724 PATH_SEPARATOR
    725 SHELL'
    726 ac_subst_files=''
    727 ac_user_opts='
    728 enable_option_checking
    729 enable_maintainer_mode
    730 enable_dependency_tracking
    731 enable_selective_werror
    732 enable_strict_compilation
    733 enable_silent_rules
    734 with_xkb
    735 with_appdefaultdir
    736 '
    737       ac_precious_vars='build_alias
    738 host_alias
    739 target_alias
    740 CC
    741 CFLAGS
    742 LDFLAGS
    743 LIBS
    744 CPPFLAGS
    745 CPP
    746 PKG_CONFIG
    747 OCLOCK_CFLAGS
    748 OCLOCK_LIBS'
    749 
    750 
    751 # Initialize some variables set by options.
    752 ac_init_help=
    753 ac_init_version=false
    754 ac_unrecognized_opts=
    755 ac_unrecognized_sep=
    756 # The variables have the same names as the options, with
    757 # dashes changed to underlines.
    758 cache_file=/dev/null
    759 exec_prefix=NONE
    760 no_create=
    761 no_recursion=
    762 prefix=NONE
    763 program_prefix=NONE
    764 program_suffix=NONE
    765 program_transform_name=s,x,x,
    766 silent=
    767 site=
    768 srcdir=
    769 verbose=
    770 x_includes=NONE
    771 x_libraries=NONE
    772 
    773 # Installation directory options.
    774 # These are left unexpanded so users can "make install exec_prefix=/foo"
    775 # and all the variables that are supposed to be based on exec_prefix
    776 # by default will actually change.
    777 # Use braces instead of parens because sh, perl, etc. also accept them.
    778 # (The list follows the same order as the GNU Coding Standards.)
    779 bindir='${exec_prefix}/bin'
    780 sbindir='${exec_prefix}/sbin'
    781 libexecdir='${exec_prefix}/libexec'
    782 datarootdir='${prefix}/share'
    783 datadir='${datarootdir}'
    784 sysconfdir='${prefix}/etc'
    785 sharedstatedir='${prefix}/com'
    786 localstatedir='${prefix}/var'
    787 includedir='${prefix}/include'
    788 oldincludedir='/usr/include'
    789 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    790 infodir='${datarootdir}/info'
    791 htmldir='${docdir}'
    792 dvidir='${docdir}'
    793 pdfdir='${docdir}'
    794 psdir='${docdir}'
    795 libdir='${exec_prefix}/lib'
    796 localedir='${datarootdir}/locale'
    797 mandir='${datarootdir}/man'
    798 
    799 ac_prev=
    800 ac_dashdash=
    801 for ac_option
    802 do
    803   # If the previous option needs an argument, assign it.
    804   if test -n "$ac_prev"; then
    805     eval $ac_prev=\$ac_option
    806     ac_prev=
    807     continue
    808   fi
    809 
    810   case $ac_option in
    811   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    812   *=)   ac_optarg= ;;
    813   *)    ac_optarg=yes ;;
    814   esac
    815 
    816   # Accept the important Cygnus configure options, so we can diagnose typos.
    817 
    818   case $ac_dashdash$ac_option in
    819   --)
    820     ac_dashdash=yes ;;
    821 
    822   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    823     ac_prev=bindir ;;
    824   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    825     bindir=$ac_optarg ;;
    826 
    827   -build | --build | --buil | --bui | --bu)
    828     ac_prev=build_alias ;;
    829   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    830     build_alias=$ac_optarg ;;
    831 
    832   -cache-file | --cache-file | --cache-fil | --cache-fi \
    833   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    834     ac_prev=cache_file ;;
    835   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    836   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    837     cache_file=$ac_optarg ;;
    838 
    839   --config-cache | -C)
    840     cache_file=config.cache ;;
    841 
    842   -datadir | --datadir | --datadi | --datad)
    843     ac_prev=datadir ;;
    844   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    845     datadir=$ac_optarg ;;
    846 
    847   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    848   | --dataroo | --dataro | --datar)
    849     ac_prev=datarootdir ;;
    850   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    851   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    852     datarootdir=$ac_optarg ;;
    853 
    854   -disable-* | --disable-*)
    855     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    856     # Reject names that are not valid shell variable names.
    857     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    858       as_fn_error $? "invalid feature name: $ac_useropt"
    859     ac_useropt_orig=$ac_useropt
    860     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    861     case $ac_user_opts in
    862       *"
    863 "enable_$ac_useropt"
    864 "*) ;;
    865       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    866 	 ac_unrecognized_sep=', ';;
    867     esac
    868     eval enable_$ac_useropt=no ;;
    869 
    870   -docdir | --docdir | --docdi | --doc | --do)
    871     ac_prev=docdir ;;
    872   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    873     docdir=$ac_optarg ;;
    874 
    875   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    876     ac_prev=dvidir ;;
    877   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    878     dvidir=$ac_optarg ;;
    879 
    880   -enable-* | --enable-*)
    881     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    882     # Reject names that are not valid shell variable names.
    883     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    884       as_fn_error $? "invalid feature name: $ac_useropt"
    885     ac_useropt_orig=$ac_useropt
    886     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    887     case $ac_user_opts in
    888       *"
    889 "enable_$ac_useropt"
    890 "*) ;;
    891       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    892 	 ac_unrecognized_sep=', ';;
    893     esac
    894     eval enable_$ac_useropt=\$ac_optarg ;;
    895 
    896   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    897   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    898   | --exec | --exe | --ex)
    899     ac_prev=exec_prefix ;;
    900   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    901   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    902   | --exec=* | --exe=* | --ex=*)
    903     exec_prefix=$ac_optarg ;;
    904 
    905   -gas | --gas | --ga | --g)
    906     # Obsolete; use --with-gas.
    907     with_gas=yes ;;
    908 
    909   -help | --help | --hel | --he | -h)
    910     ac_init_help=long ;;
    911   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    912     ac_init_help=recursive ;;
    913   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    914     ac_init_help=short ;;
    915 
    916   -host | --host | --hos | --ho)
    917     ac_prev=host_alias ;;
    918   -host=* | --host=* | --hos=* | --ho=*)
    919     host_alias=$ac_optarg ;;
    920 
    921   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    922     ac_prev=htmldir ;;
    923   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    924   | --ht=*)
    925     htmldir=$ac_optarg ;;
    926 
    927   -includedir | --includedir | --includedi | --included | --include \
    928   | --includ | --inclu | --incl | --inc)
    929     ac_prev=includedir ;;
    930   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    931   | --includ=* | --inclu=* | --incl=* | --inc=*)
    932     includedir=$ac_optarg ;;
    933 
    934   -infodir | --infodir | --infodi | --infod | --info | --inf)
    935     ac_prev=infodir ;;
    936   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    937     infodir=$ac_optarg ;;
    938 
    939   -libdir | --libdir | --libdi | --libd)
    940     ac_prev=libdir ;;
    941   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    942     libdir=$ac_optarg ;;
    943 
    944   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    945   | --libexe | --libex | --libe)
    946     ac_prev=libexecdir ;;
    947   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    948   | --libexe=* | --libex=* | --libe=*)
    949     libexecdir=$ac_optarg ;;
    950 
    951   -localedir | --localedir | --localedi | --localed | --locale)
    952     ac_prev=localedir ;;
    953   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    954     localedir=$ac_optarg ;;
    955 
    956   -localstatedir | --localstatedir | --localstatedi | --localstated \
    957   | --localstate | --localstat | --localsta | --localst | --locals)
    958     ac_prev=localstatedir ;;
    959   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    960   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    961     localstatedir=$ac_optarg ;;
    962 
    963   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    964     ac_prev=mandir ;;
    965   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    966     mandir=$ac_optarg ;;
    967 
    968   -nfp | --nfp | --nf)
    969     # Obsolete; use --without-fp.
    970     with_fp=no ;;
    971 
    972   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    973   | --no-cr | --no-c | -n)
    974     no_create=yes ;;
    975 
    976   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    977   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    978     no_recursion=yes ;;
    979 
    980   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    981   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    982   | --oldin | --oldi | --old | --ol | --o)
    983     ac_prev=oldincludedir ;;
    984   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    985   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    986   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    987     oldincludedir=$ac_optarg ;;
    988 
    989   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    990     ac_prev=prefix ;;
    991   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    992     prefix=$ac_optarg ;;
    993 
    994   -program-prefix | --program-prefix | --program-prefi | --program-pref \
    995   | --program-pre | --program-pr | --program-p)
    996     ac_prev=program_prefix ;;
    997   -program-prefix=* | --program-prefix=* | --program-prefi=* \
    998   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    999     program_prefix=$ac_optarg ;;
   1000 
   1001   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1002   | --program-suf | --program-su | --program-s)
   1003     ac_prev=program_suffix ;;
   1004   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1005   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1006     program_suffix=$ac_optarg ;;
   1007 
   1008   -program-transform-name | --program-transform-name \
   1009   | --program-transform-nam | --program-transform-na \
   1010   | --program-transform-n | --program-transform- \
   1011   | --program-transform | --program-transfor \
   1012   | --program-transfo | --program-transf \
   1013   | --program-trans | --program-tran \
   1014   | --progr-tra | --program-tr | --program-t)
   1015     ac_prev=program_transform_name ;;
   1016   -program-transform-name=* | --program-transform-name=* \
   1017   | --program-transform-nam=* | --program-transform-na=* \
   1018   | --program-transform-n=* | --program-transform-=* \
   1019   | --program-transform=* | --program-transfor=* \
   1020   | --program-transfo=* | --program-transf=* \
   1021   | --program-trans=* | --program-tran=* \
   1022   | --progr-tra=* | --program-tr=* | --program-t=*)
   1023     program_transform_name=$ac_optarg ;;
   1024 
   1025   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1026     ac_prev=pdfdir ;;
   1027   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1028     pdfdir=$ac_optarg ;;
   1029 
   1030   -psdir | --psdir | --psdi | --psd | --ps)
   1031     ac_prev=psdir ;;
   1032   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1033     psdir=$ac_optarg ;;
   1034 
   1035   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1036   | -silent | --silent | --silen | --sile | --sil)
   1037     silent=yes ;;
   1038 
   1039   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1040     ac_prev=sbindir ;;
   1041   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1042   | --sbi=* | --sb=*)
   1043     sbindir=$ac_optarg ;;
   1044 
   1045   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1046   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1047   | --sharedst | --shareds | --shared | --share | --shar \
   1048   | --sha | --sh)
   1049     ac_prev=sharedstatedir ;;
   1050   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1051   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1052   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1053   | --sha=* | --sh=*)
   1054     sharedstatedir=$ac_optarg ;;
   1055 
   1056   -site | --site | --sit)
   1057     ac_prev=site ;;
   1058   -site=* | --site=* | --sit=*)
   1059     site=$ac_optarg ;;
   1060 
   1061   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1062     ac_prev=srcdir ;;
   1063   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1064     srcdir=$ac_optarg ;;
   1065 
   1066   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1067   | --syscon | --sysco | --sysc | --sys | --sy)
   1068     ac_prev=sysconfdir ;;
   1069   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1070   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1071     sysconfdir=$ac_optarg ;;
   1072 
   1073   -target | --target | --targe | --targ | --tar | --ta | --t)
   1074     ac_prev=target_alias ;;
   1075   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1076     target_alias=$ac_optarg ;;
   1077 
   1078   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1079     verbose=yes ;;
   1080 
   1081   -version | --version | --versio | --versi | --vers | -V)
   1082     ac_init_version=: ;;
   1083 
   1084   -with-* | --with-*)
   1085     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1086     # Reject names that are not valid shell variable names.
   1087     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1088       as_fn_error $? "invalid package name: $ac_useropt"
   1089     ac_useropt_orig=$ac_useropt
   1090     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1091     case $ac_user_opts in
   1092       *"
   1093 "with_$ac_useropt"
   1094 "*) ;;
   1095       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1096 	 ac_unrecognized_sep=', ';;
   1097     esac
   1098     eval with_$ac_useropt=\$ac_optarg ;;
   1099 
   1100   -without-* | --without-*)
   1101     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1102     # Reject names that are not valid shell variable names.
   1103     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1104       as_fn_error $? "invalid package name: $ac_useropt"
   1105     ac_useropt_orig=$ac_useropt
   1106     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1107     case $ac_user_opts in
   1108       *"
   1109 "with_$ac_useropt"
   1110 "*) ;;
   1111       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1112 	 ac_unrecognized_sep=', ';;
   1113     esac
   1114     eval with_$ac_useropt=no ;;
   1115 
   1116   --x)
   1117     # Obsolete; use --with-x.
   1118     with_x=yes ;;
   1119 
   1120   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1121   | --x-incl | --x-inc | --x-in | --x-i)
   1122     ac_prev=x_includes ;;
   1123   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1124   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1125     x_includes=$ac_optarg ;;
   1126 
   1127   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1128   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1129     ac_prev=x_libraries ;;
   1130   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1131   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1132     x_libraries=$ac_optarg ;;
   1133 
   1134   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1135 Try \`$0 --help' for more information"
   1136     ;;
   1137 
   1138   *=*)
   1139     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1140     # Reject names that are not valid shell variable names.
   1141     case $ac_envvar in #(
   1142       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1143       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1144     esac
   1145     eval $ac_envvar=\$ac_optarg
   1146     export $ac_envvar ;;
   1147 
   1148   *)
   1149     # FIXME: should be removed in autoconf 3.0.
   1150     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1151     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1152       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1153     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1154     ;;
   1155 
   1156   esac
   1157 done
   1158 
   1159 if test -n "$ac_prev"; then
   1160   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1161   as_fn_error $? "missing argument to $ac_option"
   1162 fi
   1163 
   1164 if test -n "$ac_unrecognized_opts"; then
   1165   case $enable_option_checking in
   1166     no) ;;
   1167     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1168     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1169   esac
   1170 fi
   1171 
   1172 # Check all directory arguments for consistency.
   1173 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1174 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1175 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1176 		libdir localedir mandir
   1177 do
   1178   eval ac_val=\$$ac_var
   1179   # Remove trailing slashes.
   1180   case $ac_val in
   1181     */ )
   1182       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1183       eval $ac_var=\$ac_val;;
   1184   esac
   1185   # Be sure to have absolute directory names.
   1186   case $ac_val in
   1187     [\\/$]* | ?:[\\/]* )  continue;;
   1188     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1189   esac
   1190   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1191 done
   1192 
   1193 # There might be people who depend on the old broken behavior: `$host'
   1194 # used to hold the argument of --host etc.
   1195 # FIXME: To remove some day.
   1196 build=$build_alias
   1197 host=$host_alias
   1198 target=$target_alias
   1199 
   1200 # FIXME: To remove some day.
   1201 if test "x$host_alias" != x; then
   1202   if test "x$build_alias" = x; then
   1203     cross_compiling=maybe
   1204     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1205     If a cross compiler is detected then cross compile mode will be used" >&2
   1206   elif test "x$build_alias" != "x$host_alias"; then
   1207     cross_compiling=yes
   1208   fi
   1209 fi
   1210 
   1211 ac_tool_prefix=
   1212 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1213 
   1214 test "$silent" = yes && exec 6>/dev/null
   1215 
   1216 
   1217 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1218 ac_ls_di=`ls -di .` &&
   1219 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1220   as_fn_error $? "working directory cannot be determined"
   1221 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1222   as_fn_error $? "pwd does not report name of working directory"
   1223 
   1224 
   1225 # Find the source files, if location was not specified.
   1226 if test -z "$srcdir"; then
   1227   ac_srcdir_defaulted=yes
   1228   # Try the directory containing this script, then the parent directory.
   1229   ac_confdir=`$as_dirname -- "$as_myself" ||
   1230 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1231 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1232 	 X"$as_myself" : 'X\(//\)$' \| \
   1233 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1234 $as_echo X"$as_myself" |
   1235     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1236 	    s//\1/
   1237 	    q
   1238 	  }
   1239 	  /^X\(\/\/\)[^/].*/{
   1240 	    s//\1/
   1241 	    q
   1242 	  }
   1243 	  /^X\(\/\/\)$/{
   1244 	    s//\1/
   1245 	    q
   1246 	  }
   1247 	  /^X\(\/\).*/{
   1248 	    s//\1/
   1249 	    q
   1250 	  }
   1251 	  s/.*/./; q'`
   1252   srcdir=$ac_confdir
   1253   if test ! -r "$srcdir/$ac_unique_file"; then
   1254     srcdir=..
   1255   fi
   1256 else
   1257   ac_srcdir_defaulted=no
   1258 fi
   1259 if test ! -r "$srcdir/$ac_unique_file"; then
   1260   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1261   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1262 fi
   1263 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1264 ac_abs_confdir=`(
   1265 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1266 	pwd)`
   1267 # When building in place, set srcdir=.
   1268 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1269   srcdir=.
   1270 fi
   1271 # Remove unnecessary trailing slashes from srcdir.
   1272 # Double slashes in file names in object file debugging info
   1273 # mess up M-x gdb in Emacs.
   1274 case $srcdir in
   1275 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1276 esac
   1277 for ac_var in $ac_precious_vars; do
   1278   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1279   eval ac_env_${ac_var}_value=\$${ac_var}
   1280   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1281   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1282 done
   1283 
   1284 #
   1285 # Report the --help message.
   1286 #
   1287 if test "$ac_init_help" = "long"; then
   1288   # Omit some internal or obsolete options to make the list less imposing.
   1289   # This message is too long to be a string in the A/UX 3.1 sh.
   1290   cat <<_ACEOF
   1291 \`configure' configures oclock 1.0.3 to adapt to many kinds of systems.
   1292 
   1293 Usage: $0 [OPTION]... [VAR=VALUE]...
   1294 
   1295 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1296 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1297 
   1298 Defaults for the options are specified in brackets.
   1299 
   1300 Configuration:
   1301   -h, --help              display this help and exit
   1302       --help=short        display options specific to this package
   1303       --help=recursive    display the short help of all the included packages
   1304   -V, --version           display version information and exit
   1305   -q, --quiet, --silent   do not print \`checking ...' messages
   1306       --cache-file=FILE   cache test results in FILE [disabled]
   1307   -C, --config-cache      alias for \`--cache-file=config.cache'
   1308   -n, --no-create         do not create output files
   1309       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1310 
   1311 Installation directories:
   1312   --prefix=PREFIX         install architecture-independent files in PREFIX
   1313                           [$ac_default_prefix]
   1314   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1315                           [PREFIX]
   1316 
   1317 By default, \`make install' will install all the files in
   1318 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1319 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1320 for instance \`--prefix=\$HOME'.
   1321 
   1322 For better control, use the options below.
   1323 
   1324 Fine tuning of the installation directories:
   1325   --bindir=DIR            user executables [EPREFIX/bin]
   1326   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1327   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1328   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1329   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1330   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1331   --libdir=DIR            object code libraries [EPREFIX/lib]
   1332   --includedir=DIR        C header files [PREFIX/include]
   1333   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1334   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1335   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1336   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1337   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1338   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1339   --docdir=DIR            documentation root [DATAROOTDIR/doc/oclock]
   1340   --htmldir=DIR           html documentation [DOCDIR]
   1341   --dvidir=DIR            dvi documentation [DOCDIR]
   1342   --pdfdir=DIR            pdf documentation [DOCDIR]
   1343   --psdir=DIR             ps documentation [DOCDIR]
   1344 _ACEOF
   1345 
   1346   cat <<\_ACEOF
   1347 
   1348 Program names:
   1349   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1350   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1351   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1352 
   1353 System types:
   1354   --build=BUILD     configure for building on BUILD [guessed]
   1355   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1356 _ACEOF
   1357 fi
   1358 
   1359 if test -n "$ac_init_help"; then
   1360   case $ac_init_help in
   1361      short | recursive ) echo "Configuration of oclock 1.0.3:";;
   1362    esac
   1363   cat <<\_ACEOF
   1364 
   1365 Optional Features:
   1366   --disable-option-checking  ignore unrecognized --enable/--with options
   1367   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1368   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1369   --enable-maintainer-mode  enable make rules and dependencies not useful
   1370 			  (and sometimes confusing) to the casual installer
   1371   --disable-dependency-tracking  speeds up one-time build
   1372   --enable-dependency-tracking   do not reject slow dependency extractors
   1373   --disable-selective-werror
   1374                           Turn off selective compiler errors. (default:
   1375                           enabled)
   1376   --enable-strict-compilation
   1377                           Enable all warnings from compiler and make them
   1378                           errors (default: disabled)
   1379   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1380   --disable-silent-rules         verbose build output (undo: `make V=0')
   1381 
   1382 Optional Packages:
   1383   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1384   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1385   --without-xkb           Disable use of XKB to sound bells (Default is
   1386                           with-xkb)
   1387   --with-appdefaultdir=<pathname>
   1388                           specify directory for app-defaults files (default is
   1389                           autodetected)
   1390 
   1391 Some influential environment variables:
   1392   CC          C compiler command
   1393   CFLAGS      C compiler flags
   1394   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1395               nonstandard directory <lib dir>
   1396   LIBS        libraries to pass to the linker, e.g. -l<library>
   1397   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1398               you have headers in a nonstandard directory <include dir>
   1399   CPP         C preprocessor
   1400   PKG_CONFIG  path to pkg-config utility
   1401   OCLOCK_CFLAGS
   1402               C compiler flags for OCLOCK, overriding pkg-config
   1403   OCLOCK_LIBS linker flags for OCLOCK, overriding pkg-config
   1404 
   1405 Use these variables to override the choices made by `configure' or to help
   1406 it to find libraries and programs with nonstandard names/locations.
   1407 
   1408 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1409 _ACEOF
   1410 ac_status=$?
   1411 fi
   1412 
   1413 if test "$ac_init_help" = "recursive"; then
   1414   # If there are subdirs, report their specific --help.
   1415   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1416     test -d "$ac_dir" ||
   1417       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1418       continue
   1419     ac_builddir=.
   1420 
   1421 case "$ac_dir" in
   1422 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1423 *)
   1424   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1425   # A ".." for each directory in $ac_dir_suffix.
   1426   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1427   case $ac_top_builddir_sub in
   1428   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1429   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1430   esac ;;
   1431 esac
   1432 ac_abs_top_builddir=$ac_pwd
   1433 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1434 # for backward compatibility:
   1435 ac_top_builddir=$ac_top_build_prefix
   1436 
   1437 case $srcdir in
   1438   .)  # We are building in place.
   1439     ac_srcdir=.
   1440     ac_top_srcdir=$ac_top_builddir_sub
   1441     ac_abs_top_srcdir=$ac_pwd ;;
   1442   [\\/]* | ?:[\\/]* )  # Absolute name.
   1443     ac_srcdir=$srcdir$ac_dir_suffix;
   1444     ac_top_srcdir=$srcdir
   1445     ac_abs_top_srcdir=$srcdir ;;
   1446   *) # Relative name.
   1447     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1448     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1449     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1450 esac
   1451 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1452 
   1453     cd "$ac_dir" || { ac_status=$?; continue; }
   1454     # Check for guested configure.
   1455     if test -f "$ac_srcdir/configure.gnu"; then
   1456       echo &&
   1457       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1458     elif test -f "$ac_srcdir/configure"; then
   1459       echo &&
   1460       $SHELL "$ac_srcdir/configure" --help=recursive
   1461     else
   1462       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1463     fi || ac_status=$?
   1464     cd "$ac_pwd" || { ac_status=$?; break; }
   1465   done
   1466 fi
   1467 
   1468 test -n "$ac_init_help" && exit $ac_status
   1469 if $ac_init_version; then
   1470   cat <<\_ACEOF
   1471 oclock configure 1.0.3
   1472 generated by GNU Autoconf 2.68
   1473 
   1474 Copyright (C) 2010 Free Software Foundation, Inc.
   1475 This configure script is free software; the Free Software Foundation
   1476 gives unlimited permission to copy, distribute and modify it.
   1477 _ACEOF
   1478   exit
   1479 fi
   1480 
   1481 ## ------------------------ ##
   1482 ## Autoconf initialization. ##
   1483 ## ------------------------ ##
   1484 
   1485 # ac_fn_c_try_compile LINENO
   1486 # --------------------------
   1487 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1488 ac_fn_c_try_compile ()
   1489 {
   1490   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1491   rm -f conftest.$ac_objext
   1492   if { { ac_try="$ac_compile"
   1493 case "(($ac_try" in
   1494   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1495   *) ac_try_echo=$ac_try;;
   1496 esac
   1497 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1498 $as_echo "$ac_try_echo"; } >&5
   1499   (eval "$ac_compile") 2>conftest.err
   1500   ac_status=$?
   1501   if test -s conftest.err; then
   1502     grep -v '^ *+' conftest.err >conftest.er1
   1503     cat conftest.er1 >&5
   1504     mv -f conftest.er1 conftest.err
   1505   fi
   1506   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1507   test $ac_status = 0; } && {
   1508 	 test -z "$ac_c_werror_flag" ||
   1509 	 test ! -s conftest.err
   1510        } && test -s conftest.$ac_objext; then :
   1511   ac_retval=0
   1512 else
   1513   $as_echo "$as_me: failed program was:" >&5
   1514 sed 's/^/| /' conftest.$ac_ext >&5
   1515 
   1516 	ac_retval=1
   1517 fi
   1518   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1519   as_fn_set_status $ac_retval
   1520 
   1521 } # ac_fn_c_try_compile
   1522 
   1523 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1524 # ---------------------------------------------
   1525 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1526 # accordingly.
   1527 ac_fn_c_check_decl ()
   1528 {
   1529   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1530   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1531   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1533 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1534 if eval \${$3+:} false; then :
   1535   $as_echo_n "(cached) " >&6
   1536 else
   1537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1538 /* end confdefs.h.  */
   1539 $4
   1540 int
   1541 main ()
   1542 {
   1543 #ifndef $as_decl_name
   1544 #ifdef __cplusplus
   1545   (void) $as_decl_use;
   1546 #else
   1547   (void) $as_decl_name;
   1548 #endif
   1549 #endif
   1550 
   1551   ;
   1552   return 0;
   1553 }
   1554 _ACEOF
   1555 if ac_fn_c_try_compile "$LINENO"; then :
   1556   eval "$3=yes"
   1557 else
   1558   eval "$3=no"
   1559 fi
   1560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1561 fi
   1562 eval ac_res=\$$3
   1563 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1564 $as_echo "$ac_res" >&6; }
   1565   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1566 
   1567 } # ac_fn_c_check_decl
   1568 
   1569 # ac_fn_c_try_cpp LINENO
   1570 # ----------------------
   1571 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1572 ac_fn_c_try_cpp ()
   1573 {
   1574   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1575   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1576 case "(($ac_try" in
   1577   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1578   *) ac_try_echo=$ac_try;;
   1579 esac
   1580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1581 $as_echo "$ac_try_echo"; } >&5
   1582   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1583   ac_status=$?
   1584   if test -s conftest.err; then
   1585     grep -v '^ *+' conftest.err >conftest.er1
   1586     cat conftest.er1 >&5
   1587     mv -f conftest.er1 conftest.err
   1588   fi
   1589   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1590   test $ac_status = 0; } > conftest.i && {
   1591 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1592 	 test ! -s conftest.err
   1593        }; then :
   1594   ac_retval=0
   1595 else
   1596   $as_echo "$as_me: failed program was:" >&5
   1597 sed 's/^/| /' conftest.$ac_ext >&5
   1598 
   1599     ac_retval=1
   1600 fi
   1601   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1602   as_fn_set_status $ac_retval
   1603 
   1604 } # ac_fn_c_try_cpp
   1605 
   1606 # ac_fn_c_try_run LINENO
   1607 # ----------------------
   1608 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1609 # that executables *can* be run.
   1610 ac_fn_c_try_run ()
   1611 {
   1612   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1613   if { { ac_try="$ac_link"
   1614 case "(($ac_try" in
   1615   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1616   *) ac_try_echo=$ac_try;;
   1617 esac
   1618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1619 $as_echo "$ac_try_echo"; } >&5
   1620   (eval "$ac_link") 2>&5
   1621   ac_status=$?
   1622   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1623   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1624   { { case "(($ac_try" in
   1625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1626   *) ac_try_echo=$ac_try;;
   1627 esac
   1628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1629 $as_echo "$ac_try_echo"; } >&5
   1630   (eval "$ac_try") 2>&5
   1631   ac_status=$?
   1632   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1633   test $ac_status = 0; }; }; then :
   1634   ac_retval=0
   1635 else
   1636   $as_echo "$as_me: program exited with status $ac_status" >&5
   1637        $as_echo "$as_me: failed program was:" >&5
   1638 sed 's/^/| /' conftest.$ac_ext >&5
   1639 
   1640        ac_retval=$ac_status
   1641 fi
   1642   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1643   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1644   as_fn_set_status $ac_retval
   1645 
   1646 } # ac_fn_c_try_run
   1647 
   1648 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1649 # -------------------------------------------------------
   1650 # Tests whether HEADER exists and can be compiled using the include files in
   1651 # INCLUDES, setting the cache variable VAR accordingly.
   1652 ac_fn_c_check_header_compile ()
   1653 {
   1654   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1656 $as_echo_n "checking for $2... " >&6; }
   1657 if eval \${$3+:} false; then :
   1658   $as_echo_n "(cached) " >&6
   1659 else
   1660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1661 /* end confdefs.h.  */
   1662 $4
   1663 #include <$2>
   1664 _ACEOF
   1665 if ac_fn_c_try_compile "$LINENO"; then :
   1666   eval "$3=yes"
   1667 else
   1668   eval "$3=no"
   1669 fi
   1670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1671 fi
   1672 eval ac_res=\$$3
   1673 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1674 $as_echo "$ac_res" >&6; }
   1675   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1676 
   1677 } # ac_fn_c_check_header_compile
   1678 
   1679 # ac_fn_c_try_link LINENO
   1680 # -----------------------
   1681 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1682 ac_fn_c_try_link ()
   1683 {
   1684   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1685   rm -f conftest.$ac_objext conftest$ac_exeext
   1686   if { { ac_try="$ac_link"
   1687 case "(($ac_try" in
   1688   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1689   *) ac_try_echo=$ac_try;;
   1690 esac
   1691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1692 $as_echo "$ac_try_echo"; } >&5
   1693   (eval "$ac_link") 2>conftest.err
   1694   ac_status=$?
   1695   if test -s conftest.err; then
   1696     grep -v '^ *+' conftest.err >conftest.er1
   1697     cat conftest.er1 >&5
   1698     mv -f conftest.er1 conftest.err
   1699   fi
   1700   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1701   test $ac_status = 0; } && {
   1702 	 test -z "$ac_c_werror_flag" ||
   1703 	 test ! -s conftest.err
   1704        } && test -s conftest$ac_exeext && {
   1705 	 test "$cross_compiling" = yes ||
   1706 	 $as_test_x conftest$ac_exeext
   1707        }; then :
   1708   ac_retval=0
   1709 else
   1710   $as_echo "$as_me: failed program was:" >&5
   1711 sed 's/^/| /' conftest.$ac_ext >&5
   1712 
   1713 	ac_retval=1
   1714 fi
   1715   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1716   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1717   # interfere with the next link command; also delete a directory that is
   1718   # left behind by Apple's compiler.  We do this before executing the actions.
   1719   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1720   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1721   as_fn_set_status $ac_retval
   1722 
   1723 } # ac_fn_c_try_link
   1724 cat >config.log <<_ACEOF
   1725 This file contains any messages produced by compilers while
   1726 running configure, to aid debugging if configure makes a mistake.
   1727 
   1728 It was created by oclock $as_me 1.0.3, which was
   1729 generated by GNU Autoconf 2.68.  Invocation command line was
   1730 
   1731   $ $0 $@
   1732 
   1733 _ACEOF
   1734 exec 5>>config.log
   1735 {
   1736 cat <<_ASUNAME
   1737 ## --------- ##
   1738 ## Platform. ##
   1739 ## --------- ##
   1740 
   1741 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1742 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1743 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1744 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1745 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1746 
   1747 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1748 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1749 
   1750 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1751 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1752 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1753 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1754 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1755 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1756 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1757 
   1758 _ASUNAME
   1759 
   1760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1761 for as_dir in $PATH
   1762 do
   1763   IFS=$as_save_IFS
   1764   test -z "$as_dir" && as_dir=.
   1765     $as_echo "PATH: $as_dir"
   1766   done
   1767 IFS=$as_save_IFS
   1768 
   1769 } >&5
   1770 
   1771 cat >&5 <<_ACEOF
   1772 
   1773 
   1774 ## ----------- ##
   1775 ## Core tests. ##
   1776 ## ----------- ##
   1777 
   1778 _ACEOF
   1779 
   1780 
   1781 # Keep a trace of the command line.
   1782 # Strip out --no-create and --no-recursion so they do not pile up.
   1783 # Strip out --silent because we don't want to record it for future runs.
   1784 # Also quote any args containing shell meta-characters.
   1785 # Make two passes to allow for proper duplicate-argument suppression.
   1786 ac_configure_args=
   1787 ac_configure_args0=
   1788 ac_configure_args1=
   1789 ac_must_keep_next=false
   1790 for ac_pass in 1 2
   1791 do
   1792   for ac_arg
   1793   do
   1794     case $ac_arg in
   1795     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1796     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1797     | -silent | --silent | --silen | --sile | --sil)
   1798       continue ;;
   1799     *\'*)
   1800       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1801     esac
   1802     case $ac_pass in
   1803     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1804     2)
   1805       as_fn_append ac_configure_args1 " '$ac_arg'"
   1806       if test $ac_must_keep_next = true; then
   1807 	ac_must_keep_next=false # Got value, back to normal.
   1808       else
   1809 	case $ac_arg in
   1810 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1811 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1812 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1813 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1814 	    case "$ac_configure_args0 " in
   1815 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1816 	    esac
   1817 	    ;;
   1818 	  -* ) ac_must_keep_next=true ;;
   1819 	esac
   1820       fi
   1821       as_fn_append ac_configure_args " '$ac_arg'"
   1822       ;;
   1823     esac
   1824   done
   1825 done
   1826 { ac_configure_args0=; unset ac_configure_args0;}
   1827 { ac_configure_args1=; unset ac_configure_args1;}
   1828 
   1829 # When interrupted or exit'd, cleanup temporary files, and complete
   1830 # config.log.  We remove comments because anyway the quotes in there
   1831 # would cause problems or look ugly.
   1832 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1833 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1834 trap 'exit_status=$?
   1835   # Save into config.log some information that might help in debugging.
   1836   {
   1837     echo
   1838 
   1839     $as_echo "## ---------------- ##
   1840 ## Cache variables. ##
   1841 ## ---------------- ##"
   1842     echo
   1843     # The following way of writing the cache mishandles newlines in values,
   1844 (
   1845   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1846     eval ac_val=\$$ac_var
   1847     case $ac_val in #(
   1848     *${as_nl}*)
   1849       case $ac_var in #(
   1850       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1851 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1852       esac
   1853       case $ac_var in #(
   1854       _ | IFS | as_nl) ;; #(
   1855       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1856       *) { eval $ac_var=; unset $ac_var;} ;;
   1857       esac ;;
   1858     esac
   1859   done
   1860   (set) 2>&1 |
   1861     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1862     *${as_nl}ac_space=\ *)
   1863       sed -n \
   1864 	"s/'\''/'\''\\\\'\'''\''/g;
   1865 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1866       ;; #(
   1867     *)
   1868       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1869       ;;
   1870     esac |
   1871     sort
   1872 )
   1873     echo
   1874 
   1875     $as_echo "## ----------------- ##
   1876 ## Output variables. ##
   1877 ## ----------------- ##"
   1878     echo
   1879     for ac_var in $ac_subst_vars
   1880     do
   1881       eval ac_val=\$$ac_var
   1882       case $ac_val in
   1883       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1884       esac
   1885       $as_echo "$ac_var='\''$ac_val'\''"
   1886     done | sort
   1887     echo
   1888 
   1889     if test -n "$ac_subst_files"; then
   1890       $as_echo "## ------------------- ##
   1891 ## File substitutions. ##
   1892 ## ------------------- ##"
   1893       echo
   1894       for ac_var in $ac_subst_files
   1895       do
   1896 	eval ac_val=\$$ac_var
   1897 	case $ac_val in
   1898 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1899 	esac
   1900 	$as_echo "$ac_var='\''$ac_val'\''"
   1901       done | sort
   1902       echo
   1903     fi
   1904 
   1905     if test -s confdefs.h; then
   1906       $as_echo "## ----------- ##
   1907 ## confdefs.h. ##
   1908 ## ----------- ##"
   1909       echo
   1910       cat confdefs.h
   1911       echo
   1912     fi
   1913     test "$ac_signal" != 0 &&
   1914       $as_echo "$as_me: caught signal $ac_signal"
   1915     $as_echo "$as_me: exit $exit_status"
   1916   } >&5
   1917   rm -f core *.core core.conftest.* &&
   1918     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1919     exit $exit_status
   1920 ' 0
   1921 for ac_signal in 1 2 13 15; do
   1922   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1923 done
   1924 ac_signal=0
   1925 
   1926 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1927 rm -f -r conftest* confdefs.h
   1928 
   1929 $as_echo "/* confdefs.h */" > confdefs.h
   1930 
   1931 # Predefined preprocessor variables.
   1932 
   1933 cat >>confdefs.h <<_ACEOF
   1934 #define PACKAGE_NAME "$PACKAGE_NAME"
   1935 _ACEOF
   1936 
   1937 cat >>confdefs.h <<_ACEOF
   1938 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1939 _ACEOF
   1940 
   1941 cat >>confdefs.h <<_ACEOF
   1942 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1943 _ACEOF
   1944 
   1945 cat >>confdefs.h <<_ACEOF
   1946 #define PACKAGE_STRING "$PACKAGE_STRING"
   1947 _ACEOF
   1948 
   1949 cat >>confdefs.h <<_ACEOF
   1950 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1951 _ACEOF
   1952 
   1953 cat >>confdefs.h <<_ACEOF
   1954 #define PACKAGE_URL "$PACKAGE_URL"
   1955 _ACEOF
   1956 
   1957 
   1958 # Let the site file select an alternate cache file if it wants to.
   1959 # Prefer an explicitly selected file to automatically selected ones.
   1960 ac_site_file1=NONE
   1961 ac_site_file2=NONE
   1962 if test -n "$CONFIG_SITE"; then
   1963   # We do not want a PATH search for config.site.
   1964   case $CONFIG_SITE in #((
   1965     -*)  ac_site_file1=./$CONFIG_SITE;;
   1966     */*) ac_site_file1=$CONFIG_SITE;;
   1967     *)   ac_site_file1=./$CONFIG_SITE;;
   1968   esac
   1969 elif test "x$prefix" != xNONE; then
   1970   ac_site_file1=$prefix/share/config.site
   1971   ac_site_file2=$prefix/etc/config.site
   1972 else
   1973   ac_site_file1=$ac_default_prefix/share/config.site
   1974   ac_site_file2=$ac_default_prefix/etc/config.site
   1975 fi
   1976 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1977 do
   1978   test "x$ac_site_file" = xNONE && continue
   1979   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   1980     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1981 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1982     sed 's/^/| /' "$ac_site_file" >&5
   1983     . "$ac_site_file" \
   1984       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   1985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   1986 as_fn_error $? "failed to load site script $ac_site_file
   1987 See \`config.log' for more details" "$LINENO" 5; }
   1988   fi
   1989 done
   1990 
   1991 if test -r "$cache_file"; then
   1992   # Some versions of bash will fail to source /dev/null (special files
   1993   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   1994   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   1995     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   1996 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1997     case $cache_file in
   1998       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1999       *)                      . "./$cache_file";;
   2000     esac
   2001   fi
   2002 else
   2003   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2004 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2005   >$cache_file
   2006 fi
   2007 
   2008 # Check that the precious variables saved in the cache have kept the same
   2009 # value.
   2010 ac_cache_corrupted=false
   2011 for ac_var in $ac_precious_vars; do
   2012   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2013   eval ac_new_set=\$ac_env_${ac_var}_set
   2014   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2015   eval ac_new_val=\$ac_env_${ac_var}_value
   2016   case $ac_old_set,$ac_new_set in
   2017     set,)
   2018       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2019 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2020       ac_cache_corrupted=: ;;
   2021     ,set)
   2022       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2023 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2024       ac_cache_corrupted=: ;;
   2025     ,);;
   2026     *)
   2027       if test "x$ac_old_val" != "x$ac_new_val"; then
   2028 	# differences in whitespace do not lead to failure.
   2029 	ac_old_val_w=`echo x $ac_old_val`
   2030 	ac_new_val_w=`echo x $ac_new_val`
   2031 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2032 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2033 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2034 	  ac_cache_corrupted=:
   2035 	else
   2036 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2037 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2038 	  eval $ac_var=\$ac_old_val
   2039 	fi
   2040 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2041 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2042 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2043 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2044       fi;;
   2045   esac
   2046   # Pass precious variables to config.status.
   2047   if test "$ac_new_set" = set; then
   2048     case $ac_new_val in
   2049     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2050     *) ac_arg=$ac_var=$ac_new_val ;;
   2051     esac
   2052     case " $ac_configure_args " in
   2053       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2054       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2055     esac
   2056   fi
   2057 done
   2058 if $ac_cache_corrupted; then
   2059   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2061   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2062 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2063   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2064 fi
   2065 ## -------------------- ##
   2066 ## Main body of script. ##
   2067 ## -------------------- ##
   2068 
   2069 ac_ext=c
   2070 ac_cpp='$CPP $CPPFLAGS'
   2071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2074 
   2075 
   2076 am__api_version='1.11'
   2077 
   2078 ac_aux_dir=
   2079 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2080   if test -f "$ac_dir/install-sh"; then
   2081     ac_aux_dir=$ac_dir
   2082     ac_install_sh="$ac_aux_dir/install-sh -c"
   2083     break
   2084   elif test -f "$ac_dir/install.sh"; then
   2085     ac_aux_dir=$ac_dir
   2086     ac_install_sh="$ac_aux_dir/install.sh -c"
   2087     break
   2088   elif test -f "$ac_dir/shtool"; then
   2089     ac_aux_dir=$ac_dir
   2090     ac_install_sh="$ac_aux_dir/shtool install -c"
   2091     break
   2092   fi
   2093 done
   2094 if test -z "$ac_aux_dir"; then
   2095   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2096 fi
   2097 
   2098 # These three variables are undocumented and unsupported,
   2099 # and are intended to be withdrawn in a future Autoconf release.
   2100 # They can cause serious problems if a builder's source tree is in a directory
   2101 # whose full name contains unusual characters.
   2102 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2103 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2104 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2105 
   2106 
   2107 # Find a good install program.  We prefer a C program (faster),
   2108 # so one script is as good as another.  But avoid the broken or
   2109 # incompatible versions:
   2110 # SysV /etc/install, /usr/sbin/install
   2111 # SunOS /usr/etc/install
   2112 # IRIX /sbin/install
   2113 # AIX /bin/install
   2114 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2115 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2116 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2117 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2118 # OS/2's system install, which has a completely different semantic
   2119 # ./install, which can be erroneously created by make from ./install.sh.
   2120 # Reject install programs that cannot install multiple files.
   2121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2122 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2123 if test -z "$INSTALL"; then
   2124 if ${ac_cv_path_install+:} false; then :
   2125   $as_echo_n "(cached) " >&6
   2126 else
   2127   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2128 for as_dir in $PATH
   2129 do
   2130   IFS=$as_save_IFS
   2131   test -z "$as_dir" && as_dir=.
   2132     # Account for people who put trailing slashes in PATH elements.
   2133 case $as_dir/ in #((
   2134   ./ | .// | /[cC]/* | \
   2135   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2136   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2137   /usr/ucb/* ) ;;
   2138   *)
   2139     # OSF1 and SCO ODT 3.0 have their own names for install.
   2140     # Don't use installbsd from OSF since it installs stuff as root
   2141     # by default.
   2142     for ac_prog in ginstall scoinst install; do
   2143       for ac_exec_ext in '' $ac_executable_extensions; do
   2144 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2145 	  if test $ac_prog = install &&
   2146 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2147 	    # AIX install.  It has an incompatible calling convention.
   2148 	    :
   2149 	  elif test $ac_prog = install &&
   2150 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2151 	    # program-specific install script used by HP pwplus--don't use.
   2152 	    :
   2153 	  else
   2154 	    rm -rf conftest.one conftest.two conftest.dir
   2155 	    echo one > conftest.one
   2156 	    echo two > conftest.two
   2157 	    mkdir conftest.dir
   2158 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2159 	      test -s conftest.one && test -s conftest.two &&
   2160 	      test -s conftest.dir/conftest.one &&
   2161 	      test -s conftest.dir/conftest.two
   2162 	    then
   2163 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2164 	      break 3
   2165 	    fi
   2166 	  fi
   2167 	fi
   2168       done
   2169     done
   2170     ;;
   2171 esac
   2172 
   2173   done
   2174 IFS=$as_save_IFS
   2175 
   2176 rm -rf conftest.one conftest.two conftest.dir
   2177 
   2178 fi
   2179   if test "${ac_cv_path_install+set}" = set; then
   2180     INSTALL=$ac_cv_path_install
   2181   else
   2182     # As a last resort, use the slow shell script.  Don't cache a
   2183     # value for INSTALL within a source directory, because that will
   2184     # break other packages using the cache if that directory is
   2185     # removed, or if the value is a relative name.
   2186     INSTALL=$ac_install_sh
   2187   fi
   2188 fi
   2189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2190 $as_echo "$INSTALL" >&6; }
   2191 
   2192 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2193 # It thinks the first close brace ends the variable substitution.
   2194 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2195 
   2196 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2197 
   2198 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2199 
   2200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2201 $as_echo_n "checking whether build environment is sane... " >&6; }
   2202 # Just in case
   2203 sleep 1
   2204 echo timestamp > conftest.file
   2205 # Reject unsafe characters in $srcdir or the absolute working directory
   2206 # name.  Accept space and tab only in the latter.
   2207 am_lf='
   2208 '
   2209 case `pwd` in
   2210   *[\\\"\#\$\&\'\`$am_lf]*)
   2211     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2212 esac
   2213 case $srcdir in
   2214   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2215     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2216 esac
   2217 
   2218 # Do `set' in a subshell so we don't clobber the current shell's
   2219 # arguments.  Must try -L first in case configure is actually a
   2220 # symlink; some systems play weird games with the mod time of symlinks
   2221 # (eg FreeBSD returns the mod time of the symlink's containing
   2222 # directory).
   2223 if (
   2224    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2225    if test "$*" = "X"; then
   2226       # -L didn't work.
   2227       set X `ls -t "$srcdir/configure" conftest.file`
   2228    fi
   2229    rm -f conftest.file
   2230    if test "$*" != "X $srcdir/configure conftest.file" \
   2231       && test "$*" != "X conftest.file $srcdir/configure"; then
   2232 
   2233       # If neither matched, then we have a broken ls.  This can happen
   2234       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2235       # broken ls alias from the environment.  This has actually
   2236       # happened.  Such a system could not be considered "sane".
   2237       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2238 alias in your environment" "$LINENO" 5
   2239    fi
   2240 
   2241    test "$2" = conftest.file
   2242    )
   2243 then
   2244    # Ok.
   2245    :
   2246 else
   2247    as_fn_error $? "newly created file is older than distributed files!
   2248 Check your system clock" "$LINENO" 5
   2249 fi
   2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2251 $as_echo "yes" >&6; }
   2252 test "$program_prefix" != NONE &&
   2253   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2254 # Use a double $ so make ignores it.
   2255 test "$program_suffix" != NONE &&
   2256   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2257 # Double any \ or $.
   2258 # By default was `s,x,x', remove it if useless.
   2259 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2260 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2261 
   2262 # expand $ac_aux_dir to an absolute path
   2263 am_aux_dir=`cd $ac_aux_dir && pwd`
   2264 
   2265 if test x"${MISSING+set}" != xset; then
   2266   case $am_aux_dir in
   2267   *\ * | *\	*)
   2268     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2269   *)
   2270     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2271   esac
   2272 fi
   2273 # Use eval to expand $SHELL
   2274 if eval "$MISSING --run true"; then
   2275   am_missing_run="$MISSING --run "
   2276 else
   2277   am_missing_run=
   2278   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2279 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2280 fi
   2281 
   2282 if test x"${install_sh}" != xset; then
   2283   case $am_aux_dir in
   2284   *\ * | *\	*)
   2285     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2286   *)
   2287     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2288   esac
   2289 fi
   2290 
   2291 # Installed binaries are usually stripped using `strip' when the user
   2292 # run `make install-strip'.  However `strip' might not be the right
   2293 # tool to use in cross-compilation environments, therefore Automake
   2294 # will honor the `STRIP' environment variable to overrule this program.
   2295 if test "$cross_compiling" != no; then
   2296   if test -n "$ac_tool_prefix"; then
   2297   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2298 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2300 $as_echo_n "checking for $ac_word... " >&6; }
   2301 if ${ac_cv_prog_STRIP+:} false; then :
   2302   $as_echo_n "(cached) " >&6
   2303 else
   2304   if test -n "$STRIP"; then
   2305   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2306 else
   2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2308 for as_dir in $PATH
   2309 do
   2310   IFS=$as_save_IFS
   2311   test -z "$as_dir" && as_dir=.
   2312     for ac_exec_ext in '' $ac_executable_extensions; do
   2313   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2314     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2315     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2316     break 2
   2317   fi
   2318 done
   2319   done
   2320 IFS=$as_save_IFS
   2321 
   2322 fi
   2323 fi
   2324 STRIP=$ac_cv_prog_STRIP
   2325 if test -n "$STRIP"; then
   2326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2327 $as_echo "$STRIP" >&6; }
   2328 else
   2329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2330 $as_echo "no" >&6; }
   2331 fi
   2332 
   2333 
   2334 fi
   2335 if test -z "$ac_cv_prog_STRIP"; then
   2336   ac_ct_STRIP=$STRIP
   2337   # Extract the first word of "strip", so it can be a program name with args.
   2338 set dummy strip; ac_word=$2
   2339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2340 $as_echo_n "checking for $ac_word... " >&6; }
   2341 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2342   $as_echo_n "(cached) " >&6
   2343 else
   2344   if test -n "$ac_ct_STRIP"; then
   2345   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2346 else
   2347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2348 for as_dir in $PATH
   2349 do
   2350   IFS=$as_save_IFS
   2351   test -z "$as_dir" && as_dir=.
   2352     for ac_exec_ext in '' $ac_executable_extensions; do
   2353   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2354     ac_cv_prog_ac_ct_STRIP="strip"
   2355     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2356     break 2
   2357   fi
   2358 done
   2359   done
   2360 IFS=$as_save_IFS
   2361 
   2362 fi
   2363 fi
   2364 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2365 if test -n "$ac_ct_STRIP"; then
   2366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2367 $as_echo "$ac_ct_STRIP" >&6; }
   2368 else
   2369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2370 $as_echo "no" >&6; }
   2371 fi
   2372 
   2373   if test "x$ac_ct_STRIP" = x; then
   2374     STRIP=":"
   2375   else
   2376     case $cross_compiling:$ac_tool_warned in
   2377 yes:)
   2378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2380 ac_tool_warned=yes ;;
   2381 esac
   2382     STRIP=$ac_ct_STRIP
   2383   fi
   2384 else
   2385   STRIP="$ac_cv_prog_STRIP"
   2386 fi
   2387 
   2388 fi
   2389 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2390 
   2391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2392 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2393 if test -z "$MKDIR_P"; then
   2394   if ${ac_cv_path_mkdir+:} false; then :
   2395   $as_echo_n "(cached) " >&6
   2396 else
   2397   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2398 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2399 do
   2400   IFS=$as_save_IFS
   2401   test -z "$as_dir" && as_dir=.
   2402     for ac_prog in mkdir gmkdir; do
   2403 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2404 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2405 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2406 	     'mkdir (GNU coreutils) '* | \
   2407 	     'mkdir (coreutils) '* | \
   2408 	     'mkdir (fileutils) '4.1*)
   2409 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2410 	       break 3;;
   2411 	   esac
   2412 	 done
   2413        done
   2414   done
   2415 IFS=$as_save_IFS
   2416 
   2417 fi
   2418 
   2419   test -d ./--version && rmdir ./--version
   2420   if test "${ac_cv_path_mkdir+set}" = set; then
   2421     MKDIR_P="$ac_cv_path_mkdir -p"
   2422   else
   2423     # As a last resort, use the slow shell script.  Don't cache a
   2424     # value for MKDIR_P within a source directory, because that will
   2425     # break other packages using the cache if that directory is
   2426     # removed, or if the value is a relative name.
   2427     MKDIR_P="$ac_install_sh -d"
   2428   fi
   2429 fi
   2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2431 $as_echo "$MKDIR_P" >&6; }
   2432 
   2433 mkdir_p="$MKDIR_P"
   2434 case $mkdir_p in
   2435   [\\/$]* | ?:[\\/]*) ;;
   2436   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2437 esac
   2438 
   2439 for ac_prog in gawk mawk nawk awk
   2440 do
   2441   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2442 set dummy $ac_prog; ac_word=$2
   2443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2444 $as_echo_n "checking for $ac_word... " >&6; }
   2445 if ${ac_cv_prog_AWK+:} false; then :
   2446   $as_echo_n "(cached) " >&6
   2447 else
   2448   if test -n "$AWK"; then
   2449   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2450 else
   2451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2452 for as_dir in $PATH
   2453 do
   2454   IFS=$as_save_IFS
   2455   test -z "$as_dir" && as_dir=.
   2456     for ac_exec_ext in '' $ac_executable_extensions; do
   2457   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2458     ac_cv_prog_AWK="$ac_prog"
   2459     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2460     break 2
   2461   fi
   2462 done
   2463   done
   2464 IFS=$as_save_IFS
   2465 
   2466 fi
   2467 fi
   2468 AWK=$ac_cv_prog_AWK
   2469 if test -n "$AWK"; then
   2470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2471 $as_echo "$AWK" >&6; }
   2472 else
   2473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2474 $as_echo "no" >&6; }
   2475 fi
   2476 
   2477 
   2478   test -n "$AWK" && break
   2479 done
   2480 
   2481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2482 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2483 set x ${MAKE-make}
   2484 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2485 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2486   $as_echo_n "(cached) " >&6
   2487 else
   2488   cat >conftest.make <<\_ACEOF
   2489 SHELL = /bin/sh
   2490 all:
   2491 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2492 _ACEOF
   2493 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2494 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2495   *@@@%%%=?*=@@@%%%*)
   2496     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2497   *)
   2498     eval ac_cv_prog_make_${ac_make}_set=no;;
   2499 esac
   2500 rm -f conftest.make
   2501 fi
   2502 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2504 $as_echo "yes" >&6; }
   2505   SET_MAKE=
   2506 else
   2507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2508 $as_echo "no" >&6; }
   2509   SET_MAKE="MAKE=${MAKE-make}"
   2510 fi
   2511 
   2512 rm -rf .tst 2>/dev/null
   2513 mkdir .tst 2>/dev/null
   2514 if test -d .tst; then
   2515   am__leading_dot=.
   2516 else
   2517   am__leading_dot=_
   2518 fi
   2519 rmdir .tst 2>/dev/null
   2520 
   2521 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2522   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2523   # is not polluted with repeated "-I."
   2524   am__isrc=' -I$(srcdir)'
   2525   # test to see if srcdir already configured
   2526   if test -f $srcdir/config.status; then
   2527     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2528   fi
   2529 fi
   2530 
   2531 # test whether we have cygpath
   2532 if test -z "$CYGPATH_W"; then
   2533   if (cygpath --version) >/dev/null 2>/dev/null; then
   2534     CYGPATH_W='cygpath -w'
   2535   else
   2536     CYGPATH_W=echo
   2537   fi
   2538 fi
   2539 
   2540 
   2541 # Define the identity of the package.
   2542  PACKAGE='oclock'
   2543  VERSION='1.0.3'
   2544 
   2545 
   2546 cat >>confdefs.h <<_ACEOF
   2547 #define PACKAGE "$PACKAGE"
   2548 _ACEOF
   2549 
   2550 
   2551 cat >>confdefs.h <<_ACEOF
   2552 #define VERSION "$VERSION"
   2553 _ACEOF
   2554 
   2555 # Some tools Automake needs.
   2556 
   2557 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2558 
   2559 
   2560 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2561 
   2562 
   2563 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2564 
   2565 
   2566 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2567 
   2568 
   2569 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2570 
   2571 # We need awk for the "check" target.  The system "awk" is bad on
   2572 # some platforms.
   2573 # Always define AMTAR for backward compatibility.
   2574 
   2575 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2576 
   2577 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2578 
   2579 
   2580 
   2581 
   2582 
   2583 
   2584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2585 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2586     # Check whether --enable-maintainer-mode was given.
   2587 if test "${enable_maintainer_mode+set}" = set; then :
   2588   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2589 else
   2590   USE_MAINTAINER_MODE=no
   2591 fi
   2592 
   2593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2594 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2595    if test $USE_MAINTAINER_MODE = yes; then
   2596   MAINTAINER_MODE_TRUE=
   2597   MAINTAINER_MODE_FALSE='#'
   2598 else
   2599   MAINTAINER_MODE_TRUE='#'
   2600   MAINTAINER_MODE_FALSE=
   2601 fi
   2602 
   2603   MAINT=$MAINTAINER_MODE_TRUE
   2604 
   2605 
   2606 
   2607 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2608 
   2609 
   2610 
   2611 
   2612 
   2613 
   2614 
   2615 
   2616 
   2617 
   2618 
   2619 DEPDIR="${am__leading_dot}deps"
   2620 
   2621 ac_config_commands="$ac_config_commands depfiles"
   2622 
   2623 
   2624 am_make=${MAKE-make}
   2625 cat > confinc << 'END'
   2626 am__doit:
   2627 	@echo this is the am__doit target
   2628 .PHONY: am__doit
   2629 END
   2630 # If we don't find an include directive, just comment out the code.
   2631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2632 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2633 am__include="#"
   2634 am__quote=
   2635 _am_result=none
   2636 # First try GNU make style include.
   2637 echo "include confinc" > confmf
   2638 # Ignore all kinds of additional output from `make'.
   2639 case `$am_make -s -f confmf 2> /dev/null` in #(
   2640 *the\ am__doit\ target*)
   2641   am__include=include
   2642   am__quote=
   2643   _am_result=GNU
   2644   ;;
   2645 esac
   2646 # Now try BSD make style include.
   2647 if test "$am__include" = "#"; then
   2648    echo '.include "confinc"' > confmf
   2649    case `$am_make -s -f confmf 2> /dev/null` in #(
   2650    *the\ am__doit\ target*)
   2651      am__include=.include
   2652      am__quote="\""
   2653      _am_result=BSD
   2654      ;;
   2655    esac
   2656 fi
   2657 
   2658 
   2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2660 $as_echo "$_am_result" >&6; }
   2661 rm -f confinc confmf
   2662 
   2663 # Check whether --enable-dependency-tracking was given.
   2664 if test "${enable_dependency_tracking+set}" = set; then :
   2665   enableval=$enable_dependency_tracking;
   2666 fi
   2667 
   2668 if test "x$enable_dependency_tracking" != xno; then
   2669   am_depcomp="$ac_aux_dir/depcomp"
   2670   AMDEPBACKSLASH='\'
   2671 fi
   2672  if test "x$enable_dependency_tracking" != xno; then
   2673   AMDEP_TRUE=
   2674   AMDEP_FALSE='#'
   2675 else
   2676   AMDEP_TRUE='#'
   2677   AMDEP_FALSE=
   2678 fi
   2679 
   2680 
   2681 ac_ext=c
   2682 ac_cpp='$CPP $CPPFLAGS'
   2683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2686 if test -n "$ac_tool_prefix"; then
   2687   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2688 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2690 $as_echo_n "checking for $ac_word... " >&6; }
   2691 if ${ac_cv_prog_CC+:} false; then :
   2692   $as_echo_n "(cached) " >&6
   2693 else
   2694   if test -n "$CC"; then
   2695   ac_cv_prog_CC="$CC" # Let the user override the test.
   2696 else
   2697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2698 for as_dir in $PATH
   2699 do
   2700   IFS=$as_save_IFS
   2701   test -z "$as_dir" && as_dir=.
   2702     for ac_exec_ext in '' $ac_executable_extensions; do
   2703   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2704     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2705     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2706     break 2
   2707   fi
   2708 done
   2709   done
   2710 IFS=$as_save_IFS
   2711 
   2712 fi
   2713 fi
   2714 CC=$ac_cv_prog_CC
   2715 if test -n "$CC"; then
   2716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2717 $as_echo "$CC" >&6; }
   2718 else
   2719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2720 $as_echo "no" >&6; }
   2721 fi
   2722 
   2723 
   2724 fi
   2725 if test -z "$ac_cv_prog_CC"; then
   2726   ac_ct_CC=$CC
   2727   # Extract the first word of "gcc", so it can be a program name with args.
   2728 set dummy gcc; ac_word=$2
   2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2730 $as_echo_n "checking for $ac_word... " >&6; }
   2731 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2732   $as_echo_n "(cached) " >&6
   2733 else
   2734   if test -n "$ac_ct_CC"; then
   2735   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2736 else
   2737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2738 for as_dir in $PATH
   2739 do
   2740   IFS=$as_save_IFS
   2741   test -z "$as_dir" && as_dir=.
   2742     for ac_exec_ext in '' $ac_executable_extensions; do
   2743   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2744     ac_cv_prog_ac_ct_CC="gcc"
   2745     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2746     break 2
   2747   fi
   2748 done
   2749   done
   2750 IFS=$as_save_IFS
   2751 
   2752 fi
   2753 fi
   2754 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2755 if test -n "$ac_ct_CC"; then
   2756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2757 $as_echo "$ac_ct_CC" >&6; }
   2758 else
   2759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2760 $as_echo "no" >&6; }
   2761 fi
   2762 
   2763   if test "x$ac_ct_CC" = x; then
   2764     CC=""
   2765   else
   2766     case $cross_compiling:$ac_tool_warned in
   2767 yes:)
   2768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2770 ac_tool_warned=yes ;;
   2771 esac
   2772     CC=$ac_ct_CC
   2773   fi
   2774 else
   2775   CC="$ac_cv_prog_CC"
   2776 fi
   2777 
   2778 if test -z "$CC"; then
   2779           if test -n "$ac_tool_prefix"; then
   2780     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2781 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2783 $as_echo_n "checking for $ac_word... " >&6; }
   2784 if ${ac_cv_prog_CC+:} false; then :
   2785   $as_echo_n "(cached) " >&6
   2786 else
   2787   if test -n "$CC"; then
   2788   ac_cv_prog_CC="$CC" # Let the user override the test.
   2789 else
   2790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2791 for as_dir in $PATH
   2792 do
   2793   IFS=$as_save_IFS
   2794   test -z "$as_dir" && as_dir=.
   2795     for ac_exec_ext in '' $ac_executable_extensions; do
   2796   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2797     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2798     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2799     break 2
   2800   fi
   2801 done
   2802   done
   2803 IFS=$as_save_IFS
   2804 
   2805 fi
   2806 fi
   2807 CC=$ac_cv_prog_CC
   2808 if test -n "$CC"; then
   2809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2810 $as_echo "$CC" >&6; }
   2811 else
   2812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2813 $as_echo "no" >&6; }
   2814 fi
   2815 
   2816 
   2817   fi
   2818 fi
   2819 if test -z "$CC"; then
   2820   # Extract the first word of "cc", so it can be a program name with args.
   2821 set dummy cc; ac_word=$2
   2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2823 $as_echo_n "checking for $ac_word... " >&6; }
   2824 if ${ac_cv_prog_CC+:} false; then :
   2825   $as_echo_n "(cached) " >&6
   2826 else
   2827   if test -n "$CC"; then
   2828   ac_cv_prog_CC="$CC" # Let the user override the test.
   2829 else
   2830   ac_prog_rejected=no
   2831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2832 for as_dir in $PATH
   2833 do
   2834   IFS=$as_save_IFS
   2835   test -z "$as_dir" && as_dir=.
   2836     for ac_exec_ext in '' $ac_executable_extensions; do
   2837   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2838     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2839        ac_prog_rejected=yes
   2840        continue
   2841      fi
   2842     ac_cv_prog_CC="cc"
   2843     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2844     break 2
   2845   fi
   2846 done
   2847   done
   2848 IFS=$as_save_IFS
   2849 
   2850 if test $ac_prog_rejected = yes; then
   2851   # We found a bogon in the path, so make sure we never use it.
   2852   set dummy $ac_cv_prog_CC
   2853   shift
   2854   if test $# != 0; then
   2855     # We chose a different compiler from the bogus one.
   2856     # However, it has the same basename, so the bogon will be chosen
   2857     # first if we set CC to just the basename; use the full file name.
   2858     shift
   2859     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2860   fi
   2861 fi
   2862 fi
   2863 fi
   2864 CC=$ac_cv_prog_CC
   2865 if test -n "$CC"; then
   2866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2867 $as_echo "$CC" >&6; }
   2868 else
   2869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2870 $as_echo "no" >&6; }
   2871 fi
   2872 
   2873 
   2874 fi
   2875 if test -z "$CC"; then
   2876   if test -n "$ac_tool_prefix"; then
   2877   for ac_prog in cl.exe
   2878   do
   2879     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2880 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2882 $as_echo_n "checking for $ac_word... " >&6; }
   2883 if ${ac_cv_prog_CC+:} false; then :
   2884   $as_echo_n "(cached) " >&6
   2885 else
   2886   if test -n "$CC"; then
   2887   ac_cv_prog_CC="$CC" # Let the user override the test.
   2888 else
   2889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2890 for as_dir in $PATH
   2891 do
   2892   IFS=$as_save_IFS
   2893   test -z "$as_dir" && as_dir=.
   2894     for ac_exec_ext in '' $ac_executable_extensions; do
   2895   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2896     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2897     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2898     break 2
   2899   fi
   2900 done
   2901   done
   2902 IFS=$as_save_IFS
   2903 
   2904 fi
   2905 fi
   2906 CC=$ac_cv_prog_CC
   2907 if test -n "$CC"; then
   2908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2909 $as_echo "$CC" >&6; }
   2910 else
   2911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2912 $as_echo "no" >&6; }
   2913 fi
   2914 
   2915 
   2916     test -n "$CC" && break
   2917   done
   2918 fi
   2919 if test -z "$CC"; then
   2920   ac_ct_CC=$CC
   2921   for ac_prog in cl.exe
   2922 do
   2923   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2924 set dummy $ac_prog; ac_word=$2
   2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2926 $as_echo_n "checking for $ac_word... " >&6; }
   2927 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2928   $as_echo_n "(cached) " >&6
   2929 else
   2930   if test -n "$ac_ct_CC"; then
   2931   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2932 else
   2933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2934 for as_dir in $PATH
   2935 do
   2936   IFS=$as_save_IFS
   2937   test -z "$as_dir" && as_dir=.
   2938     for ac_exec_ext in '' $ac_executable_extensions; do
   2939   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2940     ac_cv_prog_ac_ct_CC="$ac_prog"
   2941     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2942     break 2
   2943   fi
   2944 done
   2945   done
   2946 IFS=$as_save_IFS
   2947 
   2948 fi
   2949 fi
   2950 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2951 if test -n "$ac_ct_CC"; then
   2952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2953 $as_echo "$ac_ct_CC" >&6; }
   2954 else
   2955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2956 $as_echo "no" >&6; }
   2957 fi
   2958 
   2959 
   2960   test -n "$ac_ct_CC" && break
   2961 done
   2962 
   2963   if test "x$ac_ct_CC" = x; then
   2964     CC=""
   2965   else
   2966     case $cross_compiling:$ac_tool_warned in
   2967 yes:)
   2968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2969 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2970 ac_tool_warned=yes ;;
   2971 esac
   2972     CC=$ac_ct_CC
   2973   fi
   2974 fi
   2975 
   2976 fi
   2977 
   2978 
   2979 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2980 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2981 as_fn_error $? "no acceptable C compiler found in \$PATH
   2982 See \`config.log' for more details" "$LINENO" 5; }
   2983 
   2984 # Provide some information about the compiler.
   2985 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2986 set X $ac_compile
   2987 ac_compiler=$2
   2988 for ac_option in --version -v -V -qversion; do
   2989   { { ac_try="$ac_compiler $ac_option >&5"
   2990 case "(($ac_try" in
   2991   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2992   *) ac_try_echo=$ac_try;;
   2993 esac
   2994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2995 $as_echo "$ac_try_echo"; } >&5
   2996   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2997   ac_status=$?
   2998   if test -s conftest.err; then
   2999     sed '10a\
   3000 ... rest of stderr output deleted ...
   3001          10q' conftest.err >conftest.er1
   3002     cat conftest.er1 >&5
   3003   fi
   3004   rm -f conftest.er1 conftest.err
   3005   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3006   test $ac_status = 0; }
   3007 done
   3008 
   3009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3010 /* end confdefs.h.  */
   3011 
   3012 int
   3013 main ()
   3014 {
   3015 
   3016   ;
   3017   return 0;
   3018 }
   3019 _ACEOF
   3020 ac_clean_files_save=$ac_clean_files
   3021 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3022 # Try to create an executable without -o first, disregard a.out.
   3023 # It will help us diagnose broken compilers, and finding out an intuition
   3024 # of exeext.
   3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3026 $as_echo_n "checking whether the C compiler works... " >&6; }
   3027 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3028 
   3029 # The possible output files:
   3030 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3031 
   3032 ac_rmfiles=
   3033 for ac_file in $ac_files
   3034 do
   3035   case $ac_file in
   3036     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3037     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3038   esac
   3039 done
   3040 rm -f $ac_rmfiles
   3041 
   3042 if { { ac_try="$ac_link_default"
   3043 case "(($ac_try" in
   3044   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3045   *) ac_try_echo=$ac_try;;
   3046 esac
   3047 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3048 $as_echo "$ac_try_echo"; } >&5
   3049   (eval "$ac_link_default") 2>&5
   3050   ac_status=$?
   3051   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3052   test $ac_status = 0; }; then :
   3053   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3054 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3055 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3056 # so that the user can short-circuit this test for compilers unknown to
   3057 # Autoconf.
   3058 for ac_file in $ac_files ''
   3059 do
   3060   test -f "$ac_file" || continue
   3061   case $ac_file in
   3062     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3063 	;;
   3064     [ab].out )
   3065 	# We found the default executable, but exeext='' is most
   3066 	# certainly right.
   3067 	break;;
   3068     *.* )
   3069 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3070 	then :; else
   3071 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3072 	fi
   3073 	# We set ac_cv_exeext here because the later test for it is not
   3074 	# safe: cross compilers may not add the suffix if given an `-o'
   3075 	# argument, so we may need to know it at that point already.
   3076 	# Even if this section looks crufty: it has the advantage of
   3077 	# actually working.
   3078 	break;;
   3079     * )
   3080 	break;;
   3081   esac
   3082 done
   3083 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3084 
   3085 else
   3086   ac_file=''
   3087 fi
   3088 if test -z "$ac_file"; then :
   3089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3090 $as_echo "no" >&6; }
   3091 $as_echo "$as_me: failed program was:" >&5
   3092 sed 's/^/| /' conftest.$ac_ext >&5
   3093 
   3094 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3096 as_fn_error 77 "C compiler cannot create executables
   3097 See \`config.log' for more details" "$LINENO" 5; }
   3098 else
   3099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3100 $as_echo "yes" >&6; }
   3101 fi
   3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3103 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3105 $as_echo "$ac_file" >&6; }
   3106 ac_exeext=$ac_cv_exeext
   3107 
   3108 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3109 ac_clean_files=$ac_clean_files_save
   3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3111 $as_echo_n "checking for suffix of executables... " >&6; }
   3112 if { { ac_try="$ac_link"
   3113 case "(($ac_try" in
   3114   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3115   *) ac_try_echo=$ac_try;;
   3116 esac
   3117 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3118 $as_echo "$ac_try_echo"; } >&5
   3119   (eval "$ac_link") 2>&5
   3120   ac_status=$?
   3121   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3122   test $ac_status = 0; }; then :
   3123   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3124 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3125 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3126 # `rm'.
   3127 for ac_file in conftest.exe conftest conftest.*; do
   3128   test -f "$ac_file" || continue
   3129   case $ac_file in
   3130     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3131     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3132 	  break;;
   3133     * ) break;;
   3134   esac
   3135 done
   3136 else
   3137   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3139 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3140 See \`config.log' for more details" "$LINENO" 5; }
   3141 fi
   3142 rm -f conftest conftest$ac_cv_exeext
   3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3144 $as_echo "$ac_cv_exeext" >&6; }
   3145 
   3146 rm -f conftest.$ac_ext
   3147 EXEEXT=$ac_cv_exeext
   3148 ac_exeext=$EXEEXT
   3149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3150 /* end confdefs.h.  */
   3151 #include <stdio.h>
   3152 int
   3153 main ()
   3154 {
   3155 FILE *f = fopen ("conftest.out", "w");
   3156  return ferror (f) || fclose (f) != 0;
   3157 
   3158   ;
   3159   return 0;
   3160 }
   3161 _ACEOF
   3162 ac_clean_files="$ac_clean_files conftest.out"
   3163 # Check that the compiler produces executables we can run.  If not, either
   3164 # the compiler is broken, or we cross compile.
   3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3166 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3167 if test "$cross_compiling" != yes; then
   3168   { { ac_try="$ac_link"
   3169 case "(($ac_try" in
   3170   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3171   *) ac_try_echo=$ac_try;;
   3172 esac
   3173 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3174 $as_echo "$ac_try_echo"; } >&5
   3175   (eval "$ac_link") 2>&5
   3176   ac_status=$?
   3177   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3178   test $ac_status = 0; }
   3179   if { ac_try='./conftest$ac_cv_exeext'
   3180   { { case "(($ac_try" in
   3181   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3182   *) ac_try_echo=$ac_try;;
   3183 esac
   3184 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3185 $as_echo "$ac_try_echo"; } >&5
   3186   (eval "$ac_try") 2>&5
   3187   ac_status=$?
   3188   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3189   test $ac_status = 0; }; }; then
   3190     cross_compiling=no
   3191   else
   3192     if test "$cross_compiling" = maybe; then
   3193 	cross_compiling=yes
   3194     else
   3195 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3197 as_fn_error $? "cannot run C compiled programs.
   3198 If you meant to cross compile, use \`--host'.
   3199 See \`config.log' for more details" "$LINENO" 5; }
   3200     fi
   3201   fi
   3202 fi
   3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3204 $as_echo "$cross_compiling" >&6; }
   3205 
   3206 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3207 ac_clean_files=$ac_clean_files_save
   3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3209 $as_echo_n "checking for suffix of object files... " >&6; }
   3210 if ${ac_cv_objext+:} false; then :
   3211   $as_echo_n "(cached) " >&6
   3212 else
   3213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3214 /* end confdefs.h.  */
   3215 
   3216 int
   3217 main ()
   3218 {
   3219 
   3220   ;
   3221   return 0;
   3222 }
   3223 _ACEOF
   3224 rm -f conftest.o conftest.obj
   3225 if { { ac_try="$ac_compile"
   3226 case "(($ac_try" in
   3227   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3228   *) ac_try_echo=$ac_try;;
   3229 esac
   3230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3231 $as_echo "$ac_try_echo"; } >&5
   3232   (eval "$ac_compile") 2>&5
   3233   ac_status=$?
   3234   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3235   test $ac_status = 0; }; then :
   3236   for ac_file in conftest.o conftest.obj conftest.*; do
   3237   test -f "$ac_file" || continue;
   3238   case $ac_file in
   3239     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3240     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3241        break;;
   3242   esac
   3243 done
   3244 else
   3245   $as_echo "$as_me: failed program was:" >&5
   3246 sed 's/^/| /' conftest.$ac_ext >&5
   3247 
   3248 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3250 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3251 See \`config.log' for more details" "$LINENO" 5; }
   3252 fi
   3253 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3254 fi
   3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3256 $as_echo "$ac_cv_objext" >&6; }
   3257 OBJEXT=$ac_cv_objext
   3258 ac_objext=$OBJEXT
   3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3260 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3261 if ${ac_cv_c_compiler_gnu+:} false; then :
   3262   $as_echo_n "(cached) " >&6
   3263 else
   3264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3265 /* end confdefs.h.  */
   3266 
   3267 int
   3268 main ()
   3269 {
   3270 #ifndef __GNUC__
   3271        choke me
   3272 #endif
   3273 
   3274   ;
   3275   return 0;
   3276 }
   3277 _ACEOF
   3278 if ac_fn_c_try_compile "$LINENO"; then :
   3279   ac_compiler_gnu=yes
   3280 else
   3281   ac_compiler_gnu=no
   3282 fi
   3283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3284 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3285 
   3286 fi
   3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3288 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3289 if test $ac_compiler_gnu = yes; then
   3290   GCC=yes
   3291 else
   3292   GCC=
   3293 fi
   3294 ac_test_CFLAGS=${CFLAGS+set}
   3295 ac_save_CFLAGS=$CFLAGS
   3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3297 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3298 if ${ac_cv_prog_cc_g+:} false; then :
   3299   $as_echo_n "(cached) " >&6
   3300 else
   3301   ac_save_c_werror_flag=$ac_c_werror_flag
   3302    ac_c_werror_flag=yes
   3303    ac_cv_prog_cc_g=no
   3304    CFLAGS="-g"
   3305    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3306 /* end confdefs.h.  */
   3307 
   3308 int
   3309 main ()
   3310 {
   3311 
   3312   ;
   3313   return 0;
   3314 }
   3315 _ACEOF
   3316 if ac_fn_c_try_compile "$LINENO"; then :
   3317   ac_cv_prog_cc_g=yes
   3318 else
   3319   CFLAGS=""
   3320       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3321 /* end confdefs.h.  */
   3322 
   3323 int
   3324 main ()
   3325 {
   3326 
   3327   ;
   3328   return 0;
   3329 }
   3330 _ACEOF
   3331 if ac_fn_c_try_compile "$LINENO"; then :
   3332 
   3333 else
   3334   ac_c_werror_flag=$ac_save_c_werror_flag
   3335 	 CFLAGS="-g"
   3336 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3337 /* end confdefs.h.  */
   3338 
   3339 int
   3340 main ()
   3341 {
   3342 
   3343   ;
   3344   return 0;
   3345 }
   3346 _ACEOF
   3347 if ac_fn_c_try_compile "$LINENO"; then :
   3348   ac_cv_prog_cc_g=yes
   3349 fi
   3350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3351 fi
   3352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3353 fi
   3354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3355    ac_c_werror_flag=$ac_save_c_werror_flag
   3356 fi
   3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3358 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3359 if test "$ac_test_CFLAGS" = set; then
   3360   CFLAGS=$ac_save_CFLAGS
   3361 elif test $ac_cv_prog_cc_g = yes; then
   3362   if test "$GCC" = yes; then
   3363     CFLAGS="-g -O2"
   3364   else
   3365     CFLAGS="-g"
   3366   fi
   3367 else
   3368   if test "$GCC" = yes; then
   3369     CFLAGS="-O2"
   3370   else
   3371     CFLAGS=
   3372   fi
   3373 fi
   3374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3375 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3376 if ${ac_cv_prog_cc_c89+:} false; then :
   3377   $as_echo_n "(cached) " >&6
   3378 else
   3379   ac_cv_prog_cc_c89=no
   3380 ac_save_CC=$CC
   3381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3382 /* end confdefs.h.  */
   3383 #include <stdarg.h>
   3384 #include <stdio.h>
   3385 #include <sys/types.h>
   3386 #include <sys/stat.h>
   3387 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3388 struct buf { int x; };
   3389 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3390 static char *e (p, i)
   3391      char **p;
   3392      int i;
   3393 {
   3394   return p[i];
   3395 }
   3396 static char *f (char * (*g) (char **, int), char **p, ...)
   3397 {
   3398   char *s;
   3399   va_list v;
   3400   va_start (v,p);
   3401   s = g (p, va_arg (v,int));
   3402   va_end (v);
   3403   return s;
   3404 }
   3405 
   3406 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3407    function prototypes and stuff, but not '\xHH' hex character constants.
   3408    These don't provoke an error unfortunately, instead are silently treated
   3409    as 'x'.  The following induces an error, until -std is added to get
   3410    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3411    array size at least.  It's necessary to write '\x00'==0 to get something
   3412    that's true only with -std.  */
   3413 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3414 
   3415 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3416    inside strings and character constants.  */
   3417 #define FOO(x) 'x'
   3418 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3419 
   3420 int test (int i, double x);
   3421 struct s1 {int (*f) (int a);};
   3422 struct s2 {int (*f) (double a);};
   3423 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3424 int argc;
   3425 char **argv;
   3426 int
   3427 main ()
   3428 {
   3429 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3430   ;
   3431   return 0;
   3432 }
   3433 _ACEOF
   3434 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3435 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3436 do
   3437   CC="$ac_save_CC $ac_arg"
   3438   if ac_fn_c_try_compile "$LINENO"; then :
   3439   ac_cv_prog_cc_c89=$ac_arg
   3440 fi
   3441 rm -f core conftest.err conftest.$ac_objext
   3442   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3443 done
   3444 rm -f conftest.$ac_ext
   3445 CC=$ac_save_CC
   3446 
   3447 fi
   3448 # AC_CACHE_VAL
   3449 case "x$ac_cv_prog_cc_c89" in
   3450   x)
   3451     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3452 $as_echo "none needed" >&6; } ;;
   3453   xno)
   3454     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3455 $as_echo "unsupported" >&6; } ;;
   3456   *)
   3457     CC="$CC $ac_cv_prog_cc_c89"
   3458     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3459 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3460 esac
   3461 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3462 
   3463 fi
   3464 
   3465 ac_ext=c
   3466 ac_cpp='$CPP $CPPFLAGS'
   3467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3470 
   3471 depcc="$CC"   am_compiler_list=
   3472 
   3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3474 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3475 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3476   $as_echo_n "(cached) " >&6
   3477 else
   3478   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3479   # We make a subdir and do the tests there.  Otherwise we can end up
   3480   # making bogus files that we don't know about and never remove.  For
   3481   # instance it was reported that on HP-UX the gcc test will end up
   3482   # making a dummy file named `D' -- because `-MD' means `put the output
   3483   # in D'.
   3484   mkdir conftest.dir
   3485   # Copy depcomp to subdir because otherwise we won't find it if we're
   3486   # using a relative directory.
   3487   cp "$am_depcomp" conftest.dir
   3488   cd conftest.dir
   3489   # We will build objects and dependencies in a subdirectory because
   3490   # it helps to detect inapplicable dependency modes.  For instance
   3491   # both Tru64's cc and ICC support -MD to output dependencies as a
   3492   # side effect of compilation, but ICC will put the dependencies in
   3493   # the current directory while Tru64 will put them in the object
   3494   # directory.
   3495   mkdir sub
   3496 
   3497   am_cv_CC_dependencies_compiler_type=none
   3498   if test "$am_compiler_list" = ""; then
   3499      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3500   fi
   3501   am__universal=false
   3502   case " $depcc " in #(
   3503      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3504      esac
   3505 
   3506   for depmode in $am_compiler_list; do
   3507     # Setup a source with many dependencies, because some compilers
   3508     # like to wrap large dependency lists on column 80 (with \), and
   3509     # we should not choose a depcomp mode which is confused by this.
   3510     #
   3511     # We need to recreate these files for each test, as the compiler may
   3512     # overwrite some of them when testing with obscure command lines.
   3513     # This happens at least with the AIX C compiler.
   3514     : > sub/conftest.c
   3515     for i in 1 2 3 4 5 6; do
   3516       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3517       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3518       # Solaris 8's {/usr,}/bin/sh.
   3519       touch sub/conftst$i.h
   3520     done
   3521     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3522 
   3523     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3524     # mode.  It turns out that the SunPro C++ compiler does not properly
   3525     # handle `-M -o', and we need to detect this.  Also, some Intel
   3526     # versions had trouble with output in subdirs
   3527     am__obj=sub/conftest.${OBJEXT-o}
   3528     am__minus_obj="-o $am__obj"
   3529     case $depmode in
   3530     gcc)
   3531       # This depmode causes a compiler race in universal mode.
   3532       test "$am__universal" = false || continue
   3533       ;;
   3534     nosideeffect)
   3535       # after this tag, mechanisms are not by side-effect, so they'll
   3536       # only be used when explicitly requested
   3537       if test "x$enable_dependency_tracking" = xyes; then
   3538 	continue
   3539       else
   3540 	break
   3541       fi
   3542       ;;
   3543     msvisualcpp | msvcmsys)
   3544       # This compiler won't grok `-c -o', but also, the minuso test has
   3545       # not run yet.  These depmodes are late enough in the game, and
   3546       # so weak that their functioning should not be impacted.
   3547       am__obj=conftest.${OBJEXT-o}
   3548       am__minus_obj=
   3549       ;;
   3550     none) break ;;
   3551     esac
   3552     if depmode=$depmode \
   3553        source=sub/conftest.c object=$am__obj \
   3554        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3555        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3556          >/dev/null 2>conftest.err &&
   3557        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3558        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3559        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3560        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3561       # icc doesn't choke on unknown options, it will just issue warnings
   3562       # or remarks (even with -Werror).  So we grep stderr for any message
   3563       # that says an option was ignored or not supported.
   3564       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3565       #   icc: Command line warning: ignoring option '-M'; no argument required
   3566       # The diagnosis changed in icc 8.0:
   3567       #   icc: Command line remark: option '-MP' not supported
   3568       if (grep 'ignoring option' conftest.err ||
   3569           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3570         am_cv_CC_dependencies_compiler_type=$depmode
   3571         break
   3572       fi
   3573     fi
   3574   done
   3575 
   3576   cd ..
   3577   rm -rf conftest.dir
   3578 else
   3579   am_cv_CC_dependencies_compiler_type=none
   3580 fi
   3581 
   3582 fi
   3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3584 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3585 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3586 
   3587  if
   3588   test "x$enable_dependency_tracking" != xno \
   3589   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3590   am__fastdepCC_TRUE=
   3591   am__fastdepCC_FALSE='#'
   3592 else
   3593   am__fastdepCC_TRUE='#'
   3594   am__fastdepCC_FALSE=
   3595 fi
   3596 
   3597 
   3598    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3599 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3600 if ${ac_cv_prog_cc_c99+:} false; then :
   3601   $as_echo_n "(cached) " >&6
   3602 else
   3603   ac_cv_prog_cc_c99=no
   3604 ac_save_CC=$CC
   3605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3606 /* end confdefs.h.  */
   3607 #include <stdarg.h>
   3608 #include <stdbool.h>
   3609 #include <stdlib.h>
   3610 #include <wchar.h>
   3611 #include <stdio.h>
   3612 
   3613 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3614 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3615 #define showlist(...) puts (#__VA_ARGS__)
   3616 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3617 static void
   3618 test_varargs_macros (void)
   3619 {
   3620   int x = 1234;
   3621   int y = 5678;
   3622   debug ("Flag");
   3623   debug ("X = %d\n", x);
   3624   showlist (The first, second, and third items.);
   3625   report (x>y, "x is %d but y is %d", x, y);
   3626 }
   3627 
   3628 // Check long long types.
   3629 #define BIG64 18446744073709551615ull
   3630 #define BIG32 4294967295ul
   3631 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3632 #if !BIG_OK
   3633   your preprocessor is broken;
   3634 #endif
   3635 #if BIG_OK
   3636 #else
   3637   your preprocessor is broken;
   3638 #endif
   3639 static long long int bignum = -9223372036854775807LL;
   3640 static unsigned long long int ubignum = BIG64;
   3641 
   3642 struct incomplete_array
   3643 {
   3644   int datasize;
   3645   double data[];
   3646 };
   3647 
   3648 struct named_init {
   3649   int number;
   3650   const wchar_t *name;
   3651   double average;
   3652 };
   3653 
   3654 typedef const char *ccp;
   3655 
   3656 static inline int
   3657 test_restrict (ccp restrict text)
   3658 {
   3659   // See if C++-style comments work.
   3660   // Iterate through items via the restricted pointer.
   3661   // Also check for declarations in for loops.
   3662   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3663     continue;
   3664   return 0;
   3665 }
   3666 
   3667 // Check varargs and va_copy.
   3668 static void
   3669 test_varargs (const char *format, ...)
   3670 {
   3671   va_list args;
   3672   va_start (args, format);
   3673   va_list args_copy;
   3674   va_copy (args_copy, args);
   3675 
   3676   const char *str;
   3677   int number;
   3678   float fnumber;
   3679 
   3680   while (*format)
   3681     {
   3682       switch (*format++)
   3683 	{
   3684 	case 's': // string
   3685 	  str = va_arg (args_copy, const char *);
   3686 	  break;
   3687 	case 'd': // int
   3688 	  number = va_arg (args_copy, int);
   3689 	  break;
   3690 	case 'f': // float
   3691 	  fnumber = va_arg (args_copy, double);
   3692 	  break;
   3693 	default:
   3694 	  break;
   3695 	}
   3696     }
   3697   va_end (args_copy);
   3698   va_end (args);
   3699 }
   3700 
   3701 int
   3702 main ()
   3703 {
   3704 
   3705   // Check bool.
   3706   _Bool success = false;
   3707 
   3708   // Check restrict.
   3709   if (test_restrict ("String literal") == 0)
   3710     success = true;
   3711   char *restrict newvar = "Another string";
   3712 
   3713   // Check varargs.
   3714   test_varargs ("s, d' f .", "string", 65, 34.234);
   3715   test_varargs_macros ();
   3716 
   3717   // Check flexible array members.
   3718   struct incomplete_array *ia =
   3719     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3720   ia->datasize = 10;
   3721   for (int i = 0; i < ia->datasize; ++i)
   3722     ia->data[i] = i * 1.234;
   3723 
   3724   // Check named initializers.
   3725   struct named_init ni = {
   3726     .number = 34,
   3727     .name = L"Test wide string",
   3728     .average = 543.34343,
   3729   };
   3730 
   3731   ni.number = 58;
   3732 
   3733   int dynamic_array[ni.number];
   3734   dynamic_array[ni.number - 1] = 543;
   3735 
   3736   // work around unused variable warnings
   3737   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3738 	  || dynamic_array[ni.number - 1] != 543);
   3739 
   3740   ;
   3741   return 0;
   3742 }
   3743 _ACEOF
   3744 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3745 do
   3746   CC="$ac_save_CC $ac_arg"
   3747   if ac_fn_c_try_compile "$LINENO"; then :
   3748   ac_cv_prog_cc_c99=$ac_arg
   3749 fi
   3750 rm -f core conftest.err conftest.$ac_objext
   3751   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3752 done
   3753 rm -f conftest.$ac_ext
   3754 CC=$ac_save_CC
   3755 
   3756 fi
   3757 # AC_CACHE_VAL
   3758 case "x$ac_cv_prog_cc_c99" in
   3759   x)
   3760     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3761 $as_echo "none needed" >&6; } ;;
   3762   xno)
   3763     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3764 $as_echo "unsupported" >&6; } ;;
   3765   *)
   3766     CC="$CC $ac_cv_prog_cc_c99"
   3767     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3768 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3769 esac
   3770 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3771 
   3772 fi
   3773 
   3774 
   3775 
   3776 ac_ext=c
   3777 ac_cpp='$CPP $CPPFLAGS'
   3778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3782 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3783 # On Suns, sometimes $CPP names a directory.
   3784 if test -n "$CPP" && test -d "$CPP"; then
   3785   CPP=
   3786 fi
   3787 if test -z "$CPP"; then
   3788   if ${ac_cv_prog_CPP+:} false; then :
   3789   $as_echo_n "(cached) " >&6
   3790 else
   3791       # Double quotes because CPP needs to be expanded
   3792     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3793     do
   3794       ac_preproc_ok=false
   3795 for ac_c_preproc_warn_flag in '' yes
   3796 do
   3797   # Use a header file that comes with gcc, so configuring glibc
   3798   # with a fresh cross-compiler works.
   3799   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3800   # <limits.h> exists even on freestanding compilers.
   3801   # On the NeXT, cc -E runs the code through the compiler's parser,
   3802   # not just through cpp. "Syntax error" is here to catch this case.
   3803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3804 /* end confdefs.h.  */
   3805 #ifdef __STDC__
   3806 # include <limits.h>
   3807 #else
   3808 # include <assert.h>
   3809 #endif
   3810 		     Syntax error
   3811 _ACEOF
   3812 if ac_fn_c_try_cpp "$LINENO"; then :
   3813 
   3814 else
   3815   # Broken: fails on valid input.
   3816 continue
   3817 fi
   3818 rm -f conftest.err conftest.i conftest.$ac_ext
   3819 
   3820   # OK, works on sane cases.  Now check whether nonexistent headers
   3821   # can be detected and how.
   3822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3823 /* end confdefs.h.  */
   3824 #include <ac_nonexistent.h>
   3825 _ACEOF
   3826 if ac_fn_c_try_cpp "$LINENO"; then :
   3827   # Broken: success on invalid input.
   3828 continue
   3829 else
   3830   # Passes both tests.
   3831 ac_preproc_ok=:
   3832 break
   3833 fi
   3834 rm -f conftest.err conftest.i conftest.$ac_ext
   3835 
   3836 done
   3837 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3838 rm -f conftest.i conftest.err conftest.$ac_ext
   3839 if $ac_preproc_ok; then :
   3840   break
   3841 fi
   3842 
   3843     done
   3844     ac_cv_prog_CPP=$CPP
   3845 
   3846 fi
   3847   CPP=$ac_cv_prog_CPP
   3848 else
   3849   ac_cv_prog_CPP=$CPP
   3850 fi
   3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3852 $as_echo "$CPP" >&6; }
   3853 ac_preproc_ok=false
   3854 for ac_c_preproc_warn_flag in '' yes
   3855 do
   3856   # Use a header file that comes with gcc, so configuring glibc
   3857   # with a fresh cross-compiler works.
   3858   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3859   # <limits.h> exists even on freestanding compilers.
   3860   # On the NeXT, cc -E runs the code through the compiler's parser,
   3861   # not just through cpp. "Syntax error" is here to catch this case.
   3862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3863 /* end confdefs.h.  */
   3864 #ifdef __STDC__
   3865 # include <limits.h>
   3866 #else
   3867 # include <assert.h>
   3868 #endif
   3869 		     Syntax error
   3870 _ACEOF
   3871 if ac_fn_c_try_cpp "$LINENO"; then :
   3872 
   3873 else
   3874   # Broken: fails on valid input.
   3875 continue
   3876 fi
   3877 rm -f conftest.err conftest.i conftest.$ac_ext
   3878 
   3879   # OK, works on sane cases.  Now check whether nonexistent headers
   3880   # can be detected and how.
   3881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3882 /* end confdefs.h.  */
   3883 #include <ac_nonexistent.h>
   3884 _ACEOF
   3885 if ac_fn_c_try_cpp "$LINENO"; then :
   3886   # Broken: success on invalid input.
   3887 continue
   3888 else
   3889   # Passes both tests.
   3890 ac_preproc_ok=:
   3891 break
   3892 fi
   3893 rm -f conftest.err conftest.i conftest.$ac_ext
   3894 
   3895 done
   3896 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3897 rm -f conftest.i conftest.err conftest.$ac_ext
   3898 if $ac_preproc_ok; then :
   3899 
   3900 else
   3901   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3902 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3903 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3904 See \`config.log' for more details" "$LINENO" 5; }
   3905 fi
   3906 
   3907 ac_ext=c
   3908 ac_cpp='$CPP $CPPFLAGS'
   3909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3912 
   3913 
   3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3915 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3916 if ${ac_cv_path_GREP+:} false; then :
   3917   $as_echo_n "(cached) " >&6
   3918 else
   3919   if test -z "$GREP"; then
   3920   ac_path_GREP_found=false
   3921   # Loop through the user's path and test for each of PROGNAME-LIST
   3922   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3923 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3924 do
   3925   IFS=$as_save_IFS
   3926   test -z "$as_dir" && as_dir=.
   3927     for ac_prog in grep ggrep; do
   3928     for ac_exec_ext in '' $ac_executable_extensions; do
   3929       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3930       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3931 # Check for GNU ac_path_GREP and select it if it is found.
   3932   # Check for GNU $ac_path_GREP
   3933 case `"$ac_path_GREP" --version 2>&1` in
   3934 *GNU*)
   3935   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3936 *)
   3937   ac_count=0
   3938   $as_echo_n 0123456789 >"conftest.in"
   3939   while :
   3940   do
   3941     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3942     mv "conftest.tmp" "conftest.in"
   3943     cp "conftest.in" "conftest.nl"
   3944     $as_echo 'GREP' >> "conftest.nl"
   3945     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3946     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3947     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3948     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3949       # Best one so far, save it but keep looking for a better one
   3950       ac_cv_path_GREP="$ac_path_GREP"
   3951       ac_path_GREP_max=$ac_count
   3952     fi
   3953     # 10*(2^10) chars as input seems more than enough
   3954     test $ac_count -gt 10 && break
   3955   done
   3956   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3957 esac
   3958 
   3959       $ac_path_GREP_found && break 3
   3960     done
   3961   done
   3962   done
   3963 IFS=$as_save_IFS
   3964   if test -z "$ac_cv_path_GREP"; then
   3965     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3966   fi
   3967 else
   3968   ac_cv_path_GREP=$GREP
   3969 fi
   3970 
   3971 fi
   3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3973 $as_echo "$ac_cv_path_GREP" >&6; }
   3974  GREP="$ac_cv_path_GREP"
   3975 
   3976 
   3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3978 $as_echo_n "checking for egrep... " >&6; }
   3979 if ${ac_cv_path_EGREP+:} false; then :
   3980   $as_echo_n "(cached) " >&6
   3981 else
   3982   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3983    then ac_cv_path_EGREP="$GREP -E"
   3984    else
   3985      if test -z "$EGREP"; then
   3986   ac_path_EGREP_found=false
   3987   # Loop through the user's path and test for each of PROGNAME-LIST
   3988   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3989 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3990 do
   3991   IFS=$as_save_IFS
   3992   test -z "$as_dir" && as_dir=.
   3993     for ac_prog in egrep; do
   3994     for ac_exec_ext in '' $ac_executable_extensions; do
   3995       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3996       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3997 # Check for GNU ac_path_EGREP and select it if it is found.
   3998   # Check for GNU $ac_path_EGREP
   3999 case `"$ac_path_EGREP" --version 2>&1` in
   4000 *GNU*)
   4001   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4002 *)
   4003   ac_count=0
   4004   $as_echo_n 0123456789 >"conftest.in"
   4005   while :
   4006   do
   4007     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4008     mv "conftest.tmp" "conftest.in"
   4009     cp "conftest.in" "conftest.nl"
   4010     $as_echo 'EGREP' >> "conftest.nl"
   4011     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4012     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4013     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4014     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4015       # Best one so far, save it but keep looking for a better one
   4016       ac_cv_path_EGREP="$ac_path_EGREP"
   4017       ac_path_EGREP_max=$ac_count
   4018     fi
   4019     # 10*(2^10) chars as input seems more than enough
   4020     test $ac_count -gt 10 && break
   4021   done
   4022   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4023 esac
   4024 
   4025       $ac_path_EGREP_found && break 3
   4026     done
   4027   done
   4028   done
   4029 IFS=$as_save_IFS
   4030   if test -z "$ac_cv_path_EGREP"; then
   4031     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4032   fi
   4033 else
   4034   ac_cv_path_EGREP=$EGREP
   4035 fi
   4036 
   4037    fi
   4038 fi
   4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4040 $as_echo "$ac_cv_path_EGREP" >&6; }
   4041  EGREP="$ac_cv_path_EGREP"
   4042 
   4043 
   4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4045 $as_echo_n "checking for ANSI C header files... " >&6; }
   4046 if ${ac_cv_header_stdc+:} false; then :
   4047   $as_echo_n "(cached) " >&6
   4048 else
   4049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4050 /* end confdefs.h.  */
   4051 #include <stdlib.h>
   4052 #include <stdarg.h>
   4053 #include <string.h>
   4054 #include <float.h>
   4055 
   4056 int
   4057 main ()
   4058 {
   4059 
   4060   ;
   4061   return 0;
   4062 }
   4063 _ACEOF
   4064 if ac_fn_c_try_compile "$LINENO"; then :
   4065   ac_cv_header_stdc=yes
   4066 else
   4067   ac_cv_header_stdc=no
   4068 fi
   4069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4070 
   4071 if test $ac_cv_header_stdc = yes; then
   4072   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4074 /* end confdefs.h.  */
   4075 #include <string.h>
   4076 
   4077 _ACEOF
   4078 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4079   $EGREP "memchr" >/dev/null 2>&1; then :
   4080 
   4081 else
   4082   ac_cv_header_stdc=no
   4083 fi
   4084 rm -f conftest*
   4085 
   4086 fi
   4087 
   4088 if test $ac_cv_header_stdc = yes; then
   4089   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4091 /* end confdefs.h.  */
   4092 #include <stdlib.h>
   4093 
   4094 _ACEOF
   4095 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4096   $EGREP "free" >/dev/null 2>&1; then :
   4097 
   4098 else
   4099   ac_cv_header_stdc=no
   4100 fi
   4101 rm -f conftest*
   4102 
   4103 fi
   4104 
   4105 if test $ac_cv_header_stdc = yes; then
   4106   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4107   if test "$cross_compiling" = yes; then :
   4108   :
   4109 else
   4110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4111 /* end confdefs.h.  */
   4112 #include <ctype.h>
   4113 #include <stdlib.h>
   4114 #if ((' ' & 0x0FF) == 0x020)
   4115 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4116 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4117 #else
   4118 # define ISLOWER(c) \
   4119 		   (('a' <= (c) && (c) <= 'i') \
   4120 		     || ('j' <= (c) && (c) <= 'r') \
   4121 		     || ('s' <= (c) && (c) <= 'z'))
   4122 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4123 #endif
   4124 
   4125 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4126 int
   4127 main ()
   4128 {
   4129   int i;
   4130   for (i = 0; i < 256; i++)
   4131     if (XOR (islower (i), ISLOWER (i))
   4132 	|| toupper (i) != TOUPPER (i))
   4133       return 2;
   4134   return 0;
   4135 }
   4136 _ACEOF
   4137 if ac_fn_c_try_run "$LINENO"; then :
   4138 
   4139 else
   4140   ac_cv_header_stdc=no
   4141 fi
   4142 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4143   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4144 fi
   4145 
   4146 fi
   4147 fi
   4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4149 $as_echo "$ac_cv_header_stdc" >&6; }
   4150 if test $ac_cv_header_stdc = yes; then
   4151 
   4152 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4153 
   4154 fi
   4155 
   4156 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4157 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4158 		  inttypes.h stdint.h unistd.h
   4159 do :
   4160   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4161 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4162 "
   4163 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4164   cat >>confdefs.h <<_ACEOF
   4165 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4166 _ACEOF
   4167 
   4168 fi
   4169 
   4170 done
   4171 
   4172 
   4173 
   4174 
   4175 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4176 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4177   CLANGCC="yes"
   4178 else
   4179   CLANGCC="no"
   4180 fi
   4181 
   4182 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4183 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4184   INTELCC="yes"
   4185 else
   4186   INTELCC="no"
   4187 fi
   4188 
   4189 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4190 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4191   SUNCC="yes"
   4192 else
   4193   SUNCC="no"
   4194 fi
   4195 
   4196 
   4197 
   4198 
   4199 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4200 	if test -n "$ac_tool_prefix"; then
   4201   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4202 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4204 $as_echo_n "checking for $ac_word... " >&6; }
   4205 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4206   $as_echo_n "(cached) " >&6
   4207 else
   4208   case $PKG_CONFIG in
   4209   [\\/]* | ?:[\\/]*)
   4210   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4211   ;;
   4212   *)
   4213   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4214 for as_dir in $PATH
   4215 do
   4216   IFS=$as_save_IFS
   4217   test -z "$as_dir" && as_dir=.
   4218     for ac_exec_ext in '' $ac_executable_extensions; do
   4219   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4220     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4221     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4222     break 2
   4223   fi
   4224 done
   4225   done
   4226 IFS=$as_save_IFS
   4227 
   4228   ;;
   4229 esac
   4230 fi
   4231 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4232 if test -n "$PKG_CONFIG"; then
   4233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4234 $as_echo "$PKG_CONFIG" >&6; }
   4235 else
   4236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4237 $as_echo "no" >&6; }
   4238 fi
   4239 
   4240 
   4241 fi
   4242 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4243   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4244   # Extract the first word of "pkg-config", so it can be a program name with args.
   4245 set dummy pkg-config; ac_word=$2
   4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4247 $as_echo_n "checking for $ac_word... " >&6; }
   4248 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4249   $as_echo_n "(cached) " >&6
   4250 else
   4251   case $ac_pt_PKG_CONFIG in
   4252   [\\/]* | ?:[\\/]*)
   4253   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4254   ;;
   4255   *)
   4256   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4257 for as_dir in $PATH
   4258 do
   4259   IFS=$as_save_IFS
   4260   test -z "$as_dir" && as_dir=.
   4261     for ac_exec_ext in '' $ac_executable_extensions; do
   4262   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4263     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4264     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4265     break 2
   4266   fi
   4267 done
   4268   done
   4269 IFS=$as_save_IFS
   4270 
   4271   ;;
   4272 esac
   4273 fi
   4274 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4275 if test -n "$ac_pt_PKG_CONFIG"; then
   4276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4277 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4278 else
   4279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4280 $as_echo "no" >&6; }
   4281 fi
   4282 
   4283   if test "x$ac_pt_PKG_CONFIG" = x; then
   4284     PKG_CONFIG=""
   4285   else
   4286     case $cross_compiling:$ac_tool_warned in
   4287 yes:)
   4288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4290 ac_tool_warned=yes ;;
   4291 esac
   4292     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4293   fi
   4294 else
   4295   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4296 fi
   4297 
   4298 fi
   4299 if test -n "$PKG_CONFIG"; then
   4300 	_pkg_min_version=0.9.0
   4301 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4302 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4303 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4304 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4305 $as_echo "yes" >&6; }
   4306 	else
   4307 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4308 $as_echo "no" >&6; }
   4309 		PKG_CONFIG=""
   4310 	fi
   4311 
   4312 fi
   4313 # Make sure we can run config.sub.
   4314 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4315   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4316 
   4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4318 $as_echo_n "checking build system type... " >&6; }
   4319 if ${ac_cv_build+:} false; then :
   4320   $as_echo_n "(cached) " >&6
   4321 else
   4322   ac_build_alias=$build_alias
   4323 test "x$ac_build_alias" = x &&
   4324   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4325 test "x$ac_build_alias" = x &&
   4326   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4327 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4328   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4329 
   4330 fi
   4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4332 $as_echo "$ac_cv_build" >&6; }
   4333 case $ac_cv_build in
   4334 *-*-*) ;;
   4335 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4336 esac
   4337 build=$ac_cv_build
   4338 ac_save_IFS=$IFS; IFS='-'
   4339 set x $ac_cv_build
   4340 shift
   4341 build_cpu=$1
   4342 build_vendor=$2
   4343 shift; shift
   4344 # Remember, the first character of IFS is used to create $*,
   4345 # except with old shells:
   4346 build_os=$*
   4347 IFS=$ac_save_IFS
   4348 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4349 
   4350 
   4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4352 $as_echo_n "checking host system type... " >&6; }
   4353 if ${ac_cv_host+:} false; then :
   4354   $as_echo_n "(cached) " >&6
   4355 else
   4356   if test "x$host_alias" = x; then
   4357   ac_cv_host=$ac_cv_build
   4358 else
   4359   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4360     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4361 fi
   4362 
   4363 fi
   4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4365 $as_echo "$ac_cv_host" >&6; }
   4366 case $ac_cv_host in
   4367 *-*-*) ;;
   4368 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4369 esac
   4370 host=$ac_cv_host
   4371 ac_save_IFS=$IFS; IFS='-'
   4372 set x $ac_cv_host
   4373 shift
   4374 host_cpu=$1
   4375 host_vendor=$2
   4376 shift; shift
   4377 # Remember, the first character of IFS is used to create $*,
   4378 # except with old shells:
   4379 host_os=$*
   4380 IFS=$ac_save_IFS
   4381 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4382 
   4383 
   4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4385 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4386 if ${ac_cv_path_SED+:} false; then :
   4387   $as_echo_n "(cached) " >&6
   4388 else
   4389             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4390      for ac_i in 1 2 3 4 5 6 7; do
   4391        ac_script="$ac_script$as_nl$ac_script"
   4392      done
   4393      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4394      { ac_script=; unset ac_script;}
   4395      if test -z "$SED"; then
   4396   ac_path_SED_found=false
   4397   # Loop through the user's path and test for each of PROGNAME-LIST
   4398   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4399 for as_dir in $PATH
   4400 do
   4401   IFS=$as_save_IFS
   4402   test -z "$as_dir" && as_dir=.
   4403     for ac_prog in sed gsed; do
   4404     for ac_exec_ext in '' $ac_executable_extensions; do
   4405       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4406       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4407 # Check for GNU ac_path_SED and select it if it is found.
   4408   # Check for GNU $ac_path_SED
   4409 case `"$ac_path_SED" --version 2>&1` in
   4410 *GNU*)
   4411   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4412 *)
   4413   ac_count=0
   4414   $as_echo_n 0123456789 >"conftest.in"
   4415   while :
   4416   do
   4417     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4418     mv "conftest.tmp" "conftest.in"
   4419     cp "conftest.in" "conftest.nl"
   4420     $as_echo '' >> "conftest.nl"
   4421     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4422     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4423     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4424     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4425       # Best one so far, save it but keep looking for a better one
   4426       ac_cv_path_SED="$ac_path_SED"
   4427       ac_path_SED_max=$ac_count
   4428     fi
   4429     # 10*(2^10) chars as input seems more than enough
   4430     test $ac_count -gt 10 && break
   4431   done
   4432   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4433 esac
   4434 
   4435       $ac_path_SED_found && break 3
   4436     done
   4437   done
   4438   done
   4439 IFS=$as_save_IFS
   4440   if test -z "$ac_cv_path_SED"; then
   4441     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4442   fi
   4443 else
   4444   ac_cv_path_SED=$SED
   4445 fi
   4446 
   4447 fi
   4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4449 $as_echo "$ac_cv_path_SED" >&6; }
   4450  SED="$ac_cv_path_SED"
   4451   rm -f conftest.sed
   4452 
   4453 
   4454 
   4455 
   4456 
   4457 
   4458 # Check whether --enable-selective-werror was given.
   4459 if test "${enable_selective_werror+set}" = set; then :
   4460   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4461 else
   4462   SELECTIVE_WERROR=yes
   4463 fi
   4464 
   4465 
   4466 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4467 if test "x$SUNCC" = "xyes"; then
   4468     BASE_CFLAGS="-v"
   4469 else
   4470     BASE_CFLAGS=""
   4471 fi
   4472 
   4473 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4474 
   4475 
   4476 
   4477 
   4478 
   4479 xorg_testset_save_CFLAGS="$CFLAGS"
   4480 
   4481 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   4482 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4483 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4484 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4485 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4486   $as_echo_n "(cached) " >&6
   4487 else
   4488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4489 /* end confdefs.h.  */
   4490 int i;
   4491 _ACEOF
   4492 if ac_fn_c_try_compile "$LINENO"; then :
   4493   xorg_cv_cc_flag_unknown_warning_option=yes
   4494 else
   4495   xorg_cv_cc_flag_unknown_warning_option=no
   4496 fi
   4497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4498 fi
   4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4500 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4501 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4502 	CFLAGS="$xorg_testset_save_CFLAGS"
   4503 fi
   4504 
   4505 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   4506 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4507 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4508 	fi
   4509 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4510 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4511 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4512 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4513   $as_echo_n "(cached) " >&6
   4514 else
   4515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4516 /* end confdefs.h.  */
   4517 int i;
   4518 _ACEOF
   4519 if ac_fn_c_try_compile "$LINENO"; then :
   4520   xorg_cv_cc_flag_unused_command_line_argument=yes
   4521 else
   4522   xorg_cv_cc_flag_unused_command_line_argument=no
   4523 fi
   4524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4525 fi
   4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4527 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4528 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4529 	CFLAGS="$xorg_testset_save_CFLAGS"
   4530 fi
   4531 
   4532 found="no"
   4533 
   4534 	if test $found = "no" ; then
   4535 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4536 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4537 		fi
   4538 
   4539 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4540 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4541 		fi
   4542 
   4543 		CFLAGS="$CFLAGS -Wall"
   4544 
   4545 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4546 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4547 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wall`
   4548 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   4549   $as_echo_n "(cached) " >&6
   4550 else
   4551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4552 /* end confdefs.h.  */
   4553 int i;
   4554 int
   4555 main ()
   4556 {
   4557 
   4558   ;
   4559   return 0;
   4560 }
   4561 _ACEOF
   4562 if ac_fn_c_try_link "$LINENO"; then :
   4563   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   4564 else
   4565   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   4566 fi
   4567 rm -f core conftest.err conftest.$ac_objext \
   4568     conftest$ac_exeext conftest.$ac_ext
   4569 fi
   4570 
   4571 
   4572 		CFLAGS="$xorg_testset_save_CFLAGS"
   4573 
   4574 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   4575 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4576 $as_echo "$supported" >&6; }
   4577 		if test "$supported" = "yes" ; then
   4578 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4579 			found="yes"
   4580 		fi
   4581 	fi
   4582 
   4583 
   4584 
   4585 
   4586 
   4587 
   4588 
   4589 xorg_testset_save_CFLAGS="$CFLAGS"
   4590 
   4591 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   4592 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4593 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4594 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4595 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4596   $as_echo_n "(cached) " >&6
   4597 else
   4598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4599 /* end confdefs.h.  */
   4600 int i;
   4601 _ACEOF
   4602 if ac_fn_c_try_compile "$LINENO"; then :
   4603   xorg_cv_cc_flag_unknown_warning_option=yes
   4604 else
   4605   xorg_cv_cc_flag_unknown_warning_option=no
   4606 fi
   4607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4608 fi
   4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4610 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4611 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4612 	CFLAGS="$xorg_testset_save_CFLAGS"
   4613 fi
   4614 
   4615 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   4616 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4617 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4618 	fi
   4619 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4620 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4621 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4622 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4623   $as_echo_n "(cached) " >&6
   4624 else
   4625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4626 /* end confdefs.h.  */
   4627 int i;
   4628 _ACEOF
   4629 if ac_fn_c_try_compile "$LINENO"; then :
   4630   xorg_cv_cc_flag_unused_command_line_argument=yes
   4631 else
   4632   xorg_cv_cc_flag_unused_command_line_argument=no
   4633 fi
   4634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4635 fi
   4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4637 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4638 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4639 	CFLAGS="$xorg_testset_save_CFLAGS"
   4640 fi
   4641 
   4642 found="no"
   4643 
   4644 	if test $found = "no" ; then
   4645 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4646 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4647 		fi
   4648 
   4649 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4650 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4651 		fi
   4652 
   4653 		CFLAGS="$CFLAGS -Wpointer-arith"
   4654 
   4655 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4656 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4657 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wpointer-arith`
   4658 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   4659   $as_echo_n "(cached) " >&6
   4660 else
   4661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4662 /* end confdefs.h.  */
   4663 int i;
   4664 int
   4665 main ()
   4666 {
   4667 
   4668   ;
   4669   return 0;
   4670 }
   4671 _ACEOF
   4672 if ac_fn_c_try_link "$LINENO"; then :
   4673   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   4674 else
   4675   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   4676 fi
   4677 rm -f core conftest.err conftest.$ac_objext \
   4678     conftest$ac_exeext conftest.$ac_ext
   4679 fi
   4680 
   4681 
   4682 		CFLAGS="$xorg_testset_save_CFLAGS"
   4683 
   4684 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   4685 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4686 $as_echo "$supported" >&6; }
   4687 		if test "$supported" = "yes" ; then
   4688 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4689 			found="yes"
   4690 		fi
   4691 	fi
   4692 
   4693 
   4694 
   4695 
   4696 
   4697 
   4698 
   4699 xorg_testset_save_CFLAGS="$CFLAGS"
   4700 
   4701 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   4702 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4703 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4704 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4705 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4706   $as_echo_n "(cached) " >&6
   4707 else
   4708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4709 /* end confdefs.h.  */
   4710 int i;
   4711 _ACEOF
   4712 if ac_fn_c_try_compile "$LINENO"; then :
   4713   xorg_cv_cc_flag_unknown_warning_option=yes
   4714 else
   4715   xorg_cv_cc_flag_unknown_warning_option=no
   4716 fi
   4717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4718 fi
   4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4720 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4721 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4722 	CFLAGS="$xorg_testset_save_CFLAGS"
   4723 fi
   4724 
   4725 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   4726 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4727 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4728 	fi
   4729 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4730 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4731 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4732 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4733   $as_echo_n "(cached) " >&6
   4734 else
   4735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4736 /* end confdefs.h.  */
   4737 int i;
   4738 _ACEOF
   4739 if ac_fn_c_try_compile "$LINENO"; then :
   4740   xorg_cv_cc_flag_unused_command_line_argument=yes
   4741 else
   4742   xorg_cv_cc_flag_unused_command_line_argument=no
   4743 fi
   4744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4745 fi
   4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4747 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4748 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4749 	CFLAGS="$xorg_testset_save_CFLAGS"
   4750 fi
   4751 
   4752 found="no"
   4753 
   4754 	if test $found = "no" ; then
   4755 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4756 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4757 		fi
   4758 
   4759 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4760 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4761 		fi
   4762 
   4763 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   4764 
   4765 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   4766 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   4767 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wstrict-prototypes`
   4768 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   4769   $as_echo_n "(cached) " >&6
   4770 else
   4771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4772 /* end confdefs.h.  */
   4773 int i;
   4774 int
   4775 main ()
   4776 {
   4777 
   4778   ;
   4779   return 0;
   4780 }
   4781 _ACEOF
   4782 if ac_fn_c_try_link "$LINENO"; then :
   4783   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   4784 else
   4785   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   4786 fi
   4787 rm -f core conftest.err conftest.$ac_objext \
   4788     conftest$ac_exeext conftest.$ac_ext
   4789 fi
   4790 
   4791 
   4792 		CFLAGS="$xorg_testset_save_CFLAGS"
   4793 
   4794 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   4795 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4796 $as_echo "$supported" >&6; }
   4797 		if test "$supported" = "yes" ; then
   4798 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   4799 			found="yes"
   4800 		fi
   4801 	fi
   4802 
   4803 
   4804 
   4805 
   4806 
   4807 
   4808 
   4809 xorg_testset_save_CFLAGS="$CFLAGS"
   4810 
   4811 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   4812 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4813 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4814 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4815 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4816   $as_echo_n "(cached) " >&6
   4817 else
   4818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4819 /* end confdefs.h.  */
   4820 int i;
   4821 _ACEOF
   4822 if ac_fn_c_try_compile "$LINENO"; then :
   4823   xorg_cv_cc_flag_unknown_warning_option=yes
   4824 else
   4825   xorg_cv_cc_flag_unknown_warning_option=no
   4826 fi
   4827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4828 fi
   4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4830 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4831 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4832 	CFLAGS="$xorg_testset_save_CFLAGS"
   4833 fi
   4834 
   4835 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   4836 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4837 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4838 	fi
   4839 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4840 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4841 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4842 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4843   $as_echo_n "(cached) " >&6
   4844 else
   4845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4846 /* end confdefs.h.  */
   4847 int i;
   4848 _ACEOF
   4849 if ac_fn_c_try_compile "$LINENO"; then :
   4850   xorg_cv_cc_flag_unused_command_line_argument=yes
   4851 else
   4852   xorg_cv_cc_flag_unused_command_line_argument=no
   4853 fi
   4854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4855 fi
   4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4857 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4858 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4859 	CFLAGS="$xorg_testset_save_CFLAGS"
   4860 fi
   4861 
   4862 found="no"
   4863 
   4864 	if test $found = "no" ; then
   4865 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4866 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4867 		fi
   4868 
   4869 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4870 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4871 		fi
   4872 
   4873 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   4874 
   4875 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   4876 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   4877 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wmissing-prototypes`
   4878 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   4879   $as_echo_n "(cached) " >&6
   4880 else
   4881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4882 /* end confdefs.h.  */
   4883 int i;
   4884 int
   4885 main ()
   4886 {
   4887 
   4888   ;
   4889   return 0;
   4890 }
   4891 _ACEOF
   4892 if ac_fn_c_try_link "$LINENO"; then :
   4893   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   4894 else
   4895   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   4896 fi
   4897 rm -f core conftest.err conftest.$ac_objext \
   4898     conftest$ac_exeext conftest.$ac_ext
   4899 fi
   4900 
   4901 
   4902 		CFLAGS="$xorg_testset_save_CFLAGS"
   4903 
   4904 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   4905 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4906 $as_echo "$supported" >&6; }
   4907 		if test "$supported" = "yes" ; then
   4908 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   4909 			found="yes"
   4910 		fi
   4911 	fi
   4912 
   4913 
   4914 
   4915 
   4916 
   4917 
   4918 
   4919 xorg_testset_save_CFLAGS="$CFLAGS"
   4920 
   4921 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   4922 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4923 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4924 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4925 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4926   $as_echo_n "(cached) " >&6
   4927 else
   4928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4929 /* end confdefs.h.  */
   4930 int i;
   4931 _ACEOF
   4932 if ac_fn_c_try_compile "$LINENO"; then :
   4933   xorg_cv_cc_flag_unknown_warning_option=yes
   4934 else
   4935   xorg_cv_cc_flag_unknown_warning_option=no
   4936 fi
   4937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4938 fi
   4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4940 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4941 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4942 	CFLAGS="$xorg_testset_save_CFLAGS"
   4943 fi
   4944 
   4945 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   4946 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4947 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4948 	fi
   4949 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4950 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4951 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4952 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4953   $as_echo_n "(cached) " >&6
   4954 else
   4955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4956 /* end confdefs.h.  */
   4957 int i;
   4958 _ACEOF
   4959 if ac_fn_c_try_compile "$LINENO"; then :
   4960   xorg_cv_cc_flag_unused_command_line_argument=yes
   4961 else
   4962   xorg_cv_cc_flag_unused_command_line_argument=no
   4963 fi
   4964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4965 fi
   4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4967 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4968 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4969 	CFLAGS="$xorg_testset_save_CFLAGS"
   4970 fi
   4971 
   4972 found="no"
   4973 
   4974 	if test $found = "no" ; then
   4975 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4976 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4977 		fi
   4978 
   4979 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4980 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4981 		fi
   4982 
   4983 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4984 
   4985 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4986 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4987 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wmissing-declarations`
   4988 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   4989   $as_echo_n "(cached) " >&6
   4990 else
   4991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4992 /* end confdefs.h.  */
   4993 int i;
   4994 int
   4995 main ()
   4996 {
   4997 
   4998   ;
   4999   return 0;
   5000 }
   5001 _ACEOF
   5002 if ac_fn_c_try_link "$LINENO"; then :
   5003   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5004 else
   5005   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5006 fi
   5007 rm -f core conftest.err conftest.$ac_objext \
   5008     conftest$ac_exeext conftest.$ac_ext
   5009 fi
   5010 
   5011 
   5012 		CFLAGS="$xorg_testset_save_CFLAGS"
   5013 
   5014 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5015 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5016 $as_echo "$supported" >&6; }
   5017 		if test "$supported" = "yes" ; then
   5018 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5019 			found="yes"
   5020 		fi
   5021 	fi
   5022 
   5023 
   5024 
   5025 
   5026 
   5027 
   5028 
   5029 xorg_testset_save_CFLAGS="$CFLAGS"
   5030 
   5031 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5032 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5033 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5034 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5035 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5036   $as_echo_n "(cached) " >&6
   5037 else
   5038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5039 /* end confdefs.h.  */
   5040 int i;
   5041 _ACEOF
   5042 if ac_fn_c_try_compile "$LINENO"; then :
   5043   xorg_cv_cc_flag_unknown_warning_option=yes
   5044 else
   5045   xorg_cv_cc_flag_unknown_warning_option=no
   5046 fi
   5047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5048 fi
   5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5050 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5051 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5052 	CFLAGS="$xorg_testset_save_CFLAGS"
   5053 fi
   5054 
   5055 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5056 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5057 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5058 	fi
   5059 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5060 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5061 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5062 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5063   $as_echo_n "(cached) " >&6
   5064 else
   5065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5066 /* end confdefs.h.  */
   5067 int i;
   5068 _ACEOF
   5069 if ac_fn_c_try_compile "$LINENO"; then :
   5070   xorg_cv_cc_flag_unused_command_line_argument=yes
   5071 else
   5072   xorg_cv_cc_flag_unused_command_line_argument=no
   5073 fi
   5074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5075 fi
   5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5077 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5078 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5079 	CFLAGS="$xorg_testset_save_CFLAGS"
   5080 fi
   5081 
   5082 found="no"
   5083 
   5084 	if test $found = "no" ; then
   5085 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5086 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5087 		fi
   5088 
   5089 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5090 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5091 		fi
   5092 
   5093 		CFLAGS="$CFLAGS -Wnested-externs"
   5094 
   5095 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5096 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5097 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wnested-externs`
   5098 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5099   $as_echo_n "(cached) " >&6
   5100 else
   5101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5102 /* end confdefs.h.  */
   5103 int i;
   5104 int
   5105 main ()
   5106 {
   5107 
   5108   ;
   5109   return 0;
   5110 }
   5111 _ACEOF
   5112 if ac_fn_c_try_link "$LINENO"; then :
   5113   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5114 else
   5115   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5116 fi
   5117 rm -f core conftest.err conftest.$ac_objext \
   5118     conftest$ac_exeext conftest.$ac_ext
   5119 fi
   5120 
   5121 
   5122 		CFLAGS="$xorg_testset_save_CFLAGS"
   5123 
   5124 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5125 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5126 $as_echo "$supported" >&6; }
   5127 		if test "$supported" = "yes" ; then
   5128 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5129 			found="yes"
   5130 		fi
   5131 	fi
   5132 
   5133 
   5134 
   5135 
   5136 
   5137 
   5138 
   5139 xorg_testset_save_CFLAGS="$CFLAGS"
   5140 
   5141 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5142 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5143 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5144 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5145 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5146   $as_echo_n "(cached) " >&6
   5147 else
   5148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5149 /* end confdefs.h.  */
   5150 int i;
   5151 _ACEOF
   5152 if ac_fn_c_try_compile "$LINENO"; then :
   5153   xorg_cv_cc_flag_unknown_warning_option=yes
   5154 else
   5155   xorg_cv_cc_flag_unknown_warning_option=no
   5156 fi
   5157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5158 fi
   5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5160 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5161 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5162 	CFLAGS="$xorg_testset_save_CFLAGS"
   5163 fi
   5164 
   5165 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5166 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5167 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5168 	fi
   5169 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5170 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5171 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5172 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5173   $as_echo_n "(cached) " >&6
   5174 else
   5175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5176 /* end confdefs.h.  */
   5177 int i;
   5178 _ACEOF
   5179 if ac_fn_c_try_compile "$LINENO"; then :
   5180   xorg_cv_cc_flag_unused_command_line_argument=yes
   5181 else
   5182   xorg_cv_cc_flag_unused_command_line_argument=no
   5183 fi
   5184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5185 fi
   5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5187 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5188 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5189 	CFLAGS="$xorg_testset_save_CFLAGS"
   5190 fi
   5191 
   5192 found="no"
   5193 
   5194 	if test $found = "no" ; then
   5195 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5196 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5197 		fi
   5198 
   5199 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5200 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5201 		fi
   5202 
   5203 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5204 
   5205 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5206 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5207 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wbad-function-cast`
   5208 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5209   $as_echo_n "(cached) " >&6
   5210 else
   5211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5212 /* end confdefs.h.  */
   5213 int i;
   5214 int
   5215 main ()
   5216 {
   5217 
   5218   ;
   5219   return 0;
   5220 }
   5221 _ACEOF
   5222 if ac_fn_c_try_link "$LINENO"; then :
   5223   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5224 else
   5225   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5226 fi
   5227 rm -f core conftest.err conftest.$ac_objext \
   5228     conftest$ac_exeext conftest.$ac_ext
   5229 fi
   5230 
   5231 
   5232 		CFLAGS="$xorg_testset_save_CFLAGS"
   5233 
   5234 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5235 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5236 $as_echo "$supported" >&6; }
   5237 		if test "$supported" = "yes" ; then
   5238 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5239 			found="yes"
   5240 		fi
   5241 	fi
   5242 
   5243 
   5244 
   5245 
   5246 
   5247 
   5248 
   5249 xorg_testset_save_CFLAGS="$CFLAGS"
   5250 
   5251 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5252 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5253 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5254 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5255 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5256   $as_echo_n "(cached) " >&6
   5257 else
   5258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5259 /* end confdefs.h.  */
   5260 int i;
   5261 _ACEOF
   5262 if ac_fn_c_try_compile "$LINENO"; then :
   5263   xorg_cv_cc_flag_unknown_warning_option=yes
   5264 else
   5265   xorg_cv_cc_flag_unknown_warning_option=no
   5266 fi
   5267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5268 fi
   5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5270 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5271 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5272 	CFLAGS="$xorg_testset_save_CFLAGS"
   5273 fi
   5274 
   5275 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5276 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5277 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5278 	fi
   5279 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5280 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5281 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5282 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5283   $as_echo_n "(cached) " >&6
   5284 else
   5285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5286 /* end confdefs.h.  */
   5287 int i;
   5288 _ACEOF
   5289 if ac_fn_c_try_compile "$LINENO"; then :
   5290   xorg_cv_cc_flag_unused_command_line_argument=yes
   5291 else
   5292   xorg_cv_cc_flag_unused_command_line_argument=no
   5293 fi
   5294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5295 fi
   5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5297 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5298 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5299 	CFLAGS="$xorg_testset_save_CFLAGS"
   5300 fi
   5301 
   5302 found="no"
   5303 
   5304 	if test $found = "no" ; then
   5305 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5306 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5307 		fi
   5308 
   5309 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5310 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5311 		fi
   5312 
   5313 		CFLAGS="$CFLAGS -Wformat=2"
   5314 
   5315 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5316 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5317 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wformat=2`
   5318 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5319   $as_echo_n "(cached) " >&6
   5320 else
   5321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5322 /* end confdefs.h.  */
   5323 int i;
   5324 int
   5325 main ()
   5326 {
   5327 
   5328   ;
   5329   return 0;
   5330 }
   5331 _ACEOF
   5332 if ac_fn_c_try_link "$LINENO"; then :
   5333   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5334 else
   5335   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5336 fi
   5337 rm -f core conftest.err conftest.$ac_objext \
   5338     conftest$ac_exeext conftest.$ac_ext
   5339 fi
   5340 
   5341 
   5342 		CFLAGS="$xorg_testset_save_CFLAGS"
   5343 
   5344 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5345 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5346 $as_echo "$supported" >&6; }
   5347 		if test "$supported" = "yes" ; then
   5348 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5349 			found="yes"
   5350 		fi
   5351 	fi
   5352 
   5353 	if test $found = "no" ; then
   5354 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5355 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5356 		fi
   5357 
   5358 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5359 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5360 		fi
   5361 
   5362 		CFLAGS="$CFLAGS -Wformat"
   5363 
   5364 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5365 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5366 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wformat`
   5367 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5368   $as_echo_n "(cached) " >&6
   5369 else
   5370   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5371 /* end confdefs.h.  */
   5372 int i;
   5373 int
   5374 main ()
   5375 {
   5376 
   5377   ;
   5378   return 0;
   5379 }
   5380 _ACEOF
   5381 if ac_fn_c_try_link "$LINENO"; then :
   5382   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5383 else
   5384   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5385 fi
   5386 rm -f core conftest.err conftest.$ac_objext \
   5387     conftest$ac_exeext conftest.$ac_ext
   5388 fi
   5389 
   5390 
   5391 		CFLAGS="$xorg_testset_save_CFLAGS"
   5392 
   5393 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5394 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5395 $as_echo "$supported" >&6; }
   5396 		if test "$supported" = "yes" ; then
   5397 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5398 			found="yes"
   5399 		fi
   5400 	fi
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 xorg_testset_save_CFLAGS="$CFLAGS"
   5409 
   5410 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5411 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5412 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5413 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5414 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5415   $as_echo_n "(cached) " >&6
   5416 else
   5417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5418 /* end confdefs.h.  */
   5419 int i;
   5420 _ACEOF
   5421 if ac_fn_c_try_compile "$LINENO"; then :
   5422   xorg_cv_cc_flag_unknown_warning_option=yes
   5423 else
   5424   xorg_cv_cc_flag_unknown_warning_option=no
   5425 fi
   5426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5427 fi
   5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5429 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5430 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5431 	CFLAGS="$xorg_testset_save_CFLAGS"
   5432 fi
   5433 
   5434 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5435 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5436 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5437 	fi
   5438 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5439 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5440 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5441 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5442   $as_echo_n "(cached) " >&6
   5443 else
   5444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5445 /* end confdefs.h.  */
   5446 int i;
   5447 _ACEOF
   5448 if ac_fn_c_try_compile "$LINENO"; then :
   5449   xorg_cv_cc_flag_unused_command_line_argument=yes
   5450 else
   5451   xorg_cv_cc_flag_unused_command_line_argument=no
   5452 fi
   5453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5454 fi
   5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5456 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5457 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5458 	CFLAGS="$xorg_testset_save_CFLAGS"
   5459 fi
   5460 
   5461 found="no"
   5462 
   5463 	if test $found = "no" ; then
   5464 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5465 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5466 		fi
   5467 
   5468 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5469 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5470 		fi
   5471 
   5472 		CFLAGS="$CFLAGS -Wold-style-definition"
   5473 
   5474 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5475 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5476 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wold-style-definition`
   5477 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5478   $as_echo_n "(cached) " >&6
   5479 else
   5480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5481 /* end confdefs.h.  */
   5482 int i;
   5483 int
   5484 main ()
   5485 {
   5486 
   5487   ;
   5488   return 0;
   5489 }
   5490 _ACEOF
   5491 if ac_fn_c_try_link "$LINENO"; then :
   5492   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5493 else
   5494   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5495 fi
   5496 rm -f core conftest.err conftest.$ac_objext \
   5497     conftest$ac_exeext conftest.$ac_ext
   5498 fi
   5499 
   5500 
   5501 		CFLAGS="$xorg_testset_save_CFLAGS"
   5502 
   5503 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5504 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5505 $as_echo "$supported" >&6; }
   5506 		if test "$supported" = "yes" ; then
   5507 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5508 			found="yes"
   5509 		fi
   5510 	fi
   5511 
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 
   5518 xorg_testset_save_CFLAGS="$CFLAGS"
   5519 
   5520 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5521 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5522 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5523 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5524 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5525   $as_echo_n "(cached) " >&6
   5526 else
   5527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5528 /* end confdefs.h.  */
   5529 int i;
   5530 _ACEOF
   5531 if ac_fn_c_try_compile "$LINENO"; then :
   5532   xorg_cv_cc_flag_unknown_warning_option=yes
   5533 else
   5534   xorg_cv_cc_flag_unknown_warning_option=no
   5535 fi
   5536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5537 fi
   5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5539 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5540 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5541 	CFLAGS="$xorg_testset_save_CFLAGS"
   5542 fi
   5543 
   5544 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5545 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5546 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5547 	fi
   5548 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5549 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5550 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5551 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5552   $as_echo_n "(cached) " >&6
   5553 else
   5554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5555 /* end confdefs.h.  */
   5556 int i;
   5557 _ACEOF
   5558 if ac_fn_c_try_compile "$LINENO"; then :
   5559   xorg_cv_cc_flag_unused_command_line_argument=yes
   5560 else
   5561   xorg_cv_cc_flag_unused_command_line_argument=no
   5562 fi
   5563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5564 fi
   5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5566 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5567 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5568 	CFLAGS="$xorg_testset_save_CFLAGS"
   5569 fi
   5570 
   5571 found="no"
   5572 
   5573 	if test $found = "no" ; then
   5574 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5575 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5576 		fi
   5577 
   5578 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5579 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5580 		fi
   5581 
   5582 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5583 
   5584 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5585 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5586 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wdeclaration-after-statement`
   5587 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5588   $as_echo_n "(cached) " >&6
   5589 else
   5590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5591 /* end confdefs.h.  */
   5592 int i;
   5593 int
   5594 main ()
   5595 {
   5596 
   5597   ;
   5598   return 0;
   5599 }
   5600 _ACEOF
   5601 if ac_fn_c_try_link "$LINENO"; then :
   5602   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5603 else
   5604   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5605 fi
   5606 rm -f core conftest.err conftest.$ac_objext \
   5607     conftest$ac_exeext conftest.$ac_ext
   5608 fi
   5609 
   5610 
   5611 		CFLAGS="$xorg_testset_save_CFLAGS"
   5612 
   5613 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5614 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5615 $as_echo "$supported" >&6; }
   5616 		if test "$supported" = "yes" ; then
   5617 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5618 			found="yes"
   5619 		fi
   5620 	fi
   5621 
   5622 
   5623 
   5624 # This chunk adds additional warnings that could catch undesired effects.
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 xorg_testset_save_CFLAGS="$CFLAGS"
   5631 
   5632 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5633 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5634 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5635 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5636 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5637   $as_echo_n "(cached) " >&6
   5638 else
   5639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5640 /* end confdefs.h.  */
   5641 int i;
   5642 _ACEOF
   5643 if ac_fn_c_try_compile "$LINENO"; then :
   5644   xorg_cv_cc_flag_unknown_warning_option=yes
   5645 else
   5646   xorg_cv_cc_flag_unknown_warning_option=no
   5647 fi
   5648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5649 fi
   5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5651 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5652 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5653 	CFLAGS="$xorg_testset_save_CFLAGS"
   5654 fi
   5655 
   5656 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5657 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5658 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5659 	fi
   5660 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5661 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5662 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5663 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5664   $as_echo_n "(cached) " >&6
   5665 else
   5666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5667 /* end confdefs.h.  */
   5668 int i;
   5669 _ACEOF
   5670 if ac_fn_c_try_compile "$LINENO"; then :
   5671   xorg_cv_cc_flag_unused_command_line_argument=yes
   5672 else
   5673   xorg_cv_cc_flag_unused_command_line_argument=no
   5674 fi
   5675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5676 fi
   5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5678 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5679 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5680 	CFLAGS="$xorg_testset_save_CFLAGS"
   5681 fi
   5682 
   5683 found="no"
   5684 
   5685 	if test $found = "no" ; then
   5686 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5687 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5688 		fi
   5689 
   5690 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5691 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5692 		fi
   5693 
   5694 		CFLAGS="$CFLAGS -Wunused"
   5695 
   5696 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   5697 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   5698 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wunused`
   5699 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5700   $as_echo_n "(cached) " >&6
   5701 else
   5702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5703 /* end confdefs.h.  */
   5704 int i;
   5705 int
   5706 main ()
   5707 {
   5708 
   5709   ;
   5710   return 0;
   5711 }
   5712 _ACEOF
   5713 if ac_fn_c_try_link "$LINENO"; then :
   5714   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5715 else
   5716   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5717 fi
   5718 rm -f core conftest.err conftest.$ac_objext \
   5719     conftest$ac_exeext conftest.$ac_ext
   5720 fi
   5721 
   5722 
   5723 		CFLAGS="$xorg_testset_save_CFLAGS"
   5724 
   5725 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5726 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5727 $as_echo "$supported" >&6; }
   5728 		if test "$supported" = "yes" ; then
   5729 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   5730 			found="yes"
   5731 		fi
   5732 	fi
   5733 
   5734 
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 xorg_testset_save_CFLAGS="$CFLAGS"
   5741 
   5742 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5743 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5744 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5745 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5746 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5747   $as_echo_n "(cached) " >&6
   5748 else
   5749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5750 /* end confdefs.h.  */
   5751 int i;
   5752 _ACEOF
   5753 if ac_fn_c_try_compile "$LINENO"; then :
   5754   xorg_cv_cc_flag_unknown_warning_option=yes
   5755 else
   5756   xorg_cv_cc_flag_unknown_warning_option=no
   5757 fi
   5758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5759 fi
   5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5761 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5762 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5763 	CFLAGS="$xorg_testset_save_CFLAGS"
   5764 fi
   5765 
   5766 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5767 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5768 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5769 	fi
   5770 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5771 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5772 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5773 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5774   $as_echo_n "(cached) " >&6
   5775 else
   5776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5777 /* end confdefs.h.  */
   5778 int i;
   5779 _ACEOF
   5780 if ac_fn_c_try_compile "$LINENO"; then :
   5781   xorg_cv_cc_flag_unused_command_line_argument=yes
   5782 else
   5783   xorg_cv_cc_flag_unused_command_line_argument=no
   5784 fi
   5785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5786 fi
   5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5788 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5789 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5790 	CFLAGS="$xorg_testset_save_CFLAGS"
   5791 fi
   5792 
   5793 found="no"
   5794 
   5795 	if test $found = "no" ; then
   5796 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5797 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5798 		fi
   5799 
   5800 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5801 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5802 		fi
   5803 
   5804 		CFLAGS="$CFLAGS -Wuninitialized"
   5805 
   5806 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   5807 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   5808 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wuninitialized`
   5809 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5810   $as_echo_n "(cached) " >&6
   5811 else
   5812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5813 /* end confdefs.h.  */
   5814 int i;
   5815 int
   5816 main ()
   5817 {
   5818 
   5819   ;
   5820   return 0;
   5821 }
   5822 _ACEOF
   5823 if ac_fn_c_try_link "$LINENO"; then :
   5824   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5825 else
   5826   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5827 fi
   5828 rm -f core conftest.err conftest.$ac_objext \
   5829     conftest$ac_exeext conftest.$ac_ext
   5830 fi
   5831 
   5832 
   5833 		CFLAGS="$xorg_testset_save_CFLAGS"
   5834 
   5835 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5836 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5837 $as_echo "$supported" >&6; }
   5838 		if test "$supported" = "yes" ; then
   5839 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   5840 			found="yes"
   5841 		fi
   5842 	fi
   5843 
   5844 
   5845 
   5846 
   5847 
   5848 
   5849 
   5850 xorg_testset_save_CFLAGS="$CFLAGS"
   5851 
   5852 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5853 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5854 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5855 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5856 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5857   $as_echo_n "(cached) " >&6
   5858 else
   5859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5860 /* end confdefs.h.  */
   5861 int i;
   5862 _ACEOF
   5863 if ac_fn_c_try_compile "$LINENO"; then :
   5864   xorg_cv_cc_flag_unknown_warning_option=yes
   5865 else
   5866   xorg_cv_cc_flag_unknown_warning_option=no
   5867 fi
   5868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5869 fi
   5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5871 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5872 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5873 	CFLAGS="$xorg_testset_save_CFLAGS"
   5874 fi
   5875 
   5876 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5877 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5878 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5879 	fi
   5880 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5881 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5882 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5883 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5884   $as_echo_n "(cached) " >&6
   5885 else
   5886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5887 /* end confdefs.h.  */
   5888 int i;
   5889 _ACEOF
   5890 if ac_fn_c_try_compile "$LINENO"; then :
   5891   xorg_cv_cc_flag_unused_command_line_argument=yes
   5892 else
   5893   xorg_cv_cc_flag_unused_command_line_argument=no
   5894 fi
   5895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5896 fi
   5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5898 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5899 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5900 	CFLAGS="$xorg_testset_save_CFLAGS"
   5901 fi
   5902 
   5903 found="no"
   5904 
   5905 	if test $found = "no" ; then
   5906 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5907 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5908 		fi
   5909 
   5910 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5911 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5912 		fi
   5913 
   5914 		CFLAGS="$CFLAGS -Wshadow"
   5915 
   5916 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   5917 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   5918 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wshadow`
   5919 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5920   $as_echo_n "(cached) " >&6
   5921 else
   5922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5923 /* end confdefs.h.  */
   5924 int i;
   5925 int
   5926 main ()
   5927 {
   5928 
   5929   ;
   5930   return 0;
   5931 }
   5932 _ACEOF
   5933 if ac_fn_c_try_link "$LINENO"; then :
   5934   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5935 else
   5936   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5937 fi
   5938 rm -f core conftest.err conftest.$ac_objext \
   5939     conftest$ac_exeext conftest.$ac_ext
   5940 fi
   5941 
   5942 
   5943 		CFLAGS="$xorg_testset_save_CFLAGS"
   5944 
   5945 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5946 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5947 $as_echo "$supported" >&6; }
   5948 		if test "$supported" = "yes" ; then
   5949 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   5950 			found="yes"
   5951 		fi
   5952 	fi
   5953 
   5954 
   5955 
   5956 
   5957 
   5958 
   5959 
   5960 xorg_testset_save_CFLAGS="$CFLAGS"
   5961 
   5962 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5963 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5964 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5965 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5966 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5967   $as_echo_n "(cached) " >&6
   5968 else
   5969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5970 /* end confdefs.h.  */
   5971 int i;
   5972 _ACEOF
   5973 if ac_fn_c_try_compile "$LINENO"; then :
   5974   xorg_cv_cc_flag_unknown_warning_option=yes
   5975 else
   5976   xorg_cv_cc_flag_unknown_warning_option=no
   5977 fi
   5978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5979 fi
   5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5981 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5982 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5983 	CFLAGS="$xorg_testset_save_CFLAGS"
   5984 fi
   5985 
   5986 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5987 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5988 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5989 	fi
   5990 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5991 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5992 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5993 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5994   $as_echo_n "(cached) " >&6
   5995 else
   5996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5997 /* end confdefs.h.  */
   5998 int i;
   5999 _ACEOF
   6000 if ac_fn_c_try_compile "$LINENO"; then :
   6001   xorg_cv_cc_flag_unused_command_line_argument=yes
   6002 else
   6003   xorg_cv_cc_flag_unused_command_line_argument=no
   6004 fi
   6005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6006 fi
   6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6008 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6009 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6010 	CFLAGS="$xorg_testset_save_CFLAGS"
   6011 fi
   6012 
   6013 found="no"
   6014 
   6015 	if test $found = "no" ; then
   6016 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6017 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6018 		fi
   6019 
   6020 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6021 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6022 		fi
   6023 
   6024 		CFLAGS="$CFLAGS -Wcast-qual"
   6025 
   6026 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6027 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6028 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wcast-qual`
   6029 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6030   $as_echo_n "(cached) " >&6
   6031 else
   6032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6033 /* end confdefs.h.  */
   6034 int i;
   6035 int
   6036 main ()
   6037 {
   6038 
   6039   ;
   6040   return 0;
   6041 }
   6042 _ACEOF
   6043 if ac_fn_c_try_link "$LINENO"; then :
   6044   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6045 else
   6046   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6047 fi
   6048 rm -f core conftest.err conftest.$ac_objext \
   6049     conftest$ac_exeext conftest.$ac_ext
   6050 fi
   6051 
   6052 
   6053 		CFLAGS="$xorg_testset_save_CFLAGS"
   6054 
   6055 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6056 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6057 $as_echo "$supported" >&6; }
   6058 		if test "$supported" = "yes" ; then
   6059 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6060 			found="yes"
   6061 		fi
   6062 	fi
   6063 
   6064 
   6065 
   6066 
   6067 
   6068 
   6069 
   6070 xorg_testset_save_CFLAGS="$CFLAGS"
   6071 
   6072 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6073 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6074 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6075 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6076 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6077   $as_echo_n "(cached) " >&6
   6078 else
   6079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6080 /* end confdefs.h.  */
   6081 int i;
   6082 _ACEOF
   6083 if ac_fn_c_try_compile "$LINENO"; then :
   6084   xorg_cv_cc_flag_unknown_warning_option=yes
   6085 else
   6086   xorg_cv_cc_flag_unknown_warning_option=no
   6087 fi
   6088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6089 fi
   6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6091 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6092 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6093 	CFLAGS="$xorg_testset_save_CFLAGS"
   6094 fi
   6095 
   6096 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6097 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6098 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6099 	fi
   6100 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6101 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6102 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6103 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6104   $as_echo_n "(cached) " >&6
   6105 else
   6106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6107 /* end confdefs.h.  */
   6108 int i;
   6109 _ACEOF
   6110 if ac_fn_c_try_compile "$LINENO"; then :
   6111   xorg_cv_cc_flag_unused_command_line_argument=yes
   6112 else
   6113   xorg_cv_cc_flag_unused_command_line_argument=no
   6114 fi
   6115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6116 fi
   6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6118 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6119 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6120 	CFLAGS="$xorg_testset_save_CFLAGS"
   6121 fi
   6122 
   6123 found="no"
   6124 
   6125 	if test $found = "no" ; then
   6126 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6127 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6128 		fi
   6129 
   6130 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6131 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6132 		fi
   6133 
   6134 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6135 
   6136 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6137 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6138 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wmissing-noreturn`
   6139 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6140   $as_echo_n "(cached) " >&6
   6141 else
   6142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6143 /* end confdefs.h.  */
   6144 int i;
   6145 int
   6146 main ()
   6147 {
   6148 
   6149   ;
   6150   return 0;
   6151 }
   6152 _ACEOF
   6153 if ac_fn_c_try_link "$LINENO"; then :
   6154   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6155 else
   6156   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6157 fi
   6158 rm -f core conftest.err conftest.$ac_objext \
   6159     conftest$ac_exeext conftest.$ac_ext
   6160 fi
   6161 
   6162 
   6163 		CFLAGS="$xorg_testset_save_CFLAGS"
   6164 
   6165 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6166 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6167 $as_echo "$supported" >&6; }
   6168 		if test "$supported" = "yes" ; then
   6169 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6170 			found="yes"
   6171 		fi
   6172 	fi
   6173 
   6174 
   6175 
   6176 
   6177 
   6178 
   6179 
   6180 xorg_testset_save_CFLAGS="$CFLAGS"
   6181 
   6182 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6183 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6184 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6185 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6186 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6187   $as_echo_n "(cached) " >&6
   6188 else
   6189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6190 /* end confdefs.h.  */
   6191 int i;
   6192 _ACEOF
   6193 if ac_fn_c_try_compile "$LINENO"; then :
   6194   xorg_cv_cc_flag_unknown_warning_option=yes
   6195 else
   6196   xorg_cv_cc_flag_unknown_warning_option=no
   6197 fi
   6198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6199 fi
   6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6201 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6202 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6203 	CFLAGS="$xorg_testset_save_CFLAGS"
   6204 fi
   6205 
   6206 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6207 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6208 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6209 	fi
   6210 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6211 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6212 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6213 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6214   $as_echo_n "(cached) " >&6
   6215 else
   6216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6217 /* end confdefs.h.  */
   6218 int i;
   6219 _ACEOF
   6220 if ac_fn_c_try_compile "$LINENO"; then :
   6221   xorg_cv_cc_flag_unused_command_line_argument=yes
   6222 else
   6223   xorg_cv_cc_flag_unused_command_line_argument=no
   6224 fi
   6225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6226 fi
   6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6228 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6229 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6230 	CFLAGS="$xorg_testset_save_CFLAGS"
   6231 fi
   6232 
   6233 found="no"
   6234 
   6235 	if test $found = "no" ; then
   6236 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6237 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6238 		fi
   6239 
   6240 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6241 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6242 		fi
   6243 
   6244 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6245 
   6246 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6247 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6248 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wmissing-format-attribute`
   6249 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6250   $as_echo_n "(cached) " >&6
   6251 else
   6252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6253 /* end confdefs.h.  */
   6254 int i;
   6255 int
   6256 main ()
   6257 {
   6258 
   6259   ;
   6260   return 0;
   6261 }
   6262 _ACEOF
   6263 if ac_fn_c_try_link "$LINENO"; then :
   6264   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6265 else
   6266   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6267 fi
   6268 rm -f core conftest.err conftest.$ac_objext \
   6269     conftest$ac_exeext conftest.$ac_ext
   6270 fi
   6271 
   6272 
   6273 		CFLAGS="$xorg_testset_save_CFLAGS"
   6274 
   6275 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6276 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6277 $as_echo "$supported" >&6; }
   6278 		if test "$supported" = "yes" ; then
   6279 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6280 			found="yes"
   6281 		fi
   6282 	fi
   6283 
   6284 
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 xorg_testset_save_CFLAGS="$CFLAGS"
   6291 
   6292 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6293 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6294 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6295 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6296 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6297   $as_echo_n "(cached) " >&6
   6298 else
   6299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6300 /* end confdefs.h.  */
   6301 int i;
   6302 _ACEOF
   6303 if ac_fn_c_try_compile "$LINENO"; then :
   6304   xorg_cv_cc_flag_unknown_warning_option=yes
   6305 else
   6306   xorg_cv_cc_flag_unknown_warning_option=no
   6307 fi
   6308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6309 fi
   6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6311 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6312 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6313 	CFLAGS="$xorg_testset_save_CFLAGS"
   6314 fi
   6315 
   6316 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6317 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6318 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6319 	fi
   6320 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6321 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6322 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6323 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6324   $as_echo_n "(cached) " >&6
   6325 else
   6326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6327 /* end confdefs.h.  */
   6328 int i;
   6329 _ACEOF
   6330 if ac_fn_c_try_compile "$LINENO"; then :
   6331   xorg_cv_cc_flag_unused_command_line_argument=yes
   6332 else
   6333   xorg_cv_cc_flag_unused_command_line_argument=no
   6334 fi
   6335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6336 fi
   6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6338 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6339 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6340 	CFLAGS="$xorg_testset_save_CFLAGS"
   6341 fi
   6342 
   6343 found="no"
   6344 
   6345 	if test $found = "no" ; then
   6346 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6347 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6348 		fi
   6349 
   6350 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6351 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6352 		fi
   6353 
   6354 		CFLAGS="$CFLAGS -Wredundant-decls"
   6355 
   6356 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6357 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6358 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wredundant-decls`
   6359 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6360   $as_echo_n "(cached) " >&6
   6361 else
   6362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6363 /* end confdefs.h.  */
   6364 int i;
   6365 int
   6366 main ()
   6367 {
   6368 
   6369   ;
   6370   return 0;
   6371 }
   6372 _ACEOF
   6373 if ac_fn_c_try_link "$LINENO"; then :
   6374   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6375 else
   6376   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6377 fi
   6378 rm -f core conftest.err conftest.$ac_objext \
   6379     conftest$ac_exeext conftest.$ac_ext
   6380 fi
   6381 
   6382 
   6383 		CFLAGS="$xorg_testset_save_CFLAGS"
   6384 
   6385 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6386 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6387 $as_echo "$supported" >&6; }
   6388 		if test "$supported" = "yes" ; then
   6389 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6390 			found="yes"
   6391 		fi
   6392 	fi
   6393 
   6394 
   6395 
   6396 # These are currently disabled because they are noisy.  They will be enabled
   6397 # in the future once the codebase is sufficiently modernized to silence
   6398 # them.  For now, I don't want them to drown out the other warnings.
   6399 # XORG_TESTSET_CFLAG([BASE_CFLAGS], [-Wlogical-op])
   6400 # XORG_TESTSET_CFLAG([BASE_CFLAGS], [-Wparentheses])
   6401 # XORG_TESTSET_CFLAG([BASE_CFLAGS], [-Wcast-align])
   6402 
   6403 # Turn some warnings into errors, so we don't accidently get successful builds
   6404 # when there are problems that should be fixed.
   6405 
   6406 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6407 
   6408 
   6409 
   6410 
   6411 
   6412 xorg_testset_save_CFLAGS="$CFLAGS"
   6413 
   6414 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6415 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6416 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6417 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6418 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6419   $as_echo_n "(cached) " >&6
   6420 else
   6421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6422 /* end confdefs.h.  */
   6423 int i;
   6424 _ACEOF
   6425 if ac_fn_c_try_compile "$LINENO"; then :
   6426   xorg_cv_cc_flag_unknown_warning_option=yes
   6427 else
   6428   xorg_cv_cc_flag_unknown_warning_option=no
   6429 fi
   6430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6431 fi
   6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6433 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6434 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6435 	CFLAGS="$xorg_testset_save_CFLAGS"
   6436 fi
   6437 
   6438 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6439 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6440 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6441 	fi
   6442 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6443 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6444 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6445 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6446   $as_echo_n "(cached) " >&6
   6447 else
   6448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6449 /* end confdefs.h.  */
   6450 int i;
   6451 _ACEOF
   6452 if ac_fn_c_try_compile "$LINENO"; then :
   6453   xorg_cv_cc_flag_unused_command_line_argument=yes
   6454 else
   6455   xorg_cv_cc_flag_unused_command_line_argument=no
   6456 fi
   6457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6458 fi
   6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6460 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6461 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6462 	CFLAGS="$xorg_testset_save_CFLAGS"
   6463 fi
   6464 
   6465 found="no"
   6466 
   6467 	if test $found = "no" ; then
   6468 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6469 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6470 		fi
   6471 
   6472 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6473 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6474 		fi
   6475 
   6476 		CFLAGS="$CFLAGS -Werror=implicit"
   6477 
   6478 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6479 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6480 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror=implicit`
   6481 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6482   $as_echo_n "(cached) " >&6
   6483 else
   6484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6485 /* end confdefs.h.  */
   6486 int i;
   6487 int
   6488 main ()
   6489 {
   6490 
   6491   ;
   6492   return 0;
   6493 }
   6494 _ACEOF
   6495 if ac_fn_c_try_link "$LINENO"; then :
   6496   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6497 else
   6498   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6499 fi
   6500 rm -f core conftest.err conftest.$ac_objext \
   6501     conftest$ac_exeext conftest.$ac_ext
   6502 fi
   6503 
   6504 
   6505 		CFLAGS="$xorg_testset_save_CFLAGS"
   6506 
   6507 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6508 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6509 $as_echo "$supported" >&6; }
   6510 		if test "$supported" = "yes" ; then
   6511 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6512 			found="yes"
   6513 		fi
   6514 	fi
   6515 
   6516 	if test $found = "no" ; then
   6517 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6518 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6519 		fi
   6520 
   6521 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6522 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6523 		fi
   6524 
   6525 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6526 
   6527 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6528 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6529 		cacheid=`$as_echo_n xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED`
   6530 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6531   $as_echo_n "(cached) " >&6
   6532 else
   6533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6534 /* end confdefs.h.  */
   6535 int i;
   6536 int
   6537 main ()
   6538 {
   6539 
   6540   ;
   6541   return 0;
   6542 }
   6543 _ACEOF
   6544 if ac_fn_c_try_link "$LINENO"; then :
   6545   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6546 else
   6547   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6548 fi
   6549 rm -f core conftest.err conftest.$ac_objext \
   6550     conftest$ac_exeext conftest.$ac_ext
   6551 fi
   6552 
   6553 
   6554 		CFLAGS="$xorg_testset_save_CFLAGS"
   6555 
   6556 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6557 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6558 $as_echo "$supported" >&6; }
   6559 		if test "$supported" = "yes" ; then
   6560 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6561 			found="yes"
   6562 		fi
   6563 	fi
   6564 
   6565 
   6566 
   6567 
   6568 
   6569 
   6570 
   6571 xorg_testset_save_CFLAGS="$CFLAGS"
   6572 
   6573 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6574 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6575 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6576 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6577 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6578   $as_echo_n "(cached) " >&6
   6579 else
   6580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6581 /* end confdefs.h.  */
   6582 int i;
   6583 _ACEOF
   6584 if ac_fn_c_try_compile "$LINENO"; then :
   6585   xorg_cv_cc_flag_unknown_warning_option=yes
   6586 else
   6587   xorg_cv_cc_flag_unknown_warning_option=no
   6588 fi
   6589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6590 fi
   6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6592 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6593 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6594 	CFLAGS="$xorg_testset_save_CFLAGS"
   6595 fi
   6596 
   6597 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6598 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6599 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6600 	fi
   6601 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6602 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6603 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6604 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6605   $as_echo_n "(cached) " >&6
   6606 else
   6607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6608 /* end confdefs.h.  */
   6609 int i;
   6610 _ACEOF
   6611 if ac_fn_c_try_compile "$LINENO"; then :
   6612   xorg_cv_cc_flag_unused_command_line_argument=yes
   6613 else
   6614   xorg_cv_cc_flag_unused_command_line_argument=no
   6615 fi
   6616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6617 fi
   6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6619 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6620 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6621 	CFLAGS="$xorg_testset_save_CFLAGS"
   6622 fi
   6623 
   6624 found="no"
   6625 
   6626 	if test $found = "no" ; then
   6627 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6628 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6629 		fi
   6630 
   6631 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6632 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6633 		fi
   6634 
   6635 		CFLAGS="$CFLAGS -Werror=nonnull"
   6636 
   6637 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   6638 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   6639 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror=nonnull`
   6640 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6641   $as_echo_n "(cached) " >&6
   6642 else
   6643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6644 /* end confdefs.h.  */
   6645 int i;
   6646 int
   6647 main ()
   6648 {
   6649 
   6650   ;
   6651   return 0;
   6652 }
   6653 _ACEOF
   6654 if ac_fn_c_try_link "$LINENO"; then :
   6655   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6656 else
   6657   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6658 fi
   6659 rm -f core conftest.err conftest.$ac_objext \
   6660     conftest$ac_exeext conftest.$ac_ext
   6661 fi
   6662 
   6663 
   6664 		CFLAGS="$xorg_testset_save_CFLAGS"
   6665 
   6666 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6667 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6668 $as_echo "$supported" >&6; }
   6669 		if test "$supported" = "yes" ; then
   6670 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   6671 			found="yes"
   6672 		fi
   6673 	fi
   6674 
   6675 
   6676 
   6677 
   6678 
   6679 
   6680 
   6681 xorg_testset_save_CFLAGS="$CFLAGS"
   6682 
   6683 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6684 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6685 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6686 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6687 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6688   $as_echo_n "(cached) " >&6
   6689 else
   6690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6691 /* end confdefs.h.  */
   6692 int i;
   6693 _ACEOF
   6694 if ac_fn_c_try_compile "$LINENO"; then :
   6695   xorg_cv_cc_flag_unknown_warning_option=yes
   6696 else
   6697   xorg_cv_cc_flag_unknown_warning_option=no
   6698 fi
   6699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6700 fi
   6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6702 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6703 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6704 	CFLAGS="$xorg_testset_save_CFLAGS"
   6705 fi
   6706 
   6707 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6708 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6709 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6710 	fi
   6711 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6712 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6713 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6714 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6715   $as_echo_n "(cached) " >&6
   6716 else
   6717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6718 /* end confdefs.h.  */
   6719 int i;
   6720 _ACEOF
   6721 if ac_fn_c_try_compile "$LINENO"; then :
   6722   xorg_cv_cc_flag_unused_command_line_argument=yes
   6723 else
   6724   xorg_cv_cc_flag_unused_command_line_argument=no
   6725 fi
   6726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6727 fi
   6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6729 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6730 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6731 	CFLAGS="$xorg_testset_save_CFLAGS"
   6732 fi
   6733 
   6734 found="no"
   6735 
   6736 	if test $found = "no" ; then
   6737 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6738 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6739 		fi
   6740 
   6741 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6742 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6743 		fi
   6744 
   6745 		CFLAGS="$CFLAGS -Werror=init-self"
   6746 
   6747 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   6748 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   6749 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror=init-self`
   6750 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6751   $as_echo_n "(cached) " >&6
   6752 else
   6753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6754 /* end confdefs.h.  */
   6755 int i;
   6756 int
   6757 main ()
   6758 {
   6759 
   6760   ;
   6761   return 0;
   6762 }
   6763 _ACEOF
   6764 if ac_fn_c_try_link "$LINENO"; then :
   6765   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6766 else
   6767   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6768 fi
   6769 rm -f core conftest.err conftest.$ac_objext \
   6770     conftest$ac_exeext conftest.$ac_ext
   6771 fi
   6772 
   6773 
   6774 		CFLAGS="$xorg_testset_save_CFLAGS"
   6775 
   6776 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6777 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6778 $as_echo "$supported" >&6; }
   6779 		if test "$supported" = "yes" ; then
   6780 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   6781 			found="yes"
   6782 		fi
   6783 	fi
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 xorg_testset_save_CFLAGS="$CFLAGS"
   6792 
   6793 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6794 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6795 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6796 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6797 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6798   $as_echo_n "(cached) " >&6
   6799 else
   6800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6801 /* end confdefs.h.  */
   6802 int i;
   6803 _ACEOF
   6804 if ac_fn_c_try_compile "$LINENO"; then :
   6805   xorg_cv_cc_flag_unknown_warning_option=yes
   6806 else
   6807   xorg_cv_cc_flag_unknown_warning_option=no
   6808 fi
   6809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6810 fi
   6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6812 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6813 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6814 	CFLAGS="$xorg_testset_save_CFLAGS"
   6815 fi
   6816 
   6817 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6818 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6819 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6820 	fi
   6821 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6822 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6823 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6824 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6825   $as_echo_n "(cached) " >&6
   6826 else
   6827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6828 /* end confdefs.h.  */
   6829 int i;
   6830 _ACEOF
   6831 if ac_fn_c_try_compile "$LINENO"; then :
   6832   xorg_cv_cc_flag_unused_command_line_argument=yes
   6833 else
   6834   xorg_cv_cc_flag_unused_command_line_argument=no
   6835 fi
   6836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6837 fi
   6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6839 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6840 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6841 	CFLAGS="$xorg_testset_save_CFLAGS"
   6842 fi
   6843 
   6844 found="no"
   6845 
   6846 	if test $found = "no" ; then
   6847 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6848 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6849 		fi
   6850 
   6851 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6852 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6853 		fi
   6854 
   6855 		CFLAGS="$CFLAGS -Werror=main"
   6856 
   6857 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   6858 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   6859 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror=main`
   6860 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6861   $as_echo_n "(cached) " >&6
   6862 else
   6863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6864 /* end confdefs.h.  */
   6865 int i;
   6866 int
   6867 main ()
   6868 {
   6869 
   6870   ;
   6871   return 0;
   6872 }
   6873 _ACEOF
   6874 if ac_fn_c_try_link "$LINENO"; then :
   6875   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6876 else
   6877   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6878 fi
   6879 rm -f core conftest.err conftest.$ac_objext \
   6880     conftest$ac_exeext conftest.$ac_ext
   6881 fi
   6882 
   6883 
   6884 		CFLAGS="$xorg_testset_save_CFLAGS"
   6885 
   6886 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6887 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6888 $as_echo "$supported" >&6; }
   6889 		if test "$supported" = "yes" ; then
   6890 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   6891 			found="yes"
   6892 		fi
   6893 	fi
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 xorg_testset_save_CFLAGS="$CFLAGS"
   6902 
   6903 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6904 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6905 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6906 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6907 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6908   $as_echo_n "(cached) " >&6
   6909 else
   6910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6911 /* end confdefs.h.  */
   6912 int i;
   6913 _ACEOF
   6914 if ac_fn_c_try_compile "$LINENO"; then :
   6915   xorg_cv_cc_flag_unknown_warning_option=yes
   6916 else
   6917   xorg_cv_cc_flag_unknown_warning_option=no
   6918 fi
   6919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6920 fi
   6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6922 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6923 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6924 	CFLAGS="$xorg_testset_save_CFLAGS"
   6925 fi
   6926 
   6927 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6928 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6929 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6930 	fi
   6931 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6932 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6933 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6934 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6935   $as_echo_n "(cached) " >&6
   6936 else
   6937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6938 /* end confdefs.h.  */
   6939 int i;
   6940 _ACEOF
   6941 if ac_fn_c_try_compile "$LINENO"; then :
   6942   xorg_cv_cc_flag_unused_command_line_argument=yes
   6943 else
   6944   xorg_cv_cc_flag_unused_command_line_argument=no
   6945 fi
   6946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6947 fi
   6948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6949 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6950 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6951 	CFLAGS="$xorg_testset_save_CFLAGS"
   6952 fi
   6953 
   6954 found="no"
   6955 
   6956 	if test $found = "no" ; then
   6957 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6958 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6959 		fi
   6960 
   6961 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6962 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6963 		fi
   6964 
   6965 		CFLAGS="$CFLAGS -Werror=missing-braces"
   6966 
   6967 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   6968 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   6969 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror=missing-braces`
   6970 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6971   $as_echo_n "(cached) " >&6
   6972 else
   6973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6974 /* end confdefs.h.  */
   6975 int i;
   6976 int
   6977 main ()
   6978 {
   6979 
   6980   ;
   6981   return 0;
   6982 }
   6983 _ACEOF
   6984 if ac_fn_c_try_link "$LINENO"; then :
   6985   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6986 else
   6987   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6988 fi
   6989 rm -f core conftest.err conftest.$ac_objext \
   6990     conftest$ac_exeext conftest.$ac_ext
   6991 fi
   6992 
   6993 
   6994 		CFLAGS="$xorg_testset_save_CFLAGS"
   6995 
   6996 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6997 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6998 $as_echo "$supported" >&6; }
   6999 		if test "$supported" = "yes" ; then
   7000 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7001 			found="yes"
   7002 		fi
   7003 	fi
   7004 
   7005 
   7006 
   7007 
   7008 
   7009 
   7010 
   7011 xorg_testset_save_CFLAGS="$CFLAGS"
   7012 
   7013 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7014 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7015 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7016 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7017 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7018   $as_echo_n "(cached) " >&6
   7019 else
   7020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7021 /* end confdefs.h.  */
   7022 int i;
   7023 _ACEOF
   7024 if ac_fn_c_try_compile "$LINENO"; then :
   7025   xorg_cv_cc_flag_unknown_warning_option=yes
   7026 else
   7027   xorg_cv_cc_flag_unknown_warning_option=no
   7028 fi
   7029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7030 fi
   7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7032 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7033 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7034 	CFLAGS="$xorg_testset_save_CFLAGS"
   7035 fi
   7036 
   7037 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7038 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7039 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7040 	fi
   7041 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7042 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7043 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7044 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7045   $as_echo_n "(cached) " >&6
   7046 else
   7047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7048 /* end confdefs.h.  */
   7049 int i;
   7050 _ACEOF
   7051 if ac_fn_c_try_compile "$LINENO"; then :
   7052   xorg_cv_cc_flag_unused_command_line_argument=yes
   7053 else
   7054   xorg_cv_cc_flag_unused_command_line_argument=no
   7055 fi
   7056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7057 fi
   7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7059 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7060 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7061 	CFLAGS="$xorg_testset_save_CFLAGS"
   7062 fi
   7063 
   7064 found="no"
   7065 
   7066 	if test $found = "no" ; then
   7067 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7068 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7069 		fi
   7070 
   7071 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7072 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7073 		fi
   7074 
   7075 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7076 
   7077 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7078 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7079 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror=sequence-point`
   7080 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7081   $as_echo_n "(cached) " >&6
   7082 else
   7083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7084 /* end confdefs.h.  */
   7085 int i;
   7086 int
   7087 main ()
   7088 {
   7089 
   7090   ;
   7091   return 0;
   7092 }
   7093 _ACEOF
   7094 if ac_fn_c_try_link "$LINENO"; then :
   7095   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7096 else
   7097   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7098 fi
   7099 rm -f core conftest.err conftest.$ac_objext \
   7100     conftest$ac_exeext conftest.$ac_ext
   7101 fi
   7102 
   7103 
   7104 		CFLAGS="$xorg_testset_save_CFLAGS"
   7105 
   7106 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7107 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7108 $as_echo "$supported" >&6; }
   7109 		if test "$supported" = "yes" ; then
   7110 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7111 			found="yes"
   7112 		fi
   7113 	fi
   7114 
   7115 
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 xorg_testset_save_CFLAGS="$CFLAGS"
   7122 
   7123 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7124 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7125 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7126 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7127 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7128   $as_echo_n "(cached) " >&6
   7129 else
   7130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7131 /* end confdefs.h.  */
   7132 int i;
   7133 _ACEOF
   7134 if ac_fn_c_try_compile "$LINENO"; then :
   7135   xorg_cv_cc_flag_unknown_warning_option=yes
   7136 else
   7137   xorg_cv_cc_flag_unknown_warning_option=no
   7138 fi
   7139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7140 fi
   7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7142 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7143 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7144 	CFLAGS="$xorg_testset_save_CFLAGS"
   7145 fi
   7146 
   7147 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7148 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7149 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7150 	fi
   7151 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7152 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7153 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7154 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7155   $as_echo_n "(cached) " >&6
   7156 else
   7157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7158 /* end confdefs.h.  */
   7159 int i;
   7160 _ACEOF
   7161 if ac_fn_c_try_compile "$LINENO"; then :
   7162   xorg_cv_cc_flag_unused_command_line_argument=yes
   7163 else
   7164   xorg_cv_cc_flag_unused_command_line_argument=no
   7165 fi
   7166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7167 fi
   7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7169 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7170 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7171 	CFLAGS="$xorg_testset_save_CFLAGS"
   7172 fi
   7173 
   7174 found="no"
   7175 
   7176 	if test $found = "no" ; then
   7177 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7178 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7179 		fi
   7180 
   7181 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7182 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7183 		fi
   7184 
   7185 		CFLAGS="$CFLAGS -Werror=return-type"
   7186 
   7187 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7188 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7189 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror=return-type`
   7190 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7191   $as_echo_n "(cached) " >&6
   7192 else
   7193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7194 /* end confdefs.h.  */
   7195 int i;
   7196 int
   7197 main ()
   7198 {
   7199 
   7200   ;
   7201   return 0;
   7202 }
   7203 _ACEOF
   7204 if ac_fn_c_try_link "$LINENO"; then :
   7205   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7206 else
   7207   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7208 fi
   7209 rm -f core conftest.err conftest.$ac_objext \
   7210     conftest$ac_exeext conftest.$ac_ext
   7211 fi
   7212 
   7213 
   7214 		CFLAGS="$xorg_testset_save_CFLAGS"
   7215 
   7216 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7217 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7218 $as_echo "$supported" >&6; }
   7219 		if test "$supported" = "yes" ; then
   7220 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7221 			found="yes"
   7222 		fi
   7223 	fi
   7224 
   7225 	if test $found = "no" ; then
   7226 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7227 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7228 		fi
   7229 
   7230 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7231 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7232 		fi
   7233 
   7234 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7235 
   7236 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7237 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7238 		cacheid=`$as_echo_n xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT`
   7239 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7240   $as_echo_n "(cached) " >&6
   7241 else
   7242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7243 /* end confdefs.h.  */
   7244 int i;
   7245 int
   7246 main ()
   7247 {
   7248 
   7249   ;
   7250   return 0;
   7251 }
   7252 _ACEOF
   7253 if ac_fn_c_try_link "$LINENO"; then :
   7254   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7255 else
   7256   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7257 fi
   7258 rm -f core conftest.err conftest.$ac_objext \
   7259     conftest$ac_exeext conftest.$ac_ext
   7260 fi
   7261 
   7262 
   7263 		CFLAGS="$xorg_testset_save_CFLAGS"
   7264 
   7265 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7266 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7267 $as_echo "$supported" >&6; }
   7268 		if test "$supported" = "yes" ; then
   7269 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7270 			found="yes"
   7271 		fi
   7272 	fi
   7273 
   7274 
   7275 
   7276 
   7277 
   7278 
   7279 
   7280 xorg_testset_save_CFLAGS="$CFLAGS"
   7281 
   7282 if test "x$xorg_testset_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_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_unused_command_line_argument" = "x" ; then
   7307 	if test "x$xorg_testset_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_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_unknown_warning_option" = "xyes" ; then
   7337 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7338 		fi
   7339 
   7340 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7341 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7342 		fi
   7343 
   7344 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7345 
   7346 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7347 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7348 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror=trigraphs`
   7349 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} 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 `$as_echo "$cacheid" | $as_tr_sh`=yes
   7365 else
   7366   eval `$as_echo "$cacheid" | $as_tr_sh`=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=$`$as_echo "$cacheid" | $as_tr_sh`
   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=trigraphs"
   7380 			found="yes"
   7381 		fi
   7382 	fi
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 xorg_testset_save_CFLAGS="$CFLAGS"
   7391 
   7392 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7393 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7394 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7395 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7396 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7397   $as_echo_n "(cached) " >&6
   7398 else
   7399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7400 /* end confdefs.h.  */
   7401 int i;
   7402 _ACEOF
   7403 if ac_fn_c_try_compile "$LINENO"; then :
   7404   xorg_cv_cc_flag_unknown_warning_option=yes
   7405 else
   7406   xorg_cv_cc_flag_unknown_warning_option=no
   7407 fi
   7408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7409 fi
   7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7411 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7412 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7413 	CFLAGS="$xorg_testset_save_CFLAGS"
   7414 fi
   7415 
   7416 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7417 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7418 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7419 	fi
   7420 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7421 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7422 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7423 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7424   $as_echo_n "(cached) " >&6
   7425 else
   7426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7427 /* end confdefs.h.  */
   7428 int i;
   7429 _ACEOF
   7430 if ac_fn_c_try_compile "$LINENO"; then :
   7431   xorg_cv_cc_flag_unused_command_line_argument=yes
   7432 else
   7433   xorg_cv_cc_flag_unused_command_line_argument=no
   7434 fi
   7435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7436 fi
   7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7438 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7439 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7440 	CFLAGS="$xorg_testset_save_CFLAGS"
   7441 fi
   7442 
   7443 found="no"
   7444 
   7445 	if test $found = "no" ; then
   7446 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7447 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7448 		fi
   7449 
   7450 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7451 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7452 		fi
   7453 
   7454 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7455 
   7456 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7457 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7458 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror=array-bounds`
   7459 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7460   $as_echo_n "(cached) " >&6
   7461 else
   7462   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7463 /* end confdefs.h.  */
   7464 int i;
   7465 int
   7466 main ()
   7467 {
   7468 
   7469   ;
   7470   return 0;
   7471 }
   7472 _ACEOF
   7473 if ac_fn_c_try_link "$LINENO"; then :
   7474   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7475 else
   7476   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7477 fi
   7478 rm -f core conftest.err conftest.$ac_objext \
   7479     conftest$ac_exeext conftest.$ac_ext
   7480 fi
   7481 
   7482 
   7483 		CFLAGS="$xorg_testset_save_CFLAGS"
   7484 
   7485 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7486 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7487 $as_echo "$supported" >&6; }
   7488 		if test "$supported" = "yes" ; then
   7489 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7490 			found="yes"
   7491 		fi
   7492 	fi
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 xorg_testset_save_CFLAGS="$CFLAGS"
   7501 
   7502 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7503 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7504 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7505 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7506 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7507   $as_echo_n "(cached) " >&6
   7508 else
   7509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7510 /* end confdefs.h.  */
   7511 int i;
   7512 _ACEOF
   7513 if ac_fn_c_try_compile "$LINENO"; then :
   7514   xorg_cv_cc_flag_unknown_warning_option=yes
   7515 else
   7516   xorg_cv_cc_flag_unknown_warning_option=no
   7517 fi
   7518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7519 fi
   7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7521 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7522 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7523 	CFLAGS="$xorg_testset_save_CFLAGS"
   7524 fi
   7525 
   7526 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7527 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7528 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7529 	fi
   7530 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7531 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7532 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7533 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7534   $as_echo_n "(cached) " >&6
   7535 else
   7536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7537 /* end confdefs.h.  */
   7538 int i;
   7539 _ACEOF
   7540 if ac_fn_c_try_compile "$LINENO"; then :
   7541   xorg_cv_cc_flag_unused_command_line_argument=yes
   7542 else
   7543   xorg_cv_cc_flag_unused_command_line_argument=no
   7544 fi
   7545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7546 fi
   7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7548 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7549 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7550 	CFLAGS="$xorg_testset_save_CFLAGS"
   7551 fi
   7552 
   7553 found="no"
   7554 
   7555 	if test $found = "no" ; then
   7556 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7557 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7558 		fi
   7559 
   7560 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7561 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7562 		fi
   7563 
   7564 		CFLAGS="$CFLAGS -Werror=write-strings"
   7565 
   7566 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   7567 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   7568 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror=write-strings`
   7569 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7570   $as_echo_n "(cached) " >&6
   7571 else
   7572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7573 /* end confdefs.h.  */
   7574 int i;
   7575 int
   7576 main ()
   7577 {
   7578 
   7579   ;
   7580   return 0;
   7581 }
   7582 _ACEOF
   7583 if ac_fn_c_try_link "$LINENO"; then :
   7584   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7585 else
   7586   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7587 fi
   7588 rm -f core conftest.err conftest.$ac_objext \
   7589     conftest$ac_exeext conftest.$ac_ext
   7590 fi
   7591 
   7592 
   7593 		CFLAGS="$xorg_testset_save_CFLAGS"
   7594 
   7595 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7596 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7597 $as_echo "$supported" >&6; }
   7598 		if test "$supported" = "yes" ; then
   7599 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   7600 			found="yes"
   7601 		fi
   7602 	fi
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 
   7610 xorg_testset_save_CFLAGS="$CFLAGS"
   7611 
   7612 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7613 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7614 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7615 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7616 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7617   $as_echo_n "(cached) " >&6
   7618 else
   7619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7620 /* end confdefs.h.  */
   7621 int i;
   7622 _ACEOF
   7623 if ac_fn_c_try_compile "$LINENO"; then :
   7624   xorg_cv_cc_flag_unknown_warning_option=yes
   7625 else
   7626   xorg_cv_cc_flag_unknown_warning_option=no
   7627 fi
   7628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7629 fi
   7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7631 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7632 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7633 	CFLAGS="$xorg_testset_save_CFLAGS"
   7634 fi
   7635 
   7636 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7637 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7638 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7639 	fi
   7640 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7641 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7642 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7643 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7644   $as_echo_n "(cached) " >&6
   7645 else
   7646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7647 /* end confdefs.h.  */
   7648 int i;
   7649 _ACEOF
   7650 if ac_fn_c_try_compile "$LINENO"; then :
   7651   xorg_cv_cc_flag_unused_command_line_argument=yes
   7652 else
   7653   xorg_cv_cc_flag_unused_command_line_argument=no
   7654 fi
   7655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7656 fi
   7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7658 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7659 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7660 	CFLAGS="$xorg_testset_save_CFLAGS"
   7661 fi
   7662 
   7663 found="no"
   7664 
   7665 	if test $found = "no" ; then
   7666 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7667 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7668 		fi
   7669 
   7670 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7671 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7672 		fi
   7673 
   7674 		CFLAGS="$CFLAGS -Werror=address"
   7675 
   7676 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   7677 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   7678 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror=address`
   7679 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7680   $as_echo_n "(cached) " >&6
   7681 else
   7682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7683 /* end confdefs.h.  */
   7684 int i;
   7685 int
   7686 main ()
   7687 {
   7688 
   7689   ;
   7690   return 0;
   7691 }
   7692 _ACEOF
   7693 if ac_fn_c_try_link "$LINENO"; then :
   7694   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7695 else
   7696   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7697 fi
   7698 rm -f core conftest.err conftest.$ac_objext \
   7699     conftest$ac_exeext conftest.$ac_ext
   7700 fi
   7701 
   7702 
   7703 		CFLAGS="$xorg_testset_save_CFLAGS"
   7704 
   7705 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7706 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7707 $as_echo "$supported" >&6; }
   7708 		if test "$supported" = "yes" ; then
   7709 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   7710 			found="yes"
   7711 		fi
   7712 	fi
   7713 
   7714 
   7715 
   7716 
   7717 
   7718 
   7719 
   7720 xorg_testset_save_CFLAGS="$CFLAGS"
   7721 
   7722 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7723 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7724 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7725 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7726 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7727   $as_echo_n "(cached) " >&6
   7728 else
   7729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7730 /* end confdefs.h.  */
   7731 int i;
   7732 _ACEOF
   7733 if ac_fn_c_try_compile "$LINENO"; then :
   7734   xorg_cv_cc_flag_unknown_warning_option=yes
   7735 else
   7736   xorg_cv_cc_flag_unknown_warning_option=no
   7737 fi
   7738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7739 fi
   7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7741 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7742 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7743 	CFLAGS="$xorg_testset_save_CFLAGS"
   7744 fi
   7745 
   7746 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7747 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7748 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7749 	fi
   7750 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7751 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7752 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7753 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7754   $as_echo_n "(cached) " >&6
   7755 else
   7756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7757 /* end confdefs.h.  */
   7758 int i;
   7759 _ACEOF
   7760 if ac_fn_c_try_compile "$LINENO"; then :
   7761   xorg_cv_cc_flag_unused_command_line_argument=yes
   7762 else
   7763   xorg_cv_cc_flag_unused_command_line_argument=no
   7764 fi
   7765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7766 fi
   7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7768 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7769 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7770 	CFLAGS="$xorg_testset_save_CFLAGS"
   7771 fi
   7772 
   7773 found="no"
   7774 
   7775 	if test $found = "no" ; then
   7776 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7777 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7778 		fi
   7779 
   7780 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7781 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7782 		fi
   7783 
   7784 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   7785 
   7786 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   7787 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   7788 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror=int-to-pointer-cast`
   7789 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7790   $as_echo_n "(cached) " >&6
   7791 else
   7792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7793 /* end confdefs.h.  */
   7794 int i;
   7795 int
   7796 main ()
   7797 {
   7798 
   7799   ;
   7800   return 0;
   7801 }
   7802 _ACEOF
   7803 if ac_fn_c_try_link "$LINENO"; then :
   7804   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7805 else
   7806   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7807 fi
   7808 rm -f core conftest.err conftest.$ac_objext \
   7809     conftest$ac_exeext conftest.$ac_ext
   7810 fi
   7811 
   7812 
   7813 		CFLAGS="$xorg_testset_save_CFLAGS"
   7814 
   7815 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7816 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7817 $as_echo "$supported" >&6; }
   7818 		if test "$supported" = "yes" ; then
   7819 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   7820 			found="yes"
   7821 		fi
   7822 	fi
   7823 
   7824 	if test $found = "no" ; then
   7825 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7826 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7827 		fi
   7828 
   7829 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7830 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7831 		fi
   7832 
   7833 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   7834 
   7835 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   7836 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   7837 		cacheid=`$as_echo_n xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION`
   7838 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7839   $as_echo_n "(cached) " >&6
   7840 else
   7841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7842 /* end confdefs.h.  */
   7843 int i;
   7844 int
   7845 main ()
   7846 {
   7847 
   7848   ;
   7849   return 0;
   7850 }
   7851 _ACEOF
   7852 if ac_fn_c_try_link "$LINENO"; then :
   7853   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7854 else
   7855   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7856 fi
   7857 rm -f core conftest.err conftest.$ac_objext \
   7858     conftest$ac_exeext conftest.$ac_ext
   7859 fi
   7860 
   7861 
   7862 		CFLAGS="$xorg_testset_save_CFLAGS"
   7863 
   7864 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7865 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7866 $as_echo "$supported" >&6; }
   7867 		if test "$supported" = "yes" ; then
   7868 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   7869 			found="yes"
   7870 		fi
   7871 	fi
   7872 
   7873 
   7874 
   7875 
   7876 
   7877 
   7878 
   7879 xorg_testset_save_CFLAGS="$CFLAGS"
   7880 
   7881 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7882 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7883 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7884 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7885 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7886   $as_echo_n "(cached) " >&6
   7887 else
   7888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7889 /* end confdefs.h.  */
   7890 int i;
   7891 _ACEOF
   7892 if ac_fn_c_try_compile "$LINENO"; then :
   7893   xorg_cv_cc_flag_unknown_warning_option=yes
   7894 else
   7895   xorg_cv_cc_flag_unknown_warning_option=no
   7896 fi
   7897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7898 fi
   7899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7900 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7901 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7902 	CFLAGS="$xorg_testset_save_CFLAGS"
   7903 fi
   7904 
   7905 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7906 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7907 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7908 	fi
   7909 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7910 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7911 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7912 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7913   $as_echo_n "(cached) " >&6
   7914 else
   7915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7916 /* end confdefs.h.  */
   7917 int i;
   7918 _ACEOF
   7919 if ac_fn_c_try_compile "$LINENO"; then :
   7920   xorg_cv_cc_flag_unused_command_line_argument=yes
   7921 else
   7922   xorg_cv_cc_flag_unused_command_line_argument=no
   7923 fi
   7924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7925 fi
   7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7927 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7928 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7929 	CFLAGS="$xorg_testset_save_CFLAGS"
   7930 fi
   7931 
   7932 found="no"
   7933 
   7934 	if test $found = "no" ; then
   7935 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7936 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7937 		fi
   7938 
   7939 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7940 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7941 		fi
   7942 
   7943 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   7944 
   7945 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   7946 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   7947 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror=pointer-to-int-cast`
   7948 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7949   $as_echo_n "(cached) " >&6
   7950 else
   7951   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7952 /* end confdefs.h.  */
   7953 int i;
   7954 int
   7955 main ()
   7956 {
   7957 
   7958   ;
   7959   return 0;
   7960 }
   7961 _ACEOF
   7962 if ac_fn_c_try_link "$LINENO"; then :
   7963   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7964 else
   7965   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7966 fi
   7967 rm -f core conftest.err conftest.$ac_objext \
   7968     conftest$ac_exeext conftest.$ac_ext
   7969 fi
   7970 
   7971 
   7972 		CFLAGS="$xorg_testset_save_CFLAGS"
   7973 
   7974 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7975 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7976 $as_echo "$supported" >&6; }
   7977 		if test "$supported" = "yes" ; then
   7978 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   7979 			found="yes"
   7980 		fi
   7981 	fi
   7982 
   7983  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   7984 else
   7985 { $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
   7986 $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;}
   7987 
   7988 
   7989 
   7990 
   7991 
   7992 xorg_testset_save_CFLAGS="$CFLAGS"
   7993 
   7994 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7995 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7996 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7997 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7998 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7999   $as_echo_n "(cached) " >&6
   8000 else
   8001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8002 /* end confdefs.h.  */
   8003 int i;
   8004 _ACEOF
   8005 if ac_fn_c_try_compile "$LINENO"; then :
   8006   xorg_cv_cc_flag_unknown_warning_option=yes
   8007 else
   8008   xorg_cv_cc_flag_unknown_warning_option=no
   8009 fi
   8010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8011 fi
   8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8013 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8014 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8015 	CFLAGS="$xorg_testset_save_CFLAGS"
   8016 fi
   8017 
   8018 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8019 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8020 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8021 	fi
   8022 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8023 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8024 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8025 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8026   $as_echo_n "(cached) " >&6
   8027 else
   8028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8029 /* end confdefs.h.  */
   8030 int i;
   8031 _ACEOF
   8032 if ac_fn_c_try_compile "$LINENO"; then :
   8033   xorg_cv_cc_flag_unused_command_line_argument=yes
   8034 else
   8035   xorg_cv_cc_flag_unused_command_line_argument=no
   8036 fi
   8037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8038 fi
   8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8040 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8041 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8042 	CFLAGS="$xorg_testset_save_CFLAGS"
   8043 fi
   8044 
   8045 found="no"
   8046 
   8047 	if test $found = "no" ; then
   8048 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8049 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8050 		fi
   8051 
   8052 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8053 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8054 		fi
   8055 
   8056 		CFLAGS="$CFLAGS -Wimplicit"
   8057 
   8058 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8059 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8060 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wimplicit`
   8061 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8062   $as_echo_n "(cached) " >&6
   8063 else
   8064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8065 /* end confdefs.h.  */
   8066 int i;
   8067 int
   8068 main ()
   8069 {
   8070 
   8071   ;
   8072   return 0;
   8073 }
   8074 _ACEOF
   8075 if ac_fn_c_try_link "$LINENO"; then :
   8076   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8077 else
   8078   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8079 fi
   8080 rm -f core conftest.err conftest.$ac_objext \
   8081     conftest$ac_exeext conftest.$ac_ext
   8082 fi
   8083 
   8084 
   8085 		CFLAGS="$xorg_testset_save_CFLAGS"
   8086 
   8087 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8088 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8089 $as_echo "$supported" >&6; }
   8090 		if test "$supported" = "yes" ; then
   8091 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8092 			found="yes"
   8093 		fi
   8094 	fi
   8095 
   8096 
   8097 
   8098 
   8099 
   8100 
   8101 
   8102 xorg_testset_save_CFLAGS="$CFLAGS"
   8103 
   8104 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8105 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8106 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8107 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8108 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8109   $as_echo_n "(cached) " >&6
   8110 else
   8111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8112 /* end confdefs.h.  */
   8113 int i;
   8114 _ACEOF
   8115 if ac_fn_c_try_compile "$LINENO"; then :
   8116   xorg_cv_cc_flag_unknown_warning_option=yes
   8117 else
   8118   xorg_cv_cc_flag_unknown_warning_option=no
   8119 fi
   8120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8121 fi
   8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8123 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8124 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8125 	CFLAGS="$xorg_testset_save_CFLAGS"
   8126 fi
   8127 
   8128 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8129 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8130 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8131 	fi
   8132 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8133 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8134 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8135 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8136   $as_echo_n "(cached) " >&6
   8137 else
   8138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8139 /* end confdefs.h.  */
   8140 int i;
   8141 _ACEOF
   8142 if ac_fn_c_try_compile "$LINENO"; then :
   8143   xorg_cv_cc_flag_unused_command_line_argument=yes
   8144 else
   8145   xorg_cv_cc_flag_unused_command_line_argument=no
   8146 fi
   8147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8148 fi
   8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8150 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8151 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8152 	CFLAGS="$xorg_testset_save_CFLAGS"
   8153 fi
   8154 
   8155 found="no"
   8156 
   8157 	if test $found = "no" ; then
   8158 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8159 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8160 		fi
   8161 
   8162 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8163 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8164 		fi
   8165 
   8166 		CFLAGS="$CFLAGS -Wnonnull"
   8167 
   8168 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8169 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8170 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wnonnull`
   8171 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8172   $as_echo_n "(cached) " >&6
   8173 else
   8174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8175 /* end confdefs.h.  */
   8176 int i;
   8177 int
   8178 main ()
   8179 {
   8180 
   8181   ;
   8182   return 0;
   8183 }
   8184 _ACEOF
   8185 if ac_fn_c_try_link "$LINENO"; then :
   8186   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8187 else
   8188   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8189 fi
   8190 rm -f core conftest.err conftest.$ac_objext \
   8191     conftest$ac_exeext conftest.$ac_ext
   8192 fi
   8193 
   8194 
   8195 		CFLAGS="$xorg_testset_save_CFLAGS"
   8196 
   8197 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8198 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8199 $as_echo "$supported" >&6; }
   8200 		if test "$supported" = "yes" ; then
   8201 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8202 			found="yes"
   8203 		fi
   8204 	fi
   8205 
   8206 
   8207 
   8208 
   8209 
   8210 
   8211 
   8212 xorg_testset_save_CFLAGS="$CFLAGS"
   8213 
   8214 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8215 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8216 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8217 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8218 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8219   $as_echo_n "(cached) " >&6
   8220 else
   8221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8222 /* end confdefs.h.  */
   8223 int i;
   8224 _ACEOF
   8225 if ac_fn_c_try_compile "$LINENO"; then :
   8226   xorg_cv_cc_flag_unknown_warning_option=yes
   8227 else
   8228   xorg_cv_cc_flag_unknown_warning_option=no
   8229 fi
   8230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8231 fi
   8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8233 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8234 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8235 	CFLAGS="$xorg_testset_save_CFLAGS"
   8236 fi
   8237 
   8238 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8239 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8240 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8241 	fi
   8242 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8243 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8244 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8245 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8246   $as_echo_n "(cached) " >&6
   8247 else
   8248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8249 /* end confdefs.h.  */
   8250 int i;
   8251 _ACEOF
   8252 if ac_fn_c_try_compile "$LINENO"; then :
   8253   xorg_cv_cc_flag_unused_command_line_argument=yes
   8254 else
   8255   xorg_cv_cc_flag_unused_command_line_argument=no
   8256 fi
   8257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8258 fi
   8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8260 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8261 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8262 	CFLAGS="$xorg_testset_save_CFLAGS"
   8263 fi
   8264 
   8265 found="no"
   8266 
   8267 	if test $found = "no" ; then
   8268 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8269 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8270 		fi
   8271 
   8272 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8273 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8274 		fi
   8275 
   8276 		CFLAGS="$CFLAGS -Winit-self"
   8277 
   8278 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8279 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8280 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Winit-self`
   8281 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8282   $as_echo_n "(cached) " >&6
   8283 else
   8284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8285 /* end confdefs.h.  */
   8286 int i;
   8287 int
   8288 main ()
   8289 {
   8290 
   8291   ;
   8292   return 0;
   8293 }
   8294 _ACEOF
   8295 if ac_fn_c_try_link "$LINENO"; then :
   8296   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8297 else
   8298   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8299 fi
   8300 rm -f core conftest.err conftest.$ac_objext \
   8301     conftest$ac_exeext conftest.$ac_ext
   8302 fi
   8303 
   8304 
   8305 		CFLAGS="$xorg_testset_save_CFLAGS"
   8306 
   8307 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8308 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8309 $as_echo "$supported" >&6; }
   8310 		if test "$supported" = "yes" ; then
   8311 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8312 			found="yes"
   8313 		fi
   8314 	fi
   8315 
   8316 
   8317 
   8318 
   8319 
   8320 
   8321 
   8322 xorg_testset_save_CFLAGS="$CFLAGS"
   8323 
   8324 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8325 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8326 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8327 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8328 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8329   $as_echo_n "(cached) " >&6
   8330 else
   8331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8332 /* end confdefs.h.  */
   8333 int i;
   8334 _ACEOF
   8335 if ac_fn_c_try_compile "$LINENO"; then :
   8336   xorg_cv_cc_flag_unknown_warning_option=yes
   8337 else
   8338   xorg_cv_cc_flag_unknown_warning_option=no
   8339 fi
   8340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8341 fi
   8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8343 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8344 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8345 	CFLAGS="$xorg_testset_save_CFLAGS"
   8346 fi
   8347 
   8348 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8349 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8350 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8351 	fi
   8352 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8353 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8354 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8355 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8356   $as_echo_n "(cached) " >&6
   8357 else
   8358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8359 /* end confdefs.h.  */
   8360 int i;
   8361 _ACEOF
   8362 if ac_fn_c_try_compile "$LINENO"; then :
   8363   xorg_cv_cc_flag_unused_command_line_argument=yes
   8364 else
   8365   xorg_cv_cc_flag_unused_command_line_argument=no
   8366 fi
   8367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8368 fi
   8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8370 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8371 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8372 	CFLAGS="$xorg_testset_save_CFLAGS"
   8373 fi
   8374 
   8375 found="no"
   8376 
   8377 	if test $found = "no" ; then
   8378 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8379 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8380 		fi
   8381 
   8382 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8383 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8384 		fi
   8385 
   8386 		CFLAGS="$CFLAGS -Wmain"
   8387 
   8388 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8389 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8390 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wmain`
   8391 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8392   $as_echo_n "(cached) " >&6
   8393 else
   8394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8395 /* end confdefs.h.  */
   8396 int i;
   8397 int
   8398 main ()
   8399 {
   8400 
   8401   ;
   8402   return 0;
   8403 }
   8404 _ACEOF
   8405 if ac_fn_c_try_link "$LINENO"; then :
   8406   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8407 else
   8408   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8409 fi
   8410 rm -f core conftest.err conftest.$ac_objext \
   8411     conftest$ac_exeext conftest.$ac_ext
   8412 fi
   8413 
   8414 
   8415 		CFLAGS="$xorg_testset_save_CFLAGS"
   8416 
   8417 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8418 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8419 $as_echo "$supported" >&6; }
   8420 		if test "$supported" = "yes" ; then
   8421 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8422 			found="yes"
   8423 		fi
   8424 	fi
   8425 
   8426 
   8427 
   8428 
   8429 
   8430 
   8431 
   8432 xorg_testset_save_CFLAGS="$CFLAGS"
   8433 
   8434 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8435 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8436 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8437 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8438 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8439   $as_echo_n "(cached) " >&6
   8440 else
   8441   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8442 /* end confdefs.h.  */
   8443 int i;
   8444 _ACEOF
   8445 if ac_fn_c_try_compile "$LINENO"; then :
   8446   xorg_cv_cc_flag_unknown_warning_option=yes
   8447 else
   8448   xorg_cv_cc_flag_unknown_warning_option=no
   8449 fi
   8450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8451 fi
   8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8453 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8454 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8455 	CFLAGS="$xorg_testset_save_CFLAGS"
   8456 fi
   8457 
   8458 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8459 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8460 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8461 	fi
   8462 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8463 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8464 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8465 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8466   $as_echo_n "(cached) " >&6
   8467 else
   8468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8469 /* end confdefs.h.  */
   8470 int i;
   8471 _ACEOF
   8472 if ac_fn_c_try_compile "$LINENO"; then :
   8473   xorg_cv_cc_flag_unused_command_line_argument=yes
   8474 else
   8475   xorg_cv_cc_flag_unused_command_line_argument=no
   8476 fi
   8477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8478 fi
   8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8480 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8481 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8482 	CFLAGS="$xorg_testset_save_CFLAGS"
   8483 fi
   8484 
   8485 found="no"
   8486 
   8487 	if test $found = "no" ; then
   8488 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8489 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8490 		fi
   8491 
   8492 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8493 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8494 		fi
   8495 
   8496 		CFLAGS="$CFLAGS -Wmissing-braces"
   8497 
   8498 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   8499 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   8500 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wmissing-braces`
   8501 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8502   $as_echo_n "(cached) " >&6
   8503 else
   8504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8505 /* end confdefs.h.  */
   8506 int i;
   8507 int
   8508 main ()
   8509 {
   8510 
   8511   ;
   8512   return 0;
   8513 }
   8514 _ACEOF
   8515 if ac_fn_c_try_link "$LINENO"; then :
   8516   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8517 else
   8518   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8519 fi
   8520 rm -f core conftest.err conftest.$ac_objext \
   8521     conftest$ac_exeext conftest.$ac_ext
   8522 fi
   8523 
   8524 
   8525 		CFLAGS="$xorg_testset_save_CFLAGS"
   8526 
   8527 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8528 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8529 $as_echo "$supported" >&6; }
   8530 		if test "$supported" = "yes" ; then
   8531 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   8532 			found="yes"
   8533 		fi
   8534 	fi
   8535 
   8536 
   8537 
   8538 
   8539 
   8540 
   8541 
   8542 xorg_testset_save_CFLAGS="$CFLAGS"
   8543 
   8544 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8545 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8546 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8547 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8548 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8549   $as_echo_n "(cached) " >&6
   8550 else
   8551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8552 /* end confdefs.h.  */
   8553 int i;
   8554 _ACEOF
   8555 if ac_fn_c_try_compile "$LINENO"; then :
   8556   xorg_cv_cc_flag_unknown_warning_option=yes
   8557 else
   8558   xorg_cv_cc_flag_unknown_warning_option=no
   8559 fi
   8560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8561 fi
   8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8563 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8564 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8565 	CFLAGS="$xorg_testset_save_CFLAGS"
   8566 fi
   8567 
   8568 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8569 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8570 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8571 	fi
   8572 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8573 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8574 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8575 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8576   $as_echo_n "(cached) " >&6
   8577 else
   8578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8579 /* end confdefs.h.  */
   8580 int i;
   8581 _ACEOF
   8582 if ac_fn_c_try_compile "$LINENO"; then :
   8583   xorg_cv_cc_flag_unused_command_line_argument=yes
   8584 else
   8585   xorg_cv_cc_flag_unused_command_line_argument=no
   8586 fi
   8587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8588 fi
   8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8590 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8591 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8592 	CFLAGS="$xorg_testset_save_CFLAGS"
   8593 fi
   8594 
   8595 found="no"
   8596 
   8597 	if test $found = "no" ; then
   8598 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8599 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8600 		fi
   8601 
   8602 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8603 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8604 		fi
   8605 
   8606 		CFLAGS="$CFLAGS -Wsequence-point"
   8607 
   8608 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   8609 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   8610 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wsequence-point`
   8611 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8612   $as_echo_n "(cached) " >&6
   8613 else
   8614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8615 /* end confdefs.h.  */
   8616 int i;
   8617 int
   8618 main ()
   8619 {
   8620 
   8621   ;
   8622   return 0;
   8623 }
   8624 _ACEOF
   8625 if ac_fn_c_try_link "$LINENO"; then :
   8626   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8627 else
   8628   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8629 fi
   8630 rm -f core conftest.err conftest.$ac_objext \
   8631     conftest$ac_exeext conftest.$ac_ext
   8632 fi
   8633 
   8634 
   8635 		CFLAGS="$xorg_testset_save_CFLAGS"
   8636 
   8637 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8638 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8639 $as_echo "$supported" >&6; }
   8640 		if test "$supported" = "yes" ; then
   8641 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   8642 			found="yes"
   8643 		fi
   8644 	fi
   8645 
   8646 
   8647 
   8648 
   8649 
   8650 
   8651 
   8652 xorg_testset_save_CFLAGS="$CFLAGS"
   8653 
   8654 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8655 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8656 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8657 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8658 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8659   $as_echo_n "(cached) " >&6
   8660 else
   8661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8662 /* end confdefs.h.  */
   8663 int i;
   8664 _ACEOF
   8665 if ac_fn_c_try_compile "$LINENO"; then :
   8666   xorg_cv_cc_flag_unknown_warning_option=yes
   8667 else
   8668   xorg_cv_cc_flag_unknown_warning_option=no
   8669 fi
   8670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8671 fi
   8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8673 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8674 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8675 	CFLAGS="$xorg_testset_save_CFLAGS"
   8676 fi
   8677 
   8678 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8679 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8680 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8681 	fi
   8682 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8683 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8684 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8685 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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_unused_command_line_argument=yes
   8694 else
   8695   xorg_cv_cc_flag_unused_command_line_argument=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_unused_command_line_argument" >&5
   8700 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8701 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8702 	CFLAGS="$xorg_testset_save_CFLAGS"
   8703 fi
   8704 
   8705 found="no"
   8706 
   8707 	if test $found = "no" ; then
   8708 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8709 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8710 		fi
   8711 
   8712 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8713 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8714 		fi
   8715 
   8716 		CFLAGS="$CFLAGS -Wreturn-type"
   8717 
   8718 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   8719 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   8720 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wreturn-type`
   8721 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8722   $as_echo_n "(cached) " >&6
   8723 else
   8724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8725 /* end confdefs.h.  */
   8726 int i;
   8727 int
   8728 main ()
   8729 {
   8730 
   8731   ;
   8732   return 0;
   8733 }
   8734 _ACEOF
   8735 if ac_fn_c_try_link "$LINENO"; then :
   8736   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8737 else
   8738   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8739 fi
   8740 rm -f core conftest.err conftest.$ac_objext \
   8741     conftest$ac_exeext conftest.$ac_ext
   8742 fi
   8743 
   8744 
   8745 		CFLAGS="$xorg_testset_save_CFLAGS"
   8746 
   8747 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8748 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8749 $as_echo "$supported" >&6; }
   8750 		if test "$supported" = "yes" ; then
   8751 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   8752 			found="yes"
   8753 		fi
   8754 	fi
   8755 
   8756 
   8757 
   8758 
   8759 
   8760 
   8761 
   8762 xorg_testset_save_CFLAGS="$CFLAGS"
   8763 
   8764 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8765 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8766 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8767 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8768 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8769   $as_echo_n "(cached) " >&6
   8770 else
   8771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8772 /* end confdefs.h.  */
   8773 int i;
   8774 _ACEOF
   8775 if ac_fn_c_try_compile "$LINENO"; then :
   8776   xorg_cv_cc_flag_unknown_warning_option=yes
   8777 else
   8778   xorg_cv_cc_flag_unknown_warning_option=no
   8779 fi
   8780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8781 fi
   8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8783 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8784 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8785 	CFLAGS="$xorg_testset_save_CFLAGS"
   8786 fi
   8787 
   8788 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8789 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8790 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8791 	fi
   8792 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8793 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8794 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8795 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8796   $as_echo_n "(cached) " >&6
   8797 else
   8798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8799 /* end confdefs.h.  */
   8800 int i;
   8801 _ACEOF
   8802 if ac_fn_c_try_compile "$LINENO"; then :
   8803   xorg_cv_cc_flag_unused_command_line_argument=yes
   8804 else
   8805   xorg_cv_cc_flag_unused_command_line_argument=no
   8806 fi
   8807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8808 fi
   8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8810 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8811 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8812 	CFLAGS="$xorg_testset_save_CFLAGS"
   8813 fi
   8814 
   8815 found="no"
   8816 
   8817 	if test $found = "no" ; then
   8818 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8819 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8820 		fi
   8821 
   8822 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8823 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8824 		fi
   8825 
   8826 		CFLAGS="$CFLAGS -Wtrigraphs"
   8827 
   8828 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   8829 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   8830 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wtrigraphs`
   8831 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8832   $as_echo_n "(cached) " >&6
   8833 else
   8834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8835 /* end confdefs.h.  */
   8836 int i;
   8837 int
   8838 main ()
   8839 {
   8840 
   8841   ;
   8842   return 0;
   8843 }
   8844 _ACEOF
   8845 if ac_fn_c_try_link "$LINENO"; then :
   8846   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8847 else
   8848   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8849 fi
   8850 rm -f core conftest.err conftest.$ac_objext \
   8851     conftest$ac_exeext conftest.$ac_ext
   8852 fi
   8853 
   8854 
   8855 		CFLAGS="$xorg_testset_save_CFLAGS"
   8856 
   8857 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8858 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8859 $as_echo "$supported" >&6; }
   8860 		if test "$supported" = "yes" ; then
   8861 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   8862 			found="yes"
   8863 		fi
   8864 	fi
   8865 
   8866 
   8867 
   8868 
   8869 
   8870 
   8871 
   8872 xorg_testset_save_CFLAGS="$CFLAGS"
   8873 
   8874 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8875 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8876 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8877 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8878 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8879   $as_echo_n "(cached) " >&6
   8880 else
   8881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8882 /* end confdefs.h.  */
   8883 int i;
   8884 _ACEOF
   8885 if ac_fn_c_try_compile "$LINENO"; then :
   8886   xorg_cv_cc_flag_unknown_warning_option=yes
   8887 else
   8888   xorg_cv_cc_flag_unknown_warning_option=no
   8889 fi
   8890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8891 fi
   8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8893 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8894 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8895 	CFLAGS="$xorg_testset_save_CFLAGS"
   8896 fi
   8897 
   8898 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8899 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8900 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8901 	fi
   8902 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8903 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8904 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8905 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8906   $as_echo_n "(cached) " >&6
   8907 else
   8908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8909 /* end confdefs.h.  */
   8910 int i;
   8911 _ACEOF
   8912 if ac_fn_c_try_compile "$LINENO"; then :
   8913   xorg_cv_cc_flag_unused_command_line_argument=yes
   8914 else
   8915   xorg_cv_cc_flag_unused_command_line_argument=no
   8916 fi
   8917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8918 fi
   8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8920 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8921 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8922 	CFLAGS="$xorg_testset_save_CFLAGS"
   8923 fi
   8924 
   8925 found="no"
   8926 
   8927 	if test $found = "no" ; then
   8928 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8929 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8930 		fi
   8931 
   8932 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8933 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8934 		fi
   8935 
   8936 		CFLAGS="$CFLAGS -Warray-bounds"
   8937 
   8938 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   8939 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   8940 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Warray-bounds`
   8941 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8942   $as_echo_n "(cached) " >&6
   8943 else
   8944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8945 /* end confdefs.h.  */
   8946 int i;
   8947 int
   8948 main ()
   8949 {
   8950 
   8951   ;
   8952   return 0;
   8953 }
   8954 _ACEOF
   8955 if ac_fn_c_try_link "$LINENO"; then :
   8956   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8957 else
   8958   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8959 fi
   8960 rm -f core conftest.err conftest.$ac_objext \
   8961     conftest$ac_exeext conftest.$ac_ext
   8962 fi
   8963 
   8964 
   8965 		CFLAGS="$xorg_testset_save_CFLAGS"
   8966 
   8967 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8968 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8969 $as_echo "$supported" >&6; }
   8970 		if test "$supported" = "yes" ; then
   8971 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   8972 			found="yes"
   8973 		fi
   8974 	fi
   8975 
   8976 
   8977 
   8978 
   8979 
   8980 
   8981 
   8982 xorg_testset_save_CFLAGS="$CFLAGS"
   8983 
   8984 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8985 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8986 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8987 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8988 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8989   $as_echo_n "(cached) " >&6
   8990 else
   8991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8992 /* end confdefs.h.  */
   8993 int i;
   8994 _ACEOF
   8995 if ac_fn_c_try_compile "$LINENO"; then :
   8996   xorg_cv_cc_flag_unknown_warning_option=yes
   8997 else
   8998   xorg_cv_cc_flag_unknown_warning_option=no
   8999 fi
   9000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9001 fi
   9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9003 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9004 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9005 	CFLAGS="$xorg_testset_save_CFLAGS"
   9006 fi
   9007 
   9008 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9009 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9010 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9011 	fi
   9012 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9013 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9014 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9015 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9016   $as_echo_n "(cached) " >&6
   9017 else
   9018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9019 /* end confdefs.h.  */
   9020 int i;
   9021 _ACEOF
   9022 if ac_fn_c_try_compile "$LINENO"; then :
   9023   xorg_cv_cc_flag_unused_command_line_argument=yes
   9024 else
   9025   xorg_cv_cc_flag_unused_command_line_argument=no
   9026 fi
   9027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9028 fi
   9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9030 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9031 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9032 	CFLAGS="$xorg_testset_save_CFLAGS"
   9033 fi
   9034 
   9035 found="no"
   9036 
   9037 	if test $found = "no" ; then
   9038 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9039 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9040 		fi
   9041 
   9042 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9043 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9044 		fi
   9045 
   9046 		CFLAGS="$CFLAGS -Wwrite-strings"
   9047 
   9048 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9049 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9050 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wwrite-strings`
   9051 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9052   $as_echo_n "(cached) " >&6
   9053 else
   9054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9055 /* end confdefs.h.  */
   9056 int i;
   9057 int
   9058 main ()
   9059 {
   9060 
   9061   ;
   9062   return 0;
   9063 }
   9064 _ACEOF
   9065 if ac_fn_c_try_link "$LINENO"; then :
   9066   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9067 else
   9068   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9069 fi
   9070 rm -f core conftest.err conftest.$ac_objext \
   9071     conftest$ac_exeext conftest.$ac_ext
   9072 fi
   9073 
   9074 
   9075 		CFLAGS="$xorg_testset_save_CFLAGS"
   9076 
   9077 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9078 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9079 $as_echo "$supported" >&6; }
   9080 		if test "$supported" = "yes" ; then
   9081 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9082 			found="yes"
   9083 		fi
   9084 	fi
   9085 
   9086 
   9087 
   9088 
   9089 
   9090 
   9091 
   9092 xorg_testset_save_CFLAGS="$CFLAGS"
   9093 
   9094 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9095 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9096 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9097 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9098 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9099   $as_echo_n "(cached) " >&6
   9100 else
   9101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9102 /* end confdefs.h.  */
   9103 int i;
   9104 _ACEOF
   9105 if ac_fn_c_try_compile "$LINENO"; then :
   9106   xorg_cv_cc_flag_unknown_warning_option=yes
   9107 else
   9108   xorg_cv_cc_flag_unknown_warning_option=no
   9109 fi
   9110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9111 fi
   9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9113 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9114 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9115 	CFLAGS="$xorg_testset_save_CFLAGS"
   9116 fi
   9117 
   9118 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9119 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9120 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9121 	fi
   9122 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9123 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9124 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9125 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9126   $as_echo_n "(cached) " >&6
   9127 else
   9128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9129 /* end confdefs.h.  */
   9130 int i;
   9131 _ACEOF
   9132 if ac_fn_c_try_compile "$LINENO"; then :
   9133   xorg_cv_cc_flag_unused_command_line_argument=yes
   9134 else
   9135   xorg_cv_cc_flag_unused_command_line_argument=no
   9136 fi
   9137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9138 fi
   9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9140 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9141 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9142 	CFLAGS="$xorg_testset_save_CFLAGS"
   9143 fi
   9144 
   9145 found="no"
   9146 
   9147 	if test $found = "no" ; then
   9148 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9149 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9150 		fi
   9151 
   9152 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9153 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9154 		fi
   9155 
   9156 		CFLAGS="$CFLAGS -Waddress"
   9157 
   9158 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9159 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9160 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Waddress`
   9161 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9162   $as_echo_n "(cached) " >&6
   9163 else
   9164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9165 /* end confdefs.h.  */
   9166 int i;
   9167 int
   9168 main ()
   9169 {
   9170 
   9171   ;
   9172   return 0;
   9173 }
   9174 _ACEOF
   9175 if ac_fn_c_try_link "$LINENO"; then :
   9176   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9177 else
   9178   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9179 fi
   9180 rm -f core conftest.err conftest.$ac_objext \
   9181     conftest$ac_exeext conftest.$ac_ext
   9182 fi
   9183 
   9184 
   9185 		CFLAGS="$xorg_testset_save_CFLAGS"
   9186 
   9187 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9188 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9189 $as_echo "$supported" >&6; }
   9190 		if test "$supported" = "yes" ; then
   9191 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9192 			found="yes"
   9193 		fi
   9194 	fi
   9195 
   9196 
   9197 
   9198 
   9199 
   9200 
   9201 
   9202 xorg_testset_save_CFLAGS="$CFLAGS"
   9203 
   9204 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9205 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9206 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9207 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9208 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9209   $as_echo_n "(cached) " >&6
   9210 else
   9211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9212 /* end confdefs.h.  */
   9213 int i;
   9214 _ACEOF
   9215 if ac_fn_c_try_compile "$LINENO"; then :
   9216   xorg_cv_cc_flag_unknown_warning_option=yes
   9217 else
   9218   xorg_cv_cc_flag_unknown_warning_option=no
   9219 fi
   9220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9221 fi
   9222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9223 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9224 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9225 	CFLAGS="$xorg_testset_save_CFLAGS"
   9226 fi
   9227 
   9228 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9229 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9230 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9231 	fi
   9232 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9233 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9234 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9235 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9236   $as_echo_n "(cached) " >&6
   9237 else
   9238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9239 /* end confdefs.h.  */
   9240 int i;
   9241 _ACEOF
   9242 if ac_fn_c_try_compile "$LINENO"; then :
   9243   xorg_cv_cc_flag_unused_command_line_argument=yes
   9244 else
   9245   xorg_cv_cc_flag_unused_command_line_argument=no
   9246 fi
   9247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9248 fi
   9249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9250 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9251 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9252 	CFLAGS="$xorg_testset_save_CFLAGS"
   9253 fi
   9254 
   9255 found="no"
   9256 
   9257 	if test $found = "no" ; then
   9258 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9259 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9260 		fi
   9261 
   9262 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9263 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9264 		fi
   9265 
   9266 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9267 
   9268 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9269 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9270 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wint-to-pointer-cast`
   9271 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9272   $as_echo_n "(cached) " >&6
   9273 else
   9274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9275 /* end confdefs.h.  */
   9276 int i;
   9277 int
   9278 main ()
   9279 {
   9280 
   9281   ;
   9282   return 0;
   9283 }
   9284 _ACEOF
   9285 if ac_fn_c_try_link "$LINENO"; then :
   9286   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9287 else
   9288   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9289 fi
   9290 rm -f core conftest.err conftest.$ac_objext \
   9291     conftest$ac_exeext conftest.$ac_ext
   9292 fi
   9293 
   9294 
   9295 		CFLAGS="$xorg_testset_save_CFLAGS"
   9296 
   9297 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9298 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9299 $as_echo "$supported" >&6; }
   9300 		if test "$supported" = "yes" ; then
   9301 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9302 			found="yes"
   9303 		fi
   9304 	fi
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 xorg_testset_save_CFLAGS="$CFLAGS"
   9313 
   9314 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9315 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9316 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9317 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9318 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9319   $as_echo_n "(cached) " >&6
   9320 else
   9321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9322 /* end confdefs.h.  */
   9323 int i;
   9324 _ACEOF
   9325 if ac_fn_c_try_compile "$LINENO"; then :
   9326   xorg_cv_cc_flag_unknown_warning_option=yes
   9327 else
   9328   xorg_cv_cc_flag_unknown_warning_option=no
   9329 fi
   9330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9331 fi
   9332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9333 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9334 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9335 	CFLAGS="$xorg_testset_save_CFLAGS"
   9336 fi
   9337 
   9338 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9339 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9340 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9341 	fi
   9342 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9343 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9344 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9345 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9346   $as_echo_n "(cached) " >&6
   9347 else
   9348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9349 /* end confdefs.h.  */
   9350 int i;
   9351 _ACEOF
   9352 if ac_fn_c_try_compile "$LINENO"; then :
   9353   xorg_cv_cc_flag_unused_command_line_argument=yes
   9354 else
   9355   xorg_cv_cc_flag_unused_command_line_argument=no
   9356 fi
   9357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9358 fi
   9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9360 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9361 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9362 	CFLAGS="$xorg_testset_save_CFLAGS"
   9363 fi
   9364 
   9365 found="no"
   9366 
   9367 	if test $found = "no" ; then
   9368 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9369 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9370 		fi
   9371 
   9372 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9373 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9374 		fi
   9375 
   9376 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9377 
   9378 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9379 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9380 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wpointer-to-int-cast`
   9381 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9382   $as_echo_n "(cached) " >&6
   9383 else
   9384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9385 /* end confdefs.h.  */
   9386 int i;
   9387 int
   9388 main ()
   9389 {
   9390 
   9391   ;
   9392   return 0;
   9393 }
   9394 _ACEOF
   9395 if ac_fn_c_try_link "$LINENO"; then :
   9396   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9397 else
   9398   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9399 fi
   9400 rm -f core conftest.err conftest.$ac_objext \
   9401     conftest$ac_exeext conftest.$ac_ext
   9402 fi
   9403 
   9404 
   9405 		CFLAGS="$xorg_testset_save_CFLAGS"
   9406 
   9407 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9408 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9409 $as_echo "$supported" >&6; }
   9410 		if test "$supported" = "yes" ; then
   9411 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9412 			found="yes"
   9413 		fi
   9414 	fi
   9415 
   9416 
   9417 fi
   9418 
   9419 
   9420 
   9421 
   9422 
   9423 
   9424 CWARNFLAGS="$BASE_CFLAGS"
   9425 if  test "x$GCC" = xyes ; then
   9426     CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9427 fi
   9428 
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 # Check whether --enable-strict-compilation was given.
   9435 if test "${enable_strict_compilation+set}" = set; then :
   9436   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   9437 else
   9438   STRICT_COMPILE=no
   9439 fi
   9440 
   9441 
   9442 STRICT_CFLAGS=""
   9443 
   9444 
   9445 
   9446 
   9447 
   9448 xorg_testset_save_CFLAGS="$CFLAGS"
   9449 
   9450 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9451 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9452 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9453 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9454 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9455   $as_echo_n "(cached) " >&6
   9456 else
   9457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9458 /* end confdefs.h.  */
   9459 int i;
   9460 _ACEOF
   9461 if ac_fn_c_try_compile "$LINENO"; then :
   9462   xorg_cv_cc_flag_unknown_warning_option=yes
   9463 else
   9464   xorg_cv_cc_flag_unknown_warning_option=no
   9465 fi
   9466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9467 fi
   9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9469 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9470 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9471 	CFLAGS="$xorg_testset_save_CFLAGS"
   9472 fi
   9473 
   9474 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9475 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9476 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9477 	fi
   9478 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9479 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9480 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9481 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9482   $as_echo_n "(cached) " >&6
   9483 else
   9484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9485 /* end confdefs.h.  */
   9486 int i;
   9487 _ACEOF
   9488 if ac_fn_c_try_compile "$LINENO"; then :
   9489   xorg_cv_cc_flag_unused_command_line_argument=yes
   9490 else
   9491   xorg_cv_cc_flag_unused_command_line_argument=no
   9492 fi
   9493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9494 fi
   9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9496 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9497 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9498 	CFLAGS="$xorg_testset_save_CFLAGS"
   9499 fi
   9500 
   9501 found="no"
   9502 
   9503 	if test $found = "no" ; then
   9504 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9505 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9506 		fi
   9507 
   9508 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9509 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9510 		fi
   9511 
   9512 		CFLAGS="$CFLAGS -pedantic"
   9513 
   9514 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   9515 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   9516 		cacheid=`$as_echo_n xorg_cv_cc_flag_-pedantic`
   9517 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9518   $as_echo_n "(cached) " >&6
   9519 else
   9520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9521 /* end confdefs.h.  */
   9522 int i;
   9523 int
   9524 main ()
   9525 {
   9526 
   9527   ;
   9528   return 0;
   9529 }
   9530 _ACEOF
   9531 if ac_fn_c_try_link "$LINENO"; then :
   9532   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9533 else
   9534   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9535 fi
   9536 rm -f core conftest.err conftest.$ac_objext \
   9537     conftest$ac_exeext conftest.$ac_ext
   9538 fi
   9539 
   9540 
   9541 		CFLAGS="$xorg_testset_save_CFLAGS"
   9542 
   9543 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9544 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9545 $as_echo "$supported" >&6; }
   9546 		if test "$supported" = "yes" ; then
   9547 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   9548 			found="yes"
   9549 		fi
   9550 	fi
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 xorg_testset_save_CFLAGS="$CFLAGS"
   9559 
   9560 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9561 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9562 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9563 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9564 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9565   $as_echo_n "(cached) " >&6
   9566 else
   9567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9568 /* end confdefs.h.  */
   9569 int i;
   9570 _ACEOF
   9571 if ac_fn_c_try_compile "$LINENO"; then :
   9572   xorg_cv_cc_flag_unknown_warning_option=yes
   9573 else
   9574   xorg_cv_cc_flag_unknown_warning_option=no
   9575 fi
   9576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9577 fi
   9578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9579 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9580 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9581 	CFLAGS="$xorg_testset_save_CFLAGS"
   9582 fi
   9583 
   9584 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9585 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9586 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9587 	fi
   9588 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9589 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9590 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9591 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9592   $as_echo_n "(cached) " >&6
   9593 else
   9594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9595 /* end confdefs.h.  */
   9596 int i;
   9597 _ACEOF
   9598 if ac_fn_c_try_compile "$LINENO"; then :
   9599   xorg_cv_cc_flag_unused_command_line_argument=yes
   9600 else
   9601   xorg_cv_cc_flag_unused_command_line_argument=no
   9602 fi
   9603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9604 fi
   9605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9606 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9607 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9608 	CFLAGS="$xorg_testset_save_CFLAGS"
   9609 fi
   9610 
   9611 found="no"
   9612 
   9613 	if test $found = "no" ; then
   9614 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9615 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9616 		fi
   9617 
   9618 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9619 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9620 		fi
   9621 
   9622 		CFLAGS="$CFLAGS -Werror"
   9623 
   9624 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   9625 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   9626 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror`
   9627 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9628   $as_echo_n "(cached) " >&6
   9629 else
   9630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9631 /* end confdefs.h.  */
   9632 int i;
   9633 int
   9634 main ()
   9635 {
   9636 
   9637   ;
   9638   return 0;
   9639 }
   9640 _ACEOF
   9641 if ac_fn_c_try_link "$LINENO"; then :
   9642   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9643 else
   9644   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9645 fi
   9646 rm -f core conftest.err conftest.$ac_objext \
   9647     conftest$ac_exeext conftest.$ac_ext
   9648 fi
   9649 
   9650 
   9651 		CFLAGS="$xorg_testset_save_CFLAGS"
   9652 
   9653 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9654 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9655 $as_echo "$supported" >&6; }
   9656 		if test "$supported" = "yes" ; then
   9657 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   9658 			found="yes"
   9659 		fi
   9660 	fi
   9661 
   9662 	if test $found = "no" ; then
   9663 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9664 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9665 		fi
   9666 
   9667 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9668 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9669 		fi
   9670 
   9671 		CFLAGS="$CFLAGS -errwarn"
   9672 
   9673 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   9674 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   9675 		cacheid=`$as_echo_n xorg_cv_cc_flag_-errwarn`
   9676 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9677   $as_echo_n "(cached) " >&6
   9678 else
   9679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9680 /* end confdefs.h.  */
   9681 int i;
   9682 int
   9683 main ()
   9684 {
   9685 
   9686   ;
   9687   return 0;
   9688 }
   9689 _ACEOF
   9690 if ac_fn_c_try_link "$LINENO"; then :
   9691   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9692 else
   9693   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9694 fi
   9695 rm -f core conftest.err conftest.$ac_objext \
   9696     conftest$ac_exeext conftest.$ac_ext
   9697 fi
   9698 
   9699 
   9700 		CFLAGS="$xorg_testset_save_CFLAGS"
   9701 
   9702 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9703 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9704 $as_echo "$supported" >&6; }
   9705 		if test "$supported" = "yes" ; then
   9706 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   9707 			found="yes"
   9708 		fi
   9709 	fi
   9710 
   9711 
   9712 
   9713 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   9714 # activate it with -Werror, so we add it here explicitly.
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 xorg_testset_save_CFLAGS="$CFLAGS"
   9721 
   9722 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9723 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9724 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9725 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9726 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9727   $as_echo_n "(cached) " >&6
   9728 else
   9729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9730 /* end confdefs.h.  */
   9731 int i;
   9732 _ACEOF
   9733 if ac_fn_c_try_compile "$LINENO"; then :
   9734   xorg_cv_cc_flag_unknown_warning_option=yes
   9735 else
   9736   xorg_cv_cc_flag_unknown_warning_option=no
   9737 fi
   9738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9739 fi
   9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9741 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9742 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9743 	CFLAGS="$xorg_testset_save_CFLAGS"
   9744 fi
   9745 
   9746 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9747 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9748 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9749 	fi
   9750 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9751 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9752 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9753 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9754   $as_echo_n "(cached) " >&6
   9755 else
   9756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9757 /* end confdefs.h.  */
   9758 int i;
   9759 _ACEOF
   9760 if ac_fn_c_try_compile "$LINENO"; then :
   9761   xorg_cv_cc_flag_unused_command_line_argument=yes
   9762 else
   9763   xorg_cv_cc_flag_unused_command_line_argument=no
   9764 fi
   9765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9766 fi
   9767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9768 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9769 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9770 	CFLAGS="$xorg_testset_save_CFLAGS"
   9771 fi
   9772 
   9773 found="no"
   9774 
   9775 	if test $found = "no" ; then
   9776 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9777 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9778 		fi
   9779 
   9780 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9781 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9782 		fi
   9783 
   9784 		CFLAGS="$CFLAGS -Werror=attributes"
   9785 
   9786 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   9787 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   9788 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror=attributes`
   9789 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9790   $as_echo_n "(cached) " >&6
   9791 else
   9792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9793 /* end confdefs.h.  */
   9794 int i;
   9795 int
   9796 main ()
   9797 {
   9798 
   9799   ;
   9800   return 0;
   9801 }
   9802 _ACEOF
   9803 if ac_fn_c_try_link "$LINENO"; then :
   9804   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9805 else
   9806   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9807 fi
   9808 rm -f core conftest.err conftest.$ac_objext \
   9809     conftest$ac_exeext conftest.$ac_ext
   9810 fi
   9811 
   9812 
   9813 		CFLAGS="$xorg_testset_save_CFLAGS"
   9814 
   9815 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9816 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9817 $as_echo "$supported" >&6; }
   9818 		if test "$supported" = "yes" ; then
   9819 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   9820 			found="yes"
   9821 		fi
   9822 	fi
   9823 
   9824 
   9825 
   9826 if test "x$STRICT_COMPILE" = "xyes"; then
   9827     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   9828     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   9829 fi
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 cat >>confdefs.h <<_ACEOF
   9837 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   9838 _ACEOF
   9839 
   9840 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   9841 	if test "x$PVM" = "x"; then
   9842 		PVM="0"
   9843 	fi
   9844 
   9845 cat >>confdefs.h <<_ACEOF
   9846 #define PACKAGE_VERSION_MINOR $PVM
   9847 _ACEOF
   9848 
   9849 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   9850 	if test "x$PVP" = "x"; then
   9851 		PVP="0"
   9852 	fi
   9853 
   9854 cat >>confdefs.h <<_ACEOF
   9855 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   9856 _ACEOF
   9857 
   9858 
   9859 
   9860 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   9861 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   9862 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   9863 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   9864 
   9865 
   9866 
   9867 
   9868 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   9869 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   9870 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   9871 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   9872 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 if test x$APP_MAN_SUFFIX = x    ; then
   9880     APP_MAN_SUFFIX=1
   9881 fi
   9882 if test x$APP_MAN_DIR = x    ; then
   9883     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   9884 fi
   9885 
   9886 if test x$LIB_MAN_SUFFIX = x    ; then
   9887     LIB_MAN_SUFFIX=3
   9888 fi
   9889 if test x$LIB_MAN_DIR = x    ; then
   9890     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   9891 fi
   9892 
   9893 if test x$FILE_MAN_SUFFIX = x    ; then
   9894     case $host_os in
   9895 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   9896 	*)		FILE_MAN_SUFFIX=5  ;;
   9897     esac
   9898 fi
   9899 if test x$FILE_MAN_DIR = x    ; then
   9900     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   9901 fi
   9902 
   9903 if test x$MISC_MAN_SUFFIX = x    ; then
   9904     case $host_os in
   9905 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   9906 	*)		MISC_MAN_SUFFIX=7  ;;
   9907     esac
   9908 fi
   9909 if test x$MISC_MAN_DIR = x    ; then
   9910     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   9911 fi
   9912 
   9913 if test x$DRIVER_MAN_SUFFIX = x    ; then
   9914     case $host_os in
   9915 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   9916 	*)		DRIVER_MAN_SUFFIX=4  ;;
   9917     esac
   9918 fi
   9919 if test x$DRIVER_MAN_DIR = x    ; then
   9920     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   9921 fi
   9922 
   9923 if test x$ADMIN_MAN_SUFFIX = x    ; then
   9924     case $host_os in
   9925 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   9926 	*)		ADMIN_MAN_SUFFIX=8  ;;
   9927     esac
   9928 fi
   9929 if test x$ADMIN_MAN_DIR = x    ; then
   9930     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   9931 fi
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 XORG_MAN_PAGE="X Version 11"
   9948 
   9949 MAN_SUBSTS="\
   9950 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   9951 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   9952 	-e 's|__xservername__|Xorg|g' \
   9953 	-e 's|__xconfigfile__|xorg.conf|g' \
   9954 	-e 's|__projectroot__|\$(prefix)|g' \
   9955 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   9956 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   9957 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   9958 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   9959 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   9960 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   9961 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   9962 
   9963 
   9964 
   9965 # Check whether --enable-silent-rules was given.
   9966 if test "${enable_silent_rules+set}" = set; then :
   9967   enableval=$enable_silent_rules;
   9968 fi
   9969 
   9970 case $enable_silent_rules in
   9971 yes) AM_DEFAULT_VERBOSITY=0;;
   9972 no)  AM_DEFAULT_VERBOSITY=1;;
   9973 *)   AM_DEFAULT_VERBOSITY=0;;
   9974 esac
   9975 AM_BACKSLASH='\'
   9976 
   9977 
   9978 
   9979 ac_config_headers="$ac_config_headers config.h"
   9980 
   9981 
   9982 # Optional dependencies
   9983 
   9984 # Check whether --with-xkb was given.
   9985 if test "${with_xkb+set}" = set; then :
   9986   withval=$with_xkb; use_xkb="$withval"
   9987 else
   9988   use_xkb="yes"
   9989 fi
   9990 
   9991 if test x$use_xkb != xno ; then
   9992 	XKBMODULE="xkbfile"
   9993 
   9994 $as_echo "#define XKB 1" >>confdefs.h
   9995 
   9996 fi
   9997 
   9998 # Checks for pkg-config packages
   9999 
   10000 pkg_failed=no
   10001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCLOCK" >&5
   10002 $as_echo_n "checking for OCLOCK... " >&6; }
   10003 
   10004 if test -n "$OCLOCK_CFLAGS"; then
   10005     pkg_cv_OCLOCK_CFLAGS="$OCLOCK_CFLAGS"
   10006  elif test -n "$PKG_CONFIG"; then
   10007     if test -n "$PKG_CONFIG" && \
   10008     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xmu xext xt \${XKBMODULE}\""; } >&5
   10009   ($PKG_CONFIG --exists --print-errors "x11 xmu xext xt ${XKBMODULE}") 2>&5
   10010   ac_status=$?
   10011   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10012   test $ac_status = 0; }; then
   10013   pkg_cv_OCLOCK_CFLAGS=`$PKG_CONFIG --cflags "x11 xmu xext xt ${XKBMODULE}" 2>/dev/null`
   10014 else
   10015   pkg_failed=yes
   10016 fi
   10017  else
   10018     pkg_failed=untried
   10019 fi
   10020 if test -n "$OCLOCK_LIBS"; then
   10021     pkg_cv_OCLOCK_LIBS="$OCLOCK_LIBS"
   10022  elif test -n "$PKG_CONFIG"; then
   10023     if test -n "$PKG_CONFIG" && \
   10024     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xmu xext xt \${XKBMODULE}\""; } >&5
   10025   ($PKG_CONFIG --exists --print-errors "x11 xmu xext xt ${XKBMODULE}") 2>&5
   10026   ac_status=$?
   10027   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10028   test $ac_status = 0; }; then
   10029   pkg_cv_OCLOCK_LIBS=`$PKG_CONFIG --libs "x11 xmu xext xt ${XKBMODULE}" 2>/dev/null`
   10030 else
   10031   pkg_failed=yes
   10032 fi
   10033  else
   10034     pkg_failed=untried
   10035 fi
   10036 
   10037 
   10038 
   10039 if test $pkg_failed = yes; then
   10040 
   10041 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10042         _pkg_short_errors_supported=yes
   10043 else
   10044         _pkg_short_errors_supported=no
   10045 fi
   10046         if test $_pkg_short_errors_supported = yes; then
   10047 	        OCLOCK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xmu xext xt ${XKBMODULE}" 2>&1`
   10048         else
   10049 	        OCLOCK_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xmu xext xt ${XKBMODULE}" 2>&1`
   10050         fi
   10051 	# Put the nasty error message in config.log where it belongs
   10052 	echo "$OCLOCK_PKG_ERRORS" >&5
   10053 
   10054 	as_fn_error $? "Package requirements (x11 xmu xext xt ${XKBMODULE}) were not met:
   10055 
   10056 $OCLOCK_PKG_ERRORS
   10057 
   10058 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10059 installed software in a non-standard prefix.
   10060 
   10061 Alternatively, you may set the environment variables OCLOCK_CFLAGS
   10062 and OCLOCK_LIBS to avoid the need to call pkg-config.
   10063 See the pkg-config man page for more details.
   10064 " "$LINENO" 5
   10065 elif test $pkg_failed = untried; then
   10066 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10068 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10069 is in your PATH or set the PKG_CONFIG environment variable to the full
   10070 path to pkg-config.
   10071 
   10072 Alternatively, you may set the environment variables OCLOCK_CFLAGS
   10073 and OCLOCK_LIBS to avoid the need to call pkg-config.
   10074 See the pkg-config man page for more details.
   10075 
   10076 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10077 See \`config.log' for more details" "$LINENO" 5; }
   10078 else
   10079 	OCLOCK_CFLAGS=$pkg_cv_OCLOCK_CFLAGS
   10080 	OCLOCK_LIBS=$pkg_cv_OCLOCK_LIBS
   10081         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10082 $as_echo "yes" >&6; }
   10083 	:
   10084 fi
   10085 
   10086 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   10087 
   10088 # Check whether --with-appdefaultdir was given.
   10089 if test "${with_appdefaultdir+set}" = set; then :
   10090   withval=$with_appdefaultdir; appdefaultdir="$withval"
   10091 else
   10092   appdefaultdir="${xt_appdefaultdir}"
   10093 fi
   10094 
   10095 
   10096 
   10097 
   10098 ac_config_files="$ac_config_files Makefile man/Makefile"
   10099 
   10100 cat >confcache <<\_ACEOF
   10101 # This file is a shell script that caches the results of configure
   10102 # tests run on this system so they can be shared between configure
   10103 # scripts and configure runs, see configure's option --config-cache.
   10104 # It is not useful on other systems.  If it contains results you don't
   10105 # want to keep, you may remove or edit it.
   10106 #
   10107 # config.status only pays attention to the cache file if you give it
   10108 # the --recheck option to rerun configure.
   10109 #
   10110 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10111 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10112 # following values.
   10113 
   10114 _ACEOF
   10115 
   10116 # The following way of writing the cache mishandles newlines in values,
   10117 # but we know of no workaround that is simple, portable, and efficient.
   10118 # So, we kill variables containing newlines.
   10119 # Ultrix sh set writes to stderr and can't be redirected directly,
   10120 # and sets the high bit in the cache file unless we assign to the vars.
   10121 (
   10122   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10123     eval ac_val=\$$ac_var
   10124     case $ac_val in #(
   10125     *${as_nl}*)
   10126       case $ac_var in #(
   10127       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10128 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10129       esac
   10130       case $ac_var in #(
   10131       _ | IFS | as_nl) ;; #(
   10132       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10133       *) { eval $ac_var=; unset $ac_var;} ;;
   10134       esac ;;
   10135     esac
   10136   done
   10137 
   10138   (set) 2>&1 |
   10139     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10140     *${as_nl}ac_space=\ *)
   10141       # `set' does not quote correctly, so add quotes: double-quote
   10142       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10143       sed -n \
   10144 	"s/'/'\\\\''/g;
   10145 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10146       ;; #(
   10147     *)
   10148       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10149       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10150       ;;
   10151     esac |
   10152     sort
   10153 ) |
   10154   sed '
   10155      /^ac_cv_env_/b end
   10156      t clear
   10157      :clear
   10158      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10159      t end
   10160      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10161      :end' >>confcache
   10162 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10163   if test -w "$cache_file"; then
   10164     if test "x$cache_file" != "x/dev/null"; then
   10165       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10166 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10167       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10168 	cat confcache >"$cache_file"
   10169       else
   10170         case $cache_file in #(
   10171         */* | ?:*)
   10172 	  mv -f confcache "$cache_file"$$ &&
   10173 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10174         *)
   10175 	  mv -f confcache "$cache_file" ;;
   10176 	esac
   10177       fi
   10178     fi
   10179   else
   10180     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10181 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10182   fi
   10183 fi
   10184 rm -f confcache
   10185 
   10186 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10187 # Let make expand exec_prefix.
   10188 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10189 
   10190 DEFS=-DHAVE_CONFIG_H
   10191 
   10192 ac_libobjs=
   10193 ac_ltlibobjs=
   10194 U=
   10195 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10196   # 1. Remove the extension, and $U if already installed.
   10197   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10198   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10199   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10200   #    will be set to the directory where LIBOBJS objects are built.
   10201   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   10202   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   10203 done
   10204 LIBOBJS=$ac_libobjs
   10205 
   10206 LTLIBOBJS=$ac_ltlibobjs
   10207 
   10208 
   10209  if test -n "$EXEEXT"; then
   10210   am__EXEEXT_TRUE=
   10211   am__EXEEXT_FALSE='#'
   10212 else
   10213   am__EXEEXT_TRUE='#'
   10214   am__EXEEXT_FALSE=
   10215 fi
   10216 
   10217 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   10218   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   10219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10220 fi
   10221 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   10222   as_fn_error $? "conditional \"AMDEP\" was never defined.
   10223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10224 fi
   10225 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   10226   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   10227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10228 fi
   10229 
   10230 : "${CONFIG_STATUS=./config.status}"
   10231 ac_write_fail=0
   10232 ac_clean_files_save=$ac_clean_files
   10233 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   10234 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   10235 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   10236 as_write_fail=0
   10237 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   10238 #! $SHELL
   10239 # Generated by $as_me.
   10240 # Run this file to recreate the current configuration.
   10241 # Compiler output produced by configure, useful for debugging
   10242 # configure, is in config.log if it exists.
   10243 
   10244 debug=false
   10245 ac_cs_recheck=false
   10246 ac_cs_silent=false
   10247 
   10248 SHELL=\${CONFIG_SHELL-$SHELL}
   10249 export SHELL
   10250 _ASEOF
   10251 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   10252 ## -------------------- ##
   10253 ## M4sh Initialization. ##
   10254 ## -------------------- ##
   10255 
   10256 # Be more Bourne compatible
   10257 DUALCASE=1; export DUALCASE # for MKS sh
   10258 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   10259   emulate sh
   10260   NULLCMD=:
   10261   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   10262   # is contrary to our usage.  Disable this feature.
   10263   alias -g '${1+"$@"}'='"$@"'
   10264   setopt NO_GLOB_SUBST
   10265 else
   10266   case `(set -o) 2>/dev/null` in #(
   10267   *posix*) :
   10268     set -o posix ;; #(
   10269   *) :
   10270      ;;
   10271 esac
   10272 fi
   10273 
   10274 
   10275 as_nl='
   10276 '
   10277 export as_nl
   10278 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   10279 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10280 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   10281 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   10282 # Prefer a ksh shell builtin over an external printf program on Solaris,
   10283 # but without wasting forks for bash or zsh.
   10284 if test -z "$BASH_VERSION$ZSH_VERSION" \
   10285     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   10286   as_echo='print -r --'
   10287   as_echo_n='print -rn --'
   10288 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   10289   as_echo='printf %s\n'
   10290   as_echo_n='printf %s'
   10291 else
   10292   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   10293     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   10294     as_echo_n='/usr/ucb/echo -n'
   10295   else
   10296     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   10297     as_echo_n_body='eval
   10298       arg=$1;
   10299       case $arg in #(
   10300       *"$as_nl"*)
   10301 	expr "X$arg" : "X\\(.*\\)$as_nl";
   10302 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   10303       esac;
   10304       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   10305     '
   10306     export as_echo_n_body
   10307     as_echo_n='sh -c $as_echo_n_body as_echo'
   10308   fi
   10309   export as_echo_body
   10310   as_echo='sh -c $as_echo_body as_echo'
   10311 fi
   10312 
   10313 # The user is always right.
   10314 if test "${PATH_SEPARATOR+set}" != set; then
   10315   PATH_SEPARATOR=:
   10316   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   10317     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   10318       PATH_SEPARATOR=';'
   10319   }
   10320 fi
   10321 
   10322 
   10323 # IFS
   10324 # We need space, tab and new line, in precisely that order.  Quoting is
   10325 # there to prevent editors from complaining about space-tab.
   10326 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   10327 # splitting by setting IFS to empty value.)
   10328 IFS=" ""	$as_nl"
   10329 
   10330 # Find who we are.  Look in the path if we contain no directory separator.
   10331 as_myself=
   10332 case $0 in #((
   10333   *[\\/]* ) as_myself=$0 ;;
   10334   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10335 for as_dir in $PATH
   10336 do
   10337   IFS=$as_save_IFS
   10338   test -z "$as_dir" && as_dir=.
   10339     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   10340   done
   10341 IFS=$as_save_IFS
   10342 
   10343      ;;
   10344 esac
   10345 # We did not find ourselves, most probably we were run as `sh COMMAND'
   10346 # in which case we are not to be found in the path.
   10347 if test "x$as_myself" = x; then
   10348   as_myself=$0
   10349 fi
   10350 if test ! -f "$as_myself"; then
   10351   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   10352   exit 1
   10353 fi
   10354 
   10355 # Unset variables that we do not need and which cause bugs (e.g. in
   10356 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   10357 # suppresses any "Segmentation fault" message there.  '((' could
   10358 # trigger a bug in pdksh 5.2.14.
   10359 for as_var in BASH_ENV ENV MAIL MAILPATH
   10360 do eval test x\${$as_var+set} = xset \
   10361   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   10362 done
   10363 PS1='$ '
   10364 PS2='> '
   10365 PS4='+ '
   10366 
   10367 # NLS nuisances.
   10368 LC_ALL=C
   10369 export LC_ALL
   10370 LANGUAGE=C
   10371 export LANGUAGE
   10372 
   10373 # CDPATH.
   10374 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10375 
   10376 
   10377 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   10378 # ----------------------------------------
   10379 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   10380 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   10381 # script with STATUS, using 1 if that was 0.
   10382 as_fn_error ()
   10383 {
   10384   as_status=$1; test $as_status -eq 0 && as_status=1
   10385   if test "$4"; then
   10386     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   10387     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   10388   fi
   10389   $as_echo "$as_me: error: $2" >&2
   10390   as_fn_exit $as_status
   10391 } # as_fn_error
   10392 
   10393 
   10394 # as_fn_set_status STATUS
   10395 # -----------------------
   10396 # Set $? to STATUS, without forking.
   10397 as_fn_set_status ()
   10398 {
   10399   return $1
   10400 } # as_fn_set_status
   10401 
   10402 # as_fn_exit STATUS
   10403 # -----------------
   10404 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   10405 as_fn_exit ()
   10406 {
   10407   set +e
   10408   as_fn_set_status $1
   10409   exit $1
   10410 } # as_fn_exit
   10411 
   10412 # as_fn_unset VAR
   10413 # ---------------
   10414 # Portably unset VAR.
   10415 as_fn_unset ()
   10416 {
   10417   { eval $1=; unset $1;}
   10418 }
   10419 as_unset=as_fn_unset
   10420 # as_fn_append VAR VALUE
   10421 # ----------------------
   10422 # Append the text in VALUE to the end of the definition contained in VAR. Take
   10423 # advantage of any shell optimizations that allow amortized linear growth over
   10424 # repeated appends, instead of the typical quadratic growth present in naive
   10425 # implementations.
   10426 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   10427   eval 'as_fn_append ()
   10428   {
   10429     eval $1+=\$2
   10430   }'
   10431 else
   10432   as_fn_append ()
   10433   {
   10434     eval $1=\$$1\$2
   10435   }
   10436 fi # as_fn_append
   10437 
   10438 # as_fn_arith ARG...
   10439 # ------------------
   10440 # Perform arithmetic evaluation on the ARGs, and store the result in the
   10441 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   10442 # must be portable across $(()) and expr.
   10443 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   10444   eval 'as_fn_arith ()
   10445   {
   10446     as_val=$(( $* ))
   10447   }'
   10448 else
   10449   as_fn_arith ()
   10450   {
   10451     as_val=`expr "$@" || test $? -eq 1`
   10452   }
   10453 fi # as_fn_arith
   10454 
   10455 
   10456 if expr a : '\(a\)' >/dev/null 2>&1 &&
   10457    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   10458   as_expr=expr
   10459 else
   10460   as_expr=false
   10461 fi
   10462 
   10463 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   10464   as_basename=basename
   10465 else
   10466   as_basename=false
   10467 fi
   10468 
   10469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   10470   as_dirname=dirname
   10471 else
   10472   as_dirname=false
   10473 fi
   10474 
   10475 as_me=`$as_basename -- "$0" ||
   10476 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   10477 	 X"$0" : 'X\(//\)$' \| \
   10478 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   10479 $as_echo X/"$0" |
   10480     sed '/^.*\/\([^/][^/]*\)\/*$/{
   10481 	    s//\1/
   10482 	    q
   10483 	  }
   10484 	  /^X\/\(\/\/\)$/{
   10485 	    s//\1/
   10486 	    q
   10487 	  }
   10488 	  /^X\/\(\/\).*/{
   10489 	    s//\1/
   10490 	    q
   10491 	  }
   10492 	  s/.*/./; q'`
   10493 
   10494 # Avoid depending upon Character Ranges.
   10495 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   10496 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   10497 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   10498 as_cr_digits='0123456789'
   10499 as_cr_alnum=$as_cr_Letters$as_cr_digits
   10500 
   10501 ECHO_C= ECHO_N= ECHO_T=
   10502 case `echo -n x` in #(((((
   10503 -n*)
   10504   case `echo 'xy\c'` in
   10505   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   10506   xy)  ECHO_C='\c';;
   10507   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   10508        ECHO_T='	';;
   10509   esac;;
   10510 *)
   10511   ECHO_N='-n';;
   10512 esac
   10513 
   10514 rm -f conf$$ conf$$.exe conf$$.file
   10515 if test -d conf$$.dir; then
   10516   rm -f conf$$.dir/conf$$.file
   10517 else
   10518   rm -f conf$$.dir
   10519   mkdir conf$$.dir 2>/dev/null
   10520 fi
   10521 if (echo >conf$$.file) 2>/dev/null; then
   10522   if ln -s conf$$.file conf$$ 2>/dev/null; then
   10523     as_ln_s='ln -s'
   10524     # ... but there are two gotchas:
   10525     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   10526     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   10527     # In both cases, we have to default to `cp -p'.
   10528     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   10529       as_ln_s='cp -p'
   10530   elif ln conf$$.file conf$$ 2>/dev/null; then
   10531     as_ln_s=ln
   10532   else
   10533     as_ln_s='cp -p'
   10534   fi
   10535 else
   10536   as_ln_s='cp -p'
   10537 fi
   10538 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   10539 rmdir conf$$.dir 2>/dev/null
   10540 
   10541 
   10542 # as_fn_mkdir_p
   10543 # -------------
   10544 # Create "$as_dir" as a directory, including parents if necessary.
   10545 as_fn_mkdir_p ()
   10546 {
   10547 
   10548   case $as_dir in #(
   10549   -*) as_dir=./$as_dir;;
   10550   esac
   10551   test -d "$as_dir" || eval $as_mkdir_p || {
   10552     as_dirs=
   10553     while :; do
   10554       case $as_dir in #(
   10555       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   10556       *) as_qdir=$as_dir;;
   10557       esac
   10558       as_dirs="'$as_qdir' $as_dirs"
   10559       as_dir=`$as_dirname -- "$as_dir" ||
   10560 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10561 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   10562 	 X"$as_dir" : 'X\(//\)$' \| \
   10563 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   10564 $as_echo X"$as_dir" |
   10565     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   10566 	    s//\1/
   10567 	    q
   10568 	  }
   10569 	  /^X\(\/\/\)[^/].*/{
   10570 	    s//\1/
   10571 	    q
   10572 	  }
   10573 	  /^X\(\/\/\)$/{
   10574 	    s//\1/
   10575 	    q
   10576 	  }
   10577 	  /^X\(\/\).*/{
   10578 	    s//\1/
   10579 	    q
   10580 	  }
   10581 	  s/.*/./; q'`
   10582       test -d "$as_dir" && break
   10583     done
   10584     test -z "$as_dirs" || eval "mkdir $as_dirs"
   10585   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   10586 
   10587 
   10588 } # as_fn_mkdir_p
   10589 if mkdir -p . 2>/dev/null; then
   10590   as_mkdir_p='mkdir -p "$as_dir"'
   10591 else
   10592   test -d ./-p && rmdir ./-p
   10593   as_mkdir_p=false
   10594 fi
   10595 
   10596 if test -x / >/dev/null 2>&1; then
   10597   as_test_x='test -x'
   10598 else
   10599   if ls -dL / >/dev/null 2>&1; then
   10600     as_ls_L_option=L
   10601   else
   10602     as_ls_L_option=
   10603   fi
   10604   as_test_x='
   10605     eval sh -c '\''
   10606       if test -d "$1"; then
   10607 	test -d "$1/.";
   10608       else
   10609 	case $1 in #(
   10610 	-*)set "./$1";;
   10611 	esac;
   10612 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   10613 	???[sx]*):;;*)false;;esac;fi
   10614     '\'' sh
   10615   '
   10616 fi
   10617 as_executable_p=$as_test_x
   10618 
   10619 # Sed expression to map a string onto a valid CPP name.
   10620 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   10621 
   10622 # Sed expression to map a string onto a valid variable name.
   10623 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   10624 
   10625 
   10626 exec 6>&1
   10627 ## ----------------------------------- ##
   10628 ## Main body of $CONFIG_STATUS script. ##
   10629 ## ----------------------------------- ##
   10630 _ASEOF
   10631 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   10632 
   10633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   10634 # Save the log message, to keep $0 and so on meaningful, and to
   10635 # report actual input values of CONFIG_FILES etc. instead of their
   10636 # values after options handling.
   10637 ac_log="
   10638 This file was extended by oclock $as_me 1.0.3, which was
   10639 generated by GNU Autoconf 2.68.  Invocation command line was
   10640 
   10641   CONFIG_FILES    = $CONFIG_FILES
   10642   CONFIG_HEADERS  = $CONFIG_HEADERS
   10643   CONFIG_LINKS    = $CONFIG_LINKS
   10644   CONFIG_COMMANDS = $CONFIG_COMMANDS
   10645   $ $0 $@
   10646 
   10647 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   10648 "
   10649 
   10650 _ACEOF
   10651 
   10652 case $ac_config_files in *"
   10653 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   10654 esac
   10655 
   10656 case $ac_config_headers in *"
   10657 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   10658 esac
   10659 
   10660 
   10661 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   10662 # Files that config.status was made for.
   10663 config_files="$ac_config_files"
   10664 config_headers="$ac_config_headers"
   10665 config_commands="$ac_config_commands"
   10666 
   10667 _ACEOF
   10668 
   10669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   10670 ac_cs_usage="\
   10671 \`$as_me' instantiates files and other configuration actions
   10672 from templates according to the current configuration.  Unless the files
   10673 and actions are specified as TAGs, all are instantiated by default.
   10674 
   10675 Usage: $0 [OPTION]... [TAG]...
   10676 
   10677   -h, --help       print this help, then exit
   10678   -V, --version    print version number and configuration settings, then exit
   10679       --config     print configuration, then exit
   10680   -q, --quiet, --silent
   10681                    do not print progress messages
   10682   -d, --debug      don't remove temporary files
   10683       --recheck    update $as_me by reconfiguring in the same conditions
   10684       --file=FILE[:TEMPLATE]
   10685                    instantiate the configuration file FILE
   10686       --header=FILE[:TEMPLATE]
   10687                    instantiate the configuration header FILE
   10688 
   10689 Configuration files:
   10690 $config_files
   10691 
   10692 Configuration headers:
   10693 $config_headers
   10694 
   10695 Configuration commands:
   10696 $config_commands
   10697 
   10698 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   10699 
   10700 _ACEOF
   10701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   10702 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   10703 ac_cs_version="\\
   10704 oclock config.status 1.0.3
   10705 configured by $0, generated by GNU Autoconf 2.68,
   10706   with options \\"\$ac_cs_config\\"
   10707 
   10708 Copyright (C) 2010 Free Software Foundation, Inc.
   10709 This config.status script is free software; the Free Software Foundation
   10710 gives unlimited permission to copy, distribute and modify it."
   10711 
   10712 ac_pwd='$ac_pwd'
   10713 srcdir='$srcdir'
   10714 INSTALL='$INSTALL'
   10715 MKDIR_P='$MKDIR_P'
   10716 AWK='$AWK'
   10717 test -n "\$AWK" || AWK=awk
   10718 _ACEOF
   10719 
   10720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   10721 # The default lists apply if the user does not specify any file.
   10722 ac_need_defaults=:
   10723 while test $# != 0
   10724 do
   10725   case $1 in
   10726   --*=?*)
   10727     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   10728     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   10729     ac_shift=:
   10730     ;;
   10731   --*=)
   10732     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   10733     ac_optarg=
   10734     ac_shift=:
   10735     ;;
   10736   *)
   10737     ac_option=$1
   10738     ac_optarg=$2
   10739     ac_shift=shift
   10740     ;;
   10741   esac
   10742 
   10743   case $ac_option in
   10744   # Handling of the options.
   10745   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   10746     ac_cs_recheck=: ;;
   10747   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   10748     $as_echo "$ac_cs_version"; exit ;;
   10749   --config | --confi | --conf | --con | --co | --c )
   10750     $as_echo "$ac_cs_config"; exit ;;
   10751   --debug | --debu | --deb | --de | --d | -d )
   10752     debug=: ;;
   10753   --file | --fil | --fi | --f )
   10754     $ac_shift
   10755     case $ac_optarg in
   10756     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   10757     '') as_fn_error $? "missing file argument" ;;
   10758     esac
   10759     as_fn_append CONFIG_FILES " '$ac_optarg'"
   10760     ac_need_defaults=false;;
   10761   --header | --heade | --head | --hea )
   10762     $ac_shift
   10763     case $ac_optarg in
   10764     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   10765     esac
   10766     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   10767     ac_need_defaults=false;;
   10768   --he | --h)
   10769     # Conflict between --help and --header
   10770     as_fn_error $? "ambiguous option: \`$1'
   10771 Try \`$0 --help' for more information.";;
   10772   --help | --hel | -h )
   10773     $as_echo "$ac_cs_usage"; exit ;;
   10774   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   10775   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   10776     ac_cs_silent=: ;;
   10777 
   10778   # This is an error.
   10779   -*) as_fn_error $? "unrecognized option: \`$1'
   10780 Try \`$0 --help' for more information." ;;
   10781 
   10782   *) as_fn_append ac_config_targets " $1"
   10783      ac_need_defaults=false ;;
   10784 
   10785   esac
   10786   shift
   10787 done
   10788 
   10789 ac_configure_extra_args=
   10790 
   10791 if $ac_cs_silent; then
   10792   exec 6>/dev/null
   10793   ac_configure_extra_args="$ac_configure_extra_args --silent"
   10794 fi
   10795 
   10796 _ACEOF
   10797 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   10798 if \$ac_cs_recheck; then
   10799   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   10800   shift
   10801   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   10802   CONFIG_SHELL='$SHELL'
   10803   export CONFIG_SHELL
   10804   exec "\$@"
   10805 fi
   10806 
   10807 _ACEOF
   10808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   10809 exec 5>>config.log
   10810 {
   10811   echo
   10812   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   10813 ## Running $as_me. ##
   10814 _ASBOX
   10815   $as_echo "$ac_log"
   10816 } >&5
   10817 
   10818 _ACEOF
   10819 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   10820 #
   10821 # INIT-COMMANDS
   10822 #
   10823 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   10824 
   10825 _ACEOF
   10826 
   10827 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   10828 
   10829 # Handling of arguments.
   10830 for ac_config_target in $ac_config_targets
   10831 do
   10832   case $ac_config_target in
   10833     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   10834     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   10835     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   10836     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   10837 
   10838   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   10839   esac
   10840 done
   10841 
   10842 
   10843 # If the user did not use the arguments to specify the items to instantiate,
   10844 # then the envvar interface is used.  Set only those that are not.
   10845 # We use the long form for the default assignment because of an extremely
   10846 # bizarre bug on SunOS 4.1.3.
   10847 if $ac_need_defaults; then
   10848   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   10849   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   10850   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   10851 fi
   10852 
   10853 # Have a temporary directory for convenience.  Make it in the build tree
   10854 # simply because there is no reason against having it here, and in addition,
   10855 # creating and moving files from /tmp can sometimes cause problems.
   10856 # Hook for its removal unless debugging.
   10857 # Note that there is a small window in which the directory will not be cleaned:
   10858 # after its creation but before its name has been assigned to `$tmp'.
   10859 $debug ||
   10860 {
   10861   tmp= ac_tmp=
   10862   trap 'exit_status=$?
   10863   : "${ac_tmp:=$tmp}"
   10864   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   10865 ' 0
   10866   trap 'as_fn_exit 1' 1 2 13 15
   10867 }
   10868 # Create a (secure) tmp directory for tmp files.
   10869 
   10870 {
   10871   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   10872   test -d "$tmp"
   10873 }  ||
   10874 {
   10875   tmp=./conf$$-$RANDOM
   10876   (umask 077 && mkdir "$tmp")
   10877 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   10878 ac_tmp=$tmp
   10879 
   10880 # Set up the scripts for CONFIG_FILES section.
   10881 # No need to generate them if there are no CONFIG_FILES.
   10882 # This happens for instance with `./config.status config.h'.
   10883 if test -n "$CONFIG_FILES"; then
   10884 
   10885 
   10886 ac_cr=`echo X | tr X '\015'`
   10887 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   10888 # But we know of no other shell where ac_cr would be empty at this
   10889 # point, so we can use a bashism as a fallback.
   10890 if test "x$ac_cr" = x; then
   10891   eval ac_cr=\$\'\\r\'
   10892 fi
   10893 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   10894 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   10895   ac_cs_awk_cr='\\r'
   10896 else
   10897   ac_cs_awk_cr=$ac_cr
   10898 fi
   10899 
   10900 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   10901 _ACEOF
   10902 
   10903 
   10904 {
   10905   echo "cat >conf$$subs.awk <<_ACEOF" &&
   10906   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   10907   echo "_ACEOF"
   10908 } >conf$$subs.sh ||
   10909   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   10910 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   10911 ac_delim='%!_!# '
   10912 for ac_last_try in false false false false false :; do
   10913   . ./conf$$subs.sh ||
   10914     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   10915 
   10916   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   10917   if test $ac_delim_n = $ac_delim_num; then
   10918     break
   10919   elif $ac_last_try; then
   10920     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   10921   else
   10922     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   10923   fi
   10924 done
   10925 rm -f conf$$subs.sh
   10926 
   10927 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   10928 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   10929 _ACEOF
   10930 sed -n '
   10931 h
   10932 s/^/S["/; s/!.*/"]=/
   10933 p
   10934 g
   10935 s/^[^!]*!//
   10936 :repl
   10937 t repl
   10938 s/'"$ac_delim"'$//
   10939 t delim
   10940 :nl
   10941 h
   10942 s/\(.\{148\}\)..*/\1/
   10943 t more1
   10944 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   10945 p
   10946 n
   10947 b repl
   10948 :more1
   10949 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   10950 p
   10951 g
   10952 s/.\{148\}//
   10953 t nl
   10954 :delim
   10955 h
   10956 s/\(.\{148\}\)..*/\1/
   10957 t more2
   10958 s/["\\]/\\&/g; s/^/"/; s/$/"/
   10959 p
   10960 b
   10961 :more2
   10962 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   10963 p
   10964 g
   10965 s/.\{148\}//
   10966 t delim
   10967 ' <conf$$subs.awk | sed '
   10968 /^[^""]/{
   10969   N
   10970   s/\n//
   10971 }
   10972 ' >>$CONFIG_STATUS || ac_write_fail=1
   10973 rm -f conf$$subs.awk
   10974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   10975 _ACAWK
   10976 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   10977   for (key in S) S_is_set[key] = 1
   10978   FS = ""
   10979 
   10980 }
   10981 {
   10982   line = $ 0
   10983   nfields = split(line, field, "@")
   10984   substed = 0
   10985   len = length(field[1])
   10986   for (i = 2; i < nfields; i++) {
   10987     key = field[i]
   10988     keylen = length(key)
   10989     if (S_is_set[key]) {
   10990       value = S[key]
   10991       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   10992       len += length(value) + length(field[++i])
   10993       substed = 1
   10994     } else
   10995       len += 1 + keylen
   10996   }
   10997 
   10998   print line
   10999 }
   11000 
   11001 _ACAWK
   11002 _ACEOF
   11003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11004 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11005   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11006 else
   11007   cat
   11008 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11009   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11010 _ACEOF
   11011 
   11012 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11013 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11014 # trailing colons and then remove the whole line if VPATH becomes empty
   11015 # (actually we leave an empty line to preserve line numbers).
   11016 if test "x$srcdir" = x.; then
   11017   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11018 h
   11019 s///
   11020 s/^/:/
   11021 s/[	 ]*$/:/
   11022 s/:\$(srcdir):/:/g
   11023 s/:\${srcdir}:/:/g
   11024 s/:@srcdir@:/:/g
   11025 s/^:*//
   11026 s/:*$//
   11027 x
   11028 s/\(=[	 ]*\).*/\1/
   11029 G
   11030 s/\n//
   11031 s/^[^=]*=[	 ]*$//
   11032 }'
   11033 fi
   11034 
   11035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11036 fi # test -n "$CONFIG_FILES"
   11037 
   11038 # Set up the scripts for CONFIG_HEADERS section.
   11039 # No need to generate them if there are no CONFIG_HEADERS.
   11040 # This happens for instance with `./config.status Makefile'.
   11041 if test -n "$CONFIG_HEADERS"; then
   11042 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11043 BEGIN {
   11044 _ACEOF
   11045 
   11046 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11047 # here-document in config.status, that substitutes the proper values into
   11048 # config.h.in to produce config.h.
   11049 
   11050 # Create a delimiter string that does not exist in confdefs.h, to ease
   11051 # handling of long lines.
   11052 ac_delim='%!_!# '
   11053 for ac_last_try in false false :; do
   11054   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11055   if test -z "$ac_tt"; then
   11056     break
   11057   elif $ac_last_try; then
   11058     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11059   else
   11060     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11061   fi
   11062 done
   11063 
   11064 # For the awk script, D is an array of macro values keyed by name,
   11065 # likewise P contains macro parameters if any.  Preserve backslash
   11066 # newline sequences.
   11067 
   11068 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11069 sed -n '
   11070 s/.\{148\}/&'"$ac_delim"'/g
   11071 t rset
   11072 :rset
   11073 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11074 t def
   11075 d
   11076 :def
   11077 s/\\$//
   11078 t bsnl
   11079 s/["\\]/\\&/g
   11080 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11081 D["\1"]=" \3"/p
   11082 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11083 d
   11084 :bsnl
   11085 s/["\\]/\\&/g
   11086 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11087 D["\1"]=" \3\\\\\\n"\\/p
   11088 t cont
   11089 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11090 t cont
   11091 d
   11092 :cont
   11093 n
   11094 s/.\{148\}/&'"$ac_delim"'/g
   11095 t clear
   11096 :clear
   11097 s/\\$//
   11098 t bsnlc
   11099 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11100 d
   11101 :bsnlc
   11102 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11103 b cont
   11104 ' <confdefs.h | sed '
   11105 s/'"$ac_delim"'/"\\\
   11106 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11107 
   11108 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11109   for (key in D) D_is_set[key] = 1
   11110   FS = ""
   11111 }
   11112 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11113   line = \$ 0
   11114   split(line, arg, " ")
   11115   if (arg[1] == "#") {
   11116     defundef = arg[2]
   11117     mac1 = arg[3]
   11118   } else {
   11119     defundef = substr(arg[1], 2)
   11120     mac1 = arg[2]
   11121   }
   11122   split(mac1, mac2, "(") #)
   11123   macro = mac2[1]
   11124   prefix = substr(line, 1, index(line, defundef) - 1)
   11125   if (D_is_set[macro]) {
   11126     # Preserve the white space surrounding the "#".
   11127     print prefix "define", macro P[macro] D[macro]
   11128     next
   11129   } else {
   11130     # Replace #undef with comments.  This is necessary, for example,
   11131     # in the case of _POSIX_SOURCE, which is predefined and required
   11132     # on some systems where configure will not decide to define it.
   11133     if (defundef == "undef") {
   11134       print "/*", prefix defundef, macro, "*/"
   11135       next
   11136     }
   11137   }
   11138 }
   11139 { print }
   11140 _ACAWK
   11141 _ACEOF
   11142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11143   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11144 fi # test -n "$CONFIG_HEADERS"
   11145 
   11146 
   11147 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11148 shift
   11149 for ac_tag
   11150 do
   11151   case $ac_tag in
   11152   :[FHLC]) ac_mode=$ac_tag; continue;;
   11153   esac
   11154   case $ac_mode$ac_tag in
   11155   :[FHL]*:*);;
   11156   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11157   :[FH]-) ac_tag=-:-;;
   11158   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11159   esac
   11160   ac_save_IFS=$IFS
   11161   IFS=:
   11162   set x $ac_tag
   11163   IFS=$ac_save_IFS
   11164   shift
   11165   ac_file=$1
   11166   shift
   11167 
   11168   case $ac_mode in
   11169   :L) ac_source=$1;;
   11170   :[FH])
   11171     ac_file_inputs=
   11172     for ac_f
   11173     do
   11174       case $ac_f in
   11175       -) ac_f="$ac_tmp/stdin";;
   11176       *) # Look for the file first in the build tree, then in the source tree
   11177 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11178 	 # because $ac_f cannot contain `:'.
   11179 	 test -f "$ac_f" ||
   11180 	   case $ac_f in
   11181 	   [\\/$]*) false;;
   11182 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11183 	   esac ||
   11184 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11185       esac
   11186       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11187       as_fn_append ac_file_inputs " '$ac_f'"
   11188     done
   11189 
   11190     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11191     # use $as_me), people would be surprised to read:
   11192     #    /* config.h.  Generated by config.status.  */
   11193     configure_input='Generated from '`
   11194 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11195 	`' by configure.'
   11196     if test x"$ac_file" != x-; then
   11197       configure_input="$ac_file.  $configure_input"
   11198       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11199 $as_echo "$as_me: creating $ac_file" >&6;}
   11200     fi
   11201     # Neutralize special characters interpreted by sed in replacement strings.
   11202     case $configure_input in #(
   11203     *\&* | *\|* | *\\* )
   11204        ac_sed_conf_input=`$as_echo "$configure_input" |
   11205        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11206     *) ac_sed_conf_input=$configure_input;;
   11207     esac
   11208 
   11209     case $ac_tag in
   11210     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   11211       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   11212     esac
   11213     ;;
   11214   esac
   11215 
   11216   ac_dir=`$as_dirname -- "$ac_file" ||
   11217 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11218 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   11219 	 X"$ac_file" : 'X\(//\)$' \| \
   11220 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   11221 $as_echo X"$ac_file" |
   11222     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11223 	    s//\1/
   11224 	    q
   11225 	  }
   11226 	  /^X\(\/\/\)[^/].*/{
   11227 	    s//\1/
   11228 	    q
   11229 	  }
   11230 	  /^X\(\/\/\)$/{
   11231 	    s//\1/
   11232 	    q
   11233 	  }
   11234 	  /^X\(\/\).*/{
   11235 	    s//\1/
   11236 	    q
   11237 	  }
   11238 	  s/.*/./; q'`
   11239   as_dir="$ac_dir"; as_fn_mkdir_p
   11240   ac_builddir=.
   11241 
   11242 case "$ac_dir" in
   11243 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11244 *)
   11245   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   11246   # A ".." for each directory in $ac_dir_suffix.
   11247   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   11248   case $ac_top_builddir_sub in
   11249   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11250   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   11251   esac ;;
   11252 esac
   11253 ac_abs_top_builddir=$ac_pwd
   11254 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   11255 # for backward compatibility:
   11256 ac_top_builddir=$ac_top_build_prefix
   11257 
   11258 case $srcdir in
   11259   .)  # We are building in place.
   11260     ac_srcdir=.
   11261     ac_top_srcdir=$ac_top_builddir_sub
   11262     ac_abs_top_srcdir=$ac_pwd ;;
   11263   [\\/]* | ?:[\\/]* )  # Absolute name.
   11264     ac_srcdir=$srcdir$ac_dir_suffix;
   11265     ac_top_srcdir=$srcdir
   11266     ac_abs_top_srcdir=$srcdir ;;
   11267   *) # Relative name.
   11268     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   11269     ac_top_srcdir=$ac_top_build_prefix$srcdir
   11270     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   11271 esac
   11272 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   11273 
   11274 
   11275   case $ac_mode in
   11276   :F)
   11277   #
   11278   # CONFIG_FILE
   11279   #
   11280 
   11281   case $INSTALL in
   11282   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   11283   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   11284   esac
   11285   ac_MKDIR_P=$MKDIR_P
   11286   case $MKDIR_P in
   11287   [\\/$]* | ?:[\\/]* ) ;;
   11288   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   11289   esac
   11290 _ACEOF
   11291 
   11292 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11293 # If the template does not know about datarootdir, expand it.
   11294 # FIXME: This hack should be removed a few years after 2.60.
   11295 ac_datarootdir_hack=; ac_datarootdir_seen=
   11296 ac_sed_dataroot='
   11297 /datarootdir/ {
   11298   p
   11299   q
   11300 }
   11301 /@datadir@/p
   11302 /@docdir@/p
   11303 /@infodir@/p
   11304 /@localedir@/p
   11305 /@mandir@/p'
   11306 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   11307 *datarootdir*) ac_datarootdir_seen=yes;;
   11308 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   11309   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   11310 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   11311 _ACEOF
   11312 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11313   ac_datarootdir_hack='
   11314   s&@datadir@&$datadir&g
   11315   s&@docdir@&$docdir&g
   11316   s&@infodir@&$infodir&g
   11317   s&@localedir@&$localedir&g
   11318   s&@mandir@&$mandir&g
   11319   s&\\\${datarootdir}&$datarootdir&g' ;;
   11320 esac
   11321 _ACEOF
   11322 
   11323 # Neutralize VPATH when `$srcdir' = `.'.
   11324 # Shell code in configure.ac might set extrasub.
   11325 # FIXME: do we really want to maintain this feature?
   11326 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11327 ac_sed_extra="$ac_vpsub
   11328 $extrasub
   11329 _ACEOF
   11330 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11331 :t
   11332 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   11333 s|@configure_input@|$ac_sed_conf_input|;t t
   11334 s&@top_builddir@&$ac_top_builddir_sub&;t t
   11335 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   11336 s&@srcdir@&$ac_srcdir&;t t
   11337 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   11338 s&@top_srcdir@&$ac_top_srcdir&;t t
   11339 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   11340 s&@builddir@&$ac_builddir&;t t
   11341 s&@abs_builddir@&$ac_abs_builddir&;t t
   11342 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   11343 s&@INSTALL@&$ac_INSTALL&;t t
   11344 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   11345 $ac_datarootdir_hack
   11346 "
   11347 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   11348   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11349 
   11350 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   11351   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   11352   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   11353       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   11354   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11355 which seems to be undefined.  Please make sure it is defined" >&5
   11356 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11357 which seems to be undefined.  Please make sure it is defined" >&2;}
   11358 
   11359   rm -f "$ac_tmp/stdin"
   11360   case $ac_file in
   11361   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   11362   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   11363   esac \
   11364   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11365  ;;
   11366   :H)
   11367   #
   11368   # CONFIG_HEADER
   11369   #
   11370   if test x"$ac_file" != x-; then
   11371     {
   11372       $as_echo "/* $configure_input  */" \
   11373       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   11374     } >"$ac_tmp/config.h" \
   11375       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11376     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   11377       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   11378 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   11379     else
   11380       rm -f "$ac_file"
   11381       mv "$ac_tmp/config.h" "$ac_file" \
   11382 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11383     fi
   11384   else
   11385     $as_echo "/* $configure_input  */" \
   11386       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   11387       || as_fn_error $? "could not create -" "$LINENO" 5
   11388   fi
   11389 # Compute "$ac_file"'s index in $config_headers.
   11390 _am_arg="$ac_file"
   11391 _am_stamp_count=1
   11392 for _am_header in $config_headers :; do
   11393   case $_am_header in
   11394     $_am_arg | $_am_arg:* )
   11395       break ;;
   11396     * )
   11397       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   11398   esac
   11399 done
   11400 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   11401 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11402 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   11403 	 X"$_am_arg" : 'X\(//\)$' \| \
   11404 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   11405 $as_echo X"$_am_arg" |
   11406     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11407 	    s//\1/
   11408 	    q
   11409 	  }
   11410 	  /^X\(\/\/\)[^/].*/{
   11411 	    s//\1/
   11412 	    q
   11413 	  }
   11414 	  /^X\(\/\/\)$/{
   11415 	    s//\1/
   11416 	    q
   11417 	  }
   11418 	  /^X\(\/\).*/{
   11419 	    s//\1/
   11420 	    q
   11421 	  }
   11422 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   11423  ;;
   11424 
   11425   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   11426 $as_echo "$as_me: executing $ac_file commands" >&6;}
   11427  ;;
   11428   esac
   11429 
   11430 
   11431   case $ac_file$ac_mode in
   11432     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   11433   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   11434   # are listed without --file.  Let's play safe and only enable the eval
   11435   # if we detect the quoting.
   11436   case $CONFIG_FILES in
   11437   *\'*) eval set x "$CONFIG_FILES" ;;
   11438   *)   set x $CONFIG_FILES ;;
   11439   esac
   11440   shift
   11441   for mf
   11442   do
   11443     # Strip MF so we end up with the name of the file.
   11444     mf=`echo "$mf" | sed -e 's/:.*$//'`
   11445     # Check whether this is an Automake generated Makefile or not.
   11446     # We used to match only the files named `Makefile.in', but
   11447     # some people rename them; so instead we look at the file content.
   11448     # Grep'ing the first line is not enough: some people post-process
   11449     # each Makefile.in and add a new line on top of each file to say so.
   11450     # Grep'ing the whole file is not good either: AIX grep has a line
   11451     # limit of 2048, but all sed's we know have understand at least 4000.
   11452     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   11453       dirpart=`$as_dirname -- "$mf" ||
   11454 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11455 	 X"$mf" : 'X\(//\)[^/]' \| \
   11456 	 X"$mf" : 'X\(//\)$' \| \
   11457 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   11458 $as_echo X"$mf" |
   11459     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11460 	    s//\1/
   11461 	    q
   11462 	  }
   11463 	  /^X\(\/\/\)[^/].*/{
   11464 	    s//\1/
   11465 	    q
   11466 	  }
   11467 	  /^X\(\/\/\)$/{
   11468 	    s//\1/
   11469 	    q
   11470 	  }
   11471 	  /^X\(\/\).*/{
   11472 	    s//\1/
   11473 	    q
   11474 	  }
   11475 	  s/.*/./; q'`
   11476     else
   11477       continue
   11478     fi
   11479     # Extract the definition of DEPDIR, am__include, and am__quote
   11480     # from the Makefile without running `make'.
   11481     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   11482     test -z "$DEPDIR" && continue
   11483     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   11484     test -z "am__include" && continue
   11485     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   11486     # When using ansi2knr, U may be empty or an underscore; expand it
   11487     U=`sed -n 's/^U = //p' < "$mf"`
   11488     # Find all dependency output files, they are included files with
   11489     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   11490     # simplest approach to changing $(DEPDIR) to its actual value in the
   11491     # expansion.
   11492     for file in `sed -n "
   11493       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   11494 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   11495       # Make sure the directory exists.
   11496       test -f "$dirpart/$file" && continue
   11497       fdir=`$as_dirname -- "$file" ||
   11498 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11499 	 X"$file" : 'X\(//\)[^/]' \| \
   11500 	 X"$file" : 'X\(//\)$' \| \
   11501 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   11502 $as_echo X"$file" |
   11503     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11504 	    s//\1/
   11505 	    q
   11506 	  }
   11507 	  /^X\(\/\/\)[^/].*/{
   11508 	    s//\1/
   11509 	    q
   11510 	  }
   11511 	  /^X\(\/\/\)$/{
   11512 	    s//\1/
   11513 	    q
   11514 	  }
   11515 	  /^X\(\/\).*/{
   11516 	    s//\1/
   11517 	    q
   11518 	  }
   11519 	  s/.*/./; q'`
   11520       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   11521       # echo "creating $dirpart/$file"
   11522       echo '# dummy' > "$dirpart/$file"
   11523     done
   11524   done
   11525 }
   11526  ;;
   11527 
   11528   esac
   11529 done # for ac_tag
   11530 
   11531 
   11532 as_fn_exit 0
   11533 _ACEOF
   11534 ac_clean_files=$ac_clean_files_save
   11535 
   11536 test $ac_write_fail = 0 ||
   11537   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   11538 
   11539 
   11540 # configure is writing to config.log, and then calls config.status.
   11541 # config.status does its own redirection, appending to config.log.
   11542 # Unfortunately, on DOS this fails, as config.log is still kept open
   11543 # by configure, so config.status won't be able to write to it; its
   11544 # output is simply discarded.  So we exec the FD to /dev/null,
   11545 # effectively closing config.log, so it can be properly (re)opened and
   11546 # appended to by config.status.  When coming back to configure, we
   11547 # need to make the FD available again.
   11548 if test "$no_create" != yes; then
   11549   ac_cs_success=:
   11550   ac_config_status_args=
   11551   test "$silent" = yes &&
   11552     ac_config_status_args="$ac_config_status_args --quiet"
   11553   exec 5>/dev/null
   11554   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   11555   exec 5>>config.log
   11556   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   11557   # would make configure fail if this is the last instruction.
   11558   $ac_cs_success || as_fn_exit 1
   11559 fi
   11560 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   11561   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   11562 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   11563 fi
   11564 
   11565