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 beforelight 1.0.5.
      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='beforelight'
    563 PACKAGE_TARNAME='beforelight'
    564 PACKAGE_VERSION='1.0.5'
    565 PACKAGE_STRING='beforelight 1.0.5'
    566 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    567 PACKAGE_URL=''
    568 
    569 ac_unique_file="Makefile.am"
    570 # Factoring default headers for most tests.
    571 ac_includes_default="\
    572 #include <stdio.h>
    573 #ifdef HAVE_SYS_TYPES_H
    574 # include <sys/types.h>
    575 #endif
    576 #ifdef HAVE_SYS_STAT_H
    577 # include <sys/stat.h>
    578 #endif
    579 #ifdef STDC_HEADERS
    580 # include <stdlib.h>
    581 # include <stddef.h>
    582 #else
    583 # ifdef HAVE_STDLIB_H
    584 #  include <stdlib.h>
    585 # endif
    586 #endif
    587 #ifdef HAVE_STRING_H
    588 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    589 #  include <memory.h>
    590 # endif
    591 # include <string.h>
    592 #endif
    593 #ifdef HAVE_STRINGS_H
    594 # include <strings.h>
    595 #endif
    596 #ifdef HAVE_INTTYPES_H
    597 # include <inttypes.h>
    598 #endif
    599 #ifdef HAVE_STDINT_H
    600 # include <stdint.h>
    601 #endif
    602 #ifdef HAVE_UNISTD_H
    603 # include <unistd.h>
    604 #endif"
    605 
    606 ac_subst_vars='am__EXEEXT_FALSE
    607 am__EXEEXT_TRUE
    608 LTLIBOBJS
    609 LIBOBJS
    610 appdefaultdir
    611 APPDEFS_LIBS
    612 APPDEFS_CFLAGS
    613 BEFORELIGHT_LIBS
    614 BEFORELIGHT_CFLAGS
    615 AM_BACKSLASH
    616 AM_DEFAULT_VERBOSITY
    617 MAN_SUBSTS
    618 XORG_MAN_PAGE
    619 ADMIN_MAN_DIR
    620 DRIVER_MAN_DIR
    621 MISC_MAN_DIR
    622 FILE_MAN_DIR
    623 LIB_MAN_DIR
    624 APP_MAN_DIR
    625 ADMIN_MAN_SUFFIX
    626 DRIVER_MAN_SUFFIX
    627 MISC_MAN_SUFFIX
    628 FILE_MAN_SUFFIX
    629 LIB_MAN_SUFFIX
    630 APP_MAN_SUFFIX
    631 SED
    632 host_os
    633 host_vendor
    634 host_cpu
    635 host
    636 build_os
    637 build_vendor
    638 build_cpu
    639 build
    640 INSTALL_CMD
    641 PKG_CONFIG
    642 CHANGELOG_CMD
    643 STRICT_CFLAGS
    644 CWARNFLAGS
    645 BASE_CFLAGS
    646 EGREP
    647 GREP
    648 CPP
    649 am__fastdepCC_FALSE
    650 am__fastdepCC_TRUE
    651 CCDEPMODE
    652 am__nodep
    653 AMDEPBACKSLASH
    654 AMDEP_FALSE
    655 AMDEP_TRUE
    656 am__quote
    657 am__include
    658 DEPDIR
    659 OBJEXT
    660 EXEEXT
    661 ac_ct_CC
    662 CPPFLAGS
    663 LDFLAGS
    664 CFLAGS
    665 CC
    666 MAINT
    667 MAINTAINER_MODE_FALSE
    668 MAINTAINER_MODE_TRUE
    669 am__untar
    670 am__tar
    671 AMTAR
    672 am__leading_dot
    673 SET_MAKE
    674 AWK
    675 mkdir_p
    676 MKDIR_P
    677 INSTALL_STRIP_PROGRAM
    678 STRIP
    679 install_sh
    680 MAKEINFO
    681 AUTOHEADER
    682 AUTOMAKE
    683 AUTOCONF
    684 ACLOCAL
    685 VERSION
    686 PACKAGE
    687 CYGPATH_W
    688 am__isrc
    689 INSTALL_DATA
    690 INSTALL_SCRIPT
    691 INSTALL_PROGRAM
    692 target_alias
    693 host_alias
    694 build_alias
    695 LIBS
    696 ECHO_T
    697 ECHO_N
    698 ECHO_C
    699 DEFS
    700 mandir
    701 localedir
    702 libdir
    703 psdir
    704 pdfdir
    705 dvidir
    706 htmldir
    707 infodir
    708 docdir
    709 oldincludedir
    710 includedir
    711 localstatedir
    712 sharedstatedir
    713 sysconfdir
    714 datadir
    715 datarootdir
    716 libexecdir
    717 sbindir
    718 bindir
    719 program_transform_name
    720 prefix
    721 exec_prefix
    722 PACKAGE_URL
    723 PACKAGE_BUGREPORT
    724 PACKAGE_STRING
    725 PACKAGE_VERSION
    726 PACKAGE_TARNAME
    727 PACKAGE_NAME
    728 PATH_SEPARATOR
    729 SHELL'
    730 ac_subst_files=''
    731 ac_user_opts='
    732 enable_option_checking
    733 enable_maintainer_mode
    734 enable_dependency_tracking
    735 enable_selective_werror
    736 enable_strict_compilation
    737 enable_silent_rules
    738 with_appdefaultdir
    739 '
    740       ac_precious_vars='build_alias
    741 host_alias
    742 target_alias
    743 CC
    744 CFLAGS
    745 LDFLAGS
    746 LIBS
    747 CPPFLAGS
    748 CPP
    749 PKG_CONFIG
    750 BEFORELIGHT_CFLAGS
    751 BEFORELIGHT_LIBS
    752 APPDEFS_CFLAGS
    753 APPDEFS_LIBS'
    754 
    755 
    756 # Initialize some variables set by options.
    757 ac_init_help=
    758 ac_init_version=false
    759 ac_unrecognized_opts=
    760 ac_unrecognized_sep=
    761 # The variables have the same names as the options, with
    762 # dashes changed to underlines.
    763 cache_file=/dev/null
    764 exec_prefix=NONE
    765 no_create=
    766 no_recursion=
    767 prefix=NONE
    768 program_prefix=NONE
    769 program_suffix=NONE
    770 program_transform_name=s,x,x,
    771 silent=
    772 site=
    773 srcdir=
    774 verbose=
    775 x_includes=NONE
    776 x_libraries=NONE
    777 
    778 # Installation directory options.
    779 # These are left unexpanded so users can "make install exec_prefix=/foo"
    780 # and all the variables that are supposed to be based on exec_prefix
    781 # by default will actually change.
    782 # Use braces instead of parens because sh, perl, etc. also accept them.
    783 # (The list follows the same order as the GNU Coding Standards.)
    784 bindir='${exec_prefix}/bin'
    785 sbindir='${exec_prefix}/sbin'
    786 libexecdir='${exec_prefix}/libexec'
    787 datarootdir='${prefix}/share'
    788 datadir='${datarootdir}'
    789 sysconfdir='${prefix}/etc'
    790 sharedstatedir='${prefix}/com'
    791 localstatedir='${prefix}/var'
    792 includedir='${prefix}/include'
    793 oldincludedir='/usr/include'
    794 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    795 infodir='${datarootdir}/info'
    796 htmldir='${docdir}'
    797 dvidir='${docdir}'
    798 pdfdir='${docdir}'
    799 psdir='${docdir}'
    800 libdir='${exec_prefix}/lib'
    801 localedir='${datarootdir}/locale'
    802 mandir='${datarootdir}/man'
    803 
    804 ac_prev=
    805 ac_dashdash=
    806 for ac_option
    807 do
    808   # If the previous option needs an argument, assign it.
    809   if test -n "$ac_prev"; then
    810     eval $ac_prev=\$ac_option
    811     ac_prev=
    812     continue
    813   fi
    814 
    815   case $ac_option in
    816   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    817   *=)   ac_optarg= ;;
    818   *)    ac_optarg=yes ;;
    819   esac
    820 
    821   # Accept the important Cygnus configure options, so we can diagnose typos.
    822 
    823   case $ac_dashdash$ac_option in
    824   --)
    825     ac_dashdash=yes ;;
    826 
    827   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    828     ac_prev=bindir ;;
    829   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    830     bindir=$ac_optarg ;;
    831 
    832   -build | --build | --buil | --bui | --bu)
    833     ac_prev=build_alias ;;
    834   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    835     build_alias=$ac_optarg ;;
    836 
    837   -cache-file | --cache-file | --cache-fil | --cache-fi \
    838   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    839     ac_prev=cache_file ;;
    840   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    841   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    842     cache_file=$ac_optarg ;;
    843 
    844   --config-cache | -C)
    845     cache_file=config.cache ;;
    846 
    847   -datadir | --datadir | --datadi | --datad)
    848     ac_prev=datadir ;;
    849   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    850     datadir=$ac_optarg ;;
    851 
    852   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    853   | --dataroo | --dataro | --datar)
    854     ac_prev=datarootdir ;;
    855   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    856   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    857     datarootdir=$ac_optarg ;;
    858 
    859   -disable-* | --disable-*)
    860     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    861     # Reject names that are not valid shell variable names.
    862     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    863       as_fn_error $? "invalid feature name: $ac_useropt"
    864     ac_useropt_orig=$ac_useropt
    865     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    866     case $ac_user_opts in
    867       *"
    868 "enable_$ac_useropt"
    869 "*) ;;
    870       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    871 	 ac_unrecognized_sep=', ';;
    872     esac
    873     eval enable_$ac_useropt=no ;;
    874 
    875   -docdir | --docdir | --docdi | --doc | --do)
    876     ac_prev=docdir ;;
    877   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    878     docdir=$ac_optarg ;;
    879 
    880   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    881     ac_prev=dvidir ;;
    882   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    883     dvidir=$ac_optarg ;;
    884 
    885   -enable-* | --enable-*)
    886     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    887     # Reject names that are not valid shell variable names.
    888     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    889       as_fn_error $? "invalid feature name: $ac_useropt"
    890     ac_useropt_orig=$ac_useropt
    891     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    892     case $ac_user_opts in
    893       *"
    894 "enable_$ac_useropt"
    895 "*) ;;
    896       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    897 	 ac_unrecognized_sep=', ';;
    898     esac
    899     eval enable_$ac_useropt=\$ac_optarg ;;
    900 
    901   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    902   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    903   | --exec | --exe | --ex)
    904     ac_prev=exec_prefix ;;
    905   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    906   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    907   | --exec=* | --exe=* | --ex=*)
    908     exec_prefix=$ac_optarg ;;
    909 
    910   -gas | --gas | --ga | --g)
    911     # Obsolete; use --with-gas.
    912     with_gas=yes ;;
    913 
    914   -help | --help | --hel | --he | -h)
    915     ac_init_help=long ;;
    916   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    917     ac_init_help=recursive ;;
    918   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    919     ac_init_help=short ;;
    920 
    921   -host | --host | --hos | --ho)
    922     ac_prev=host_alias ;;
    923   -host=* | --host=* | --hos=* | --ho=*)
    924     host_alias=$ac_optarg ;;
    925 
    926   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    927     ac_prev=htmldir ;;
    928   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    929   | --ht=*)
    930     htmldir=$ac_optarg ;;
    931 
    932   -includedir | --includedir | --includedi | --included | --include \
    933   | --includ | --inclu | --incl | --inc)
    934     ac_prev=includedir ;;
    935   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    936   | --includ=* | --inclu=* | --incl=* | --inc=*)
    937     includedir=$ac_optarg ;;
    938 
    939   -infodir | --infodir | --infodi | --infod | --info | --inf)
    940     ac_prev=infodir ;;
    941   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    942     infodir=$ac_optarg ;;
    943 
    944   -libdir | --libdir | --libdi | --libd)
    945     ac_prev=libdir ;;
    946   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    947     libdir=$ac_optarg ;;
    948 
    949   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    950   | --libexe | --libex | --libe)
    951     ac_prev=libexecdir ;;
    952   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    953   | --libexe=* | --libex=* | --libe=*)
    954     libexecdir=$ac_optarg ;;
    955 
    956   -localedir | --localedir | --localedi | --localed | --locale)
    957     ac_prev=localedir ;;
    958   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    959     localedir=$ac_optarg ;;
    960 
    961   -localstatedir | --localstatedir | --localstatedi | --localstated \
    962   | --localstate | --localstat | --localsta | --localst | --locals)
    963     ac_prev=localstatedir ;;
    964   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    965   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    966     localstatedir=$ac_optarg ;;
    967 
    968   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    969     ac_prev=mandir ;;
    970   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    971     mandir=$ac_optarg ;;
    972 
    973   -nfp | --nfp | --nf)
    974     # Obsolete; use --without-fp.
    975     with_fp=no ;;
    976 
    977   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    978   | --no-cr | --no-c | -n)
    979     no_create=yes ;;
    980 
    981   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    982   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    983     no_recursion=yes ;;
    984 
    985   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    986   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    987   | --oldin | --oldi | --old | --ol | --o)
    988     ac_prev=oldincludedir ;;
    989   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    990   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    991   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    992     oldincludedir=$ac_optarg ;;
    993 
    994   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    995     ac_prev=prefix ;;
    996   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    997     prefix=$ac_optarg ;;
    998 
    999   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1000   | --program-pre | --program-pr | --program-p)
   1001     ac_prev=program_prefix ;;
   1002   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1003   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1004     program_prefix=$ac_optarg ;;
   1005 
   1006   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1007   | --program-suf | --program-su | --program-s)
   1008     ac_prev=program_suffix ;;
   1009   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1010   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1011     program_suffix=$ac_optarg ;;
   1012 
   1013   -program-transform-name | --program-transform-name \
   1014   | --program-transform-nam | --program-transform-na \
   1015   | --program-transform-n | --program-transform- \
   1016   | --program-transform | --program-transfor \
   1017   | --program-transfo | --program-transf \
   1018   | --program-trans | --program-tran \
   1019   | --progr-tra | --program-tr | --program-t)
   1020     ac_prev=program_transform_name ;;
   1021   -program-transform-name=* | --program-transform-name=* \
   1022   | --program-transform-nam=* | --program-transform-na=* \
   1023   | --program-transform-n=* | --program-transform-=* \
   1024   | --program-transform=* | --program-transfor=* \
   1025   | --program-transfo=* | --program-transf=* \
   1026   | --program-trans=* | --program-tran=* \
   1027   | --progr-tra=* | --program-tr=* | --program-t=*)
   1028     program_transform_name=$ac_optarg ;;
   1029 
   1030   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1031     ac_prev=pdfdir ;;
   1032   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1033     pdfdir=$ac_optarg ;;
   1034 
   1035   -psdir | --psdir | --psdi | --psd | --ps)
   1036     ac_prev=psdir ;;
   1037   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1038     psdir=$ac_optarg ;;
   1039 
   1040   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1041   | -silent | --silent | --silen | --sile | --sil)
   1042     silent=yes ;;
   1043 
   1044   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1045     ac_prev=sbindir ;;
   1046   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1047   | --sbi=* | --sb=*)
   1048     sbindir=$ac_optarg ;;
   1049 
   1050   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1051   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1052   | --sharedst | --shareds | --shared | --share | --shar \
   1053   | --sha | --sh)
   1054     ac_prev=sharedstatedir ;;
   1055   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1056   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1057   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1058   | --sha=* | --sh=*)
   1059     sharedstatedir=$ac_optarg ;;
   1060 
   1061   -site | --site | --sit)
   1062     ac_prev=site ;;
   1063   -site=* | --site=* | --sit=*)
   1064     site=$ac_optarg ;;
   1065 
   1066   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1067     ac_prev=srcdir ;;
   1068   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1069     srcdir=$ac_optarg ;;
   1070 
   1071   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1072   | --syscon | --sysco | --sysc | --sys | --sy)
   1073     ac_prev=sysconfdir ;;
   1074   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1075   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1076     sysconfdir=$ac_optarg ;;
   1077 
   1078   -target | --target | --targe | --targ | --tar | --ta | --t)
   1079     ac_prev=target_alias ;;
   1080   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1081     target_alias=$ac_optarg ;;
   1082 
   1083   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1084     verbose=yes ;;
   1085 
   1086   -version | --version | --versio | --versi | --vers | -V)
   1087     ac_init_version=: ;;
   1088 
   1089   -with-* | --with-*)
   1090     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1091     # Reject names that are not valid shell variable names.
   1092     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1093       as_fn_error $? "invalid package name: $ac_useropt"
   1094     ac_useropt_orig=$ac_useropt
   1095     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1096     case $ac_user_opts in
   1097       *"
   1098 "with_$ac_useropt"
   1099 "*) ;;
   1100       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1101 	 ac_unrecognized_sep=', ';;
   1102     esac
   1103     eval with_$ac_useropt=\$ac_optarg ;;
   1104 
   1105   -without-* | --without-*)
   1106     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1107     # Reject names that are not valid shell variable names.
   1108     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1109       as_fn_error $? "invalid package name: $ac_useropt"
   1110     ac_useropt_orig=$ac_useropt
   1111     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1112     case $ac_user_opts in
   1113       *"
   1114 "with_$ac_useropt"
   1115 "*) ;;
   1116       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1117 	 ac_unrecognized_sep=', ';;
   1118     esac
   1119     eval with_$ac_useropt=no ;;
   1120 
   1121   --x)
   1122     # Obsolete; use --with-x.
   1123     with_x=yes ;;
   1124 
   1125   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1126   | --x-incl | --x-inc | --x-in | --x-i)
   1127     ac_prev=x_includes ;;
   1128   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1129   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1130     x_includes=$ac_optarg ;;
   1131 
   1132   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1133   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1134     ac_prev=x_libraries ;;
   1135   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1136   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1137     x_libraries=$ac_optarg ;;
   1138 
   1139   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1140 Try \`$0 --help' for more information"
   1141     ;;
   1142 
   1143   *=*)
   1144     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1145     # Reject names that are not valid shell variable names.
   1146     case $ac_envvar in #(
   1147       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1148       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1149     esac
   1150     eval $ac_envvar=\$ac_optarg
   1151     export $ac_envvar ;;
   1152 
   1153   *)
   1154     # FIXME: should be removed in autoconf 3.0.
   1155     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1156     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1157       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1158     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1159     ;;
   1160 
   1161   esac
   1162 done
   1163 
   1164 if test -n "$ac_prev"; then
   1165   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1166   as_fn_error $? "missing argument to $ac_option"
   1167 fi
   1168 
   1169 if test -n "$ac_unrecognized_opts"; then
   1170   case $enable_option_checking in
   1171     no) ;;
   1172     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1173     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1174   esac
   1175 fi
   1176 
   1177 # Check all directory arguments for consistency.
   1178 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1179 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1180 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1181 		libdir localedir mandir
   1182 do
   1183   eval ac_val=\$$ac_var
   1184   # Remove trailing slashes.
   1185   case $ac_val in
   1186     */ )
   1187       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1188       eval $ac_var=\$ac_val;;
   1189   esac
   1190   # Be sure to have absolute directory names.
   1191   case $ac_val in
   1192     [\\/$]* | ?:[\\/]* )  continue;;
   1193     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1194   esac
   1195   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1196 done
   1197 
   1198 # There might be people who depend on the old broken behavior: `$host'
   1199 # used to hold the argument of --host etc.
   1200 # FIXME: To remove some day.
   1201 build=$build_alias
   1202 host=$host_alias
   1203 target=$target_alias
   1204 
   1205 # FIXME: To remove some day.
   1206 if test "x$host_alias" != x; then
   1207   if test "x$build_alias" = x; then
   1208     cross_compiling=maybe
   1209     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1210     If a cross compiler is detected then cross compile mode will be used" >&2
   1211   elif test "x$build_alias" != "x$host_alias"; then
   1212     cross_compiling=yes
   1213   fi
   1214 fi
   1215 
   1216 ac_tool_prefix=
   1217 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1218 
   1219 test "$silent" = yes && exec 6>/dev/null
   1220 
   1221 
   1222 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1223 ac_ls_di=`ls -di .` &&
   1224 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1225   as_fn_error $? "working directory cannot be determined"
   1226 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1227   as_fn_error $? "pwd does not report name of working directory"
   1228 
   1229 
   1230 # Find the source files, if location was not specified.
   1231 if test -z "$srcdir"; then
   1232   ac_srcdir_defaulted=yes
   1233   # Try the directory containing this script, then the parent directory.
   1234   ac_confdir=`$as_dirname -- "$as_myself" ||
   1235 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1236 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1237 	 X"$as_myself" : 'X\(//\)$' \| \
   1238 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1239 $as_echo X"$as_myself" |
   1240     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1241 	    s//\1/
   1242 	    q
   1243 	  }
   1244 	  /^X\(\/\/\)[^/].*/{
   1245 	    s//\1/
   1246 	    q
   1247 	  }
   1248 	  /^X\(\/\/\)$/{
   1249 	    s//\1/
   1250 	    q
   1251 	  }
   1252 	  /^X\(\/\).*/{
   1253 	    s//\1/
   1254 	    q
   1255 	  }
   1256 	  s/.*/./; q'`
   1257   srcdir=$ac_confdir
   1258   if test ! -r "$srcdir/$ac_unique_file"; then
   1259     srcdir=..
   1260   fi
   1261 else
   1262   ac_srcdir_defaulted=no
   1263 fi
   1264 if test ! -r "$srcdir/$ac_unique_file"; then
   1265   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1266   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1267 fi
   1268 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1269 ac_abs_confdir=`(
   1270 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1271 	pwd)`
   1272 # When building in place, set srcdir=.
   1273 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1274   srcdir=.
   1275 fi
   1276 # Remove unnecessary trailing slashes from srcdir.
   1277 # Double slashes in file names in object file debugging info
   1278 # mess up M-x gdb in Emacs.
   1279 case $srcdir in
   1280 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1281 esac
   1282 for ac_var in $ac_precious_vars; do
   1283   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1284   eval ac_env_${ac_var}_value=\$${ac_var}
   1285   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1286   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1287 done
   1288 
   1289 #
   1290 # Report the --help message.
   1291 #
   1292 if test "$ac_init_help" = "long"; then
   1293   # Omit some internal or obsolete options to make the list less imposing.
   1294   # This message is too long to be a string in the A/UX 3.1 sh.
   1295   cat <<_ACEOF
   1296 \`configure' configures beforelight 1.0.5 to adapt to many kinds of systems.
   1297 
   1298 Usage: $0 [OPTION]... [VAR=VALUE]...
   1299 
   1300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1301 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1302 
   1303 Defaults for the options are specified in brackets.
   1304 
   1305 Configuration:
   1306   -h, --help              display this help and exit
   1307       --help=short        display options specific to this package
   1308       --help=recursive    display the short help of all the included packages
   1309   -V, --version           display version information and exit
   1310   -q, --quiet, --silent   do not print \`checking ...' messages
   1311       --cache-file=FILE   cache test results in FILE [disabled]
   1312   -C, --config-cache      alias for \`--cache-file=config.cache'
   1313   -n, --no-create         do not create output files
   1314       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1315 
   1316 Installation directories:
   1317   --prefix=PREFIX         install architecture-independent files in PREFIX
   1318                           [$ac_default_prefix]
   1319   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1320                           [PREFIX]
   1321 
   1322 By default, \`make install' will install all the files in
   1323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1325 for instance \`--prefix=\$HOME'.
   1326 
   1327 For better control, use the options below.
   1328 
   1329 Fine tuning of the installation directories:
   1330   --bindir=DIR            user executables [EPREFIX/bin]
   1331   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1332   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1333   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1334   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1335   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1336   --libdir=DIR            object code libraries [EPREFIX/lib]
   1337   --includedir=DIR        C header files [PREFIX/include]
   1338   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1339   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1340   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1341   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1342   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1343   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1344   --docdir=DIR            documentation root [DATAROOTDIR/doc/beforelight]
   1345   --htmldir=DIR           html documentation [DOCDIR]
   1346   --dvidir=DIR            dvi documentation [DOCDIR]
   1347   --pdfdir=DIR            pdf documentation [DOCDIR]
   1348   --psdir=DIR             ps documentation [DOCDIR]
   1349 _ACEOF
   1350 
   1351   cat <<\_ACEOF
   1352 
   1353 Program names:
   1354   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1355   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1356   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1357 
   1358 System types:
   1359   --build=BUILD     configure for building on BUILD [guessed]
   1360   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1361 _ACEOF
   1362 fi
   1363 
   1364 if test -n "$ac_init_help"; then
   1365   case $ac_init_help in
   1366      short | recursive ) echo "Configuration of beforelight 1.0.5:";;
   1367    esac
   1368   cat <<\_ACEOF
   1369 
   1370 Optional Features:
   1371   --disable-option-checking  ignore unrecognized --enable/--with options
   1372   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1373   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1374   --enable-maintainer-mode  enable make rules and dependencies not useful
   1375 			  (and sometimes confusing) to the casual installer
   1376   --disable-dependency-tracking  speeds up one-time build
   1377   --enable-dependency-tracking   do not reject slow dependency extractors
   1378   --disable-selective-werror
   1379                           Turn off selective compiler errors. (default:
   1380                           enabled)
   1381   --enable-strict-compilation
   1382                           Enable all warnings from compiler and make them
   1383                           errors (default: disabled)
   1384   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1385   --disable-silent-rules         verbose build output (undo: `make V=0')
   1386 
   1387 Optional Packages:
   1388   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1389   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1390   --with-appdefaultdir=<pathname>
   1391                           specify directory for app-defaults files (default is
   1392                           autodetected)
   1393 
   1394 Some influential environment variables:
   1395   CC          C compiler command
   1396   CFLAGS      C compiler flags
   1397   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1398               nonstandard directory <lib dir>
   1399   LIBS        libraries to pass to the linker, e.g. -l<library>
   1400   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1401               you have headers in a nonstandard directory <include dir>
   1402   CPP         C preprocessor
   1403   PKG_CONFIG  path to pkg-config utility
   1404   BEFORELIGHT_CFLAGS
   1405               C compiler flags for BEFORELIGHT, overriding pkg-config
   1406   BEFORELIGHT_LIBS
   1407               linker flags for BEFORELIGHT, overriding pkg-config
   1408   APPDEFS_CFLAGS
   1409               C compiler flags for APPDEFS, overriding pkg-config
   1410   APPDEFS_LIBS
   1411               linker flags for APPDEFS, overriding pkg-config
   1412 
   1413 Use these variables to override the choices made by `configure' or to help
   1414 it to find libraries and programs with nonstandard names/locations.
   1415 
   1416 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1417 _ACEOF
   1418 ac_status=$?
   1419 fi
   1420 
   1421 if test "$ac_init_help" = "recursive"; then
   1422   # If there are subdirs, report their specific --help.
   1423   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1424     test -d "$ac_dir" ||
   1425       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1426       continue
   1427     ac_builddir=.
   1428 
   1429 case "$ac_dir" in
   1430 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1431 *)
   1432   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1433   # A ".." for each directory in $ac_dir_suffix.
   1434   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1435   case $ac_top_builddir_sub in
   1436   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1437   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1438   esac ;;
   1439 esac
   1440 ac_abs_top_builddir=$ac_pwd
   1441 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1442 # for backward compatibility:
   1443 ac_top_builddir=$ac_top_build_prefix
   1444 
   1445 case $srcdir in
   1446   .)  # We are building in place.
   1447     ac_srcdir=.
   1448     ac_top_srcdir=$ac_top_builddir_sub
   1449     ac_abs_top_srcdir=$ac_pwd ;;
   1450   [\\/]* | ?:[\\/]* )  # Absolute name.
   1451     ac_srcdir=$srcdir$ac_dir_suffix;
   1452     ac_top_srcdir=$srcdir
   1453     ac_abs_top_srcdir=$srcdir ;;
   1454   *) # Relative name.
   1455     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1456     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1457     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1458 esac
   1459 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1460 
   1461     cd "$ac_dir" || { ac_status=$?; continue; }
   1462     # Check for guested configure.
   1463     if test -f "$ac_srcdir/configure.gnu"; then
   1464       echo &&
   1465       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1466     elif test -f "$ac_srcdir/configure"; then
   1467       echo &&
   1468       $SHELL "$ac_srcdir/configure" --help=recursive
   1469     else
   1470       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1471     fi || ac_status=$?
   1472     cd "$ac_pwd" || { ac_status=$?; break; }
   1473   done
   1474 fi
   1475 
   1476 test -n "$ac_init_help" && exit $ac_status
   1477 if $ac_init_version; then
   1478   cat <<\_ACEOF
   1479 beforelight configure 1.0.5
   1480 generated by GNU Autoconf 2.68
   1481 
   1482 Copyright (C) 2010 Free Software Foundation, Inc.
   1483 This configure script is free software; the Free Software Foundation
   1484 gives unlimited permission to copy, distribute and modify it.
   1485 _ACEOF
   1486   exit
   1487 fi
   1488 
   1489 ## ------------------------ ##
   1490 ## Autoconf initialization. ##
   1491 ## ------------------------ ##
   1492 
   1493 # ac_fn_c_try_compile LINENO
   1494 # --------------------------
   1495 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1496 ac_fn_c_try_compile ()
   1497 {
   1498   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1499   rm -f conftest.$ac_objext
   1500   if { { ac_try="$ac_compile"
   1501 case "(($ac_try" in
   1502   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1503   *) ac_try_echo=$ac_try;;
   1504 esac
   1505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1506 $as_echo "$ac_try_echo"; } >&5
   1507   (eval "$ac_compile") 2>conftest.err
   1508   ac_status=$?
   1509   if test -s conftest.err; then
   1510     grep -v '^ *+' conftest.err >conftest.er1
   1511     cat conftest.er1 >&5
   1512     mv -f conftest.er1 conftest.err
   1513   fi
   1514   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1515   test $ac_status = 0; } && {
   1516 	 test -z "$ac_c_werror_flag" ||
   1517 	 test ! -s conftest.err
   1518        } && test -s conftest.$ac_objext; then :
   1519   ac_retval=0
   1520 else
   1521   $as_echo "$as_me: failed program was:" >&5
   1522 sed 's/^/| /' conftest.$ac_ext >&5
   1523 
   1524 	ac_retval=1
   1525 fi
   1526   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1527   as_fn_set_status $ac_retval
   1528 
   1529 } # ac_fn_c_try_compile
   1530 
   1531 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1532 # ---------------------------------------------
   1533 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1534 # accordingly.
   1535 ac_fn_c_check_decl ()
   1536 {
   1537   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1538   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1539   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1541 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1542 if eval \${$3+:} false; then :
   1543   $as_echo_n "(cached) " >&6
   1544 else
   1545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1546 /* end confdefs.h.  */
   1547 $4
   1548 int
   1549 main ()
   1550 {
   1551 #ifndef $as_decl_name
   1552 #ifdef __cplusplus
   1553   (void) $as_decl_use;
   1554 #else
   1555   (void) $as_decl_name;
   1556 #endif
   1557 #endif
   1558 
   1559   ;
   1560   return 0;
   1561 }
   1562 _ACEOF
   1563 if ac_fn_c_try_compile "$LINENO"; then :
   1564   eval "$3=yes"
   1565 else
   1566   eval "$3=no"
   1567 fi
   1568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1569 fi
   1570 eval ac_res=\$$3
   1571 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1572 $as_echo "$ac_res" >&6; }
   1573   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1574 
   1575 } # ac_fn_c_check_decl
   1576 
   1577 # ac_fn_c_try_cpp LINENO
   1578 # ----------------------
   1579 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1580 ac_fn_c_try_cpp ()
   1581 {
   1582   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1583   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1584 case "(($ac_try" in
   1585   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1586   *) ac_try_echo=$ac_try;;
   1587 esac
   1588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1589 $as_echo "$ac_try_echo"; } >&5
   1590   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1591   ac_status=$?
   1592   if test -s conftest.err; then
   1593     grep -v '^ *+' conftest.err >conftest.er1
   1594     cat conftest.er1 >&5
   1595     mv -f conftest.er1 conftest.err
   1596   fi
   1597   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1598   test $ac_status = 0; } > conftest.i && {
   1599 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1600 	 test ! -s conftest.err
   1601        }; then :
   1602   ac_retval=0
   1603 else
   1604   $as_echo "$as_me: failed program was:" >&5
   1605 sed 's/^/| /' conftest.$ac_ext >&5
   1606 
   1607     ac_retval=1
   1608 fi
   1609   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1610   as_fn_set_status $ac_retval
   1611 
   1612 } # ac_fn_c_try_cpp
   1613 
   1614 # ac_fn_c_try_run LINENO
   1615 # ----------------------
   1616 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1617 # that executables *can* be run.
   1618 ac_fn_c_try_run ()
   1619 {
   1620   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1621   if { { ac_try="$ac_link"
   1622 case "(($ac_try" in
   1623   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1624   *) ac_try_echo=$ac_try;;
   1625 esac
   1626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1627 $as_echo "$ac_try_echo"; } >&5
   1628   (eval "$ac_link") 2>&5
   1629   ac_status=$?
   1630   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1631   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1632   { { case "(($ac_try" in
   1633   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1634   *) ac_try_echo=$ac_try;;
   1635 esac
   1636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1637 $as_echo "$ac_try_echo"; } >&5
   1638   (eval "$ac_try") 2>&5
   1639   ac_status=$?
   1640   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1641   test $ac_status = 0; }; }; then :
   1642   ac_retval=0
   1643 else
   1644   $as_echo "$as_me: program exited with status $ac_status" >&5
   1645        $as_echo "$as_me: failed program was:" >&5
   1646 sed 's/^/| /' conftest.$ac_ext >&5
   1647 
   1648        ac_retval=$ac_status
   1649 fi
   1650   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1651   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1652   as_fn_set_status $ac_retval
   1653 
   1654 } # ac_fn_c_try_run
   1655 
   1656 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1657 # -------------------------------------------------------
   1658 # Tests whether HEADER exists and can be compiled using the include files in
   1659 # INCLUDES, setting the cache variable VAR accordingly.
   1660 ac_fn_c_check_header_compile ()
   1661 {
   1662   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1664 $as_echo_n "checking for $2... " >&6; }
   1665 if eval \${$3+:} false; then :
   1666   $as_echo_n "(cached) " >&6
   1667 else
   1668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1669 /* end confdefs.h.  */
   1670 $4
   1671 #include <$2>
   1672 _ACEOF
   1673 if ac_fn_c_try_compile "$LINENO"; then :
   1674   eval "$3=yes"
   1675 else
   1676   eval "$3=no"
   1677 fi
   1678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1679 fi
   1680 eval ac_res=\$$3
   1681 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1682 $as_echo "$ac_res" >&6; }
   1683   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1684 
   1685 } # ac_fn_c_check_header_compile
   1686 
   1687 # ac_fn_c_try_link LINENO
   1688 # -----------------------
   1689 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1690 ac_fn_c_try_link ()
   1691 {
   1692   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1693   rm -f conftest.$ac_objext conftest$ac_exeext
   1694   if { { ac_try="$ac_link"
   1695 case "(($ac_try" in
   1696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1697   *) ac_try_echo=$ac_try;;
   1698 esac
   1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1700 $as_echo "$ac_try_echo"; } >&5
   1701   (eval "$ac_link") 2>conftest.err
   1702   ac_status=$?
   1703   if test -s conftest.err; then
   1704     grep -v '^ *+' conftest.err >conftest.er1
   1705     cat conftest.er1 >&5
   1706     mv -f conftest.er1 conftest.err
   1707   fi
   1708   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1709   test $ac_status = 0; } && {
   1710 	 test -z "$ac_c_werror_flag" ||
   1711 	 test ! -s conftest.err
   1712        } && test -s conftest$ac_exeext && {
   1713 	 test "$cross_compiling" = yes ||
   1714 	 $as_test_x conftest$ac_exeext
   1715        }; then :
   1716   ac_retval=0
   1717 else
   1718   $as_echo "$as_me: failed program was:" >&5
   1719 sed 's/^/| /' conftest.$ac_ext >&5
   1720 
   1721 	ac_retval=1
   1722 fi
   1723   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1724   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1725   # interfere with the next link command; also delete a directory that is
   1726   # left behind by Apple's compiler.  We do this before executing the actions.
   1727   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1728   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1729   as_fn_set_status $ac_retval
   1730 
   1731 } # ac_fn_c_try_link
   1732 cat >config.log <<_ACEOF
   1733 This file contains any messages produced by compilers while
   1734 running configure, to aid debugging if configure makes a mistake.
   1735 
   1736 It was created by beforelight $as_me 1.0.5, which was
   1737 generated by GNU Autoconf 2.68.  Invocation command line was
   1738 
   1739   $ $0 $@
   1740 
   1741 _ACEOF
   1742 exec 5>>config.log
   1743 {
   1744 cat <<_ASUNAME
   1745 ## --------- ##
   1746 ## Platform. ##
   1747 ## --------- ##
   1748 
   1749 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1750 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1751 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1752 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1753 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1754 
   1755 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1756 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1757 
   1758 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1759 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1760 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1761 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1762 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1763 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1764 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1765 
   1766 _ASUNAME
   1767 
   1768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1769 for as_dir in $PATH
   1770 do
   1771   IFS=$as_save_IFS
   1772   test -z "$as_dir" && as_dir=.
   1773     $as_echo "PATH: $as_dir"
   1774   done
   1775 IFS=$as_save_IFS
   1776 
   1777 } >&5
   1778 
   1779 cat >&5 <<_ACEOF
   1780 
   1781 
   1782 ## ----------- ##
   1783 ## Core tests. ##
   1784 ## ----------- ##
   1785 
   1786 _ACEOF
   1787 
   1788 
   1789 # Keep a trace of the command line.
   1790 # Strip out --no-create and --no-recursion so they do not pile up.
   1791 # Strip out --silent because we don't want to record it for future runs.
   1792 # Also quote any args containing shell meta-characters.
   1793 # Make two passes to allow for proper duplicate-argument suppression.
   1794 ac_configure_args=
   1795 ac_configure_args0=
   1796 ac_configure_args1=
   1797 ac_must_keep_next=false
   1798 for ac_pass in 1 2
   1799 do
   1800   for ac_arg
   1801   do
   1802     case $ac_arg in
   1803     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1804     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1805     | -silent | --silent | --silen | --sile | --sil)
   1806       continue ;;
   1807     *\'*)
   1808       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1809     esac
   1810     case $ac_pass in
   1811     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1812     2)
   1813       as_fn_append ac_configure_args1 " '$ac_arg'"
   1814       if test $ac_must_keep_next = true; then
   1815 	ac_must_keep_next=false # Got value, back to normal.
   1816       else
   1817 	case $ac_arg in
   1818 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1819 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1820 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1821 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1822 	    case "$ac_configure_args0 " in
   1823 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1824 	    esac
   1825 	    ;;
   1826 	  -* ) ac_must_keep_next=true ;;
   1827 	esac
   1828       fi
   1829       as_fn_append ac_configure_args " '$ac_arg'"
   1830       ;;
   1831     esac
   1832   done
   1833 done
   1834 { ac_configure_args0=; unset ac_configure_args0;}
   1835 { ac_configure_args1=; unset ac_configure_args1;}
   1836 
   1837 # When interrupted or exit'd, cleanup temporary files, and complete
   1838 # config.log.  We remove comments because anyway the quotes in there
   1839 # would cause problems or look ugly.
   1840 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1841 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1842 trap 'exit_status=$?
   1843   # Save into config.log some information that might help in debugging.
   1844   {
   1845     echo
   1846 
   1847     $as_echo "## ---------------- ##
   1848 ## Cache variables. ##
   1849 ## ---------------- ##"
   1850     echo
   1851     # The following way of writing the cache mishandles newlines in values,
   1852 (
   1853   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1854     eval ac_val=\$$ac_var
   1855     case $ac_val in #(
   1856     *${as_nl}*)
   1857       case $ac_var in #(
   1858       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1859 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1860       esac
   1861       case $ac_var in #(
   1862       _ | IFS | as_nl) ;; #(
   1863       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1864       *) { eval $ac_var=; unset $ac_var;} ;;
   1865       esac ;;
   1866     esac
   1867   done
   1868   (set) 2>&1 |
   1869     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1870     *${as_nl}ac_space=\ *)
   1871       sed -n \
   1872 	"s/'\''/'\''\\\\'\'''\''/g;
   1873 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1874       ;; #(
   1875     *)
   1876       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1877       ;;
   1878     esac |
   1879     sort
   1880 )
   1881     echo
   1882 
   1883     $as_echo "## ----------------- ##
   1884 ## Output variables. ##
   1885 ## ----------------- ##"
   1886     echo
   1887     for ac_var in $ac_subst_vars
   1888     do
   1889       eval ac_val=\$$ac_var
   1890       case $ac_val in
   1891       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1892       esac
   1893       $as_echo "$ac_var='\''$ac_val'\''"
   1894     done | sort
   1895     echo
   1896 
   1897     if test -n "$ac_subst_files"; then
   1898       $as_echo "## ------------------- ##
   1899 ## File substitutions. ##
   1900 ## ------------------- ##"
   1901       echo
   1902       for ac_var in $ac_subst_files
   1903       do
   1904 	eval ac_val=\$$ac_var
   1905 	case $ac_val in
   1906 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1907 	esac
   1908 	$as_echo "$ac_var='\''$ac_val'\''"
   1909       done | sort
   1910       echo
   1911     fi
   1912 
   1913     if test -s confdefs.h; then
   1914       $as_echo "## ----------- ##
   1915 ## confdefs.h. ##
   1916 ## ----------- ##"
   1917       echo
   1918       cat confdefs.h
   1919       echo
   1920     fi
   1921     test "$ac_signal" != 0 &&
   1922       $as_echo "$as_me: caught signal $ac_signal"
   1923     $as_echo "$as_me: exit $exit_status"
   1924   } >&5
   1925   rm -f core *.core core.conftest.* &&
   1926     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1927     exit $exit_status
   1928 ' 0
   1929 for ac_signal in 1 2 13 15; do
   1930   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1931 done
   1932 ac_signal=0
   1933 
   1934 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1935 rm -f -r conftest* confdefs.h
   1936 
   1937 $as_echo "/* confdefs.h */" > confdefs.h
   1938 
   1939 # Predefined preprocessor variables.
   1940 
   1941 cat >>confdefs.h <<_ACEOF
   1942 #define PACKAGE_NAME "$PACKAGE_NAME"
   1943 _ACEOF
   1944 
   1945 cat >>confdefs.h <<_ACEOF
   1946 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1947 _ACEOF
   1948 
   1949 cat >>confdefs.h <<_ACEOF
   1950 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1951 _ACEOF
   1952 
   1953 cat >>confdefs.h <<_ACEOF
   1954 #define PACKAGE_STRING "$PACKAGE_STRING"
   1955 _ACEOF
   1956 
   1957 cat >>confdefs.h <<_ACEOF
   1958 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1959 _ACEOF
   1960 
   1961 cat >>confdefs.h <<_ACEOF
   1962 #define PACKAGE_URL "$PACKAGE_URL"
   1963 _ACEOF
   1964 
   1965 
   1966 # Let the site file select an alternate cache file if it wants to.
   1967 # Prefer an explicitly selected file to automatically selected ones.
   1968 ac_site_file1=NONE
   1969 ac_site_file2=NONE
   1970 if test -n "$CONFIG_SITE"; then
   1971   # We do not want a PATH search for config.site.
   1972   case $CONFIG_SITE in #((
   1973     -*)  ac_site_file1=./$CONFIG_SITE;;
   1974     */*) ac_site_file1=$CONFIG_SITE;;
   1975     *)   ac_site_file1=./$CONFIG_SITE;;
   1976   esac
   1977 elif test "x$prefix" != xNONE; then
   1978   ac_site_file1=$prefix/share/config.site
   1979   ac_site_file2=$prefix/etc/config.site
   1980 else
   1981   ac_site_file1=$ac_default_prefix/share/config.site
   1982   ac_site_file2=$ac_default_prefix/etc/config.site
   1983 fi
   1984 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1985 do
   1986   test "x$ac_site_file" = xNONE && continue
   1987   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   1988     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1989 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1990     sed 's/^/| /' "$ac_site_file" >&5
   1991     . "$ac_site_file" \
   1992       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   1993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   1994 as_fn_error $? "failed to load site script $ac_site_file
   1995 See \`config.log' for more details" "$LINENO" 5; }
   1996   fi
   1997 done
   1998 
   1999 if test -r "$cache_file"; then
   2000   # Some versions of bash will fail to source /dev/null (special files
   2001   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2002   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2003     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2004 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2005     case $cache_file in
   2006       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2007       *)                      . "./$cache_file";;
   2008     esac
   2009   fi
   2010 else
   2011   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2012 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2013   >$cache_file
   2014 fi
   2015 
   2016 # Check that the precious variables saved in the cache have kept the same
   2017 # value.
   2018 ac_cache_corrupted=false
   2019 for ac_var in $ac_precious_vars; do
   2020   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2021   eval ac_new_set=\$ac_env_${ac_var}_set
   2022   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2023   eval ac_new_val=\$ac_env_${ac_var}_value
   2024   case $ac_old_set,$ac_new_set in
   2025     set,)
   2026       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2027 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2028       ac_cache_corrupted=: ;;
   2029     ,set)
   2030       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2031 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2032       ac_cache_corrupted=: ;;
   2033     ,);;
   2034     *)
   2035       if test "x$ac_old_val" != "x$ac_new_val"; then
   2036 	# differences in whitespace do not lead to failure.
   2037 	ac_old_val_w=`echo x $ac_old_val`
   2038 	ac_new_val_w=`echo x $ac_new_val`
   2039 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2040 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2041 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2042 	  ac_cache_corrupted=:
   2043 	else
   2044 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2045 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2046 	  eval $ac_var=\$ac_old_val
   2047 	fi
   2048 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2049 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2050 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2051 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2052       fi;;
   2053   esac
   2054   # Pass precious variables to config.status.
   2055   if test "$ac_new_set" = set; then
   2056     case $ac_new_val in
   2057     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2058     *) ac_arg=$ac_var=$ac_new_val ;;
   2059     esac
   2060     case " $ac_configure_args " in
   2061       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2062       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2063     esac
   2064   fi
   2065 done
   2066 if $ac_cache_corrupted; then
   2067   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2069   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2070 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2071   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2072 fi
   2073 ## -------------------- ##
   2074 ## Main body of script. ##
   2075 ## -------------------- ##
   2076 
   2077 ac_ext=c
   2078 ac_cpp='$CPP $CPPFLAGS'
   2079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2082 
   2083 
   2084 
   2085 ac_config_headers="$ac_config_headers config.h"
   2086 
   2087 
   2088 # Initialize Automake
   2089 am__api_version='1.11'
   2090 
   2091 ac_aux_dir=
   2092 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2093   if test -f "$ac_dir/install-sh"; then
   2094     ac_aux_dir=$ac_dir
   2095     ac_install_sh="$ac_aux_dir/install-sh -c"
   2096     break
   2097   elif test -f "$ac_dir/install.sh"; then
   2098     ac_aux_dir=$ac_dir
   2099     ac_install_sh="$ac_aux_dir/install.sh -c"
   2100     break
   2101   elif test -f "$ac_dir/shtool"; then
   2102     ac_aux_dir=$ac_dir
   2103     ac_install_sh="$ac_aux_dir/shtool install -c"
   2104     break
   2105   fi
   2106 done
   2107 if test -z "$ac_aux_dir"; then
   2108   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2109 fi
   2110 
   2111 # These three variables are undocumented and unsupported,
   2112 # and are intended to be withdrawn in a future Autoconf release.
   2113 # They can cause serious problems if a builder's source tree is in a directory
   2114 # whose full name contains unusual characters.
   2115 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2116 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2117 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2118 
   2119 
   2120 # Find a good install program.  We prefer a C program (faster),
   2121 # so one script is as good as another.  But avoid the broken or
   2122 # incompatible versions:
   2123 # SysV /etc/install, /usr/sbin/install
   2124 # SunOS /usr/etc/install
   2125 # IRIX /sbin/install
   2126 # AIX /bin/install
   2127 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2128 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2129 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2130 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2131 # OS/2's system install, which has a completely different semantic
   2132 # ./install, which can be erroneously created by make from ./install.sh.
   2133 # Reject install programs that cannot install multiple files.
   2134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2135 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2136 if test -z "$INSTALL"; then
   2137 if ${ac_cv_path_install+:} false; then :
   2138   $as_echo_n "(cached) " >&6
   2139 else
   2140   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2141 for as_dir in $PATH
   2142 do
   2143   IFS=$as_save_IFS
   2144   test -z "$as_dir" && as_dir=.
   2145     # Account for people who put trailing slashes in PATH elements.
   2146 case $as_dir/ in #((
   2147   ./ | .// | /[cC]/* | \
   2148   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2149   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2150   /usr/ucb/* ) ;;
   2151   *)
   2152     # OSF1 and SCO ODT 3.0 have their own names for install.
   2153     # Don't use installbsd from OSF since it installs stuff as root
   2154     # by default.
   2155     for ac_prog in ginstall scoinst install; do
   2156       for ac_exec_ext in '' $ac_executable_extensions; do
   2157 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2158 	  if test $ac_prog = install &&
   2159 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2160 	    # AIX install.  It has an incompatible calling convention.
   2161 	    :
   2162 	  elif test $ac_prog = install &&
   2163 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2164 	    # program-specific install script used by HP pwplus--don't use.
   2165 	    :
   2166 	  else
   2167 	    rm -rf conftest.one conftest.two conftest.dir
   2168 	    echo one > conftest.one
   2169 	    echo two > conftest.two
   2170 	    mkdir conftest.dir
   2171 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2172 	      test -s conftest.one && test -s conftest.two &&
   2173 	      test -s conftest.dir/conftest.one &&
   2174 	      test -s conftest.dir/conftest.two
   2175 	    then
   2176 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2177 	      break 3
   2178 	    fi
   2179 	  fi
   2180 	fi
   2181       done
   2182     done
   2183     ;;
   2184 esac
   2185 
   2186   done
   2187 IFS=$as_save_IFS
   2188 
   2189 rm -rf conftest.one conftest.two conftest.dir
   2190 
   2191 fi
   2192   if test "${ac_cv_path_install+set}" = set; then
   2193     INSTALL=$ac_cv_path_install
   2194   else
   2195     # As a last resort, use the slow shell script.  Don't cache a
   2196     # value for INSTALL within a source directory, because that will
   2197     # break other packages using the cache if that directory is
   2198     # removed, or if the value is a relative name.
   2199     INSTALL=$ac_install_sh
   2200   fi
   2201 fi
   2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2203 $as_echo "$INSTALL" >&6; }
   2204 
   2205 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2206 # It thinks the first close brace ends the variable substitution.
   2207 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2208 
   2209 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2210 
   2211 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2212 
   2213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2214 $as_echo_n "checking whether build environment is sane... " >&6; }
   2215 # Just in case
   2216 sleep 1
   2217 echo timestamp > conftest.file
   2218 # Reject unsafe characters in $srcdir or the absolute working directory
   2219 # name.  Accept space and tab only in the latter.
   2220 am_lf='
   2221 '
   2222 case `pwd` in
   2223   *[\\\"\#\$\&\'\`$am_lf]*)
   2224     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2225 esac
   2226 case $srcdir in
   2227   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2228     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2229 esac
   2230 
   2231 # Do `set' in a subshell so we don't clobber the current shell's
   2232 # arguments.  Must try -L first in case configure is actually a
   2233 # symlink; some systems play weird games with the mod time of symlinks
   2234 # (eg FreeBSD returns the mod time of the symlink's containing
   2235 # directory).
   2236 if (
   2237    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2238    if test "$*" = "X"; then
   2239       # -L didn't work.
   2240       set X `ls -t "$srcdir/configure" conftest.file`
   2241    fi
   2242    rm -f conftest.file
   2243    if test "$*" != "X $srcdir/configure conftest.file" \
   2244       && test "$*" != "X conftest.file $srcdir/configure"; then
   2245 
   2246       # If neither matched, then we have a broken ls.  This can happen
   2247       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2248       # broken ls alias from the environment.  This has actually
   2249       # happened.  Such a system could not be considered "sane".
   2250       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2251 alias in your environment" "$LINENO" 5
   2252    fi
   2253 
   2254    test "$2" = conftest.file
   2255    )
   2256 then
   2257    # Ok.
   2258    :
   2259 else
   2260    as_fn_error $? "newly created file is older than distributed files!
   2261 Check your system clock" "$LINENO" 5
   2262 fi
   2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2264 $as_echo "yes" >&6; }
   2265 test "$program_prefix" != NONE &&
   2266   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2267 # Use a double $ so make ignores it.
   2268 test "$program_suffix" != NONE &&
   2269   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2270 # Double any \ or $.
   2271 # By default was `s,x,x', remove it if useless.
   2272 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2273 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2274 
   2275 # expand $ac_aux_dir to an absolute path
   2276 am_aux_dir=`cd $ac_aux_dir && pwd`
   2277 
   2278 if test x"${MISSING+set}" != xset; then
   2279   case $am_aux_dir in
   2280   *\ * | *\	*)
   2281     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2282   *)
   2283     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2284   esac
   2285 fi
   2286 # Use eval to expand $SHELL
   2287 if eval "$MISSING --run true"; then
   2288   am_missing_run="$MISSING --run "
   2289 else
   2290   am_missing_run=
   2291   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2292 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2293 fi
   2294 
   2295 if test x"${install_sh}" != xset; then
   2296   case $am_aux_dir in
   2297   *\ * | *\	*)
   2298     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2299   *)
   2300     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2301   esac
   2302 fi
   2303 
   2304 # Installed binaries are usually stripped using `strip' when the user
   2305 # run `make install-strip'.  However `strip' might not be the right
   2306 # tool to use in cross-compilation environments, therefore Automake
   2307 # will honor the `STRIP' environment variable to overrule this program.
   2308 if test "$cross_compiling" != no; then
   2309   if test -n "$ac_tool_prefix"; then
   2310   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2311 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2313 $as_echo_n "checking for $ac_word... " >&6; }
   2314 if ${ac_cv_prog_STRIP+:} false; then :
   2315   $as_echo_n "(cached) " >&6
   2316 else
   2317   if test -n "$STRIP"; then
   2318   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2319 else
   2320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2321 for as_dir in $PATH
   2322 do
   2323   IFS=$as_save_IFS
   2324   test -z "$as_dir" && as_dir=.
   2325     for ac_exec_ext in '' $ac_executable_extensions; do
   2326   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2327     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2328     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2329     break 2
   2330   fi
   2331 done
   2332   done
   2333 IFS=$as_save_IFS
   2334 
   2335 fi
   2336 fi
   2337 STRIP=$ac_cv_prog_STRIP
   2338 if test -n "$STRIP"; then
   2339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2340 $as_echo "$STRIP" >&6; }
   2341 else
   2342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2343 $as_echo "no" >&6; }
   2344 fi
   2345 
   2346 
   2347 fi
   2348 if test -z "$ac_cv_prog_STRIP"; then
   2349   ac_ct_STRIP=$STRIP
   2350   # Extract the first word of "strip", so it can be a program name with args.
   2351 set dummy strip; ac_word=$2
   2352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2353 $as_echo_n "checking for $ac_word... " >&6; }
   2354 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2355   $as_echo_n "(cached) " >&6
   2356 else
   2357   if test -n "$ac_ct_STRIP"; then
   2358   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2359 else
   2360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2361 for as_dir in $PATH
   2362 do
   2363   IFS=$as_save_IFS
   2364   test -z "$as_dir" && as_dir=.
   2365     for ac_exec_ext in '' $ac_executable_extensions; do
   2366   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2367     ac_cv_prog_ac_ct_STRIP="strip"
   2368     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2369     break 2
   2370   fi
   2371 done
   2372   done
   2373 IFS=$as_save_IFS
   2374 
   2375 fi
   2376 fi
   2377 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2378 if test -n "$ac_ct_STRIP"; then
   2379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2380 $as_echo "$ac_ct_STRIP" >&6; }
   2381 else
   2382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2383 $as_echo "no" >&6; }
   2384 fi
   2385 
   2386   if test "x$ac_ct_STRIP" = x; then
   2387     STRIP=":"
   2388   else
   2389     case $cross_compiling:$ac_tool_warned in
   2390 yes:)
   2391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2392 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2393 ac_tool_warned=yes ;;
   2394 esac
   2395     STRIP=$ac_ct_STRIP
   2396   fi
   2397 else
   2398   STRIP="$ac_cv_prog_STRIP"
   2399 fi
   2400 
   2401 fi
   2402 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2403 
   2404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2405 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2406 if test -z "$MKDIR_P"; then
   2407   if ${ac_cv_path_mkdir+:} false; then :
   2408   $as_echo_n "(cached) " >&6
   2409 else
   2410   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2411 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2412 do
   2413   IFS=$as_save_IFS
   2414   test -z "$as_dir" && as_dir=.
   2415     for ac_prog in mkdir gmkdir; do
   2416 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2417 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2418 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2419 	     'mkdir (GNU coreutils) '* | \
   2420 	     'mkdir (coreutils) '* | \
   2421 	     'mkdir (fileutils) '4.1*)
   2422 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2423 	       break 3;;
   2424 	   esac
   2425 	 done
   2426        done
   2427   done
   2428 IFS=$as_save_IFS
   2429 
   2430 fi
   2431 
   2432   test -d ./--version && rmdir ./--version
   2433   if test "${ac_cv_path_mkdir+set}" = set; then
   2434     MKDIR_P="$ac_cv_path_mkdir -p"
   2435   else
   2436     # As a last resort, use the slow shell script.  Don't cache a
   2437     # value for MKDIR_P within a source directory, because that will
   2438     # break other packages using the cache if that directory is
   2439     # removed, or if the value is a relative name.
   2440     MKDIR_P="$ac_install_sh -d"
   2441   fi
   2442 fi
   2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2444 $as_echo "$MKDIR_P" >&6; }
   2445 
   2446 mkdir_p="$MKDIR_P"
   2447 case $mkdir_p in
   2448   [\\/$]* | ?:[\\/]*) ;;
   2449   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2450 esac
   2451 
   2452 for ac_prog in gawk mawk nawk awk
   2453 do
   2454   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2455 set dummy $ac_prog; ac_word=$2
   2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2457 $as_echo_n "checking for $ac_word... " >&6; }
   2458 if ${ac_cv_prog_AWK+:} false; then :
   2459   $as_echo_n "(cached) " >&6
   2460 else
   2461   if test -n "$AWK"; then
   2462   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2463 else
   2464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2465 for as_dir in $PATH
   2466 do
   2467   IFS=$as_save_IFS
   2468   test -z "$as_dir" && as_dir=.
   2469     for ac_exec_ext in '' $ac_executable_extensions; do
   2470   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2471     ac_cv_prog_AWK="$ac_prog"
   2472     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2473     break 2
   2474   fi
   2475 done
   2476   done
   2477 IFS=$as_save_IFS
   2478 
   2479 fi
   2480 fi
   2481 AWK=$ac_cv_prog_AWK
   2482 if test -n "$AWK"; then
   2483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2484 $as_echo "$AWK" >&6; }
   2485 else
   2486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2487 $as_echo "no" >&6; }
   2488 fi
   2489 
   2490 
   2491   test -n "$AWK" && break
   2492 done
   2493 
   2494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2495 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2496 set x ${MAKE-make}
   2497 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2498 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2499   $as_echo_n "(cached) " >&6
   2500 else
   2501   cat >conftest.make <<\_ACEOF
   2502 SHELL = /bin/sh
   2503 all:
   2504 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2505 _ACEOF
   2506 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2507 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2508   *@@@%%%=?*=@@@%%%*)
   2509     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2510   *)
   2511     eval ac_cv_prog_make_${ac_make}_set=no;;
   2512 esac
   2513 rm -f conftest.make
   2514 fi
   2515 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2517 $as_echo "yes" >&6; }
   2518   SET_MAKE=
   2519 else
   2520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2521 $as_echo "no" >&6; }
   2522   SET_MAKE="MAKE=${MAKE-make}"
   2523 fi
   2524 
   2525 rm -rf .tst 2>/dev/null
   2526 mkdir .tst 2>/dev/null
   2527 if test -d .tst; then
   2528   am__leading_dot=.
   2529 else
   2530   am__leading_dot=_
   2531 fi
   2532 rmdir .tst 2>/dev/null
   2533 
   2534 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2535   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2536   # is not polluted with repeated "-I."
   2537   am__isrc=' -I$(srcdir)'
   2538   # test to see if srcdir already configured
   2539   if test -f $srcdir/config.status; then
   2540     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2541   fi
   2542 fi
   2543 
   2544 # test whether we have cygpath
   2545 if test -z "$CYGPATH_W"; then
   2546   if (cygpath --version) >/dev/null 2>/dev/null; then
   2547     CYGPATH_W='cygpath -w'
   2548   else
   2549     CYGPATH_W=echo
   2550   fi
   2551 fi
   2552 
   2553 
   2554 # Define the identity of the package.
   2555  PACKAGE='beforelight'
   2556  VERSION='1.0.5'
   2557 
   2558 
   2559 cat >>confdefs.h <<_ACEOF
   2560 #define PACKAGE "$PACKAGE"
   2561 _ACEOF
   2562 
   2563 
   2564 cat >>confdefs.h <<_ACEOF
   2565 #define VERSION "$VERSION"
   2566 _ACEOF
   2567 
   2568 # Some tools Automake needs.
   2569 
   2570 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2571 
   2572 
   2573 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2574 
   2575 
   2576 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2577 
   2578 
   2579 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2580 
   2581 
   2582 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2583 
   2584 # We need awk for the "check" target.  The system "awk" is bad on
   2585 # some platforms.
   2586 # Always define AMTAR for backward compatibility.
   2587 
   2588 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2589 
   2590 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2591 
   2592 
   2593 
   2594 
   2595 
   2596 
   2597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2598 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2599     # Check whether --enable-maintainer-mode was given.
   2600 if test "${enable_maintainer_mode+set}" = set; then :
   2601   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2602 else
   2603   USE_MAINTAINER_MODE=no
   2604 fi
   2605 
   2606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2607 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2608    if test $USE_MAINTAINER_MODE = yes; then
   2609   MAINTAINER_MODE_TRUE=
   2610   MAINTAINER_MODE_FALSE='#'
   2611 else
   2612   MAINTAINER_MODE_TRUE='#'
   2613   MAINTAINER_MODE_FALSE=
   2614 fi
   2615 
   2616   MAINT=$MAINTAINER_MODE_TRUE
   2617 
   2618 
   2619 
   2620 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2621 
   2622 
   2623 
   2624 
   2625 
   2626 
   2627 
   2628 
   2629 
   2630 
   2631 
   2632 DEPDIR="${am__leading_dot}deps"
   2633 
   2634 ac_config_commands="$ac_config_commands depfiles"
   2635 
   2636 
   2637 am_make=${MAKE-make}
   2638 cat > confinc << 'END'
   2639 am__doit:
   2640 	@echo this is the am__doit target
   2641 .PHONY: am__doit
   2642 END
   2643 # If we don't find an include directive, just comment out the code.
   2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2645 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2646 am__include="#"
   2647 am__quote=
   2648 _am_result=none
   2649 # First try GNU make style include.
   2650 echo "include confinc" > confmf
   2651 # Ignore all kinds of additional output from `make'.
   2652 case `$am_make -s -f confmf 2> /dev/null` in #(
   2653 *the\ am__doit\ target*)
   2654   am__include=include
   2655   am__quote=
   2656   _am_result=GNU
   2657   ;;
   2658 esac
   2659 # Now try BSD make style include.
   2660 if test "$am__include" = "#"; then
   2661    echo '.include "confinc"' > confmf
   2662    case `$am_make -s -f confmf 2> /dev/null` in #(
   2663    *the\ am__doit\ target*)
   2664      am__include=.include
   2665      am__quote="\""
   2666      _am_result=BSD
   2667      ;;
   2668    esac
   2669 fi
   2670 
   2671 
   2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2673 $as_echo "$_am_result" >&6; }
   2674 rm -f confinc confmf
   2675 
   2676 # Check whether --enable-dependency-tracking was given.
   2677 if test "${enable_dependency_tracking+set}" = set; then :
   2678   enableval=$enable_dependency_tracking;
   2679 fi
   2680 
   2681 if test "x$enable_dependency_tracking" != xno; then
   2682   am_depcomp="$ac_aux_dir/depcomp"
   2683   AMDEPBACKSLASH='\'
   2684   am__nodep='_no'
   2685 fi
   2686  if test "x$enable_dependency_tracking" != xno; then
   2687   AMDEP_TRUE=
   2688   AMDEP_FALSE='#'
   2689 else
   2690   AMDEP_TRUE='#'
   2691   AMDEP_FALSE=
   2692 fi
   2693 
   2694 
   2695 ac_ext=c
   2696 ac_cpp='$CPP $CPPFLAGS'
   2697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2700 if test -n "$ac_tool_prefix"; then
   2701   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2702 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2704 $as_echo_n "checking for $ac_word... " >&6; }
   2705 if ${ac_cv_prog_CC+:} false; then :
   2706   $as_echo_n "(cached) " >&6
   2707 else
   2708   if test -n "$CC"; then
   2709   ac_cv_prog_CC="$CC" # Let the user override the test.
   2710 else
   2711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2712 for as_dir in $PATH
   2713 do
   2714   IFS=$as_save_IFS
   2715   test -z "$as_dir" && as_dir=.
   2716     for ac_exec_ext in '' $ac_executable_extensions; do
   2717   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2718     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2719     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2720     break 2
   2721   fi
   2722 done
   2723   done
   2724 IFS=$as_save_IFS
   2725 
   2726 fi
   2727 fi
   2728 CC=$ac_cv_prog_CC
   2729 if test -n "$CC"; then
   2730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2731 $as_echo "$CC" >&6; }
   2732 else
   2733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2734 $as_echo "no" >&6; }
   2735 fi
   2736 
   2737 
   2738 fi
   2739 if test -z "$ac_cv_prog_CC"; then
   2740   ac_ct_CC=$CC
   2741   # Extract the first word of "gcc", so it can be a program name with args.
   2742 set dummy gcc; ac_word=$2
   2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2744 $as_echo_n "checking for $ac_word... " >&6; }
   2745 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2746   $as_echo_n "(cached) " >&6
   2747 else
   2748   if test -n "$ac_ct_CC"; then
   2749   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2750 else
   2751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2752 for as_dir in $PATH
   2753 do
   2754   IFS=$as_save_IFS
   2755   test -z "$as_dir" && as_dir=.
   2756     for ac_exec_ext in '' $ac_executable_extensions; do
   2757   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2758     ac_cv_prog_ac_ct_CC="gcc"
   2759     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2760     break 2
   2761   fi
   2762 done
   2763   done
   2764 IFS=$as_save_IFS
   2765 
   2766 fi
   2767 fi
   2768 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2769 if test -n "$ac_ct_CC"; then
   2770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2771 $as_echo "$ac_ct_CC" >&6; }
   2772 else
   2773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2774 $as_echo "no" >&6; }
   2775 fi
   2776 
   2777   if test "x$ac_ct_CC" = x; then
   2778     CC=""
   2779   else
   2780     case $cross_compiling:$ac_tool_warned in
   2781 yes:)
   2782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2783 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2784 ac_tool_warned=yes ;;
   2785 esac
   2786     CC=$ac_ct_CC
   2787   fi
   2788 else
   2789   CC="$ac_cv_prog_CC"
   2790 fi
   2791 
   2792 if test -z "$CC"; then
   2793           if test -n "$ac_tool_prefix"; then
   2794     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2795 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2797 $as_echo_n "checking for $ac_word... " >&6; }
   2798 if ${ac_cv_prog_CC+:} false; then :
   2799   $as_echo_n "(cached) " >&6
   2800 else
   2801   if test -n "$CC"; then
   2802   ac_cv_prog_CC="$CC" # Let the user override the test.
   2803 else
   2804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2805 for as_dir in $PATH
   2806 do
   2807   IFS=$as_save_IFS
   2808   test -z "$as_dir" && as_dir=.
   2809     for ac_exec_ext in '' $ac_executable_extensions; do
   2810   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2811     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2812     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2813     break 2
   2814   fi
   2815 done
   2816   done
   2817 IFS=$as_save_IFS
   2818 
   2819 fi
   2820 fi
   2821 CC=$ac_cv_prog_CC
   2822 if test -n "$CC"; then
   2823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2824 $as_echo "$CC" >&6; }
   2825 else
   2826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2827 $as_echo "no" >&6; }
   2828 fi
   2829 
   2830 
   2831   fi
   2832 fi
   2833 if test -z "$CC"; then
   2834   # Extract the first word of "cc", so it can be a program name with args.
   2835 set dummy cc; ac_word=$2
   2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2837 $as_echo_n "checking for $ac_word... " >&6; }
   2838 if ${ac_cv_prog_CC+:} false; then :
   2839   $as_echo_n "(cached) " >&6
   2840 else
   2841   if test -n "$CC"; then
   2842   ac_cv_prog_CC="$CC" # Let the user override the test.
   2843 else
   2844   ac_prog_rejected=no
   2845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2846 for as_dir in $PATH
   2847 do
   2848   IFS=$as_save_IFS
   2849   test -z "$as_dir" && as_dir=.
   2850     for ac_exec_ext in '' $ac_executable_extensions; do
   2851   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2852     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2853        ac_prog_rejected=yes
   2854        continue
   2855      fi
   2856     ac_cv_prog_CC="cc"
   2857     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2858     break 2
   2859   fi
   2860 done
   2861   done
   2862 IFS=$as_save_IFS
   2863 
   2864 if test $ac_prog_rejected = yes; then
   2865   # We found a bogon in the path, so make sure we never use it.
   2866   set dummy $ac_cv_prog_CC
   2867   shift
   2868   if test $# != 0; then
   2869     # We chose a different compiler from the bogus one.
   2870     # However, it has the same basename, so the bogon will be chosen
   2871     # first if we set CC to just the basename; use the full file name.
   2872     shift
   2873     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2874   fi
   2875 fi
   2876 fi
   2877 fi
   2878 CC=$ac_cv_prog_CC
   2879 if test -n "$CC"; then
   2880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2881 $as_echo "$CC" >&6; }
   2882 else
   2883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2884 $as_echo "no" >&6; }
   2885 fi
   2886 
   2887 
   2888 fi
   2889 if test -z "$CC"; then
   2890   if test -n "$ac_tool_prefix"; then
   2891   for ac_prog in cl.exe
   2892   do
   2893     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2894 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2896 $as_echo_n "checking for $ac_word... " >&6; }
   2897 if ${ac_cv_prog_CC+:} false; then :
   2898   $as_echo_n "(cached) " >&6
   2899 else
   2900   if test -n "$CC"; then
   2901   ac_cv_prog_CC="$CC" # Let the user override the test.
   2902 else
   2903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2904 for as_dir in $PATH
   2905 do
   2906   IFS=$as_save_IFS
   2907   test -z "$as_dir" && as_dir=.
   2908     for ac_exec_ext in '' $ac_executable_extensions; do
   2909   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2910     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2911     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2912     break 2
   2913   fi
   2914 done
   2915   done
   2916 IFS=$as_save_IFS
   2917 
   2918 fi
   2919 fi
   2920 CC=$ac_cv_prog_CC
   2921 if test -n "$CC"; then
   2922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2923 $as_echo "$CC" >&6; }
   2924 else
   2925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2926 $as_echo "no" >&6; }
   2927 fi
   2928 
   2929 
   2930     test -n "$CC" && break
   2931   done
   2932 fi
   2933 if test -z "$CC"; then
   2934   ac_ct_CC=$CC
   2935   for ac_prog in cl.exe
   2936 do
   2937   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2938 set dummy $ac_prog; ac_word=$2
   2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2940 $as_echo_n "checking for $ac_word... " >&6; }
   2941 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2942   $as_echo_n "(cached) " >&6
   2943 else
   2944   if test -n "$ac_ct_CC"; then
   2945   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2946 else
   2947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2948 for as_dir in $PATH
   2949 do
   2950   IFS=$as_save_IFS
   2951   test -z "$as_dir" && as_dir=.
   2952     for ac_exec_ext in '' $ac_executable_extensions; do
   2953   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2954     ac_cv_prog_ac_ct_CC="$ac_prog"
   2955     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2956     break 2
   2957   fi
   2958 done
   2959   done
   2960 IFS=$as_save_IFS
   2961 
   2962 fi
   2963 fi
   2964 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2965 if test -n "$ac_ct_CC"; then
   2966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2967 $as_echo "$ac_ct_CC" >&6; }
   2968 else
   2969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2970 $as_echo "no" >&6; }
   2971 fi
   2972 
   2973 
   2974   test -n "$ac_ct_CC" && break
   2975 done
   2976 
   2977   if test "x$ac_ct_CC" = x; then
   2978     CC=""
   2979   else
   2980     case $cross_compiling:$ac_tool_warned in
   2981 yes:)
   2982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2984 ac_tool_warned=yes ;;
   2985 esac
   2986     CC=$ac_ct_CC
   2987   fi
   2988 fi
   2989 
   2990 fi
   2991 
   2992 
   2993 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2994 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2995 as_fn_error $? "no acceptable C compiler found in \$PATH
   2996 See \`config.log' for more details" "$LINENO" 5; }
   2997 
   2998 # Provide some information about the compiler.
   2999 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3000 set X $ac_compile
   3001 ac_compiler=$2
   3002 for ac_option in --version -v -V -qversion; do
   3003   { { ac_try="$ac_compiler $ac_option >&5"
   3004 case "(($ac_try" in
   3005   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3006   *) ac_try_echo=$ac_try;;
   3007 esac
   3008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3009 $as_echo "$ac_try_echo"; } >&5
   3010   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3011   ac_status=$?
   3012   if test -s conftest.err; then
   3013     sed '10a\
   3014 ... rest of stderr output deleted ...
   3015          10q' conftest.err >conftest.er1
   3016     cat conftest.er1 >&5
   3017   fi
   3018   rm -f conftest.er1 conftest.err
   3019   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3020   test $ac_status = 0; }
   3021 done
   3022 
   3023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3024 /* end confdefs.h.  */
   3025 
   3026 int
   3027 main ()
   3028 {
   3029 
   3030   ;
   3031   return 0;
   3032 }
   3033 _ACEOF
   3034 ac_clean_files_save=$ac_clean_files
   3035 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3036 # Try to create an executable without -o first, disregard a.out.
   3037 # It will help us diagnose broken compilers, and finding out an intuition
   3038 # of exeext.
   3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3040 $as_echo_n "checking whether the C compiler works... " >&6; }
   3041 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3042 
   3043 # The possible output files:
   3044 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3045 
   3046 ac_rmfiles=
   3047 for ac_file in $ac_files
   3048 do
   3049   case $ac_file in
   3050     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3051     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3052   esac
   3053 done
   3054 rm -f $ac_rmfiles
   3055 
   3056 if { { ac_try="$ac_link_default"
   3057 case "(($ac_try" in
   3058   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3059   *) ac_try_echo=$ac_try;;
   3060 esac
   3061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3062 $as_echo "$ac_try_echo"; } >&5
   3063   (eval "$ac_link_default") 2>&5
   3064   ac_status=$?
   3065   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3066   test $ac_status = 0; }; then :
   3067   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3068 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3069 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3070 # so that the user can short-circuit this test for compilers unknown to
   3071 # Autoconf.
   3072 for ac_file in $ac_files ''
   3073 do
   3074   test -f "$ac_file" || continue
   3075   case $ac_file in
   3076     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3077 	;;
   3078     [ab].out )
   3079 	# We found the default executable, but exeext='' is most
   3080 	# certainly right.
   3081 	break;;
   3082     *.* )
   3083 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3084 	then :; else
   3085 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3086 	fi
   3087 	# We set ac_cv_exeext here because the later test for it is not
   3088 	# safe: cross compilers may not add the suffix if given an `-o'
   3089 	# argument, so we may need to know it at that point already.
   3090 	# Even if this section looks crufty: it has the advantage of
   3091 	# actually working.
   3092 	break;;
   3093     * )
   3094 	break;;
   3095   esac
   3096 done
   3097 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3098 
   3099 else
   3100   ac_file=''
   3101 fi
   3102 if test -z "$ac_file"; then :
   3103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3104 $as_echo "no" >&6; }
   3105 $as_echo "$as_me: failed program was:" >&5
   3106 sed 's/^/| /' conftest.$ac_ext >&5
   3107 
   3108 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3110 as_fn_error 77 "C compiler cannot create executables
   3111 See \`config.log' for more details" "$LINENO" 5; }
   3112 else
   3113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3114 $as_echo "yes" >&6; }
   3115 fi
   3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3117 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3119 $as_echo "$ac_file" >&6; }
   3120 ac_exeext=$ac_cv_exeext
   3121 
   3122 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3123 ac_clean_files=$ac_clean_files_save
   3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3125 $as_echo_n "checking for suffix of executables... " >&6; }
   3126 if { { ac_try="$ac_link"
   3127 case "(($ac_try" in
   3128   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3129   *) ac_try_echo=$ac_try;;
   3130 esac
   3131 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3132 $as_echo "$ac_try_echo"; } >&5
   3133   (eval "$ac_link") 2>&5
   3134   ac_status=$?
   3135   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3136   test $ac_status = 0; }; then :
   3137   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3138 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3139 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3140 # `rm'.
   3141 for ac_file in conftest.exe conftest conftest.*; do
   3142   test -f "$ac_file" || continue
   3143   case $ac_file in
   3144     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3145     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3146 	  break;;
   3147     * ) break;;
   3148   esac
   3149 done
   3150 else
   3151   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3153 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3154 See \`config.log' for more details" "$LINENO" 5; }
   3155 fi
   3156 rm -f conftest conftest$ac_cv_exeext
   3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3158 $as_echo "$ac_cv_exeext" >&6; }
   3159 
   3160 rm -f conftest.$ac_ext
   3161 EXEEXT=$ac_cv_exeext
   3162 ac_exeext=$EXEEXT
   3163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3164 /* end confdefs.h.  */
   3165 #include <stdio.h>
   3166 int
   3167 main ()
   3168 {
   3169 FILE *f = fopen ("conftest.out", "w");
   3170  return ferror (f) || fclose (f) != 0;
   3171 
   3172   ;
   3173   return 0;
   3174 }
   3175 _ACEOF
   3176 ac_clean_files="$ac_clean_files conftest.out"
   3177 # Check that the compiler produces executables we can run.  If not, either
   3178 # the compiler is broken, or we cross compile.
   3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3180 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3181 if test "$cross_compiling" != yes; then
   3182   { { ac_try="$ac_link"
   3183 case "(($ac_try" in
   3184   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3185   *) ac_try_echo=$ac_try;;
   3186 esac
   3187 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3188 $as_echo "$ac_try_echo"; } >&5
   3189   (eval "$ac_link") 2>&5
   3190   ac_status=$?
   3191   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3192   test $ac_status = 0; }
   3193   if { ac_try='./conftest$ac_cv_exeext'
   3194   { { case "(($ac_try" in
   3195   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3196   *) ac_try_echo=$ac_try;;
   3197 esac
   3198 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3199 $as_echo "$ac_try_echo"; } >&5
   3200   (eval "$ac_try") 2>&5
   3201   ac_status=$?
   3202   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3203   test $ac_status = 0; }; }; then
   3204     cross_compiling=no
   3205   else
   3206     if test "$cross_compiling" = maybe; then
   3207 	cross_compiling=yes
   3208     else
   3209 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3210 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3211 as_fn_error $? "cannot run C compiled programs.
   3212 If you meant to cross compile, use \`--host'.
   3213 See \`config.log' for more details" "$LINENO" 5; }
   3214     fi
   3215   fi
   3216 fi
   3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3218 $as_echo "$cross_compiling" >&6; }
   3219 
   3220 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3221 ac_clean_files=$ac_clean_files_save
   3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3223 $as_echo_n "checking for suffix of object files... " >&6; }
   3224 if ${ac_cv_objext+:} false; then :
   3225   $as_echo_n "(cached) " >&6
   3226 else
   3227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3228 /* end confdefs.h.  */
   3229 
   3230 int
   3231 main ()
   3232 {
   3233 
   3234   ;
   3235   return 0;
   3236 }
   3237 _ACEOF
   3238 rm -f conftest.o conftest.obj
   3239 if { { ac_try="$ac_compile"
   3240 case "(($ac_try" in
   3241   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3242   *) ac_try_echo=$ac_try;;
   3243 esac
   3244 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3245 $as_echo "$ac_try_echo"; } >&5
   3246   (eval "$ac_compile") 2>&5
   3247   ac_status=$?
   3248   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3249   test $ac_status = 0; }; then :
   3250   for ac_file in conftest.o conftest.obj conftest.*; do
   3251   test -f "$ac_file" || continue;
   3252   case $ac_file in
   3253     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3254     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3255        break;;
   3256   esac
   3257 done
   3258 else
   3259   $as_echo "$as_me: failed program was:" >&5
   3260 sed 's/^/| /' conftest.$ac_ext >&5
   3261 
   3262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3264 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3265 See \`config.log' for more details" "$LINENO" 5; }
   3266 fi
   3267 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3268 fi
   3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3270 $as_echo "$ac_cv_objext" >&6; }
   3271 OBJEXT=$ac_cv_objext
   3272 ac_objext=$OBJEXT
   3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3274 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3275 if ${ac_cv_c_compiler_gnu+:} false; then :
   3276   $as_echo_n "(cached) " >&6
   3277 else
   3278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3279 /* end confdefs.h.  */
   3280 
   3281 int
   3282 main ()
   3283 {
   3284 #ifndef __GNUC__
   3285        choke me
   3286 #endif
   3287 
   3288   ;
   3289   return 0;
   3290 }
   3291 _ACEOF
   3292 if ac_fn_c_try_compile "$LINENO"; then :
   3293   ac_compiler_gnu=yes
   3294 else
   3295   ac_compiler_gnu=no
   3296 fi
   3297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3298 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3299 
   3300 fi
   3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3302 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3303 if test $ac_compiler_gnu = yes; then
   3304   GCC=yes
   3305 else
   3306   GCC=
   3307 fi
   3308 ac_test_CFLAGS=${CFLAGS+set}
   3309 ac_save_CFLAGS=$CFLAGS
   3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3311 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3312 if ${ac_cv_prog_cc_g+:} false; then :
   3313   $as_echo_n "(cached) " >&6
   3314 else
   3315   ac_save_c_werror_flag=$ac_c_werror_flag
   3316    ac_c_werror_flag=yes
   3317    ac_cv_prog_cc_g=no
   3318    CFLAGS="-g"
   3319    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3320 /* end confdefs.h.  */
   3321 
   3322 int
   3323 main ()
   3324 {
   3325 
   3326   ;
   3327   return 0;
   3328 }
   3329 _ACEOF
   3330 if ac_fn_c_try_compile "$LINENO"; then :
   3331   ac_cv_prog_cc_g=yes
   3332 else
   3333   CFLAGS=""
   3334       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3335 /* end confdefs.h.  */
   3336 
   3337 int
   3338 main ()
   3339 {
   3340 
   3341   ;
   3342   return 0;
   3343 }
   3344 _ACEOF
   3345 if ac_fn_c_try_compile "$LINENO"; then :
   3346 
   3347 else
   3348   ac_c_werror_flag=$ac_save_c_werror_flag
   3349 	 CFLAGS="-g"
   3350 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3351 /* end confdefs.h.  */
   3352 
   3353 int
   3354 main ()
   3355 {
   3356 
   3357   ;
   3358   return 0;
   3359 }
   3360 _ACEOF
   3361 if ac_fn_c_try_compile "$LINENO"; then :
   3362   ac_cv_prog_cc_g=yes
   3363 fi
   3364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3365 fi
   3366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3367 fi
   3368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3369    ac_c_werror_flag=$ac_save_c_werror_flag
   3370 fi
   3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3372 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3373 if test "$ac_test_CFLAGS" = set; then
   3374   CFLAGS=$ac_save_CFLAGS
   3375 elif test $ac_cv_prog_cc_g = yes; then
   3376   if test "$GCC" = yes; then
   3377     CFLAGS="-g -O2"
   3378   else
   3379     CFLAGS="-g"
   3380   fi
   3381 else
   3382   if test "$GCC" = yes; then
   3383     CFLAGS="-O2"
   3384   else
   3385     CFLAGS=
   3386   fi
   3387 fi
   3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3389 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3390 if ${ac_cv_prog_cc_c89+:} false; then :
   3391   $as_echo_n "(cached) " >&6
   3392 else
   3393   ac_cv_prog_cc_c89=no
   3394 ac_save_CC=$CC
   3395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3396 /* end confdefs.h.  */
   3397 #include <stdarg.h>
   3398 #include <stdio.h>
   3399 #include <sys/types.h>
   3400 #include <sys/stat.h>
   3401 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3402 struct buf { int x; };
   3403 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3404 static char *e (p, i)
   3405      char **p;
   3406      int i;
   3407 {
   3408   return p[i];
   3409 }
   3410 static char *f (char * (*g) (char **, int), char **p, ...)
   3411 {
   3412   char *s;
   3413   va_list v;
   3414   va_start (v,p);
   3415   s = g (p, va_arg (v,int));
   3416   va_end (v);
   3417   return s;
   3418 }
   3419 
   3420 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3421    function prototypes and stuff, but not '\xHH' hex character constants.
   3422    These don't provoke an error unfortunately, instead are silently treated
   3423    as 'x'.  The following induces an error, until -std is added to get
   3424    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3425    array size at least.  It's necessary to write '\x00'==0 to get something
   3426    that's true only with -std.  */
   3427 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3428 
   3429 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3430    inside strings and character constants.  */
   3431 #define FOO(x) 'x'
   3432 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3433 
   3434 int test (int i, double x);
   3435 struct s1 {int (*f) (int a);};
   3436 struct s2 {int (*f) (double a);};
   3437 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3438 int argc;
   3439 char **argv;
   3440 int
   3441 main ()
   3442 {
   3443 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3444   ;
   3445   return 0;
   3446 }
   3447 _ACEOF
   3448 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3449 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3450 do
   3451   CC="$ac_save_CC $ac_arg"
   3452   if ac_fn_c_try_compile "$LINENO"; then :
   3453   ac_cv_prog_cc_c89=$ac_arg
   3454 fi
   3455 rm -f core conftest.err conftest.$ac_objext
   3456   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3457 done
   3458 rm -f conftest.$ac_ext
   3459 CC=$ac_save_CC
   3460 
   3461 fi
   3462 # AC_CACHE_VAL
   3463 case "x$ac_cv_prog_cc_c89" in
   3464   x)
   3465     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3466 $as_echo "none needed" >&6; } ;;
   3467   xno)
   3468     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3469 $as_echo "unsupported" >&6; } ;;
   3470   *)
   3471     CC="$CC $ac_cv_prog_cc_c89"
   3472     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3473 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3474 esac
   3475 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3476 
   3477 fi
   3478 
   3479 ac_ext=c
   3480 ac_cpp='$CPP $CPPFLAGS'
   3481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3484 
   3485 depcc="$CC"   am_compiler_list=
   3486 
   3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3488 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3489 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3490   $as_echo_n "(cached) " >&6
   3491 else
   3492   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3493   # We make a subdir and do the tests there.  Otherwise we can end up
   3494   # making bogus files that we don't know about and never remove.  For
   3495   # instance it was reported that on HP-UX the gcc test will end up
   3496   # making a dummy file named `D' -- because `-MD' means `put the output
   3497   # in D'.
   3498   rm -rf conftest.dir
   3499   mkdir conftest.dir
   3500   # Copy depcomp to subdir because otherwise we won't find it if we're
   3501   # using a relative directory.
   3502   cp "$am_depcomp" conftest.dir
   3503   cd conftest.dir
   3504   # We will build objects and dependencies in a subdirectory because
   3505   # it helps to detect inapplicable dependency modes.  For instance
   3506   # both Tru64's cc and ICC support -MD to output dependencies as a
   3507   # side effect of compilation, but ICC will put the dependencies in
   3508   # the current directory while Tru64 will put them in the object
   3509   # directory.
   3510   mkdir sub
   3511 
   3512   am_cv_CC_dependencies_compiler_type=none
   3513   if test "$am_compiler_list" = ""; then
   3514      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3515   fi
   3516   am__universal=false
   3517   case " $depcc " in #(
   3518      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3519      esac
   3520 
   3521   for depmode in $am_compiler_list; do
   3522     # Setup a source with many dependencies, because some compilers
   3523     # like to wrap large dependency lists on column 80 (with \), and
   3524     # we should not choose a depcomp mode which is confused by this.
   3525     #
   3526     # We need to recreate these files for each test, as the compiler may
   3527     # overwrite some of them when testing with obscure command lines.
   3528     # This happens at least with the AIX C compiler.
   3529     : > sub/conftest.c
   3530     for i in 1 2 3 4 5 6; do
   3531       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3532       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3533       # Solaris 8's {/usr,}/bin/sh.
   3534       touch sub/conftst$i.h
   3535     done
   3536     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3537 
   3538     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3539     # mode.  It turns out that the SunPro C++ compiler does not properly
   3540     # handle `-M -o', and we need to detect this.  Also, some Intel
   3541     # versions had trouble with output in subdirs
   3542     am__obj=sub/conftest.${OBJEXT-o}
   3543     am__minus_obj="-o $am__obj"
   3544     case $depmode in
   3545     gcc)
   3546       # This depmode causes a compiler race in universal mode.
   3547       test "$am__universal" = false || continue
   3548       ;;
   3549     nosideeffect)
   3550       # after this tag, mechanisms are not by side-effect, so they'll
   3551       # only be used when explicitly requested
   3552       if test "x$enable_dependency_tracking" = xyes; then
   3553 	continue
   3554       else
   3555 	break
   3556       fi
   3557       ;;
   3558     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3559       # This compiler won't grok `-c -o', but also, the minuso test has
   3560       # not run yet.  These depmodes are late enough in the game, and
   3561       # so weak that their functioning should not be impacted.
   3562       am__obj=conftest.${OBJEXT-o}
   3563       am__minus_obj=
   3564       ;;
   3565     none) break ;;
   3566     esac
   3567     if depmode=$depmode \
   3568        source=sub/conftest.c object=$am__obj \
   3569        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3570        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3571          >/dev/null 2>conftest.err &&
   3572        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3573        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3574        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3575        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3576       # icc doesn't choke on unknown options, it will just issue warnings
   3577       # or remarks (even with -Werror).  So we grep stderr for any message
   3578       # that says an option was ignored or not supported.
   3579       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3580       #   icc: Command line warning: ignoring option '-M'; no argument required
   3581       # The diagnosis changed in icc 8.0:
   3582       #   icc: Command line remark: option '-MP' not supported
   3583       if (grep 'ignoring option' conftest.err ||
   3584           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3585         am_cv_CC_dependencies_compiler_type=$depmode
   3586         break
   3587       fi
   3588     fi
   3589   done
   3590 
   3591   cd ..
   3592   rm -rf conftest.dir
   3593 else
   3594   am_cv_CC_dependencies_compiler_type=none
   3595 fi
   3596 
   3597 fi
   3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3599 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3600 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3601 
   3602  if
   3603   test "x$enable_dependency_tracking" != xno \
   3604   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3605   am__fastdepCC_TRUE=
   3606   am__fastdepCC_FALSE='#'
   3607 else
   3608   am__fastdepCC_TRUE='#'
   3609   am__fastdepCC_FALSE=
   3610 fi
   3611 
   3612 
   3613    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3614 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3615 if ${ac_cv_prog_cc_c99+:} false; then :
   3616   $as_echo_n "(cached) " >&6
   3617 else
   3618   ac_cv_prog_cc_c99=no
   3619 ac_save_CC=$CC
   3620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3621 /* end confdefs.h.  */
   3622 #include <stdarg.h>
   3623 #include <stdbool.h>
   3624 #include <stdlib.h>
   3625 #include <wchar.h>
   3626 #include <stdio.h>
   3627 
   3628 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3629 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3630 #define showlist(...) puts (#__VA_ARGS__)
   3631 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3632 static void
   3633 test_varargs_macros (void)
   3634 {
   3635   int x = 1234;
   3636   int y = 5678;
   3637   debug ("Flag");
   3638   debug ("X = %d\n", x);
   3639   showlist (The first, second, and third items.);
   3640   report (x>y, "x is %d but y is %d", x, y);
   3641 }
   3642 
   3643 // Check long long types.
   3644 #define BIG64 18446744073709551615ull
   3645 #define BIG32 4294967295ul
   3646 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3647 #if !BIG_OK
   3648   your preprocessor is broken;
   3649 #endif
   3650 #if BIG_OK
   3651 #else
   3652   your preprocessor is broken;
   3653 #endif
   3654 static long long int bignum = -9223372036854775807LL;
   3655 static unsigned long long int ubignum = BIG64;
   3656 
   3657 struct incomplete_array
   3658 {
   3659   int datasize;
   3660   double data[];
   3661 };
   3662 
   3663 struct named_init {
   3664   int number;
   3665   const wchar_t *name;
   3666   double average;
   3667 };
   3668 
   3669 typedef const char *ccp;
   3670 
   3671 static inline int
   3672 test_restrict (ccp restrict text)
   3673 {
   3674   // See if C++-style comments work.
   3675   // Iterate through items via the restricted pointer.
   3676   // Also check for declarations in for loops.
   3677   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3678     continue;
   3679   return 0;
   3680 }
   3681 
   3682 // Check varargs and va_copy.
   3683 static void
   3684 test_varargs (const char *format, ...)
   3685 {
   3686   va_list args;
   3687   va_start (args, format);
   3688   va_list args_copy;
   3689   va_copy (args_copy, args);
   3690 
   3691   const char *str;
   3692   int number;
   3693   float fnumber;
   3694 
   3695   while (*format)
   3696     {
   3697       switch (*format++)
   3698 	{
   3699 	case 's': // string
   3700 	  str = va_arg (args_copy, const char *);
   3701 	  break;
   3702 	case 'd': // int
   3703 	  number = va_arg (args_copy, int);
   3704 	  break;
   3705 	case 'f': // float
   3706 	  fnumber = va_arg (args_copy, double);
   3707 	  break;
   3708 	default:
   3709 	  break;
   3710 	}
   3711     }
   3712   va_end (args_copy);
   3713   va_end (args);
   3714 }
   3715 
   3716 int
   3717 main ()
   3718 {
   3719 
   3720   // Check bool.
   3721   _Bool success = false;
   3722 
   3723   // Check restrict.
   3724   if (test_restrict ("String literal") == 0)
   3725     success = true;
   3726   char *restrict newvar = "Another string";
   3727 
   3728   // Check varargs.
   3729   test_varargs ("s, d' f .", "string", 65, 34.234);
   3730   test_varargs_macros ();
   3731 
   3732   // Check flexible array members.
   3733   struct incomplete_array *ia =
   3734     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3735   ia->datasize = 10;
   3736   for (int i = 0; i < ia->datasize; ++i)
   3737     ia->data[i] = i * 1.234;
   3738 
   3739   // Check named initializers.
   3740   struct named_init ni = {
   3741     .number = 34,
   3742     .name = L"Test wide string",
   3743     .average = 543.34343,
   3744   };
   3745 
   3746   ni.number = 58;
   3747 
   3748   int dynamic_array[ni.number];
   3749   dynamic_array[ni.number - 1] = 543;
   3750 
   3751   // work around unused variable warnings
   3752   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3753 	  || dynamic_array[ni.number - 1] != 543);
   3754 
   3755   ;
   3756   return 0;
   3757 }
   3758 _ACEOF
   3759 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3760 do
   3761   CC="$ac_save_CC $ac_arg"
   3762   if ac_fn_c_try_compile "$LINENO"; then :
   3763   ac_cv_prog_cc_c99=$ac_arg
   3764 fi
   3765 rm -f core conftest.err conftest.$ac_objext
   3766   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3767 done
   3768 rm -f conftest.$ac_ext
   3769 CC=$ac_save_CC
   3770 
   3771 fi
   3772 # AC_CACHE_VAL
   3773 case "x$ac_cv_prog_cc_c99" in
   3774   x)
   3775     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3776 $as_echo "none needed" >&6; } ;;
   3777   xno)
   3778     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3779 $as_echo "unsupported" >&6; } ;;
   3780   *)
   3781     CC="$CC $ac_cv_prog_cc_c99"
   3782     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3783 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3784 esac
   3785 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3786 
   3787 fi
   3788 
   3789 
   3790 
   3791 ac_ext=c
   3792 ac_cpp='$CPP $CPPFLAGS'
   3793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3797 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3798 # On Suns, sometimes $CPP names a directory.
   3799 if test -n "$CPP" && test -d "$CPP"; then
   3800   CPP=
   3801 fi
   3802 if test -z "$CPP"; then
   3803   if ${ac_cv_prog_CPP+:} false; then :
   3804   $as_echo_n "(cached) " >&6
   3805 else
   3806       # Double quotes because CPP needs to be expanded
   3807     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3808     do
   3809       ac_preproc_ok=false
   3810 for ac_c_preproc_warn_flag in '' yes
   3811 do
   3812   # Use a header file that comes with gcc, so configuring glibc
   3813   # with a fresh cross-compiler works.
   3814   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3815   # <limits.h> exists even on freestanding compilers.
   3816   # On the NeXT, cc -E runs the code through the compiler's parser,
   3817   # not just through cpp. "Syntax error" is here to catch this case.
   3818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3819 /* end confdefs.h.  */
   3820 #ifdef __STDC__
   3821 # include <limits.h>
   3822 #else
   3823 # include <assert.h>
   3824 #endif
   3825 		     Syntax error
   3826 _ACEOF
   3827 if ac_fn_c_try_cpp "$LINENO"; then :
   3828 
   3829 else
   3830   # Broken: fails on valid input.
   3831 continue
   3832 fi
   3833 rm -f conftest.err conftest.i conftest.$ac_ext
   3834 
   3835   # OK, works on sane cases.  Now check whether nonexistent headers
   3836   # can be detected and how.
   3837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3838 /* end confdefs.h.  */
   3839 #include <ac_nonexistent.h>
   3840 _ACEOF
   3841 if ac_fn_c_try_cpp "$LINENO"; then :
   3842   # Broken: success on invalid input.
   3843 continue
   3844 else
   3845   # Passes both tests.
   3846 ac_preproc_ok=:
   3847 break
   3848 fi
   3849 rm -f conftest.err conftest.i conftest.$ac_ext
   3850 
   3851 done
   3852 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3853 rm -f conftest.i conftest.err conftest.$ac_ext
   3854 if $ac_preproc_ok; then :
   3855   break
   3856 fi
   3857 
   3858     done
   3859     ac_cv_prog_CPP=$CPP
   3860 
   3861 fi
   3862   CPP=$ac_cv_prog_CPP
   3863 else
   3864   ac_cv_prog_CPP=$CPP
   3865 fi
   3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3867 $as_echo "$CPP" >&6; }
   3868 ac_preproc_ok=false
   3869 for ac_c_preproc_warn_flag in '' yes
   3870 do
   3871   # Use a header file that comes with gcc, so configuring glibc
   3872   # with a fresh cross-compiler works.
   3873   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3874   # <limits.h> exists even on freestanding compilers.
   3875   # On the NeXT, cc -E runs the code through the compiler's parser,
   3876   # not just through cpp. "Syntax error" is here to catch this case.
   3877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3878 /* end confdefs.h.  */
   3879 #ifdef __STDC__
   3880 # include <limits.h>
   3881 #else
   3882 # include <assert.h>
   3883 #endif
   3884 		     Syntax error
   3885 _ACEOF
   3886 if ac_fn_c_try_cpp "$LINENO"; then :
   3887 
   3888 else
   3889   # Broken: fails on valid input.
   3890 continue
   3891 fi
   3892 rm -f conftest.err conftest.i conftest.$ac_ext
   3893 
   3894   # OK, works on sane cases.  Now check whether nonexistent headers
   3895   # can be detected and how.
   3896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3897 /* end confdefs.h.  */
   3898 #include <ac_nonexistent.h>
   3899 _ACEOF
   3900 if ac_fn_c_try_cpp "$LINENO"; then :
   3901   # Broken: success on invalid input.
   3902 continue
   3903 else
   3904   # Passes both tests.
   3905 ac_preproc_ok=:
   3906 break
   3907 fi
   3908 rm -f conftest.err conftest.i conftest.$ac_ext
   3909 
   3910 done
   3911 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3912 rm -f conftest.i conftest.err conftest.$ac_ext
   3913 if $ac_preproc_ok; then :
   3914 
   3915 else
   3916   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3917 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3918 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3919 See \`config.log' for more details" "$LINENO" 5; }
   3920 fi
   3921 
   3922 ac_ext=c
   3923 ac_cpp='$CPP $CPPFLAGS'
   3924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3927 
   3928 
   3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3930 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3931 if ${ac_cv_path_GREP+:} false; then :
   3932   $as_echo_n "(cached) " >&6
   3933 else
   3934   if test -z "$GREP"; then
   3935   ac_path_GREP_found=false
   3936   # Loop through the user's path and test for each of PROGNAME-LIST
   3937   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3938 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3939 do
   3940   IFS=$as_save_IFS
   3941   test -z "$as_dir" && as_dir=.
   3942     for ac_prog in grep ggrep; do
   3943     for ac_exec_ext in '' $ac_executable_extensions; do
   3944       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3945       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3946 # Check for GNU ac_path_GREP and select it if it is found.
   3947   # Check for GNU $ac_path_GREP
   3948 case `"$ac_path_GREP" --version 2>&1` in
   3949 *GNU*)
   3950   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3951 *)
   3952   ac_count=0
   3953   $as_echo_n 0123456789 >"conftest.in"
   3954   while :
   3955   do
   3956     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3957     mv "conftest.tmp" "conftest.in"
   3958     cp "conftest.in" "conftest.nl"
   3959     $as_echo 'GREP' >> "conftest.nl"
   3960     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3961     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3962     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3963     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3964       # Best one so far, save it but keep looking for a better one
   3965       ac_cv_path_GREP="$ac_path_GREP"
   3966       ac_path_GREP_max=$ac_count
   3967     fi
   3968     # 10*(2^10) chars as input seems more than enough
   3969     test $ac_count -gt 10 && break
   3970   done
   3971   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3972 esac
   3973 
   3974       $ac_path_GREP_found && break 3
   3975     done
   3976   done
   3977   done
   3978 IFS=$as_save_IFS
   3979   if test -z "$ac_cv_path_GREP"; then
   3980     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3981   fi
   3982 else
   3983   ac_cv_path_GREP=$GREP
   3984 fi
   3985 
   3986 fi
   3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3988 $as_echo "$ac_cv_path_GREP" >&6; }
   3989  GREP="$ac_cv_path_GREP"
   3990 
   3991 
   3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3993 $as_echo_n "checking for egrep... " >&6; }
   3994 if ${ac_cv_path_EGREP+:} false; then :
   3995   $as_echo_n "(cached) " >&6
   3996 else
   3997   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3998    then ac_cv_path_EGREP="$GREP -E"
   3999    else
   4000      if test -z "$EGREP"; then
   4001   ac_path_EGREP_found=false
   4002   # Loop through the user's path and test for each of PROGNAME-LIST
   4003   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4004 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4005 do
   4006   IFS=$as_save_IFS
   4007   test -z "$as_dir" && as_dir=.
   4008     for ac_prog in egrep; do
   4009     for ac_exec_ext in '' $ac_executable_extensions; do
   4010       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4011       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4012 # Check for GNU ac_path_EGREP and select it if it is found.
   4013   # Check for GNU $ac_path_EGREP
   4014 case `"$ac_path_EGREP" --version 2>&1` in
   4015 *GNU*)
   4016   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4017 *)
   4018   ac_count=0
   4019   $as_echo_n 0123456789 >"conftest.in"
   4020   while :
   4021   do
   4022     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4023     mv "conftest.tmp" "conftest.in"
   4024     cp "conftest.in" "conftest.nl"
   4025     $as_echo 'EGREP' >> "conftest.nl"
   4026     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4027     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4028     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4029     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4030       # Best one so far, save it but keep looking for a better one
   4031       ac_cv_path_EGREP="$ac_path_EGREP"
   4032       ac_path_EGREP_max=$ac_count
   4033     fi
   4034     # 10*(2^10) chars as input seems more than enough
   4035     test $ac_count -gt 10 && break
   4036   done
   4037   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4038 esac
   4039 
   4040       $ac_path_EGREP_found && break 3
   4041     done
   4042   done
   4043   done
   4044 IFS=$as_save_IFS
   4045   if test -z "$ac_cv_path_EGREP"; then
   4046     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4047   fi
   4048 else
   4049   ac_cv_path_EGREP=$EGREP
   4050 fi
   4051 
   4052    fi
   4053 fi
   4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4055 $as_echo "$ac_cv_path_EGREP" >&6; }
   4056  EGREP="$ac_cv_path_EGREP"
   4057 
   4058 
   4059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4060 $as_echo_n "checking for ANSI C header files... " >&6; }
   4061 if ${ac_cv_header_stdc+:} false; then :
   4062   $as_echo_n "(cached) " >&6
   4063 else
   4064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4065 /* end confdefs.h.  */
   4066 #include <stdlib.h>
   4067 #include <stdarg.h>
   4068 #include <string.h>
   4069 #include <float.h>
   4070 
   4071 int
   4072 main ()
   4073 {
   4074 
   4075   ;
   4076   return 0;
   4077 }
   4078 _ACEOF
   4079 if ac_fn_c_try_compile "$LINENO"; then :
   4080   ac_cv_header_stdc=yes
   4081 else
   4082   ac_cv_header_stdc=no
   4083 fi
   4084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4085 
   4086 if test $ac_cv_header_stdc = yes; then
   4087   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4089 /* end confdefs.h.  */
   4090 #include <string.h>
   4091 
   4092 _ACEOF
   4093 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4094   $EGREP "memchr" >/dev/null 2>&1; then :
   4095 
   4096 else
   4097   ac_cv_header_stdc=no
   4098 fi
   4099 rm -f conftest*
   4100 
   4101 fi
   4102 
   4103 if test $ac_cv_header_stdc = yes; then
   4104   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4106 /* end confdefs.h.  */
   4107 #include <stdlib.h>
   4108 
   4109 _ACEOF
   4110 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4111   $EGREP "free" >/dev/null 2>&1; then :
   4112 
   4113 else
   4114   ac_cv_header_stdc=no
   4115 fi
   4116 rm -f conftest*
   4117 
   4118 fi
   4119 
   4120 if test $ac_cv_header_stdc = yes; then
   4121   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4122   if test "$cross_compiling" = yes; then :
   4123   :
   4124 else
   4125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4126 /* end confdefs.h.  */
   4127 #include <ctype.h>
   4128 #include <stdlib.h>
   4129 #if ((' ' & 0x0FF) == 0x020)
   4130 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4131 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4132 #else
   4133 # define ISLOWER(c) \
   4134 		   (('a' <= (c) && (c) <= 'i') \
   4135 		     || ('j' <= (c) && (c) <= 'r') \
   4136 		     || ('s' <= (c) && (c) <= 'z'))
   4137 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4138 #endif
   4139 
   4140 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4141 int
   4142 main ()
   4143 {
   4144   int i;
   4145   for (i = 0; i < 256; i++)
   4146     if (XOR (islower (i), ISLOWER (i))
   4147 	|| toupper (i) != TOUPPER (i))
   4148       return 2;
   4149   return 0;
   4150 }
   4151 _ACEOF
   4152 if ac_fn_c_try_run "$LINENO"; then :
   4153 
   4154 else
   4155   ac_cv_header_stdc=no
   4156 fi
   4157 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4158   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4159 fi
   4160 
   4161 fi
   4162 fi
   4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4164 $as_echo "$ac_cv_header_stdc" >&6; }
   4165 if test $ac_cv_header_stdc = yes; then
   4166 
   4167 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4168 
   4169 fi
   4170 
   4171 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4172 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4173 		  inttypes.h stdint.h unistd.h
   4174 do :
   4175   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4176 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4177 "
   4178 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4179   cat >>confdefs.h <<_ACEOF
   4180 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4181 _ACEOF
   4182 
   4183 fi
   4184 
   4185 done
   4186 
   4187 
   4188 
   4189 
   4190 
   4191 
   4192 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4193 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4194   CLANGCC="yes"
   4195 else
   4196   CLANGCC="no"
   4197 fi
   4198 
   4199 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4200 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4201   INTELCC="yes"
   4202 else
   4203   INTELCC="no"
   4204 fi
   4205 
   4206 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4207 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4208   SUNCC="yes"
   4209 else
   4210   SUNCC="no"
   4211 fi
   4212 
   4213 
   4214 
   4215 
   4216 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4217 	if test -n "$ac_tool_prefix"; then
   4218   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4219 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4221 $as_echo_n "checking for $ac_word... " >&6; }
   4222 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4223   $as_echo_n "(cached) " >&6
   4224 else
   4225   case $PKG_CONFIG in
   4226   [\\/]* | ?:[\\/]*)
   4227   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4228   ;;
   4229   *)
   4230   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4231 for as_dir in $PATH
   4232 do
   4233   IFS=$as_save_IFS
   4234   test -z "$as_dir" && as_dir=.
   4235     for ac_exec_ext in '' $ac_executable_extensions; do
   4236   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4237     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4238     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4239     break 2
   4240   fi
   4241 done
   4242   done
   4243 IFS=$as_save_IFS
   4244 
   4245   ;;
   4246 esac
   4247 fi
   4248 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4249 if test -n "$PKG_CONFIG"; then
   4250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4251 $as_echo "$PKG_CONFIG" >&6; }
   4252 else
   4253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4254 $as_echo "no" >&6; }
   4255 fi
   4256 
   4257 
   4258 fi
   4259 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4260   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4261   # Extract the first word of "pkg-config", so it can be a program name with args.
   4262 set dummy pkg-config; ac_word=$2
   4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4264 $as_echo_n "checking for $ac_word... " >&6; }
   4265 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4266   $as_echo_n "(cached) " >&6
   4267 else
   4268   case $ac_pt_PKG_CONFIG in
   4269   [\\/]* | ?:[\\/]*)
   4270   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4271   ;;
   4272   *)
   4273   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4274 for as_dir in $PATH
   4275 do
   4276   IFS=$as_save_IFS
   4277   test -z "$as_dir" && as_dir=.
   4278     for ac_exec_ext in '' $ac_executable_extensions; do
   4279   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4280     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4281     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4282     break 2
   4283   fi
   4284 done
   4285   done
   4286 IFS=$as_save_IFS
   4287 
   4288   ;;
   4289 esac
   4290 fi
   4291 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4292 if test -n "$ac_pt_PKG_CONFIG"; then
   4293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4294 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4295 else
   4296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4297 $as_echo "no" >&6; }
   4298 fi
   4299 
   4300   if test "x$ac_pt_PKG_CONFIG" = x; then
   4301     PKG_CONFIG=""
   4302   else
   4303     case $cross_compiling:$ac_tool_warned in
   4304 yes:)
   4305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4307 ac_tool_warned=yes ;;
   4308 esac
   4309     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4310   fi
   4311 else
   4312   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4313 fi
   4314 
   4315 fi
   4316 if test -n "$PKG_CONFIG"; then
   4317 	_pkg_min_version=0.9.0
   4318 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4319 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4320 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4321 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4322 $as_echo "yes" >&6; }
   4323 	else
   4324 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4325 $as_echo "no" >&6; }
   4326 		PKG_CONFIG=""
   4327 	fi
   4328 
   4329 fi
   4330 # Make sure we can run config.sub.
   4331 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4332   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4333 
   4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4335 $as_echo_n "checking build system type... " >&6; }
   4336 if ${ac_cv_build+:} false; then :
   4337   $as_echo_n "(cached) " >&6
   4338 else
   4339   ac_build_alias=$build_alias
   4340 test "x$ac_build_alias" = x &&
   4341   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4342 test "x$ac_build_alias" = x &&
   4343   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4344 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4345   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4346 
   4347 fi
   4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4349 $as_echo "$ac_cv_build" >&6; }
   4350 case $ac_cv_build in
   4351 *-*-*) ;;
   4352 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4353 esac
   4354 build=$ac_cv_build
   4355 ac_save_IFS=$IFS; IFS='-'
   4356 set x $ac_cv_build
   4357 shift
   4358 build_cpu=$1
   4359 build_vendor=$2
   4360 shift; shift
   4361 # Remember, the first character of IFS is used to create $*,
   4362 # except with old shells:
   4363 build_os=$*
   4364 IFS=$ac_save_IFS
   4365 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4366 
   4367 
   4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4369 $as_echo_n "checking host system type... " >&6; }
   4370 if ${ac_cv_host+:} false; then :
   4371   $as_echo_n "(cached) " >&6
   4372 else
   4373   if test "x$host_alias" = x; then
   4374   ac_cv_host=$ac_cv_build
   4375 else
   4376   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4377     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4378 fi
   4379 
   4380 fi
   4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4382 $as_echo "$ac_cv_host" >&6; }
   4383 case $ac_cv_host in
   4384 *-*-*) ;;
   4385 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4386 esac
   4387 host=$ac_cv_host
   4388 ac_save_IFS=$IFS; IFS='-'
   4389 set x $ac_cv_host
   4390 shift
   4391 host_cpu=$1
   4392 host_vendor=$2
   4393 shift; shift
   4394 # Remember, the first character of IFS is used to create $*,
   4395 # except with old shells:
   4396 host_os=$*
   4397 IFS=$ac_save_IFS
   4398 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4399 
   4400 
   4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4402 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4403 if ${ac_cv_path_SED+:} false; then :
   4404   $as_echo_n "(cached) " >&6
   4405 else
   4406             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4407      for ac_i in 1 2 3 4 5 6 7; do
   4408        ac_script="$ac_script$as_nl$ac_script"
   4409      done
   4410      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4411      { ac_script=; unset ac_script;}
   4412      if test -z "$SED"; then
   4413   ac_path_SED_found=false
   4414   # Loop through the user's path and test for each of PROGNAME-LIST
   4415   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4416 for as_dir in $PATH
   4417 do
   4418   IFS=$as_save_IFS
   4419   test -z "$as_dir" && as_dir=.
   4420     for ac_prog in sed gsed; do
   4421     for ac_exec_ext in '' $ac_executable_extensions; do
   4422       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4423       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4424 # Check for GNU ac_path_SED and select it if it is found.
   4425   # Check for GNU $ac_path_SED
   4426 case `"$ac_path_SED" --version 2>&1` in
   4427 *GNU*)
   4428   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4429 *)
   4430   ac_count=0
   4431   $as_echo_n 0123456789 >"conftest.in"
   4432   while :
   4433   do
   4434     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4435     mv "conftest.tmp" "conftest.in"
   4436     cp "conftest.in" "conftest.nl"
   4437     $as_echo '' >> "conftest.nl"
   4438     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4439     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4440     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4441     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4442       # Best one so far, save it but keep looking for a better one
   4443       ac_cv_path_SED="$ac_path_SED"
   4444       ac_path_SED_max=$ac_count
   4445     fi
   4446     # 10*(2^10) chars as input seems more than enough
   4447     test $ac_count -gt 10 && break
   4448   done
   4449   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4450 esac
   4451 
   4452       $ac_path_SED_found && break 3
   4453     done
   4454   done
   4455   done
   4456 IFS=$as_save_IFS
   4457   if test -z "$ac_cv_path_SED"; then
   4458     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4459   fi
   4460 else
   4461   ac_cv_path_SED=$SED
   4462 fi
   4463 
   4464 fi
   4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4466 $as_echo "$ac_cv_path_SED" >&6; }
   4467  SED="$ac_cv_path_SED"
   4468   rm -f conftest.sed
   4469 
   4470 
   4471 
   4472 
   4473 
   4474 
   4475 # Check whether --enable-selective-werror was given.
   4476 if test "${enable_selective_werror+set}" = set; then :
   4477   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4478 else
   4479   SELECTIVE_WERROR=yes
   4480 fi
   4481 
   4482 
   4483 
   4484 
   4485 
   4486 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4487 if test "x$SUNCC" = "xyes"; then
   4488     BASE_CFLAGS="-v"
   4489 else
   4490     BASE_CFLAGS=""
   4491 fi
   4492 
   4493 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4494 
   4495 
   4496 
   4497 
   4498 
   4499 
   4500 
   4501 
   4502 
   4503 
   4504 
   4505 
   4506 
   4507 xorg_testset_save_CFLAGS="$CFLAGS"
   4508 
   4509 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4510 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4511 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4512 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4513 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4514   $as_echo_n "(cached) " >&6
   4515 else
   4516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4517 /* end confdefs.h.  */
   4518 int i;
   4519 _ACEOF
   4520 if ac_fn_c_try_compile "$LINENO"; then :
   4521   xorg_cv_cc_flag_unknown_warning_option=yes
   4522 else
   4523   xorg_cv_cc_flag_unknown_warning_option=no
   4524 fi
   4525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4526 fi
   4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4528 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4529 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4530 	CFLAGS="$xorg_testset_save_CFLAGS"
   4531 fi
   4532 
   4533 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4534 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4535 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4536 	fi
   4537 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4538 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4539 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4540 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4541   $as_echo_n "(cached) " >&6
   4542 else
   4543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4544 /* end confdefs.h.  */
   4545 int i;
   4546 _ACEOF
   4547 if ac_fn_c_try_compile "$LINENO"; then :
   4548   xorg_cv_cc_flag_unused_command_line_argument=yes
   4549 else
   4550   xorg_cv_cc_flag_unused_command_line_argument=no
   4551 fi
   4552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4553 fi
   4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4555 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4556 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4557 	CFLAGS="$xorg_testset_save_CFLAGS"
   4558 fi
   4559 
   4560 found="no"
   4561 
   4562 	if test $found = "no" ; then
   4563 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4564 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4565 		fi
   4566 
   4567 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4568 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4569 		fi
   4570 
   4571 		CFLAGS="$CFLAGS -Wall"
   4572 
   4573 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4574 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4575 		cacheid=xorg_cv_cc_flag__Wall
   4576 		if eval \${$cacheid+:} false; then :
   4577   $as_echo_n "(cached) " >&6
   4578 else
   4579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4580 /* end confdefs.h.  */
   4581 int i;
   4582 int
   4583 main ()
   4584 {
   4585 
   4586   ;
   4587   return 0;
   4588 }
   4589 _ACEOF
   4590 if ac_fn_c_try_link "$LINENO"; then :
   4591   eval $cacheid=yes
   4592 else
   4593   eval $cacheid=no
   4594 fi
   4595 rm -f core conftest.err conftest.$ac_objext \
   4596     conftest$ac_exeext conftest.$ac_ext
   4597 fi
   4598 
   4599 
   4600 		CFLAGS="$xorg_testset_save_CFLAGS"
   4601 
   4602 		eval supported=\$$cacheid
   4603 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4604 $as_echo "$supported" >&6; }
   4605 		if test "$supported" = "yes" ; then
   4606 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4607 			found="yes"
   4608 		fi
   4609 	fi
   4610 
   4611 
   4612 
   4613 
   4614 
   4615 
   4616 
   4617 
   4618 
   4619 
   4620 
   4621 
   4622 
   4623 
   4624 
   4625 xorg_testset_save_CFLAGS="$CFLAGS"
   4626 
   4627 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4628 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4629 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4630 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4631 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4632   $as_echo_n "(cached) " >&6
   4633 else
   4634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4635 /* end confdefs.h.  */
   4636 int i;
   4637 _ACEOF
   4638 if ac_fn_c_try_compile "$LINENO"; then :
   4639   xorg_cv_cc_flag_unknown_warning_option=yes
   4640 else
   4641   xorg_cv_cc_flag_unknown_warning_option=no
   4642 fi
   4643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4644 fi
   4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4646 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4647 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4648 	CFLAGS="$xorg_testset_save_CFLAGS"
   4649 fi
   4650 
   4651 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4652 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4653 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4654 	fi
   4655 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4656 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4657 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4658 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   4665 if ac_fn_c_try_compile "$LINENO"; then :
   4666   xorg_cv_cc_flag_unused_command_line_argument=yes
   4667 else
   4668   xorg_cv_cc_flag_unused_command_line_argument=no
   4669 fi
   4670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4671 fi
   4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4673 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4674 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4675 	CFLAGS="$xorg_testset_save_CFLAGS"
   4676 fi
   4677 
   4678 found="no"
   4679 
   4680 	if test $found = "no" ; then
   4681 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4682 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4683 		fi
   4684 
   4685 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4686 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4687 		fi
   4688 
   4689 		CFLAGS="$CFLAGS -Wpointer-arith"
   4690 
   4691 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4692 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4693 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4694 		if eval \${$cacheid+:} false; then :
   4695   $as_echo_n "(cached) " >&6
   4696 else
   4697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4698 /* end confdefs.h.  */
   4699 int i;
   4700 int
   4701 main ()
   4702 {
   4703 
   4704   ;
   4705   return 0;
   4706 }
   4707 _ACEOF
   4708 if ac_fn_c_try_link "$LINENO"; then :
   4709   eval $cacheid=yes
   4710 else
   4711   eval $cacheid=no
   4712 fi
   4713 rm -f core conftest.err conftest.$ac_objext \
   4714     conftest$ac_exeext conftest.$ac_ext
   4715 fi
   4716 
   4717 
   4718 		CFLAGS="$xorg_testset_save_CFLAGS"
   4719 
   4720 		eval supported=\$$cacheid
   4721 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4722 $as_echo "$supported" >&6; }
   4723 		if test "$supported" = "yes" ; then
   4724 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4725 			found="yes"
   4726 		fi
   4727 	fi
   4728 
   4729 
   4730 
   4731 
   4732 
   4733 
   4734 
   4735 
   4736 
   4737 
   4738 
   4739 
   4740 
   4741 
   4742 
   4743 xorg_testset_save_CFLAGS="$CFLAGS"
   4744 
   4745 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4746 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4747 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4748 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4749 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4750   $as_echo_n "(cached) " >&6
   4751 else
   4752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4753 /* end confdefs.h.  */
   4754 int i;
   4755 _ACEOF
   4756 if ac_fn_c_try_compile "$LINENO"; then :
   4757   xorg_cv_cc_flag_unknown_warning_option=yes
   4758 else
   4759   xorg_cv_cc_flag_unknown_warning_option=no
   4760 fi
   4761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4762 fi
   4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4764 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4765 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4766 	CFLAGS="$xorg_testset_save_CFLAGS"
   4767 fi
   4768 
   4769 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4770 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4771 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4772 	fi
   4773 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4774 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4775 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4776 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4777   $as_echo_n "(cached) " >&6
   4778 else
   4779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4780 /* end confdefs.h.  */
   4781 int i;
   4782 _ACEOF
   4783 if ac_fn_c_try_compile "$LINENO"; then :
   4784   xorg_cv_cc_flag_unused_command_line_argument=yes
   4785 else
   4786   xorg_cv_cc_flag_unused_command_line_argument=no
   4787 fi
   4788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4789 fi
   4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4791 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4792 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4793 	CFLAGS="$xorg_testset_save_CFLAGS"
   4794 fi
   4795 
   4796 found="no"
   4797 
   4798 	if test $found = "no" ; then
   4799 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4800 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4801 		fi
   4802 
   4803 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4804 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4805 		fi
   4806 
   4807 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4808 
   4809 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4810 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4811 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   4812 		if eval \${$cacheid+:} false; then :
   4813   $as_echo_n "(cached) " >&6
   4814 else
   4815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4816 /* end confdefs.h.  */
   4817 int i;
   4818 int
   4819 main ()
   4820 {
   4821 
   4822   ;
   4823   return 0;
   4824 }
   4825 _ACEOF
   4826 if ac_fn_c_try_link "$LINENO"; then :
   4827   eval $cacheid=yes
   4828 else
   4829   eval $cacheid=no
   4830 fi
   4831 rm -f core conftest.err conftest.$ac_objext \
   4832     conftest$ac_exeext conftest.$ac_ext
   4833 fi
   4834 
   4835 
   4836 		CFLAGS="$xorg_testset_save_CFLAGS"
   4837 
   4838 		eval supported=\$$cacheid
   4839 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4840 $as_echo "$supported" >&6; }
   4841 		if test "$supported" = "yes" ; then
   4842 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   4843 			found="yes"
   4844 		fi
   4845 	fi
   4846 
   4847 
   4848 
   4849 
   4850 
   4851 
   4852 
   4853 
   4854 
   4855 
   4856 
   4857 
   4858 
   4859 
   4860 
   4861 xorg_testset_save_CFLAGS="$CFLAGS"
   4862 
   4863 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4864 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4865 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4866 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4867 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4868   $as_echo_n "(cached) " >&6
   4869 else
   4870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4871 /* end confdefs.h.  */
   4872 int i;
   4873 _ACEOF
   4874 if ac_fn_c_try_compile "$LINENO"; then :
   4875   xorg_cv_cc_flag_unknown_warning_option=yes
   4876 else
   4877   xorg_cv_cc_flag_unknown_warning_option=no
   4878 fi
   4879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4880 fi
   4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4882 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4883 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4884 	CFLAGS="$xorg_testset_save_CFLAGS"
   4885 fi
   4886 
   4887 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4888 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4889 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4890 	fi
   4891 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4892 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4893 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4894 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4895   $as_echo_n "(cached) " >&6
   4896 else
   4897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4898 /* end confdefs.h.  */
   4899 int i;
   4900 _ACEOF
   4901 if ac_fn_c_try_compile "$LINENO"; then :
   4902   xorg_cv_cc_flag_unused_command_line_argument=yes
   4903 else
   4904   xorg_cv_cc_flag_unused_command_line_argument=no
   4905 fi
   4906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4907 fi
   4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4909 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4910 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4911 	CFLAGS="$xorg_testset_save_CFLAGS"
   4912 fi
   4913 
   4914 found="no"
   4915 
   4916 	if test $found = "no" ; then
   4917 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4918 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4919 		fi
   4920 
   4921 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4922 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4923 		fi
   4924 
   4925 		CFLAGS="$CFLAGS -Wformat=2"
   4926 
   4927 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   4928 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   4929 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   4930 		if eval \${$cacheid+:} false; then :
   4931   $as_echo_n "(cached) " >&6
   4932 else
   4933   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4934 /* end confdefs.h.  */
   4935 int i;
   4936 int
   4937 main ()
   4938 {
   4939 
   4940   ;
   4941   return 0;
   4942 }
   4943 _ACEOF
   4944 if ac_fn_c_try_link "$LINENO"; then :
   4945   eval $cacheid=yes
   4946 else
   4947   eval $cacheid=no
   4948 fi
   4949 rm -f core conftest.err conftest.$ac_objext \
   4950     conftest$ac_exeext conftest.$ac_ext
   4951 fi
   4952 
   4953 
   4954 		CFLAGS="$xorg_testset_save_CFLAGS"
   4955 
   4956 		eval supported=\$$cacheid
   4957 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4958 $as_echo "$supported" >&6; }
   4959 		if test "$supported" = "yes" ; then
   4960 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   4961 			found="yes"
   4962 		fi
   4963 	fi
   4964 
   4965 	if test $found = "no" ; then
   4966 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4967 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4968 		fi
   4969 
   4970 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4971 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4972 		fi
   4973 
   4974 		CFLAGS="$CFLAGS -Wformat"
   4975 
   4976 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   4977 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   4978 		cacheid=xorg_cv_cc_flag__Wformat
   4979 		if eval \${$cacheid+:} false; then :
   4980   $as_echo_n "(cached) " >&6
   4981 else
   4982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4983 /* end confdefs.h.  */
   4984 int i;
   4985 int
   4986 main ()
   4987 {
   4988 
   4989   ;
   4990   return 0;
   4991 }
   4992 _ACEOF
   4993 if ac_fn_c_try_link "$LINENO"; then :
   4994   eval $cacheid=yes
   4995 else
   4996   eval $cacheid=no
   4997 fi
   4998 rm -f core conftest.err conftest.$ac_objext \
   4999     conftest$ac_exeext conftest.$ac_ext
   5000 fi
   5001 
   5002 
   5003 		CFLAGS="$xorg_testset_save_CFLAGS"
   5004 
   5005 		eval supported=\$$cacheid
   5006 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5007 $as_echo "$supported" >&6; }
   5008 		if test "$supported" = "yes" ; then
   5009 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5010 			found="yes"
   5011 		fi
   5012 	fi
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 
   5020 
   5021 
   5022 
   5023 
   5024 
   5025 
   5026 
   5027 
   5028 
   5029 
   5030 xorg_testset_save_CFLAGS="$CFLAGS"
   5031 
   5032 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5033 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5034 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5035 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5036 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5037   $as_echo_n "(cached) " >&6
   5038 else
   5039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5040 /* end confdefs.h.  */
   5041 int i;
   5042 _ACEOF
   5043 if ac_fn_c_try_compile "$LINENO"; then :
   5044   xorg_cv_cc_flag_unknown_warning_option=yes
   5045 else
   5046   xorg_cv_cc_flag_unknown_warning_option=no
   5047 fi
   5048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5049 fi
   5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5051 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5052 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5053 	CFLAGS="$xorg_testset_save_CFLAGS"
   5054 fi
   5055 
   5056 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5057 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5058 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5059 	fi
   5060 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5061 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5062 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5063 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5064   $as_echo_n "(cached) " >&6
   5065 else
   5066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5067 /* end confdefs.h.  */
   5068 int i;
   5069 _ACEOF
   5070 if ac_fn_c_try_compile "$LINENO"; then :
   5071   xorg_cv_cc_flag_unused_command_line_argument=yes
   5072 else
   5073   xorg_cv_cc_flag_unused_command_line_argument=no
   5074 fi
   5075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5076 fi
   5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5078 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5079 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5080 	CFLAGS="$xorg_testset_save_CFLAGS"
   5081 fi
   5082 
   5083 found="no"
   5084 
   5085 	if test $found = "no" ; then
   5086 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5087 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5088 		fi
   5089 
   5090 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5091 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5092 		fi
   5093 
   5094 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5095 
   5096 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5097 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5098 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5099 		if eval \${$cacheid+:} false; then :
   5100   $as_echo_n "(cached) " >&6
   5101 else
   5102   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5103 /* end confdefs.h.  */
   5104 int i;
   5105 int
   5106 main ()
   5107 {
   5108 
   5109   ;
   5110   return 0;
   5111 }
   5112 _ACEOF
   5113 if ac_fn_c_try_link "$LINENO"; then :
   5114   eval $cacheid=yes
   5115 else
   5116   eval $cacheid=no
   5117 fi
   5118 rm -f core conftest.err conftest.$ac_objext \
   5119     conftest$ac_exeext conftest.$ac_ext
   5120 fi
   5121 
   5122 
   5123 		CFLAGS="$xorg_testset_save_CFLAGS"
   5124 
   5125 		eval supported=\$$cacheid
   5126 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5127 $as_echo "$supported" >&6; }
   5128 		if test "$supported" = "yes" ; then
   5129 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5130 			found="yes"
   5131 		fi
   5132 	fi
   5133 
   5134 
   5135 
   5136 
   5137 
   5138 
   5139 
   5140 
   5141 
   5142 
   5143 
   5144 
   5145 
   5146 
   5147 
   5148 xorg_testset_save_CFLAGS="$CFLAGS"
   5149 
   5150 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5151 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5152 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5153 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5154 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5155   $as_echo_n "(cached) " >&6
   5156 else
   5157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5158 /* end confdefs.h.  */
   5159 int i;
   5160 _ACEOF
   5161 if ac_fn_c_try_compile "$LINENO"; then :
   5162   xorg_cv_cc_flag_unknown_warning_option=yes
   5163 else
   5164   xorg_cv_cc_flag_unknown_warning_option=no
   5165 fi
   5166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5167 fi
   5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5169 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5170 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5171 	CFLAGS="$xorg_testset_save_CFLAGS"
   5172 fi
   5173 
   5174 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5175 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5176 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5177 	fi
   5178 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5179 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5180 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5181 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5182   $as_echo_n "(cached) " >&6
   5183 else
   5184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5185 /* end confdefs.h.  */
   5186 int i;
   5187 _ACEOF
   5188 if ac_fn_c_try_compile "$LINENO"; then :
   5189   xorg_cv_cc_flag_unused_command_line_argument=yes
   5190 else
   5191   xorg_cv_cc_flag_unused_command_line_argument=no
   5192 fi
   5193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5194 fi
   5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5196 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5197 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5198 	CFLAGS="$xorg_testset_save_CFLAGS"
   5199 fi
   5200 
   5201 found="no"
   5202 
   5203 	if test $found = "no" ; then
   5204 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5205 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5206 		fi
   5207 
   5208 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5209 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5210 		fi
   5211 
   5212 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5213 
   5214 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5215 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5216 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5217 		if eval \${$cacheid+:} false; then :
   5218   $as_echo_n "(cached) " >&6
   5219 else
   5220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5221 /* end confdefs.h.  */
   5222 int i;
   5223 int
   5224 main ()
   5225 {
   5226 
   5227   ;
   5228   return 0;
   5229 }
   5230 _ACEOF
   5231 if ac_fn_c_try_link "$LINENO"; then :
   5232   eval $cacheid=yes
   5233 else
   5234   eval $cacheid=no
   5235 fi
   5236 rm -f core conftest.err conftest.$ac_objext \
   5237     conftest$ac_exeext conftest.$ac_ext
   5238 fi
   5239 
   5240 
   5241 		CFLAGS="$xorg_testset_save_CFLAGS"
   5242 
   5243 		eval supported=\$$cacheid
   5244 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5245 $as_echo "$supported" >&6; }
   5246 		if test "$supported" = "yes" ; then
   5247 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5248 			found="yes"
   5249 		fi
   5250 	fi
   5251 
   5252 
   5253 
   5254 
   5255 
   5256 
   5257 
   5258 
   5259 
   5260 
   5261 
   5262 
   5263 
   5264 
   5265 
   5266 xorg_testset_save_CFLAGS="$CFLAGS"
   5267 
   5268 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5269 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5270 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5271 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5272 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5273   $as_echo_n "(cached) " >&6
   5274 else
   5275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5276 /* end confdefs.h.  */
   5277 int i;
   5278 _ACEOF
   5279 if ac_fn_c_try_compile "$LINENO"; then :
   5280   xorg_cv_cc_flag_unknown_warning_option=yes
   5281 else
   5282   xorg_cv_cc_flag_unknown_warning_option=no
   5283 fi
   5284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5285 fi
   5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5287 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5288 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5289 	CFLAGS="$xorg_testset_save_CFLAGS"
   5290 fi
   5291 
   5292 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5293 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5294 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5295 	fi
   5296 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5297 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5298 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5299 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5300   $as_echo_n "(cached) " >&6
   5301 else
   5302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5303 /* end confdefs.h.  */
   5304 int i;
   5305 _ACEOF
   5306 if ac_fn_c_try_compile "$LINENO"; then :
   5307   xorg_cv_cc_flag_unused_command_line_argument=yes
   5308 else
   5309   xorg_cv_cc_flag_unused_command_line_argument=no
   5310 fi
   5311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5312 fi
   5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5314 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5315 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5316 	CFLAGS="$xorg_testset_save_CFLAGS"
   5317 fi
   5318 
   5319 found="no"
   5320 
   5321 	if test $found = "no" ; then
   5322 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5323 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5324 		fi
   5325 
   5326 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5327 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5328 		fi
   5329 
   5330 		CFLAGS="$CFLAGS -Wnested-externs"
   5331 
   5332 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5333 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5334 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5335 		if eval \${$cacheid+:} false; then :
   5336   $as_echo_n "(cached) " >&6
   5337 else
   5338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5339 /* end confdefs.h.  */
   5340 int i;
   5341 int
   5342 main ()
   5343 {
   5344 
   5345   ;
   5346   return 0;
   5347 }
   5348 _ACEOF
   5349 if ac_fn_c_try_link "$LINENO"; then :
   5350   eval $cacheid=yes
   5351 else
   5352   eval $cacheid=no
   5353 fi
   5354 rm -f core conftest.err conftest.$ac_objext \
   5355     conftest$ac_exeext conftest.$ac_ext
   5356 fi
   5357 
   5358 
   5359 		CFLAGS="$xorg_testset_save_CFLAGS"
   5360 
   5361 		eval supported=\$$cacheid
   5362 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5363 $as_echo "$supported" >&6; }
   5364 		if test "$supported" = "yes" ; then
   5365 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5366 			found="yes"
   5367 		fi
   5368 	fi
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 xorg_testset_save_CFLAGS="$CFLAGS"
   5385 
   5386 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5387 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5388 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5389 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5390 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5391   $as_echo_n "(cached) " >&6
   5392 else
   5393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5394 /* end confdefs.h.  */
   5395 int i;
   5396 _ACEOF
   5397 if ac_fn_c_try_compile "$LINENO"; then :
   5398   xorg_cv_cc_flag_unknown_warning_option=yes
   5399 else
   5400   xorg_cv_cc_flag_unknown_warning_option=no
   5401 fi
   5402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5403 fi
   5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5405 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5406 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5407 	CFLAGS="$xorg_testset_save_CFLAGS"
   5408 fi
   5409 
   5410 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5411 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5412 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5413 	fi
   5414 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5415 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5416 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5417 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5418   $as_echo_n "(cached) " >&6
   5419 else
   5420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5421 /* end confdefs.h.  */
   5422 int i;
   5423 _ACEOF
   5424 if ac_fn_c_try_compile "$LINENO"; then :
   5425   xorg_cv_cc_flag_unused_command_line_argument=yes
   5426 else
   5427   xorg_cv_cc_flag_unused_command_line_argument=no
   5428 fi
   5429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5430 fi
   5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5432 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5433 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5434 	CFLAGS="$xorg_testset_save_CFLAGS"
   5435 fi
   5436 
   5437 found="no"
   5438 
   5439 	if test $found = "no" ; then
   5440 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5441 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5442 		fi
   5443 
   5444 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5445 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5446 		fi
   5447 
   5448 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5449 
   5450 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5451 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5452 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5453 		if eval \${$cacheid+:} false; then :
   5454   $as_echo_n "(cached) " >&6
   5455 else
   5456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5457 /* end confdefs.h.  */
   5458 int i;
   5459 int
   5460 main ()
   5461 {
   5462 
   5463   ;
   5464   return 0;
   5465 }
   5466 _ACEOF
   5467 if ac_fn_c_try_link "$LINENO"; then :
   5468   eval $cacheid=yes
   5469 else
   5470   eval $cacheid=no
   5471 fi
   5472 rm -f core conftest.err conftest.$ac_objext \
   5473     conftest$ac_exeext conftest.$ac_ext
   5474 fi
   5475 
   5476 
   5477 		CFLAGS="$xorg_testset_save_CFLAGS"
   5478 
   5479 		eval supported=\$$cacheid
   5480 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5481 $as_echo "$supported" >&6; }
   5482 		if test "$supported" = "yes" ; then
   5483 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5484 			found="yes"
   5485 		fi
   5486 	fi
   5487 
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 
   5502 xorg_testset_save_CFLAGS="$CFLAGS"
   5503 
   5504 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5505 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5506 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5507 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5508 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5509   $as_echo_n "(cached) " >&6
   5510 else
   5511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5512 /* end confdefs.h.  */
   5513 int i;
   5514 _ACEOF
   5515 if ac_fn_c_try_compile "$LINENO"; then :
   5516   xorg_cv_cc_flag_unknown_warning_option=yes
   5517 else
   5518   xorg_cv_cc_flag_unknown_warning_option=no
   5519 fi
   5520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5521 fi
   5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5523 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5524 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5525 	CFLAGS="$xorg_testset_save_CFLAGS"
   5526 fi
   5527 
   5528 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5529 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5530 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5531 	fi
   5532 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5533 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5534 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5535 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5536   $as_echo_n "(cached) " >&6
   5537 else
   5538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5539 /* end confdefs.h.  */
   5540 int i;
   5541 _ACEOF
   5542 if ac_fn_c_try_compile "$LINENO"; then :
   5543   xorg_cv_cc_flag_unused_command_line_argument=yes
   5544 else
   5545   xorg_cv_cc_flag_unused_command_line_argument=no
   5546 fi
   5547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5548 fi
   5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5550 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5551 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5552 	CFLAGS="$xorg_testset_save_CFLAGS"
   5553 fi
   5554 
   5555 found="no"
   5556 
   5557 	if test $found = "no" ; then
   5558 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5559 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5560 		fi
   5561 
   5562 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5563 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5564 		fi
   5565 
   5566 		CFLAGS="$CFLAGS -Wold-style-definition"
   5567 
   5568 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5569 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5570 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5571 		if eval \${$cacheid+:} false; then :
   5572   $as_echo_n "(cached) " >&6
   5573 else
   5574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5575 /* end confdefs.h.  */
   5576 int i;
   5577 int
   5578 main ()
   5579 {
   5580 
   5581   ;
   5582   return 0;
   5583 }
   5584 _ACEOF
   5585 if ac_fn_c_try_link "$LINENO"; then :
   5586   eval $cacheid=yes
   5587 else
   5588   eval $cacheid=no
   5589 fi
   5590 rm -f core conftest.err conftest.$ac_objext \
   5591     conftest$ac_exeext conftest.$ac_ext
   5592 fi
   5593 
   5594 
   5595 		CFLAGS="$xorg_testset_save_CFLAGS"
   5596 
   5597 		eval supported=\$$cacheid
   5598 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5599 $as_echo "$supported" >&6; }
   5600 		if test "$supported" = "yes" ; then
   5601 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5602 			found="yes"
   5603 		fi
   5604 	fi
   5605 
   5606 
   5607 
   5608 
   5609 
   5610 
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 xorg_testset_save_CFLAGS="$CFLAGS"
   5621 
   5622 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5623 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5624 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5625 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5626 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5627   $as_echo_n "(cached) " >&6
   5628 else
   5629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5630 /* end confdefs.h.  */
   5631 int i;
   5632 _ACEOF
   5633 if ac_fn_c_try_compile "$LINENO"; then :
   5634   xorg_cv_cc_flag_unknown_warning_option=yes
   5635 else
   5636   xorg_cv_cc_flag_unknown_warning_option=no
   5637 fi
   5638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5639 fi
   5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5641 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5642 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5643 	CFLAGS="$xorg_testset_save_CFLAGS"
   5644 fi
   5645 
   5646 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5647 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5648 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5649 	fi
   5650 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5651 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5652 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5653 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5654   $as_echo_n "(cached) " >&6
   5655 else
   5656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5657 /* end confdefs.h.  */
   5658 int i;
   5659 _ACEOF
   5660 if ac_fn_c_try_compile "$LINENO"; then :
   5661   xorg_cv_cc_flag_unused_command_line_argument=yes
   5662 else
   5663   xorg_cv_cc_flag_unused_command_line_argument=no
   5664 fi
   5665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5666 fi
   5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5668 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5669 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5670 	CFLAGS="$xorg_testset_save_CFLAGS"
   5671 fi
   5672 
   5673 found="no"
   5674 
   5675 	if test $found = "no" ; then
   5676 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5677 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5678 		fi
   5679 
   5680 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5681 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5682 		fi
   5683 
   5684 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5685 
   5686 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5687 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5688 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5689 		if eval \${$cacheid+:} false; then :
   5690   $as_echo_n "(cached) " >&6
   5691 else
   5692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5693 /* end confdefs.h.  */
   5694 int i;
   5695 int
   5696 main ()
   5697 {
   5698 
   5699   ;
   5700   return 0;
   5701 }
   5702 _ACEOF
   5703 if ac_fn_c_try_link "$LINENO"; then :
   5704   eval $cacheid=yes
   5705 else
   5706   eval $cacheid=no
   5707 fi
   5708 rm -f core conftest.err conftest.$ac_objext \
   5709     conftest$ac_exeext conftest.$ac_ext
   5710 fi
   5711 
   5712 
   5713 		CFLAGS="$xorg_testset_save_CFLAGS"
   5714 
   5715 		eval supported=\$$cacheid
   5716 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5717 $as_echo "$supported" >&6; }
   5718 		if test "$supported" = "yes" ; then
   5719 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5720 			found="yes"
   5721 		fi
   5722 	fi
   5723 
   5724 
   5725 
   5726 
   5727 
   5728 # This chunk adds additional warnings that could catch undesired effects.
   5729 
   5730 
   5731 
   5732 
   5733 
   5734 
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 
   5742 xorg_testset_save_CFLAGS="$CFLAGS"
   5743 
   5744 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5745 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5746 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5747 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5748 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5749   $as_echo_n "(cached) " >&6
   5750 else
   5751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5752 /* end confdefs.h.  */
   5753 int i;
   5754 _ACEOF
   5755 if ac_fn_c_try_compile "$LINENO"; then :
   5756   xorg_cv_cc_flag_unknown_warning_option=yes
   5757 else
   5758   xorg_cv_cc_flag_unknown_warning_option=no
   5759 fi
   5760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5761 fi
   5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5763 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5764 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5765 	CFLAGS="$xorg_testset_save_CFLAGS"
   5766 fi
   5767 
   5768 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5769 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5770 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5771 	fi
   5772 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5773 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5774 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5775 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5776   $as_echo_n "(cached) " >&6
   5777 else
   5778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5779 /* end confdefs.h.  */
   5780 int i;
   5781 _ACEOF
   5782 if ac_fn_c_try_compile "$LINENO"; then :
   5783   xorg_cv_cc_flag_unused_command_line_argument=yes
   5784 else
   5785   xorg_cv_cc_flag_unused_command_line_argument=no
   5786 fi
   5787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5788 fi
   5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5790 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5791 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5792 	CFLAGS="$xorg_testset_save_CFLAGS"
   5793 fi
   5794 
   5795 found="no"
   5796 
   5797 	if test $found = "no" ; then
   5798 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5799 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5800 		fi
   5801 
   5802 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5803 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5804 		fi
   5805 
   5806 		CFLAGS="$CFLAGS -Wunused"
   5807 
   5808 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   5809 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   5810 		cacheid=xorg_cv_cc_flag__Wunused
   5811 		if eval \${$cacheid+:} false; then :
   5812   $as_echo_n "(cached) " >&6
   5813 else
   5814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5815 /* end confdefs.h.  */
   5816 int i;
   5817 int
   5818 main ()
   5819 {
   5820 
   5821   ;
   5822   return 0;
   5823 }
   5824 _ACEOF
   5825 if ac_fn_c_try_link "$LINENO"; then :
   5826   eval $cacheid=yes
   5827 else
   5828   eval $cacheid=no
   5829 fi
   5830 rm -f core conftest.err conftest.$ac_objext \
   5831     conftest$ac_exeext conftest.$ac_ext
   5832 fi
   5833 
   5834 
   5835 		CFLAGS="$xorg_testset_save_CFLAGS"
   5836 
   5837 		eval supported=\$$cacheid
   5838 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5839 $as_echo "$supported" >&6; }
   5840 		if test "$supported" = "yes" ; then
   5841 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   5842 			found="yes"
   5843 		fi
   5844 	fi
   5845 
   5846 
   5847 
   5848 
   5849 
   5850 
   5851 
   5852 
   5853 
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 xorg_testset_save_CFLAGS="$CFLAGS"
   5861 
   5862 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5863 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5864 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5865 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5866 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5867   $as_echo_n "(cached) " >&6
   5868 else
   5869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5870 /* end confdefs.h.  */
   5871 int i;
   5872 _ACEOF
   5873 if ac_fn_c_try_compile "$LINENO"; then :
   5874   xorg_cv_cc_flag_unknown_warning_option=yes
   5875 else
   5876   xorg_cv_cc_flag_unknown_warning_option=no
   5877 fi
   5878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5879 fi
   5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5881 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5882 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5883 	CFLAGS="$xorg_testset_save_CFLAGS"
   5884 fi
   5885 
   5886 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5887 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5888 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5889 	fi
   5890 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5891 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5892 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5893 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5894   $as_echo_n "(cached) " >&6
   5895 else
   5896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5897 /* end confdefs.h.  */
   5898 int i;
   5899 _ACEOF
   5900 if ac_fn_c_try_compile "$LINENO"; then :
   5901   xorg_cv_cc_flag_unused_command_line_argument=yes
   5902 else
   5903   xorg_cv_cc_flag_unused_command_line_argument=no
   5904 fi
   5905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5906 fi
   5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5908 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5909 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5910 	CFLAGS="$xorg_testset_save_CFLAGS"
   5911 fi
   5912 
   5913 found="no"
   5914 
   5915 	if test $found = "no" ; then
   5916 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5917 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5918 		fi
   5919 
   5920 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5921 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5922 		fi
   5923 
   5924 		CFLAGS="$CFLAGS -Wuninitialized"
   5925 
   5926 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   5927 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   5928 		cacheid=xorg_cv_cc_flag__Wuninitialized
   5929 		if eval \${$cacheid+:} false; then :
   5930   $as_echo_n "(cached) " >&6
   5931 else
   5932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5933 /* end confdefs.h.  */
   5934 int i;
   5935 int
   5936 main ()
   5937 {
   5938 
   5939   ;
   5940   return 0;
   5941 }
   5942 _ACEOF
   5943 if ac_fn_c_try_link "$LINENO"; then :
   5944   eval $cacheid=yes
   5945 else
   5946   eval $cacheid=no
   5947 fi
   5948 rm -f core conftest.err conftest.$ac_objext \
   5949     conftest$ac_exeext conftest.$ac_ext
   5950 fi
   5951 
   5952 
   5953 		CFLAGS="$xorg_testset_save_CFLAGS"
   5954 
   5955 		eval supported=\$$cacheid
   5956 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5957 $as_echo "$supported" >&6; }
   5958 		if test "$supported" = "yes" ; then
   5959 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   5960 			found="yes"
   5961 		fi
   5962 	fi
   5963 
   5964 
   5965 
   5966 
   5967 
   5968 
   5969 
   5970 
   5971 
   5972 
   5973 
   5974 
   5975 
   5976 
   5977 
   5978 xorg_testset_save_CFLAGS="$CFLAGS"
   5979 
   5980 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5981 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5982 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5983 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5984 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5985   $as_echo_n "(cached) " >&6
   5986 else
   5987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5988 /* end confdefs.h.  */
   5989 int i;
   5990 _ACEOF
   5991 if ac_fn_c_try_compile "$LINENO"; then :
   5992   xorg_cv_cc_flag_unknown_warning_option=yes
   5993 else
   5994   xorg_cv_cc_flag_unknown_warning_option=no
   5995 fi
   5996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5997 fi
   5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5999 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6000 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6001 	CFLAGS="$xorg_testset_save_CFLAGS"
   6002 fi
   6003 
   6004 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6005 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6006 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6007 	fi
   6008 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6009 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6010 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6011 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6012   $as_echo_n "(cached) " >&6
   6013 else
   6014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6015 /* end confdefs.h.  */
   6016 int i;
   6017 _ACEOF
   6018 if ac_fn_c_try_compile "$LINENO"; then :
   6019   xorg_cv_cc_flag_unused_command_line_argument=yes
   6020 else
   6021   xorg_cv_cc_flag_unused_command_line_argument=no
   6022 fi
   6023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6024 fi
   6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6026 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6027 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6028 	CFLAGS="$xorg_testset_save_CFLAGS"
   6029 fi
   6030 
   6031 found="no"
   6032 
   6033 	if test $found = "no" ; then
   6034 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6035 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6036 		fi
   6037 
   6038 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6039 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6040 		fi
   6041 
   6042 		CFLAGS="$CFLAGS -Wshadow"
   6043 
   6044 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6045 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6046 		cacheid=xorg_cv_cc_flag__Wshadow
   6047 		if eval \${$cacheid+:} false; then :
   6048   $as_echo_n "(cached) " >&6
   6049 else
   6050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6051 /* end confdefs.h.  */
   6052 int i;
   6053 int
   6054 main ()
   6055 {
   6056 
   6057   ;
   6058   return 0;
   6059 }
   6060 _ACEOF
   6061 if ac_fn_c_try_link "$LINENO"; then :
   6062   eval $cacheid=yes
   6063 else
   6064   eval $cacheid=no
   6065 fi
   6066 rm -f core conftest.err conftest.$ac_objext \
   6067     conftest$ac_exeext conftest.$ac_ext
   6068 fi
   6069 
   6070 
   6071 		CFLAGS="$xorg_testset_save_CFLAGS"
   6072 
   6073 		eval supported=\$$cacheid
   6074 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6075 $as_echo "$supported" >&6; }
   6076 		if test "$supported" = "yes" ; then
   6077 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6078 			found="yes"
   6079 		fi
   6080 	fi
   6081 
   6082 
   6083 
   6084 
   6085 
   6086 
   6087 
   6088 
   6089 
   6090 
   6091 
   6092 
   6093 
   6094 
   6095 
   6096 xorg_testset_save_CFLAGS="$CFLAGS"
   6097 
   6098 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6099 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6100 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6101 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6102 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6103   $as_echo_n "(cached) " >&6
   6104 else
   6105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6106 /* end confdefs.h.  */
   6107 int i;
   6108 _ACEOF
   6109 if ac_fn_c_try_compile "$LINENO"; then :
   6110   xorg_cv_cc_flag_unknown_warning_option=yes
   6111 else
   6112   xorg_cv_cc_flag_unknown_warning_option=no
   6113 fi
   6114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6115 fi
   6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6117 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6118 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6119 	CFLAGS="$xorg_testset_save_CFLAGS"
   6120 fi
   6121 
   6122 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6123 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6124 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6125 	fi
   6126 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6127 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6128 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6129 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6130   $as_echo_n "(cached) " >&6
   6131 else
   6132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6133 /* end confdefs.h.  */
   6134 int i;
   6135 _ACEOF
   6136 if ac_fn_c_try_compile "$LINENO"; then :
   6137   xorg_cv_cc_flag_unused_command_line_argument=yes
   6138 else
   6139   xorg_cv_cc_flag_unused_command_line_argument=no
   6140 fi
   6141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6142 fi
   6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6144 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6145 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6146 	CFLAGS="$xorg_testset_save_CFLAGS"
   6147 fi
   6148 
   6149 found="no"
   6150 
   6151 	if test $found = "no" ; then
   6152 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6153 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6154 		fi
   6155 
   6156 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6157 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6158 		fi
   6159 
   6160 		CFLAGS="$CFLAGS -Wcast-qual"
   6161 
   6162 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6163 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6164 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6165 		if eval \${$cacheid+:} false; then :
   6166   $as_echo_n "(cached) " >&6
   6167 else
   6168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6169 /* end confdefs.h.  */
   6170 int i;
   6171 int
   6172 main ()
   6173 {
   6174 
   6175   ;
   6176   return 0;
   6177 }
   6178 _ACEOF
   6179 if ac_fn_c_try_link "$LINENO"; then :
   6180   eval $cacheid=yes
   6181 else
   6182   eval $cacheid=no
   6183 fi
   6184 rm -f core conftest.err conftest.$ac_objext \
   6185     conftest$ac_exeext conftest.$ac_ext
   6186 fi
   6187 
   6188 
   6189 		CFLAGS="$xorg_testset_save_CFLAGS"
   6190 
   6191 		eval supported=\$$cacheid
   6192 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6193 $as_echo "$supported" >&6; }
   6194 		if test "$supported" = "yes" ; then
   6195 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6196 			found="yes"
   6197 		fi
   6198 	fi
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 
   6214 xorg_testset_save_CFLAGS="$CFLAGS"
   6215 
   6216 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6217 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6218 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6219 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6220 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6221   $as_echo_n "(cached) " >&6
   6222 else
   6223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6224 /* end confdefs.h.  */
   6225 int i;
   6226 _ACEOF
   6227 if ac_fn_c_try_compile "$LINENO"; then :
   6228   xorg_cv_cc_flag_unknown_warning_option=yes
   6229 else
   6230   xorg_cv_cc_flag_unknown_warning_option=no
   6231 fi
   6232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6233 fi
   6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6235 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6236 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6237 	CFLAGS="$xorg_testset_save_CFLAGS"
   6238 fi
   6239 
   6240 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6241 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6242 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6243 	fi
   6244 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6245 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6246 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6247 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6248   $as_echo_n "(cached) " >&6
   6249 else
   6250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6251 /* end confdefs.h.  */
   6252 int i;
   6253 _ACEOF
   6254 if ac_fn_c_try_compile "$LINENO"; then :
   6255   xorg_cv_cc_flag_unused_command_line_argument=yes
   6256 else
   6257   xorg_cv_cc_flag_unused_command_line_argument=no
   6258 fi
   6259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6260 fi
   6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6262 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6263 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6264 	CFLAGS="$xorg_testset_save_CFLAGS"
   6265 fi
   6266 
   6267 found="no"
   6268 
   6269 	if test $found = "no" ; then
   6270 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6271 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6272 		fi
   6273 
   6274 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6275 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6276 		fi
   6277 
   6278 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6279 
   6280 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6281 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6282 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6283 		if eval \${$cacheid+:} false; then :
   6284   $as_echo_n "(cached) " >&6
   6285 else
   6286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6287 /* end confdefs.h.  */
   6288 int i;
   6289 int
   6290 main ()
   6291 {
   6292 
   6293   ;
   6294   return 0;
   6295 }
   6296 _ACEOF
   6297 if ac_fn_c_try_link "$LINENO"; then :
   6298   eval $cacheid=yes
   6299 else
   6300   eval $cacheid=no
   6301 fi
   6302 rm -f core conftest.err conftest.$ac_objext \
   6303     conftest$ac_exeext conftest.$ac_ext
   6304 fi
   6305 
   6306 
   6307 		CFLAGS="$xorg_testset_save_CFLAGS"
   6308 
   6309 		eval supported=\$$cacheid
   6310 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6311 $as_echo "$supported" >&6; }
   6312 		if test "$supported" = "yes" ; then
   6313 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6314 			found="yes"
   6315 		fi
   6316 	fi
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 
   6328 
   6329 
   6330 
   6331 
   6332 xorg_testset_save_CFLAGS="$CFLAGS"
   6333 
   6334 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6335 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6336 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6337 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6338 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6339   $as_echo_n "(cached) " >&6
   6340 else
   6341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6342 /* end confdefs.h.  */
   6343 int i;
   6344 _ACEOF
   6345 if ac_fn_c_try_compile "$LINENO"; then :
   6346   xorg_cv_cc_flag_unknown_warning_option=yes
   6347 else
   6348   xorg_cv_cc_flag_unknown_warning_option=no
   6349 fi
   6350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6351 fi
   6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6353 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6354 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6355 	CFLAGS="$xorg_testset_save_CFLAGS"
   6356 fi
   6357 
   6358 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6359 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6360 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6361 	fi
   6362 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6363 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6364 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6365 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6366   $as_echo_n "(cached) " >&6
   6367 else
   6368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6369 /* end confdefs.h.  */
   6370 int i;
   6371 _ACEOF
   6372 if ac_fn_c_try_compile "$LINENO"; then :
   6373   xorg_cv_cc_flag_unused_command_line_argument=yes
   6374 else
   6375   xorg_cv_cc_flag_unused_command_line_argument=no
   6376 fi
   6377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6378 fi
   6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6380 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6381 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6382 	CFLAGS="$xorg_testset_save_CFLAGS"
   6383 fi
   6384 
   6385 found="no"
   6386 
   6387 	if test $found = "no" ; then
   6388 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6389 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6390 		fi
   6391 
   6392 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6393 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6394 		fi
   6395 
   6396 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6397 
   6398 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6399 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6400 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6401 		if eval \${$cacheid+:} false; then :
   6402   $as_echo_n "(cached) " >&6
   6403 else
   6404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6405 /* end confdefs.h.  */
   6406 int i;
   6407 int
   6408 main ()
   6409 {
   6410 
   6411   ;
   6412   return 0;
   6413 }
   6414 _ACEOF
   6415 if ac_fn_c_try_link "$LINENO"; then :
   6416   eval $cacheid=yes
   6417 else
   6418   eval $cacheid=no
   6419 fi
   6420 rm -f core conftest.err conftest.$ac_objext \
   6421     conftest$ac_exeext conftest.$ac_ext
   6422 fi
   6423 
   6424 
   6425 		CFLAGS="$xorg_testset_save_CFLAGS"
   6426 
   6427 		eval supported=\$$cacheid
   6428 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6429 $as_echo "$supported" >&6; }
   6430 		if test "$supported" = "yes" ; then
   6431 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6432 			found="yes"
   6433 		fi
   6434 	fi
   6435 
   6436 
   6437 
   6438 
   6439 
   6440 
   6441 
   6442 
   6443 
   6444 
   6445 
   6446 
   6447 
   6448 
   6449 
   6450 xorg_testset_save_CFLAGS="$CFLAGS"
   6451 
   6452 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6453 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6454 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6455 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6456 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6457   $as_echo_n "(cached) " >&6
   6458 else
   6459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6460 /* end confdefs.h.  */
   6461 int i;
   6462 _ACEOF
   6463 if ac_fn_c_try_compile "$LINENO"; then :
   6464   xorg_cv_cc_flag_unknown_warning_option=yes
   6465 else
   6466   xorg_cv_cc_flag_unknown_warning_option=no
   6467 fi
   6468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6469 fi
   6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6471 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6472 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6473 	CFLAGS="$xorg_testset_save_CFLAGS"
   6474 fi
   6475 
   6476 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6477 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6478 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6479 	fi
   6480 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6481 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6482 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6483 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6484   $as_echo_n "(cached) " >&6
   6485 else
   6486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6487 /* end confdefs.h.  */
   6488 int i;
   6489 _ACEOF
   6490 if ac_fn_c_try_compile "$LINENO"; then :
   6491   xorg_cv_cc_flag_unused_command_line_argument=yes
   6492 else
   6493   xorg_cv_cc_flag_unused_command_line_argument=no
   6494 fi
   6495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6496 fi
   6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6498 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6499 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6500 	CFLAGS="$xorg_testset_save_CFLAGS"
   6501 fi
   6502 
   6503 found="no"
   6504 
   6505 	if test $found = "no" ; then
   6506 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6507 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6508 		fi
   6509 
   6510 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6511 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6512 		fi
   6513 
   6514 		CFLAGS="$CFLAGS -Wredundant-decls"
   6515 
   6516 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6517 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6518 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6519 		if eval \${$cacheid+:} false; then :
   6520   $as_echo_n "(cached) " >&6
   6521 else
   6522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6523 /* end confdefs.h.  */
   6524 int i;
   6525 int
   6526 main ()
   6527 {
   6528 
   6529   ;
   6530   return 0;
   6531 }
   6532 _ACEOF
   6533 if ac_fn_c_try_link "$LINENO"; then :
   6534   eval $cacheid=yes
   6535 else
   6536   eval $cacheid=no
   6537 fi
   6538 rm -f core conftest.err conftest.$ac_objext \
   6539     conftest$ac_exeext conftest.$ac_ext
   6540 fi
   6541 
   6542 
   6543 		CFLAGS="$xorg_testset_save_CFLAGS"
   6544 
   6545 		eval supported=\$$cacheid
   6546 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6547 $as_echo "$supported" >&6; }
   6548 		if test "$supported" = "yes" ; then
   6549 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6550 			found="yes"
   6551 		fi
   6552 	fi
   6553 
   6554 
   6555 
   6556 # These are currently disabled because they are noisy.  They will be enabled
   6557 # in the future once the codebase is sufficiently modernized to silence
   6558 # them.  For now, I don't want them to drown out the other warnings.
   6559 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6560 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6561 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6562 
   6563 # Turn some warnings into errors, so we don't accidently get successful builds
   6564 # when there are problems that should be fixed.
   6565 
   6566 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6567 
   6568 
   6569 
   6570 
   6571 
   6572 
   6573 
   6574 
   6575 
   6576 
   6577 
   6578 
   6579 
   6580 xorg_testset_save_CFLAGS="$CFLAGS"
   6581 
   6582 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6583 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6584 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6585 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6586 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6587   $as_echo_n "(cached) " >&6
   6588 else
   6589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6590 /* end confdefs.h.  */
   6591 int i;
   6592 _ACEOF
   6593 if ac_fn_c_try_compile "$LINENO"; then :
   6594   xorg_cv_cc_flag_unknown_warning_option=yes
   6595 else
   6596   xorg_cv_cc_flag_unknown_warning_option=no
   6597 fi
   6598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6599 fi
   6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6601 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6602 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6603 	CFLAGS="$xorg_testset_save_CFLAGS"
   6604 fi
   6605 
   6606 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6607 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6608 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6609 	fi
   6610 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6611 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6612 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6613 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6614   $as_echo_n "(cached) " >&6
   6615 else
   6616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6617 /* end confdefs.h.  */
   6618 int i;
   6619 _ACEOF
   6620 if ac_fn_c_try_compile "$LINENO"; then :
   6621   xorg_cv_cc_flag_unused_command_line_argument=yes
   6622 else
   6623   xorg_cv_cc_flag_unused_command_line_argument=no
   6624 fi
   6625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6626 fi
   6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6628 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6629 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6630 	CFLAGS="$xorg_testset_save_CFLAGS"
   6631 fi
   6632 
   6633 found="no"
   6634 
   6635 	if test $found = "no" ; then
   6636 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6637 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6638 		fi
   6639 
   6640 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6641 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6642 		fi
   6643 
   6644 		CFLAGS="$CFLAGS -Werror=implicit"
   6645 
   6646 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6647 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6648 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   6649 		if eval \${$cacheid+:} false; then :
   6650   $as_echo_n "(cached) " >&6
   6651 else
   6652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6653 /* end confdefs.h.  */
   6654 int i;
   6655 int
   6656 main ()
   6657 {
   6658 
   6659   ;
   6660   return 0;
   6661 }
   6662 _ACEOF
   6663 if ac_fn_c_try_link "$LINENO"; then :
   6664   eval $cacheid=yes
   6665 else
   6666   eval $cacheid=no
   6667 fi
   6668 rm -f core conftest.err conftest.$ac_objext \
   6669     conftest$ac_exeext conftest.$ac_ext
   6670 fi
   6671 
   6672 
   6673 		CFLAGS="$xorg_testset_save_CFLAGS"
   6674 
   6675 		eval supported=\$$cacheid
   6676 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6677 $as_echo "$supported" >&6; }
   6678 		if test "$supported" = "yes" ; then
   6679 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6680 			found="yes"
   6681 		fi
   6682 	fi
   6683 
   6684 	if test $found = "no" ; then
   6685 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6686 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6687 		fi
   6688 
   6689 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6690 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6691 		fi
   6692 
   6693 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6694 
   6695 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6696 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6697 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   6698 		if eval \${$cacheid+:} false; then :
   6699   $as_echo_n "(cached) " >&6
   6700 else
   6701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6702 /* end confdefs.h.  */
   6703 int i;
   6704 int
   6705 main ()
   6706 {
   6707 
   6708   ;
   6709   return 0;
   6710 }
   6711 _ACEOF
   6712 if ac_fn_c_try_link "$LINENO"; then :
   6713   eval $cacheid=yes
   6714 else
   6715   eval $cacheid=no
   6716 fi
   6717 rm -f core conftest.err conftest.$ac_objext \
   6718     conftest$ac_exeext conftest.$ac_ext
   6719 fi
   6720 
   6721 
   6722 		CFLAGS="$xorg_testset_save_CFLAGS"
   6723 
   6724 		eval supported=\$$cacheid
   6725 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6726 $as_echo "$supported" >&6; }
   6727 		if test "$supported" = "yes" ; then
   6728 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6729 			found="yes"
   6730 		fi
   6731 	fi
   6732 
   6733 
   6734 
   6735 
   6736 
   6737 
   6738 
   6739 
   6740 
   6741 
   6742 
   6743 
   6744 
   6745 
   6746 
   6747 xorg_testset_save_CFLAGS="$CFLAGS"
   6748 
   6749 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6750 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6751 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6752 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6753 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6754   $as_echo_n "(cached) " >&6
   6755 else
   6756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6757 /* end confdefs.h.  */
   6758 int i;
   6759 _ACEOF
   6760 if ac_fn_c_try_compile "$LINENO"; then :
   6761   xorg_cv_cc_flag_unknown_warning_option=yes
   6762 else
   6763   xorg_cv_cc_flag_unknown_warning_option=no
   6764 fi
   6765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6766 fi
   6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6768 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6769 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6770 	CFLAGS="$xorg_testset_save_CFLAGS"
   6771 fi
   6772 
   6773 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6774 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6775 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6776 	fi
   6777 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6778 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6779 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6780 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6781   $as_echo_n "(cached) " >&6
   6782 else
   6783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6784 /* end confdefs.h.  */
   6785 int i;
   6786 _ACEOF
   6787 if ac_fn_c_try_compile "$LINENO"; then :
   6788   xorg_cv_cc_flag_unused_command_line_argument=yes
   6789 else
   6790   xorg_cv_cc_flag_unused_command_line_argument=no
   6791 fi
   6792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6793 fi
   6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6795 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6796 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6797 	CFLAGS="$xorg_testset_save_CFLAGS"
   6798 fi
   6799 
   6800 found="no"
   6801 
   6802 	if test $found = "no" ; then
   6803 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6804 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6805 		fi
   6806 
   6807 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6808 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6809 		fi
   6810 
   6811 		CFLAGS="$CFLAGS -Werror=nonnull"
   6812 
   6813 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   6814 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   6815 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   6816 		if eval \${$cacheid+:} false; then :
   6817   $as_echo_n "(cached) " >&6
   6818 else
   6819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6820 /* end confdefs.h.  */
   6821 int i;
   6822 int
   6823 main ()
   6824 {
   6825 
   6826   ;
   6827   return 0;
   6828 }
   6829 _ACEOF
   6830 if ac_fn_c_try_link "$LINENO"; then :
   6831   eval $cacheid=yes
   6832 else
   6833   eval $cacheid=no
   6834 fi
   6835 rm -f core conftest.err conftest.$ac_objext \
   6836     conftest$ac_exeext conftest.$ac_ext
   6837 fi
   6838 
   6839 
   6840 		CFLAGS="$xorg_testset_save_CFLAGS"
   6841 
   6842 		eval supported=\$$cacheid
   6843 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6844 $as_echo "$supported" >&6; }
   6845 		if test "$supported" = "yes" ; then
   6846 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   6847 			found="yes"
   6848 		fi
   6849 	fi
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 
   6861 
   6862 
   6863 
   6864 
   6865 xorg_testset_save_CFLAGS="$CFLAGS"
   6866 
   6867 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6868 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6869 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6870 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6871 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6872   $as_echo_n "(cached) " >&6
   6873 else
   6874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6875 /* end confdefs.h.  */
   6876 int i;
   6877 _ACEOF
   6878 if ac_fn_c_try_compile "$LINENO"; then :
   6879   xorg_cv_cc_flag_unknown_warning_option=yes
   6880 else
   6881   xorg_cv_cc_flag_unknown_warning_option=no
   6882 fi
   6883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6884 fi
   6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6886 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6887 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6888 	CFLAGS="$xorg_testset_save_CFLAGS"
   6889 fi
   6890 
   6891 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6892 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6893 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6894 	fi
   6895 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6896 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6897 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6898 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6899   $as_echo_n "(cached) " >&6
   6900 else
   6901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6902 /* end confdefs.h.  */
   6903 int i;
   6904 _ACEOF
   6905 if ac_fn_c_try_compile "$LINENO"; then :
   6906   xorg_cv_cc_flag_unused_command_line_argument=yes
   6907 else
   6908   xorg_cv_cc_flag_unused_command_line_argument=no
   6909 fi
   6910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6911 fi
   6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6913 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6914 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6915 	CFLAGS="$xorg_testset_save_CFLAGS"
   6916 fi
   6917 
   6918 found="no"
   6919 
   6920 	if test $found = "no" ; then
   6921 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6922 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6923 		fi
   6924 
   6925 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6926 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6927 		fi
   6928 
   6929 		CFLAGS="$CFLAGS -Werror=init-self"
   6930 
   6931 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   6932 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   6933 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   6934 		if eval \${$cacheid+:} false; then :
   6935   $as_echo_n "(cached) " >&6
   6936 else
   6937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6938 /* end confdefs.h.  */
   6939 int i;
   6940 int
   6941 main ()
   6942 {
   6943 
   6944   ;
   6945   return 0;
   6946 }
   6947 _ACEOF
   6948 if ac_fn_c_try_link "$LINENO"; then :
   6949   eval $cacheid=yes
   6950 else
   6951   eval $cacheid=no
   6952 fi
   6953 rm -f core conftest.err conftest.$ac_objext \
   6954     conftest$ac_exeext conftest.$ac_ext
   6955 fi
   6956 
   6957 
   6958 		CFLAGS="$xorg_testset_save_CFLAGS"
   6959 
   6960 		eval supported=\$$cacheid
   6961 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6962 $as_echo "$supported" >&6; }
   6963 		if test "$supported" = "yes" ; then
   6964 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   6965 			found="yes"
   6966 		fi
   6967 	fi
   6968 
   6969 
   6970 
   6971 
   6972 
   6973 
   6974 
   6975 
   6976 
   6977 
   6978 
   6979 
   6980 
   6981 
   6982 
   6983 xorg_testset_save_CFLAGS="$CFLAGS"
   6984 
   6985 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6986 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6987 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6988 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6989 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6990   $as_echo_n "(cached) " >&6
   6991 else
   6992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6993 /* end confdefs.h.  */
   6994 int i;
   6995 _ACEOF
   6996 if ac_fn_c_try_compile "$LINENO"; then :
   6997   xorg_cv_cc_flag_unknown_warning_option=yes
   6998 else
   6999   xorg_cv_cc_flag_unknown_warning_option=no
   7000 fi
   7001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7002 fi
   7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7004 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7005 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7006 	CFLAGS="$xorg_testset_save_CFLAGS"
   7007 fi
   7008 
   7009 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7010 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7011 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7012 	fi
   7013 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7014 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7015 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7016 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7017   $as_echo_n "(cached) " >&6
   7018 else
   7019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7020 /* end confdefs.h.  */
   7021 int i;
   7022 _ACEOF
   7023 if ac_fn_c_try_compile "$LINENO"; then :
   7024   xorg_cv_cc_flag_unused_command_line_argument=yes
   7025 else
   7026   xorg_cv_cc_flag_unused_command_line_argument=no
   7027 fi
   7028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7029 fi
   7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7031 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7032 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7033 	CFLAGS="$xorg_testset_save_CFLAGS"
   7034 fi
   7035 
   7036 found="no"
   7037 
   7038 	if test $found = "no" ; then
   7039 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7040 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7041 		fi
   7042 
   7043 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7044 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7045 		fi
   7046 
   7047 		CFLAGS="$CFLAGS -Werror=main"
   7048 
   7049 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7050 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7051 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   7052 		if eval \${$cacheid+:} false; then :
   7053   $as_echo_n "(cached) " >&6
   7054 else
   7055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7056 /* end confdefs.h.  */
   7057 int i;
   7058 int
   7059 main ()
   7060 {
   7061 
   7062   ;
   7063   return 0;
   7064 }
   7065 _ACEOF
   7066 if ac_fn_c_try_link "$LINENO"; then :
   7067   eval $cacheid=yes
   7068 else
   7069   eval $cacheid=no
   7070 fi
   7071 rm -f core conftest.err conftest.$ac_objext \
   7072     conftest$ac_exeext conftest.$ac_ext
   7073 fi
   7074 
   7075 
   7076 		CFLAGS="$xorg_testset_save_CFLAGS"
   7077 
   7078 		eval supported=\$$cacheid
   7079 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7080 $as_echo "$supported" >&6; }
   7081 		if test "$supported" = "yes" ; then
   7082 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7083 			found="yes"
   7084 		fi
   7085 	fi
   7086 
   7087 
   7088 
   7089 
   7090 
   7091 
   7092 
   7093 
   7094 
   7095 
   7096 
   7097 
   7098 
   7099 
   7100 
   7101 xorg_testset_save_CFLAGS="$CFLAGS"
   7102 
   7103 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7104 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7105 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7106 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7107 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7108   $as_echo_n "(cached) " >&6
   7109 else
   7110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7111 /* end confdefs.h.  */
   7112 int i;
   7113 _ACEOF
   7114 if ac_fn_c_try_compile "$LINENO"; then :
   7115   xorg_cv_cc_flag_unknown_warning_option=yes
   7116 else
   7117   xorg_cv_cc_flag_unknown_warning_option=no
   7118 fi
   7119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7120 fi
   7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7122 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7123 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7124 	CFLAGS="$xorg_testset_save_CFLAGS"
   7125 fi
   7126 
   7127 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7128 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7129 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7130 	fi
   7131 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7132 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7133 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7134 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7135   $as_echo_n "(cached) " >&6
   7136 else
   7137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7138 /* end confdefs.h.  */
   7139 int i;
   7140 _ACEOF
   7141 if ac_fn_c_try_compile "$LINENO"; then :
   7142   xorg_cv_cc_flag_unused_command_line_argument=yes
   7143 else
   7144   xorg_cv_cc_flag_unused_command_line_argument=no
   7145 fi
   7146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7147 fi
   7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7149 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7150 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7151 	CFLAGS="$xorg_testset_save_CFLAGS"
   7152 fi
   7153 
   7154 found="no"
   7155 
   7156 	if test $found = "no" ; then
   7157 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7158 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7159 		fi
   7160 
   7161 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7162 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7163 		fi
   7164 
   7165 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7166 
   7167 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7168 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7169 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   7170 		if eval \${$cacheid+:} false; then :
   7171   $as_echo_n "(cached) " >&6
   7172 else
   7173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7174 /* end confdefs.h.  */
   7175 int i;
   7176 int
   7177 main ()
   7178 {
   7179 
   7180   ;
   7181   return 0;
   7182 }
   7183 _ACEOF
   7184 if ac_fn_c_try_link "$LINENO"; then :
   7185   eval $cacheid=yes
   7186 else
   7187   eval $cacheid=no
   7188 fi
   7189 rm -f core conftest.err conftest.$ac_objext \
   7190     conftest$ac_exeext conftest.$ac_ext
   7191 fi
   7192 
   7193 
   7194 		CFLAGS="$xorg_testset_save_CFLAGS"
   7195 
   7196 		eval supported=\$$cacheid
   7197 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7198 $as_echo "$supported" >&6; }
   7199 		if test "$supported" = "yes" ; then
   7200 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7201 			found="yes"
   7202 		fi
   7203 	fi
   7204 
   7205 
   7206 
   7207 
   7208 
   7209 
   7210 
   7211 
   7212 
   7213 
   7214 
   7215 
   7216 
   7217 
   7218 
   7219 xorg_testset_save_CFLAGS="$CFLAGS"
   7220 
   7221 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7222 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7223 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7224 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7225 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7226   $as_echo_n "(cached) " >&6
   7227 else
   7228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7229 /* end confdefs.h.  */
   7230 int i;
   7231 _ACEOF
   7232 if ac_fn_c_try_compile "$LINENO"; then :
   7233   xorg_cv_cc_flag_unknown_warning_option=yes
   7234 else
   7235   xorg_cv_cc_flag_unknown_warning_option=no
   7236 fi
   7237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7238 fi
   7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7240 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7241 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7242 	CFLAGS="$xorg_testset_save_CFLAGS"
   7243 fi
   7244 
   7245 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7246 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7247 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7248 	fi
   7249 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7250 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7251 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7252 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7253   $as_echo_n "(cached) " >&6
   7254 else
   7255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7256 /* end confdefs.h.  */
   7257 int i;
   7258 _ACEOF
   7259 if ac_fn_c_try_compile "$LINENO"; then :
   7260   xorg_cv_cc_flag_unused_command_line_argument=yes
   7261 else
   7262   xorg_cv_cc_flag_unused_command_line_argument=no
   7263 fi
   7264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7265 fi
   7266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7267 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7268 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7269 	CFLAGS="$xorg_testset_save_CFLAGS"
   7270 fi
   7271 
   7272 found="no"
   7273 
   7274 	if test $found = "no" ; then
   7275 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7276 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7277 		fi
   7278 
   7279 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7280 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7281 		fi
   7282 
   7283 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7284 
   7285 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7286 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7287 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   7288 		if eval \${$cacheid+:} false; then :
   7289   $as_echo_n "(cached) " >&6
   7290 else
   7291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7292 /* end confdefs.h.  */
   7293 int i;
   7294 int
   7295 main ()
   7296 {
   7297 
   7298   ;
   7299   return 0;
   7300 }
   7301 _ACEOF
   7302 if ac_fn_c_try_link "$LINENO"; then :
   7303   eval $cacheid=yes
   7304 else
   7305   eval $cacheid=no
   7306 fi
   7307 rm -f core conftest.err conftest.$ac_objext \
   7308     conftest$ac_exeext conftest.$ac_ext
   7309 fi
   7310 
   7311 
   7312 		CFLAGS="$xorg_testset_save_CFLAGS"
   7313 
   7314 		eval supported=\$$cacheid
   7315 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7316 $as_echo "$supported" >&6; }
   7317 		if test "$supported" = "yes" ; then
   7318 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7319 			found="yes"
   7320 		fi
   7321 	fi
   7322 
   7323 
   7324 
   7325 
   7326 
   7327 
   7328 
   7329 
   7330 
   7331 
   7332 
   7333 
   7334 
   7335 
   7336 
   7337 xorg_testset_save_CFLAGS="$CFLAGS"
   7338 
   7339 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7340 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7341 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7342 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7343 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7344   $as_echo_n "(cached) " >&6
   7345 else
   7346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7347 /* end confdefs.h.  */
   7348 int i;
   7349 _ACEOF
   7350 if ac_fn_c_try_compile "$LINENO"; then :
   7351   xorg_cv_cc_flag_unknown_warning_option=yes
   7352 else
   7353   xorg_cv_cc_flag_unknown_warning_option=no
   7354 fi
   7355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7356 fi
   7357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7358 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7359 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7360 	CFLAGS="$xorg_testset_save_CFLAGS"
   7361 fi
   7362 
   7363 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7364 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7365 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7366 	fi
   7367 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7368 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7369 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7370 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7371   $as_echo_n "(cached) " >&6
   7372 else
   7373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7374 /* end confdefs.h.  */
   7375 int i;
   7376 _ACEOF
   7377 if ac_fn_c_try_compile "$LINENO"; then :
   7378   xorg_cv_cc_flag_unused_command_line_argument=yes
   7379 else
   7380   xorg_cv_cc_flag_unused_command_line_argument=no
   7381 fi
   7382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7383 fi
   7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7385 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7386 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7387 	CFLAGS="$xorg_testset_save_CFLAGS"
   7388 fi
   7389 
   7390 found="no"
   7391 
   7392 	if test $found = "no" ; then
   7393 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7394 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7395 		fi
   7396 
   7397 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7398 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7399 		fi
   7400 
   7401 		CFLAGS="$CFLAGS -Werror=return-type"
   7402 
   7403 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7404 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7405 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   7406 		if eval \${$cacheid+:} false; then :
   7407   $as_echo_n "(cached) " >&6
   7408 else
   7409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7410 /* end confdefs.h.  */
   7411 int i;
   7412 int
   7413 main ()
   7414 {
   7415 
   7416   ;
   7417   return 0;
   7418 }
   7419 _ACEOF
   7420 if ac_fn_c_try_link "$LINENO"; then :
   7421   eval $cacheid=yes
   7422 else
   7423   eval $cacheid=no
   7424 fi
   7425 rm -f core conftest.err conftest.$ac_objext \
   7426     conftest$ac_exeext conftest.$ac_ext
   7427 fi
   7428 
   7429 
   7430 		CFLAGS="$xorg_testset_save_CFLAGS"
   7431 
   7432 		eval supported=\$$cacheid
   7433 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7434 $as_echo "$supported" >&6; }
   7435 		if test "$supported" = "yes" ; then
   7436 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7437 			found="yes"
   7438 		fi
   7439 	fi
   7440 
   7441 	if test $found = "no" ; then
   7442 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7443 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7444 		fi
   7445 
   7446 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7447 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7448 		fi
   7449 
   7450 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7451 
   7452 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7453 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7454 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   7455 		if eval \${$cacheid+:} false; then :
   7456   $as_echo_n "(cached) " >&6
   7457 else
   7458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7459 /* end confdefs.h.  */
   7460 int i;
   7461 int
   7462 main ()
   7463 {
   7464 
   7465   ;
   7466   return 0;
   7467 }
   7468 _ACEOF
   7469 if ac_fn_c_try_link "$LINENO"; then :
   7470   eval $cacheid=yes
   7471 else
   7472   eval $cacheid=no
   7473 fi
   7474 rm -f core conftest.err conftest.$ac_objext \
   7475     conftest$ac_exeext conftest.$ac_ext
   7476 fi
   7477 
   7478 
   7479 		CFLAGS="$xorg_testset_save_CFLAGS"
   7480 
   7481 		eval supported=\$$cacheid
   7482 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7483 $as_echo "$supported" >&6; }
   7484 		if test "$supported" = "yes" ; then
   7485 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7486 			found="yes"
   7487 		fi
   7488 	fi
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 
   7503 
   7504 xorg_testset_save_CFLAGS="$CFLAGS"
   7505 
   7506 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7507 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7508 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7509 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7510 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7511   $as_echo_n "(cached) " >&6
   7512 else
   7513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7514 /* end confdefs.h.  */
   7515 int i;
   7516 _ACEOF
   7517 if ac_fn_c_try_compile "$LINENO"; then :
   7518   xorg_cv_cc_flag_unknown_warning_option=yes
   7519 else
   7520   xorg_cv_cc_flag_unknown_warning_option=no
   7521 fi
   7522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7523 fi
   7524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7525 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7526 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7527 	CFLAGS="$xorg_testset_save_CFLAGS"
   7528 fi
   7529 
   7530 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7531 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7532 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7533 	fi
   7534 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7535 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7536 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7537 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7538   $as_echo_n "(cached) " >&6
   7539 else
   7540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7541 /* end confdefs.h.  */
   7542 int i;
   7543 _ACEOF
   7544 if ac_fn_c_try_compile "$LINENO"; then :
   7545   xorg_cv_cc_flag_unused_command_line_argument=yes
   7546 else
   7547   xorg_cv_cc_flag_unused_command_line_argument=no
   7548 fi
   7549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7550 fi
   7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7552 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7553 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7554 	CFLAGS="$xorg_testset_save_CFLAGS"
   7555 fi
   7556 
   7557 found="no"
   7558 
   7559 	if test $found = "no" ; then
   7560 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7561 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7562 		fi
   7563 
   7564 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7565 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7566 		fi
   7567 
   7568 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7569 
   7570 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7571 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7572 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   7573 		if eval \${$cacheid+:} false; then :
   7574   $as_echo_n "(cached) " >&6
   7575 else
   7576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7577 /* end confdefs.h.  */
   7578 int i;
   7579 int
   7580 main ()
   7581 {
   7582 
   7583   ;
   7584   return 0;
   7585 }
   7586 _ACEOF
   7587 if ac_fn_c_try_link "$LINENO"; then :
   7588   eval $cacheid=yes
   7589 else
   7590   eval $cacheid=no
   7591 fi
   7592 rm -f core conftest.err conftest.$ac_objext \
   7593     conftest$ac_exeext conftest.$ac_ext
   7594 fi
   7595 
   7596 
   7597 		CFLAGS="$xorg_testset_save_CFLAGS"
   7598 
   7599 		eval supported=\$$cacheid
   7600 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7601 $as_echo "$supported" >&6; }
   7602 		if test "$supported" = "yes" ; then
   7603 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7604 			found="yes"
   7605 		fi
   7606 	fi
   7607 
   7608 
   7609 
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 
   7621 
   7622 xorg_testset_save_CFLAGS="$CFLAGS"
   7623 
   7624 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7625 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7626 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7627 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7628 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7629   $as_echo_n "(cached) " >&6
   7630 else
   7631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7632 /* end confdefs.h.  */
   7633 int i;
   7634 _ACEOF
   7635 if ac_fn_c_try_compile "$LINENO"; then :
   7636   xorg_cv_cc_flag_unknown_warning_option=yes
   7637 else
   7638   xorg_cv_cc_flag_unknown_warning_option=no
   7639 fi
   7640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7641 fi
   7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7643 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7644 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7645 	CFLAGS="$xorg_testset_save_CFLAGS"
   7646 fi
   7647 
   7648 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7649 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7650 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7651 	fi
   7652 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7653 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7654 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7655 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7656   $as_echo_n "(cached) " >&6
   7657 else
   7658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7659 /* end confdefs.h.  */
   7660 int i;
   7661 _ACEOF
   7662 if ac_fn_c_try_compile "$LINENO"; then :
   7663   xorg_cv_cc_flag_unused_command_line_argument=yes
   7664 else
   7665   xorg_cv_cc_flag_unused_command_line_argument=no
   7666 fi
   7667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7668 fi
   7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7670 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7671 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7672 	CFLAGS="$xorg_testset_save_CFLAGS"
   7673 fi
   7674 
   7675 found="no"
   7676 
   7677 	if test $found = "no" ; then
   7678 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7679 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7680 		fi
   7681 
   7682 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7683 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7684 		fi
   7685 
   7686 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7687 
   7688 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7689 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7690 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   7691 		if eval \${$cacheid+:} false; then :
   7692   $as_echo_n "(cached) " >&6
   7693 else
   7694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7695 /* end confdefs.h.  */
   7696 int i;
   7697 int
   7698 main ()
   7699 {
   7700 
   7701   ;
   7702   return 0;
   7703 }
   7704 _ACEOF
   7705 if ac_fn_c_try_link "$LINENO"; then :
   7706   eval $cacheid=yes
   7707 else
   7708   eval $cacheid=no
   7709 fi
   7710 rm -f core conftest.err conftest.$ac_objext \
   7711     conftest$ac_exeext conftest.$ac_ext
   7712 fi
   7713 
   7714 
   7715 		CFLAGS="$xorg_testset_save_CFLAGS"
   7716 
   7717 		eval supported=\$$cacheid
   7718 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7719 $as_echo "$supported" >&6; }
   7720 		if test "$supported" = "yes" ; then
   7721 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7722 			found="yes"
   7723 		fi
   7724 	fi
   7725 
   7726 
   7727 
   7728 
   7729 
   7730 
   7731 
   7732 
   7733 
   7734 
   7735 
   7736 
   7737 
   7738 
   7739 
   7740 xorg_testset_save_CFLAGS="$CFLAGS"
   7741 
   7742 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7743 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7744 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7745 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7746 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7747   $as_echo_n "(cached) " >&6
   7748 else
   7749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7750 /* end confdefs.h.  */
   7751 int i;
   7752 _ACEOF
   7753 if ac_fn_c_try_compile "$LINENO"; then :
   7754   xorg_cv_cc_flag_unknown_warning_option=yes
   7755 else
   7756   xorg_cv_cc_flag_unknown_warning_option=no
   7757 fi
   7758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7759 fi
   7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7761 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7762 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7763 	CFLAGS="$xorg_testset_save_CFLAGS"
   7764 fi
   7765 
   7766 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7767 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7768 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7769 	fi
   7770 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7771 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7772 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7773 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7774   $as_echo_n "(cached) " >&6
   7775 else
   7776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7777 /* end confdefs.h.  */
   7778 int i;
   7779 _ACEOF
   7780 if ac_fn_c_try_compile "$LINENO"; then :
   7781   xorg_cv_cc_flag_unused_command_line_argument=yes
   7782 else
   7783   xorg_cv_cc_flag_unused_command_line_argument=no
   7784 fi
   7785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7786 fi
   7787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7788 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7789 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7790 	CFLAGS="$xorg_testset_save_CFLAGS"
   7791 fi
   7792 
   7793 found="no"
   7794 
   7795 	if test $found = "no" ; then
   7796 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7797 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7798 		fi
   7799 
   7800 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7801 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7802 		fi
   7803 
   7804 		CFLAGS="$CFLAGS -Werror=write-strings"
   7805 
   7806 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   7807 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   7808 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   7809 		if eval \${$cacheid+:} false; then :
   7810   $as_echo_n "(cached) " >&6
   7811 else
   7812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7813 /* end confdefs.h.  */
   7814 int i;
   7815 int
   7816 main ()
   7817 {
   7818 
   7819   ;
   7820   return 0;
   7821 }
   7822 _ACEOF
   7823 if ac_fn_c_try_link "$LINENO"; then :
   7824   eval $cacheid=yes
   7825 else
   7826   eval $cacheid=no
   7827 fi
   7828 rm -f core conftest.err conftest.$ac_objext \
   7829     conftest$ac_exeext conftest.$ac_ext
   7830 fi
   7831 
   7832 
   7833 		CFLAGS="$xorg_testset_save_CFLAGS"
   7834 
   7835 		eval supported=\$$cacheid
   7836 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7837 $as_echo "$supported" >&6; }
   7838 		if test "$supported" = "yes" ; then
   7839 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   7840 			found="yes"
   7841 		fi
   7842 	fi
   7843 
   7844 
   7845 
   7846 
   7847 
   7848 
   7849 
   7850 
   7851 
   7852 
   7853 
   7854 
   7855 
   7856 
   7857 
   7858 xorg_testset_save_CFLAGS="$CFLAGS"
   7859 
   7860 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7861 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7862 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7863 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7864 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7865   $as_echo_n "(cached) " >&6
   7866 else
   7867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7868 /* end confdefs.h.  */
   7869 int i;
   7870 _ACEOF
   7871 if ac_fn_c_try_compile "$LINENO"; then :
   7872   xorg_cv_cc_flag_unknown_warning_option=yes
   7873 else
   7874   xorg_cv_cc_flag_unknown_warning_option=no
   7875 fi
   7876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7877 fi
   7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7879 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7880 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7881 	CFLAGS="$xorg_testset_save_CFLAGS"
   7882 fi
   7883 
   7884 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7885 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7886 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7887 	fi
   7888 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7889 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7890 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7891 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7892   $as_echo_n "(cached) " >&6
   7893 else
   7894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7895 /* end confdefs.h.  */
   7896 int i;
   7897 _ACEOF
   7898 if ac_fn_c_try_compile "$LINENO"; then :
   7899   xorg_cv_cc_flag_unused_command_line_argument=yes
   7900 else
   7901   xorg_cv_cc_flag_unused_command_line_argument=no
   7902 fi
   7903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7904 fi
   7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7906 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7907 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7908 	CFLAGS="$xorg_testset_save_CFLAGS"
   7909 fi
   7910 
   7911 found="no"
   7912 
   7913 	if test $found = "no" ; then
   7914 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7915 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7916 		fi
   7917 
   7918 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7919 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7920 		fi
   7921 
   7922 		CFLAGS="$CFLAGS -Werror=address"
   7923 
   7924 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   7925 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   7926 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   7927 		if eval \${$cacheid+:} false; then :
   7928   $as_echo_n "(cached) " >&6
   7929 else
   7930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7931 /* end confdefs.h.  */
   7932 int i;
   7933 int
   7934 main ()
   7935 {
   7936 
   7937   ;
   7938   return 0;
   7939 }
   7940 _ACEOF
   7941 if ac_fn_c_try_link "$LINENO"; then :
   7942   eval $cacheid=yes
   7943 else
   7944   eval $cacheid=no
   7945 fi
   7946 rm -f core conftest.err conftest.$ac_objext \
   7947     conftest$ac_exeext conftest.$ac_ext
   7948 fi
   7949 
   7950 
   7951 		CFLAGS="$xorg_testset_save_CFLAGS"
   7952 
   7953 		eval supported=\$$cacheid
   7954 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7955 $as_echo "$supported" >&6; }
   7956 		if test "$supported" = "yes" ; then
   7957 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   7958 			found="yes"
   7959 		fi
   7960 	fi
   7961 
   7962 
   7963 
   7964 
   7965 
   7966 
   7967 
   7968 
   7969 
   7970 
   7971 
   7972 
   7973 
   7974 
   7975 
   7976 xorg_testset_save_CFLAGS="$CFLAGS"
   7977 
   7978 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7979 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7980 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7981 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7982 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7983   $as_echo_n "(cached) " >&6
   7984 else
   7985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7986 /* end confdefs.h.  */
   7987 int i;
   7988 _ACEOF
   7989 if ac_fn_c_try_compile "$LINENO"; then :
   7990   xorg_cv_cc_flag_unknown_warning_option=yes
   7991 else
   7992   xorg_cv_cc_flag_unknown_warning_option=no
   7993 fi
   7994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7995 fi
   7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7997 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7998 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7999 	CFLAGS="$xorg_testset_save_CFLAGS"
   8000 fi
   8001 
   8002 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8003 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8004 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8005 	fi
   8006 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8007 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8008 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8009 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8010   $as_echo_n "(cached) " >&6
   8011 else
   8012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8013 /* end confdefs.h.  */
   8014 int i;
   8015 _ACEOF
   8016 if ac_fn_c_try_compile "$LINENO"; then :
   8017   xorg_cv_cc_flag_unused_command_line_argument=yes
   8018 else
   8019   xorg_cv_cc_flag_unused_command_line_argument=no
   8020 fi
   8021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8022 fi
   8023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8024 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8025 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8026 	CFLAGS="$xorg_testset_save_CFLAGS"
   8027 fi
   8028 
   8029 found="no"
   8030 
   8031 	if test $found = "no" ; then
   8032 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8033 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8034 		fi
   8035 
   8036 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8037 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8038 		fi
   8039 
   8040 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8041 
   8042 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8043 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8044 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   8045 		if eval \${$cacheid+:} false; then :
   8046   $as_echo_n "(cached) " >&6
   8047 else
   8048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8049 /* end confdefs.h.  */
   8050 int i;
   8051 int
   8052 main ()
   8053 {
   8054 
   8055   ;
   8056   return 0;
   8057 }
   8058 _ACEOF
   8059 if ac_fn_c_try_link "$LINENO"; then :
   8060   eval $cacheid=yes
   8061 else
   8062   eval $cacheid=no
   8063 fi
   8064 rm -f core conftest.err conftest.$ac_objext \
   8065     conftest$ac_exeext conftest.$ac_ext
   8066 fi
   8067 
   8068 
   8069 		CFLAGS="$xorg_testset_save_CFLAGS"
   8070 
   8071 		eval supported=\$$cacheid
   8072 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8073 $as_echo "$supported" >&6; }
   8074 		if test "$supported" = "yes" ; then
   8075 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8076 			found="yes"
   8077 		fi
   8078 	fi
   8079 
   8080 	if test $found = "no" ; then
   8081 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8082 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8083 		fi
   8084 
   8085 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8086 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8087 		fi
   8088 
   8089 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8090 
   8091 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8092 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8093 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   8094 		if eval \${$cacheid+:} false; then :
   8095   $as_echo_n "(cached) " >&6
   8096 else
   8097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8098 /* end confdefs.h.  */
   8099 int i;
   8100 int
   8101 main ()
   8102 {
   8103 
   8104   ;
   8105   return 0;
   8106 }
   8107 _ACEOF
   8108 if ac_fn_c_try_link "$LINENO"; then :
   8109   eval $cacheid=yes
   8110 else
   8111   eval $cacheid=no
   8112 fi
   8113 rm -f core conftest.err conftest.$ac_objext \
   8114     conftest$ac_exeext conftest.$ac_ext
   8115 fi
   8116 
   8117 
   8118 		CFLAGS="$xorg_testset_save_CFLAGS"
   8119 
   8120 		eval supported=\$$cacheid
   8121 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8122 $as_echo "$supported" >&6; }
   8123 		if test "$supported" = "yes" ; then
   8124 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8125 			found="yes"
   8126 		fi
   8127 	fi
   8128 
   8129 
   8130 
   8131 
   8132 
   8133 
   8134 
   8135 
   8136 
   8137 
   8138 
   8139 
   8140 
   8141 
   8142 
   8143 xorg_testset_save_CFLAGS="$CFLAGS"
   8144 
   8145 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8146 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8147 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8148 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8149 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8150   $as_echo_n "(cached) " >&6
   8151 else
   8152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8153 /* end confdefs.h.  */
   8154 int i;
   8155 _ACEOF
   8156 if ac_fn_c_try_compile "$LINENO"; then :
   8157   xorg_cv_cc_flag_unknown_warning_option=yes
   8158 else
   8159   xorg_cv_cc_flag_unknown_warning_option=no
   8160 fi
   8161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8162 fi
   8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8164 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8165 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8166 	CFLAGS="$xorg_testset_save_CFLAGS"
   8167 fi
   8168 
   8169 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8170 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8171 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8172 	fi
   8173 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8174 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8175 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8176 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8177   $as_echo_n "(cached) " >&6
   8178 else
   8179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8180 /* end confdefs.h.  */
   8181 int i;
   8182 _ACEOF
   8183 if ac_fn_c_try_compile "$LINENO"; then :
   8184   xorg_cv_cc_flag_unused_command_line_argument=yes
   8185 else
   8186   xorg_cv_cc_flag_unused_command_line_argument=no
   8187 fi
   8188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8189 fi
   8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8191 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8192 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8193 	CFLAGS="$xorg_testset_save_CFLAGS"
   8194 fi
   8195 
   8196 found="no"
   8197 
   8198 	if test $found = "no" ; then
   8199 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8200 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8201 		fi
   8202 
   8203 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8204 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8205 		fi
   8206 
   8207 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8208 
   8209 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8210 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8211 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   8212 		if eval \${$cacheid+:} false; then :
   8213   $as_echo_n "(cached) " >&6
   8214 else
   8215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8216 /* end confdefs.h.  */
   8217 int i;
   8218 int
   8219 main ()
   8220 {
   8221 
   8222   ;
   8223   return 0;
   8224 }
   8225 _ACEOF
   8226 if ac_fn_c_try_link "$LINENO"; then :
   8227   eval $cacheid=yes
   8228 else
   8229   eval $cacheid=no
   8230 fi
   8231 rm -f core conftest.err conftest.$ac_objext \
   8232     conftest$ac_exeext conftest.$ac_ext
   8233 fi
   8234 
   8235 
   8236 		CFLAGS="$xorg_testset_save_CFLAGS"
   8237 
   8238 		eval supported=\$$cacheid
   8239 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8240 $as_echo "$supported" >&6; }
   8241 		if test "$supported" = "yes" ; then
   8242 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8243 			found="yes"
   8244 		fi
   8245 	fi
   8246 
   8247  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8248 else
   8249 { $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
   8250 $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;}
   8251 
   8252 
   8253 
   8254 
   8255 
   8256 
   8257 
   8258 
   8259 
   8260 
   8261 
   8262 
   8263 
   8264 xorg_testset_save_CFLAGS="$CFLAGS"
   8265 
   8266 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8267 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8268 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8269 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8270 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8271   $as_echo_n "(cached) " >&6
   8272 else
   8273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8274 /* end confdefs.h.  */
   8275 int i;
   8276 _ACEOF
   8277 if ac_fn_c_try_compile "$LINENO"; then :
   8278   xorg_cv_cc_flag_unknown_warning_option=yes
   8279 else
   8280   xorg_cv_cc_flag_unknown_warning_option=no
   8281 fi
   8282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8283 fi
   8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8285 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8286 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8287 	CFLAGS="$xorg_testset_save_CFLAGS"
   8288 fi
   8289 
   8290 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8291 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8292 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8293 	fi
   8294 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8295 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8296 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8297 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8298   $as_echo_n "(cached) " >&6
   8299 else
   8300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8301 /* end confdefs.h.  */
   8302 int i;
   8303 _ACEOF
   8304 if ac_fn_c_try_compile "$LINENO"; then :
   8305   xorg_cv_cc_flag_unused_command_line_argument=yes
   8306 else
   8307   xorg_cv_cc_flag_unused_command_line_argument=no
   8308 fi
   8309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8310 fi
   8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8312 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8313 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8314 	CFLAGS="$xorg_testset_save_CFLAGS"
   8315 fi
   8316 
   8317 found="no"
   8318 
   8319 	if test $found = "no" ; then
   8320 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8321 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8322 		fi
   8323 
   8324 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8325 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8326 		fi
   8327 
   8328 		CFLAGS="$CFLAGS -Wimplicit"
   8329 
   8330 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8331 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8332 		cacheid=xorg_cv_cc_flag__Wimplicit
   8333 		if eval \${$cacheid+:} false; then :
   8334   $as_echo_n "(cached) " >&6
   8335 else
   8336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8337 /* end confdefs.h.  */
   8338 int i;
   8339 int
   8340 main ()
   8341 {
   8342 
   8343   ;
   8344   return 0;
   8345 }
   8346 _ACEOF
   8347 if ac_fn_c_try_link "$LINENO"; then :
   8348   eval $cacheid=yes
   8349 else
   8350   eval $cacheid=no
   8351 fi
   8352 rm -f core conftest.err conftest.$ac_objext \
   8353     conftest$ac_exeext conftest.$ac_ext
   8354 fi
   8355 
   8356 
   8357 		CFLAGS="$xorg_testset_save_CFLAGS"
   8358 
   8359 		eval supported=\$$cacheid
   8360 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8361 $as_echo "$supported" >&6; }
   8362 		if test "$supported" = "yes" ; then
   8363 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8364 			found="yes"
   8365 		fi
   8366 	fi
   8367 
   8368 
   8369 
   8370 
   8371 
   8372 
   8373 
   8374 
   8375 
   8376 
   8377 
   8378 
   8379 
   8380 
   8381 
   8382 xorg_testset_save_CFLAGS="$CFLAGS"
   8383 
   8384 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8385 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8386 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8387 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8388 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8389   $as_echo_n "(cached) " >&6
   8390 else
   8391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8392 /* end confdefs.h.  */
   8393 int i;
   8394 _ACEOF
   8395 if ac_fn_c_try_compile "$LINENO"; then :
   8396   xorg_cv_cc_flag_unknown_warning_option=yes
   8397 else
   8398   xorg_cv_cc_flag_unknown_warning_option=no
   8399 fi
   8400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8401 fi
   8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8403 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8404 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8405 	CFLAGS="$xorg_testset_save_CFLAGS"
   8406 fi
   8407 
   8408 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8409 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8410 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8411 	fi
   8412 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8413 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8414 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8415 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8416   $as_echo_n "(cached) " >&6
   8417 else
   8418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8419 /* end confdefs.h.  */
   8420 int i;
   8421 _ACEOF
   8422 if ac_fn_c_try_compile "$LINENO"; then :
   8423   xorg_cv_cc_flag_unused_command_line_argument=yes
   8424 else
   8425   xorg_cv_cc_flag_unused_command_line_argument=no
   8426 fi
   8427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8428 fi
   8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8430 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8431 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8432 	CFLAGS="$xorg_testset_save_CFLAGS"
   8433 fi
   8434 
   8435 found="no"
   8436 
   8437 	if test $found = "no" ; then
   8438 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8439 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8440 		fi
   8441 
   8442 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8443 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8444 		fi
   8445 
   8446 		CFLAGS="$CFLAGS -Wnonnull"
   8447 
   8448 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8449 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8450 		cacheid=xorg_cv_cc_flag__Wnonnull
   8451 		if eval \${$cacheid+:} false; then :
   8452   $as_echo_n "(cached) " >&6
   8453 else
   8454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8455 /* end confdefs.h.  */
   8456 int i;
   8457 int
   8458 main ()
   8459 {
   8460 
   8461   ;
   8462   return 0;
   8463 }
   8464 _ACEOF
   8465 if ac_fn_c_try_link "$LINENO"; then :
   8466   eval $cacheid=yes
   8467 else
   8468   eval $cacheid=no
   8469 fi
   8470 rm -f core conftest.err conftest.$ac_objext \
   8471     conftest$ac_exeext conftest.$ac_ext
   8472 fi
   8473 
   8474 
   8475 		CFLAGS="$xorg_testset_save_CFLAGS"
   8476 
   8477 		eval supported=\$$cacheid
   8478 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8479 $as_echo "$supported" >&6; }
   8480 		if test "$supported" = "yes" ; then
   8481 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8482 			found="yes"
   8483 		fi
   8484 	fi
   8485 
   8486 
   8487 
   8488 
   8489 
   8490 
   8491 
   8492 
   8493 
   8494 
   8495 
   8496 
   8497 
   8498 
   8499 
   8500 xorg_testset_save_CFLAGS="$CFLAGS"
   8501 
   8502 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8503 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8504 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8505 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8506 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8507   $as_echo_n "(cached) " >&6
   8508 else
   8509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8510 /* end confdefs.h.  */
   8511 int i;
   8512 _ACEOF
   8513 if ac_fn_c_try_compile "$LINENO"; then :
   8514   xorg_cv_cc_flag_unknown_warning_option=yes
   8515 else
   8516   xorg_cv_cc_flag_unknown_warning_option=no
   8517 fi
   8518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8519 fi
   8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8521 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8522 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8523 	CFLAGS="$xorg_testset_save_CFLAGS"
   8524 fi
   8525 
   8526 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8527 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8528 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8529 	fi
   8530 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8531 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8532 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8533 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8534   $as_echo_n "(cached) " >&6
   8535 else
   8536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8537 /* end confdefs.h.  */
   8538 int i;
   8539 _ACEOF
   8540 if ac_fn_c_try_compile "$LINENO"; then :
   8541   xorg_cv_cc_flag_unused_command_line_argument=yes
   8542 else
   8543   xorg_cv_cc_flag_unused_command_line_argument=no
   8544 fi
   8545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8546 fi
   8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8548 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8549 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8550 	CFLAGS="$xorg_testset_save_CFLAGS"
   8551 fi
   8552 
   8553 found="no"
   8554 
   8555 	if test $found = "no" ; then
   8556 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8557 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8558 		fi
   8559 
   8560 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8561 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8562 		fi
   8563 
   8564 		CFLAGS="$CFLAGS -Winit-self"
   8565 
   8566 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8567 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8568 		cacheid=xorg_cv_cc_flag__Winit_self
   8569 		if eval \${$cacheid+:} false; then :
   8570   $as_echo_n "(cached) " >&6
   8571 else
   8572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8573 /* end confdefs.h.  */
   8574 int i;
   8575 int
   8576 main ()
   8577 {
   8578 
   8579   ;
   8580   return 0;
   8581 }
   8582 _ACEOF
   8583 if ac_fn_c_try_link "$LINENO"; then :
   8584   eval $cacheid=yes
   8585 else
   8586   eval $cacheid=no
   8587 fi
   8588 rm -f core conftest.err conftest.$ac_objext \
   8589     conftest$ac_exeext conftest.$ac_ext
   8590 fi
   8591 
   8592 
   8593 		CFLAGS="$xorg_testset_save_CFLAGS"
   8594 
   8595 		eval supported=\$$cacheid
   8596 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8597 $as_echo "$supported" >&6; }
   8598 		if test "$supported" = "yes" ; then
   8599 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8600 			found="yes"
   8601 		fi
   8602 	fi
   8603 
   8604 
   8605 
   8606 
   8607 
   8608 
   8609 
   8610 
   8611 
   8612 
   8613 
   8614 
   8615 
   8616 
   8617 
   8618 xorg_testset_save_CFLAGS="$CFLAGS"
   8619 
   8620 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8621 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8622 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8623 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8624 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8625   $as_echo_n "(cached) " >&6
   8626 else
   8627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8628 /* end confdefs.h.  */
   8629 int i;
   8630 _ACEOF
   8631 if ac_fn_c_try_compile "$LINENO"; then :
   8632   xorg_cv_cc_flag_unknown_warning_option=yes
   8633 else
   8634   xorg_cv_cc_flag_unknown_warning_option=no
   8635 fi
   8636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8637 fi
   8638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8639 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8640 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8641 	CFLAGS="$xorg_testset_save_CFLAGS"
   8642 fi
   8643 
   8644 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8645 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8646 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8647 	fi
   8648 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8649 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8650 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8651 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8652   $as_echo_n "(cached) " >&6
   8653 else
   8654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8655 /* end confdefs.h.  */
   8656 int i;
   8657 _ACEOF
   8658 if ac_fn_c_try_compile "$LINENO"; then :
   8659   xorg_cv_cc_flag_unused_command_line_argument=yes
   8660 else
   8661   xorg_cv_cc_flag_unused_command_line_argument=no
   8662 fi
   8663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8664 fi
   8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8666 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8667 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8668 	CFLAGS="$xorg_testset_save_CFLAGS"
   8669 fi
   8670 
   8671 found="no"
   8672 
   8673 	if test $found = "no" ; then
   8674 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8675 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8676 		fi
   8677 
   8678 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8679 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8680 		fi
   8681 
   8682 		CFLAGS="$CFLAGS -Wmain"
   8683 
   8684 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8685 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8686 		cacheid=xorg_cv_cc_flag__Wmain
   8687 		if eval \${$cacheid+:} false; then :
   8688   $as_echo_n "(cached) " >&6
   8689 else
   8690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8691 /* end confdefs.h.  */
   8692 int i;
   8693 int
   8694 main ()
   8695 {
   8696 
   8697   ;
   8698   return 0;
   8699 }
   8700 _ACEOF
   8701 if ac_fn_c_try_link "$LINENO"; then :
   8702   eval $cacheid=yes
   8703 else
   8704   eval $cacheid=no
   8705 fi
   8706 rm -f core conftest.err conftest.$ac_objext \
   8707     conftest$ac_exeext conftest.$ac_ext
   8708 fi
   8709 
   8710 
   8711 		CFLAGS="$xorg_testset_save_CFLAGS"
   8712 
   8713 		eval supported=\$$cacheid
   8714 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8715 $as_echo "$supported" >&6; }
   8716 		if test "$supported" = "yes" ; then
   8717 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8718 			found="yes"
   8719 		fi
   8720 	fi
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 
   8727 
   8728 
   8729 
   8730 
   8731 
   8732 
   8733 
   8734 
   8735 
   8736 xorg_testset_save_CFLAGS="$CFLAGS"
   8737 
   8738 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8739 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8740 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8741 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8742 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8743   $as_echo_n "(cached) " >&6
   8744 else
   8745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8746 /* end confdefs.h.  */
   8747 int i;
   8748 _ACEOF
   8749 if ac_fn_c_try_compile "$LINENO"; then :
   8750   xorg_cv_cc_flag_unknown_warning_option=yes
   8751 else
   8752   xorg_cv_cc_flag_unknown_warning_option=no
   8753 fi
   8754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8755 fi
   8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8757 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8758 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8759 	CFLAGS="$xorg_testset_save_CFLAGS"
   8760 fi
   8761 
   8762 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8763 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8764 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8765 	fi
   8766 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8767 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8768 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8769 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8770   $as_echo_n "(cached) " >&6
   8771 else
   8772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8773 /* end confdefs.h.  */
   8774 int i;
   8775 _ACEOF
   8776 if ac_fn_c_try_compile "$LINENO"; then :
   8777   xorg_cv_cc_flag_unused_command_line_argument=yes
   8778 else
   8779   xorg_cv_cc_flag_unused_command_line_argument=no
   8780 fi
   8781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8782 fi
   8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8784 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8785 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8786 	CFLAGS="$xorg_testset_save_CFLAGS"
   8787 fi
   8788 
   8789 found="no"
   8790 
   8791 	if test $found = "no" ; then
   8792 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8793 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8794 		fi
   8795 
   8796 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8797 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8798 		fi
   8799 
   8800 		CFLAGS="$CFLAGS -Wmissing-braces"
   8801 
   8802 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   8803 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   8804 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   8805 		if eval \${$cacheid+:} false; then :
   8806   $as_echo_n "(cached) " >&6
   8807 else
   8808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8809 /* end confdefs.h.  */
   8810 int i;
   8811 int
   8812 main ()
   8813 {
   8814 
   8815   ;
   8816   return 0;
   8817 }
   8818 _ACEOF
   8819 if ac_fn_c_try_link "$LINENO"; then :
   8820   eval $cacheid=yes
   8821 else
   8822   eval $cacheid=no
   8823 fi
   8824 rm -f core conftest.err conftest.$ac_objext \
   8825     conftest$ac_exeext conftest.$ac_ext
   8826 fi
   8827 
   8828 
   8829 		CFLAGS="$xorg_testset_save_CFLAGS"
   8830 
   8831 		eval supported=\$$cacheid
   8832 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8833 $as_echo "$supported" >&6; }
   8834 		if test "$supported" = "yes" ; then
   8835 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   8836 			found="yes"
   8837 		fi
   8838 	fi
   8839 
   8840 
   8841 
   8842 
   8843 
   8844 
   8845 
   8846 
   8847 
   8848 
   8849 
   8850 
   8851 
   8852 
   8853 
   8854 xorg_testset_save_CFLAGS="$CFLAGS"
   8855 
   8856 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8857 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8858 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8859 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8860 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8861   $as_echo_n "(cached) " >&6
   8862 else
   8863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8864 /* end confdefs.h.  */
   8865 int i;
   8866 _ACEOF
   8867 if ac_fn_c_try_compile "$LINENO"; then :
   8868   xorg_cv_cc_flag_unknown_warning_option=yes
   8869 else
   8870   xorg_cv_cc_flag_unknown_warning_option=no
   8871 fi
   8872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8873 fi
   8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8875 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8876 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8877 	CFLAGS="$xorg_testset_save_CFLAGS"
   8878 fi
   8879 
   8880 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8881 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8882 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8883 	fi
   8884 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8885 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8886 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8887 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8888   $as_echo_n "(cached) " >&6
   8889 else
   8890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8891 /* end confdefs.h.  */
   8892 int i;
   8893 _ACEOF
   8894 if ac_fn_c_try_compile "$LINENO"; then :
   8895   xorg_cv_cc_flag_unused_command_line_argument=yes
   8896 else
   8897   xorg_cv_cc_flag_unused_command_line_argument=no
   8898 fi
   8899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8900 fi
   8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8902 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8903 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8904 	CFLAGS="$xorg_testset_save_CFLAGS"
   8905 fi
   8906 
   8907 found="no"
   8908 
   8909 	if test $found = "no" ; then
   8910 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8911 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8912 		fi
   8913 
   8914 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8915 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8916 		fi
   8917 
   8918 		CFLAGS="$CFLAGS -Wsequence-point"
   8919 
   8920 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   8921 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   8922 		cacheid=xorg_cv_cc_flag__Wsequence_point
   8923 		if eval \${$cacheid+:} false; then :
   8924   $as_echo_n "(cached) " >&6
   8925 else
   8926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8927 /* end confdefs.h.  */
   8928 int i;
   8929 int
   8930 main ()
   8931 {
   8932 
   8933   ;
   8934   return 0;
   8935 }
   8936 _ACEOF
   8937 if ac_fn_c_try_link "$LINENO"; then :
   8938   eval $cacheid=yes
   8939 else
   8940   eval $cacheid=no
   8941 fi
   8942 rm -f core conftest.err conftest.$ac_objext \
   8943     conftest$ac_exeext conftest.$ac_ext
   8944 fi
   8945 
   8946 
   8947 		CFLAGS="$xorg_testset_save_CFLAGS"
   8948 
   8949 		eval supported=\$$cacheid
   8950 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8951 $as_echo "$supported" >&6; }
   8952 		if test "$supported" = "yes" ; then
   8953 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   8954 			found="yes"
   8955 		fi
   8956 	fi
   8957 
   8958 
   8959 
   8960 
   8961 
   8962 
   8963 
   8964 
   8965 
   8966 
   8967 
   8968 
   8969 
   8970 
   8971 
   8972 xorg_testset_save_CFLAGS="$CFLAGS"
   8973 
   8974 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8975 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8976 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8977 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8978 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8979   $as_echo_n "(cached) " >&6
   8980 else
   8981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8982 /* end confdefs.h.  */
   8983 int i;
   8984 _ACEOF
   8985 if ac_fn_c_try_compile "$LINENO"; then :
   8986   xorg_cv_cc_flag_unknown_warning_option=yes
   8987 else
   8988   xorg_cv_cc_flag_unknown_warning_option=no
   8989 fi
   8990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8991 fi
   8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8993 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8994 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8995 	CFLAGS="$xorg_testset_save_CFLAGS"
   8996 fi
   8997 
   8998 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8999 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9000 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9001 	fi
   9002 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9003 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9004 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9005 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9006   $as_echo_n "(cached) " >&6
   9007 else
   9008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9009 /* end confdefs.h.  */
   9010 int i;
   9011 _ACEOF
   9012 if ac_fn_c_try_compile "$LINENO"; then :
   9013   xorg_cv_cc_flag_unused_command_line_argument=yes
   9014 else
   9015   xorg_cv_cc_flag_unused_command_line_argument=no
   9016 fi
   9017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9018 fi
   9019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9020 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9021 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9022 	CFLAGS="$xorg_testset_save_CFLAGS"
   9023 fi
   9024 
   9025 found="no"
   9026 
   9027 	if test $found = "no" ; then
   9028 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9029 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9030 		fi
   9031 
   9032 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9033 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9034 		fi
   9035 
   9036 		CFLAGS="$CFLAGS -Wreturn-type"
   9037 
   9038 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9039 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9040 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9041 		if eval \${$cacheid+:} false; then :
   9042   $as_echo_n "(cached) " >&6
   9043 else
   9044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9045 /* end confdefs.h.  */
   9046 int i;
   9047 int
   9048 main ()
   9049 {
   9050 
   9051   ;
   9052   return 0;
   9053 }
   9054 _ACEOF
   9055 if ac_fn_c_try_link "$LINENO"; then :
   9056   eval $cacheid=yes
   9057 else
   9058   eval $cacheid=no
   9059 fi
   9060 rm -f core conftest.err conftest.$ac_objext \
   9061     conftest$ac_exeext conftest.$ac_ext
   9062 fi
   9063 
   9064 
   9065 		CFLAGS="$xorg_testset_save_CFLAGS"
   9066 
   9067 		eval supported=\$$cacheid
   9068 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9069 $as_echo "$supported" >&6; }
   9070 		if test "$supported" = "yes" ; then
   9071 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9072 			found="yes"
   9073 		fi
   9074 	fi
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 
   9081 
   9082 
   9083 
   9084 
   9085 
   9086 
   9087 
   9088 
   9089 
   9090 xorg_testset_save_CFLAGS="$CFLAGS"
   9091 
   9092 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9093 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9094 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9095 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9096 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9097   $as_echo_n "(cached) " >&6
   9098 else
   9099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9100 /* end confdefs.h.  */
   9101 int i;
   9102 _ACEOF
   9103 if ac_fn_c_try_compile "$LINENO"; then :
   9104   xorg_cv_cc_flag_unknown_warning_option=yes
   9105 else
   9106   xorg_cv_cc_flag_unknown_warning_option=no
   9107 fi
   9108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9109 fi
   9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9111 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9112 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9113 	CFLAGS="$xorg_testset_save_CFLAGS"
   9114 fi
   9115 
   9116 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9117 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9118 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9119 	fi
   9120 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9121 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9122 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9123 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9124   $as_echo_n "(cached) " >&6
   9125 else
   9126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9127 /* end confdefs.h.  */
   9128 int i;
   9129 _ACEOF
   9130 if ac_fn_c_try_compile "$LINENO"; then :
   9131   xorg_cv_cc_flag_unused_command_line_argument=yes
   9132 else
   9133   xorg_cv_cc_flag_unused_command_line_argument=no
   9134 fi
   9135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9136 fi
   9137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9138 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9139 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9140 	CFLAGS="$xorg_testset_save_CFLAGS"
   9141 fi
   9142 
   9143 found="no"
   9144 
   9145 	if test $found = "no" ; then
   9146 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9147 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9148 		fi
   9149 
   9150 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9151 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9152 		fi
   9153 
   9154 		CFLAGS="$CFLAGS -Wtrigraphs"
   9155 
   9156 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9157 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9158 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9159 		if eval \${$cacheid+:} false; then :
   9160   $as_echo_n "(cached) " >&6
   9161 else
   9162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9163 /* end confdefs.h.  */
   9164 int i;
   9165 int
   9166 main ()
   9167 {
   9168 
   9169   ;
   9170   return 0;
   9171 }
   9172 _ACEOF
   9173 if ac_fn_c_try_link "$LINENO"; then :
   9174   eval $cacheid=yes
   9175 else
   9176   eval $cacheid=no
   9177 fi
   9178 rm -f core conftest.err conftest.$ac_objext \
   9179     conftest$ac_exeext conftest.$ac_ext
   9180 fi
   9181 
   9182 
   9183 		CFLAGS="$xorg_testset_save_CFLAGS"
   9184 
   9185 		eval supported=\$$cacheid
   9186 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9187 $as_echo "$supported" >&6; }
   9188 		if test "$supported" = "yes" ; then
   9189 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9190 			found="yes"
   9191 		fi
   9192 	fi
   9193 
   9194 
   9195 
   9196 
   9197 
   9198 
   9199 
   9200 
   9201 
   9202 
   9203 
   9204 
   9205 
   9206 
   9207 
   9208 xorg_testset_save_CFLAGS="$CFLAGS"
   9209 
   9210 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9211 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9212 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9213 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9214 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9215   $as_echo_n "(cached) " >&6
   9216 else
   9217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9218 /* end confdefs.h.  */
   9219 int i;
   9220 _ACEOF
   9221 if ac_fn_c_try_compile "$LINENO"; then :
   9222   xorg_cv_cc_flag_unknown_warning_option=yes
   9223 else
   9224   xorg_cv_cc_flag_unknown_warning_option=no
   9225 fi
   9226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9227 fi
   9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9229 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9230 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9231 	CFLAGS="$xorg_testset_save_CFLAGS"
   9232 fi
   9233 
   9234 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9235 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9236 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9237 	fi
   9238 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9239 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9240 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9241 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9242   $as_echo_n "(cached) " >&6
   9243 else
   9244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9245 /* end confdefs.h.  */
   9246 int i;
   9247 _ACEOF
   9248 if ac_fn_c_try_compile "$LINENO"; then :
   9249   xorg_cv_cc_flag_unused_command_line_argument=yes
   9250 else
   9251   xorg_cv_cc_flag_unused_command_line_argument=no
   9252 fi
   9253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9254 fi
   9255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9256 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9257 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9258 	CFLAGS="$xorg_testset_save_CFLAGS"
   9259 fi
   9260 
   9261 found="no"
   9262 
   9263 	if test $found = "no" ; then
   9264 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9265 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9266 		fi
   9267 
   9268 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9269 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9270 		fi
   9271 
   9272 		CFLAGS="$CFLAGS -Warray-bounds"
   9273 
   9274 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9275 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9276 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9277 		if eval \${$cacheid+:} false; then :
   9278   $as_echo_n "(cached) " >&6
   9279 else
   9280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9281 /* end confdefs.h.  */
   9282 int i;
   9283 int
   9284 main ()
   9285 {
   9286 
   9287   ;
   9288   return 0;
   9289 }
   9290 _ACEOF
   9291 if ac_fn_c_try_link "$LINENO"; then :
   9292   eval $cacheid=yes
   9293 else
   9294   eval $cacheid=no
   9295 fi
   9296 rm -f core conftest.err conftest.$ac_objext \
   9297     conftest$ac_exeext conftest.$ac_ext
   9298 fi
   9299 
   9300 
   9301 		CFLAGS="$xorg_testset_save_CFLAGS"
   9302 
   9303 		eval supported=\$$cacheid
   9304 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9305 $as_echo "$supported" >&6; }
   9306 		if test "$supported" = "yes" ; then
   9307 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9308 			found="yes"
   9309 		fi
   9310 	fi
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 
   9318 
   9319 
   9320 
   9321 
   9322 
   9323 
   9324 
   9325 
   9326 xorg_testset_save_CFLAGS="$CFLAGS"
   9327 
   9328 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9329 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9330 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9331 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9332 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9333   $as_echo_n "(cached) " >&6
   9334 else
   9335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9336 /* end confdefs.h.  */
   9337 int i;
   9338 _ACEOF
   9339 if ac_fn_c_try_compile "$LINENO"; then :
   9340   xorg_cv_cc_flag_unknown_warning_option=yes
   9341 else
   9342   xorg_cv_cc_flag_unknown_warning_option=no
   9343 fi
   9344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9345 fi
   9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9347 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9348 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9349 	CFLAGS="$xorg_testset_save_CFLAGS"
   9350 fi
   9351 
   9352 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9353 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9354 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9355 	fi
   9356 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9357 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9358 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9359 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9360   $as_echo_n "(cached) " >&6
   9361 else
   9362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9363 /* end confdefs.h.  */
   9364 int i;
   9365 _ACEOF
   9366 if ac_fn_c_try_compile "$LINENO"; then :
   9367   xorg_cv_cc_flag_unused_command_line_argument=yes
   9368 else
   9369   xorg_cv_cc_flag_unused_command_line_argument=no
   9370 fi
   9371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9372 fi
   9373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9374 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9375 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9376 	CFLAGS="$xorg_testset_save_CFLAGS"
   9377 fi
   9378 
   9379 found="no"
   9380 
   9381 	if test $found = "no" ; then
   9382 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9383 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9384 		fi
   9385 
   9386 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9387 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9388 		fi
   9389 
   9390 		CFLAGS="$CFLAGS -Wwrite-strings"
   9391 
   9392 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9393 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9394 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9395 		if eval \${$cacheid+:} false; then :
   9396   $as_echo_n "(cached) " >&6
   9397 else
   9398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9399 /* end confdefs.h.  */
   9400 int i;
   9401 int
   9402 main ()
   9403 {
   9404 
   9405   ;
   9406   return 0;
   9407 }
   9408 _ACEOF
   9409 if ac_fn_c_try_link "$LINENO"; then :
   9410   eval $cacheid=yes
   9411 else
   9412   eval $cacheid=no
   9413 fi
   9414 rm -f core conftest.err conftest.$ac_objext \
   9415     conftest$ac_exeext conftest.$ac_ext
   9416 fi
   9417 
   9418 
   9419 		CFLAGS="$xorg_testset_save_CFLAGS"
   9420 
   9421 		eval supported=\$$cacheid
   9422 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9423 $as_echo "$supported" >&6; }
   9424 		if test "$supported" = "yes" ; then
   9425 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9426 			found="yes"
   9427 		fi
   9428 	fi
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 
   9436 
   9437 
   9438 
   9439 
   9440 
   9441 
   9442 
   9443 
   9444 xorg_testset_save_CFLAGS="$CFLAGS"
   9445 
   9446 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9447 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9448 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9449 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9450 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9451   $as_echo_n "(cached) " >&6
   9452 else
   9453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9454 /* end confdefs.h.  */
   9455 int i;
   9456 _ACEOF
   9457 if ac_fn_c_try_compile "$LINENO"; then :
   9458   xorg_cv_cc_flag_unknown_warning_option=yes
   9459 else
   9460   xorg_cv_cc_flag_unknown_warning_option=no
   9461 fi
   9462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9463 fi
   9464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9465 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9466 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9467 	CFLAGS="$xorg_testset_save_CFLAGS"
   9468 fi
   9469 
   9470 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9471 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9472 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9473 	fi
   9474 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9475 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9476 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9477 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9478   $as_echo_n "(cached) " >&6
   9479 else
   9480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9481 /* end confdefs.h.  */
   9482 int i;
   9483 _ACEOF
   9484 if ac_fn_c_try_compile "$LINENO"; then :
   9485   xorg_cv_cc_flag_unused_command_line_argument=yes
   9486 else
   9487   xorg_cv_cc_flag_unused_command_line_argument=no
   9488 fi
   9489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9490 fi
   9491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9492 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9493 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9494 	CFLAGS="$xorg_testset_save_CFLAGS"
   9495 fi
   9496 
   9497 found="no"
   9498 
   9499 	if test $found = "no" ; then
   9500 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9501 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9502 		fi
   9503 
   9504 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9505 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9506 		fi
   9507 
   9508 		CFLAGS="$CFLAGS -Waddress"
   9509 
   9510 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9511 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9512 		cacheid=xorg_cv_cc_flag__Waddress
   9513 		if eval \${$cacheid+:} false; then :
   9514   $as_echo_n "(cached) " >&6
   9515 else
   9516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9517 /* end confdefs.h.  */
   9518 int i;
   9519 int
   9520 main ()
   9521 {
   9522 
   9523   ;
   9524   return 0;
   9525 }
   9526 _ACEOF
   9527 if ac_fn_c_try_link "$LINENO"; then :
   9528   eval $cacheid=yes
   9529 else
   9530   eval $cacheid=no
   9531 fi
   9532 rm -f core conftest.err conftest.$ac_objext \
   9533     conftest$ac_exeext conftest.$ac_ext
   9534 fi
   9535 
   9536 
   9537 		CFLAGS="$xorg_testset_save_CFLAGS"
   9538 
   9539 		eval supported=\$$cacheid
   9540 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9541 $as_echo "$supported" >&6; }
   9542 		if test "$supported" = "yes" ; then
   9543 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9544 			found="yes"
   9545 		fi
   9546 	fi
   9547 
   9548 
   9549 
   9550 
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 
   9561 
   9562 xorg_testset_save_CFLAGS="$CFLAGS"
   9563 
   9564 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9565 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9566 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9567 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9568 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9569   $as_echo_n "(cached) " >&6
   9570 else
   9571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9572 /* end confdefs.h.  */
   9573 int i;
   9574 _ACEOF
   9575 if ac_fn_c_try_compile "$LINENO"; then :
   9576   xorg_cv_cc_flag_unknown_warning_option=yes
   9577 else
   9578   xorg_cv_cc_flag_unknown_warning_option=no
   9579 fi
   9580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9581 fi
   9582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9583 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9584 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9585 	CFLAGS="$xorg_testset_save_CFLAGS"
   9586 fi
   9587 
   9588 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9589 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9590 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9591 	fi
   9592 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9593 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9594 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9595 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9596   $as_echo_n "(cached) " >&6
   9597 else
   9598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9599 /* end confdefs.h.  */
   9600 int i;
   9601 _ACEOF
   9602 if ac_fn_c_try_compile "$LINENO"; then :
   9603   xorg_cv_cc_flag_unused_command_line_argument=yes
   9604 else
   9605   xorg_cv_cc_flag_unused_command_line_argument=no
   9606 fi
   9607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9608 fi
   9609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9610 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9611 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9612 	CFLAGS="$xorg_testset_save_CFLAGS"
   9613 fi
   9614 
   9615 found="no"
   9616 
   9617 	if test $found = "no" ; then
   9618 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9619 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9620 		fi
   9621 
   9622 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9623 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9624 		fi
   9625 
   9626 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9627 
   9628 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9629 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9630 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9631 		if eval \${$cacheid+:} false; then :
   9632   $as_echo_n "(cached) " >&6
   9633 else
   9634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9635 /* end confdefs.h.  */
   9636 int i;
   9637 int
   9638 main ()
   9639 {
   9640 
   9641   ;
   9642   return 0;
   9643 }
   9644 _ACEOF
   9645 if ac_fn_c_try_link "$LINENO"; then :
   9646   eval $cacheid=yes
   9647 else
   9648   eval $cacheid=no
   9649 fi
   9650 rm -f core conftest.err conftest.$ac_objext \
   9651     conftest$ac_exeext conftest.$ac_ext
   9652 fi
   9653 
   9654 
   9655 		CFLAGS="$xorg_testset_save_CFLAGS"
   9656 
   9657 		eval supported=\$$cacheid
   9658 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9659 $as_echo "$supported" >&6; }
   9660 		if test "$supported" = "yes" ; then
   9661 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9662 			found="yes"
   9663 		fi
   9664 	fi
   9665 
   9666 
   9667 
   9668 
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 xorg_testset_save_CFLAGS="$CFLAGS"
   9681 
   9682 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9683 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9684 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9685 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9686 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9687   $as_echo_n "(cached) " >&6
   9688 else
   9689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9690 /* end confdefs.h.  */
   9691 int i;
   9692 _ACEOF
   9693 if ac_fn_c_try_compile "$LINENO"; then :
   9694   xorg_cv_cc_flag_unknown_warning_option=yes
   9695 else
   9696   xorg_cv_cc_flag_unknown_warning_option=no
   9697 fi
   9698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9699 fi
   9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9701 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9702 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9703 	CFLAGS="$xorg_testset_save_CFLAGS"
   9704 fi
   9705 
   9706 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9707 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9708 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9709 	fi
   9710 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9711 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9712 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9713 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9714   $as_echo_n "(cached) " >&6
   9715 else
   9716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9717 /* end confdefs.h.  */
   9718 int i;
   9719 _ACEOF
   9720 if ac_fn_c_try_compile "$LINENO"; then :
   9721   xorg_cv_cc_flag_unused_command_line_argument=yes
   9722 else
   9723   xorg_cv_cc_flag_unused_command_line_argument=no
   9724 fi
   9725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9726 fi
   9727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9728 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9729 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9730 	CFLAGS="$xorg_testset_save_CFLAGS"
   9731 fi
   9732 
   9733 found="no"
   9734 
   9735 	if test $found = "no" ; then
   9736 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9737 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9738 		fi
   9739 
   9740 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9741 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9742 		fi
   9743 
   9744 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9745 
   9746 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9747 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9748 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9749 		if eval \${$cacheid+:} false; then :
   9750   $as_echo_n "(cached) " >&6
   9751 else
   9752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9753 /* end confdefs.h.  */
   9754 int i;
   9755 int
   9756 main ()
   9757 {
   9758 
   9759   ;
   9760   return 0;
   9761 }
   9762 _ACEOF
   9763 if ac_fn_c_try_link "$LINENO"; then :
   9764   eval $cacheid=yes
   9765 else
   9766   eval $cacheid=no
   9767 fi
   9768 rm -f core conftest.err conftest.$ac_objext \
   9769     conftest$ac_exeext conftest.$ac_ext
   9770 fi
   9771 
   9772 
   9773 		CFLAGS="$xorg_testset_save_CFLAGS"
   9774 
   9775 		eval supported=\$$cacheid
   9776 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9777 $as_echo "$supported" >&6; }
   9778 		if test "$supported" = "yes" ; then
   9779 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9780 			found="yes"
   9781 		fi
   9782 	fi
   9783 
   9784 
   9785 fi
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 		CWARNFLAGS="$BASE_CFLAGS"
   9794 		if  test "x$GCC" = xyes ; then
   9795 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9796 		fi
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 # Check whether --enable-strict-compilation was given.
   9806 if test "${enable_strict_compilation+set}" = set; then :
   9807   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   9808 else
   9809   STRICT_COMPILE=no
   9810 fi
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 STRICT_CFLAGS=""
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 xorg_testset_save_CFLAGS="$CFLAGS"
   9832 
   9833 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9834 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9835 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9836 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9837 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9838   $as_echo_n "(cached) " >&6
   9839 else
   9840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9841 /* end confdefs.h.  */
   9842 int i;
   9843 _ACEOF
   9844 if ac_fn_c_try_compile "$LINENO"; then :
   9845   xorg_cv_cc_flag_unknown_warning_option=yes
   9846 else
   9847   xorg_cv_cc_flag_unknown_warning_option=no
   9848 fi
   9849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9850 fi
   9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9852 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9853 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9854 	CFLAGS="$xorg_testset_save_CFLAGS"
   9855 fi
   9856 
   9857 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9858 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9859 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9860 	fi
   9861 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9862 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9863 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9864 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9865   $as_echo_n "(cached) " >&6
   9866 else
   9867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9868 /* end confdefs.h.  */
   9869 int i;
   9870 _ACEOF
   9871 if ac_fn_c_try_compile "$LINENO"; then :
   9872   xorg_cv_cc_flag_unused_command_line_argument=yes
   9873 else
   9874   xorg_cv_cc_flag_unused_command_line_argument=no
   9875 fi
   9876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9877 fi
   9878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9879 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9880 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9881 	CFLAGS="$xorg_testset_save_CFLAGS"
   9882 fi
   9883 
   9884 found="no"
   9885 
   9886 	if test $found = "no" ; then
   9887 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9888 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9889 		fi
   9890 
   9891 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9892 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9893 		fi
   9894 
   9895 		CFLAGS="$CFLAGS -pedantic"
   9896 
   9897 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   9898 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   9899 		cacheid=xorg_cv_cc_flag__pedantic
   9900 		if eval \${$cacheid+:} false; then :
   9901   $as_echo_n "(cached) " >&6
   9902 else
   9903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9904 /* end confdefs.h.  */
   9905 int i;
   9906 int
   9907 main ()
   9908 {
   9909 
   9910   ;
   9911   return 0;
   9912 }
   9913 _ACEOF
   9914 if ac_fn_c_try_link "$LINENO"; then :
   9915   eval $cacheid=yes
   9916 else
   9917   eval $cacheid=no
   9918 fi
   9919 rm -f core conftest.err conftest.$ac_objext \
   9920     conftest$ac_exeext conftest.$ac_ext
   9921 fi
   9922 
   9923 
   9924 		CFLAGS="$xorg_testset_save_CFLAGS"
   9925 
   9926 		eval supported=\$$cacheid
   9927 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9928 $as_echo "$supported" >&6; }
   9929 		if test "$supported" = "yes" ; then
   9930 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   9931 			found="yes"
   9932 		fi
   9933 	fi
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 xorg_testset_save_CFLAGS="$CFLAGS"
   9950 
   9951 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9952 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9953 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9954 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9955 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9956   $as_echo_n "(cached) " >&6
   9957 else
   9958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9959 /* end confdefs.h.  */
   9960 int i;
   9961 _ACEOF
   9962 if ac_fn_c_try_compile "$LINENO"; then :
   9963   xorg_cv_cc_flag_unknown_warning_option=yes
   9964 else
   9965   xorg_cv_cc_flag_unknown_warning_option=no
   9966 fi
   9967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9968 fi
   9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9970 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9971 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9972 	CFLAGS="$xorg_testset_save_CFLAGS"
   9973 fi
   9974 
   9975 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9976 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9977 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9978 	fi
   9979 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9980 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9981 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9982 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9983   $as_echo_n "(cached) " >&6
   9984 else
   9985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9986 /* end confdefs.h.  */
   9987 int i;
   9988 _ACEOF
   9989 if ac_fn_c_try_compile "$LINENO"; then :
   9990   xorg_cv_cc_flag_unused_command_line_argument=yes
   9991 else
   9992   xorg_cv_cc_flag_unused_command_line_argument=no
   9993 fi
   9994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9995 fi
   9996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9997 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9998 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9999 	CFLAGS="$xorg_testset_save_CFLAGS"
   10000 fi
   10001 
   10002 found="no"
   10003 
   10004 	if test $found = "no" ; then
   10005 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10006 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10007 		fi
   10008 
   10009 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10010 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10011 		fi
   10012 
   10013 		CFLAGS="$CFLAGS -Werror"
   10014 
   10015 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10016 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10017 		cacheid=xorg_cv_cc_flag__Werror
   10018 		if eval \${$cacheid+:} false; then :
   10019   $as_echo_n "(cached) " >&6
   10020 else
   10021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10022 /* end confdefs.h.  */
   10023 int i;
   10024 int
   10025 main ()
   10026 {
   10027 
   10028   ;
   10029   return 0;
   10030 }
   10031 _ACEOF
   10032 if ac_fn_c_try_link "$LINENO"; then :
   10033   eval $cacheid=yes
   10034 else
   10035   eval $cacheid=no
   10036 fi
   10037 rm -f core conftest.err conftest.$ac_objext \
   10038     conftest$ac_exeext conftest.$ac_ext
   10039 fi
   10040 
   10041 
   10042 		CFLAGS="$xorg_testset_save_CFLAGS"
   10043 
   10044 		eval supported=\$$cacheid
   10045 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10046 $as_echo "$supported" >&6; }
   10047 		if test "$supported" = "yes" ; then
   10048 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10049 			found="yes"
   10050 		fi
   10051 	fi
   10052 
   10053 	if test $found = "no" ; then
   10054 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10055 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10056 		fi
   10057 
   10058 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10059 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10060 		fi
   10061 
   10062 		CFLAGS="$CFLAGS -errwarn"
   10063 
   10064 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10065 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10066 		cacheid=xorg_cv_cc_flag__errwarn
   10067 		if eval \${$cacheid+:} false; then :
   10068   $as_echo_n "(cached) " >&6
   10069 else
   10070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10071 /* end confdefs.h.  */
   10072 int i;
   10073 int
   10074 main ()
   10075 {
   10076 
   10077   ;
   10078   return 0;
   10079 }
   10080 _ACEOF
   10081 if ac_fn_c_try_link "$LINENO"; then :
   10082   eval $cacheid=yes
   10083 else
   10084   eval $cacheid=no
   10085 fi
   10086 rm -f core conftest.err conftest.$ac_objext \
   10087     conftest$ac_exeext conftest.$ac_ext
   10088 fi
   10089 
   10090 
   10091 		CFLAGS="$xorg_testset_save_CFLAGS"
   10092 
   10093 		eval supported=\$$cacheid
   10094 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10095 $as_echo "$supported" >&6; }
   10096 		if test "$supported" = "yes" ; then
   10097 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10098 			found="yes"
   10099 		fi
   10100 	fi
   10101 
   10102 
   10103 
   10104 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10105 # activate it with -Werror, so we add it here explicitly.
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 
   10114 
   10115 
   10116 
   10117 
   10118 
   10119 xorg_testset_save_CFLAGS="$CFLAGS"
   10120 
   10121 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10122 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10123 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10124 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10125 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10126   $as_echo_n "(cached) " >&6
   10127 else
   10128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10129 /* end confdefs.h.  */
   10130 int i;
   10131 _ACEOF
   10132 if ac_fn_c_try_compile "$LINENO"; then :
   10133   xorg_cv_cc_flag_unknown_warning_option=yes
   10134 else
   10135   xorg_cv_cc_flag_unknown_warning_option=no
   10136 fi
   10137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10138 fi
   10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10140 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10141 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10142 	CFLAGS="$xorg_testset_save_CFLAGS"
   10143 fi
   10144 
   10145 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10146 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10147 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10148 	fi
   10149 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10150 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10151 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10152 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10153   $as_echo_n "(cached) " >&6
   10154 else
   10155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10156 /* end confdefs.h.  */
   10157 int i;
   10158 _ACEOF
   10159 if ac_fn_c_try_compile "$LINENO"; then :
   10160   xorg_cv_cc_flag_unused_command_line_argument=yes
   10161 else
   10162   xorg_cv_cc_flag_unused_command_line_argument=no
   10163 fi
   10164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10165 fi
   10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10167 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10168 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10169 	CFLAGS="$xorg_testset_save_CFLAGS"
   10170 fi
   10171 
   10172 found="no"
   10173 
   10174 	if test $found = "no" ; then
   10175 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10176 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10177 		fi
   10178 
   10179 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10180 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10181 		fi
   10182 
   10183 		CFLAGS="$CFLAGS -Werror=attributes"
   10184 
   10185 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10186 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10187 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   10188 		if eval \${$cacheid+:} false; then :
   10189   $as_echo_n "(cached) " >&6
   10190 else
   10191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10192 /* end confdefs.h.  */
   10193 int i;
   10194 int
   10195 main ()
   10196 {
   10197 
   10198   ;
   10199   return 0;
   10200 }
   10201 _ACEOF
   10202 if ac_fn_c_try_link "$LINENO"; then :
   10203   eval $cacheid=yes
   10204 else
   10205   eval $cacheid=no
   10206 fi
   10207 rm -f core conftest.err conftest.$ac_objext \
   10208     conftest$ac_exeext conftest.$ac_ext
   10209 fi
   10210 
   10211 
   10212 		CFLAGS="$xorg_testset_save_CFLAGS"
   10213 
   10214 		eval supported=\$$cacheid
   10215 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10216 $as_echo "$supported" >&6; }
   10217 		if test "$supported" = "yes" ; then
   10218 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10219 			found="yes"
   10220 		fi
   10221 	fi
   10222 
   10223 
   10224 
   10225 if test "x$STRICT_COMPILE" = "xyes"; then
   10226     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10227     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10228 fi
   10229 
   10230 
   10231 
   10232 
   10233 
   10234 
   10235 cat >>confdefs.h <<_ACEOF
   10236 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10237 _ACEOF
   10238 
   10239 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10240 	if test "x$PVM" = "x"; then
   10241 		PVM="0"
   10242 	fi
   10243 
   10244 cat >>confdefs.h <<_ACEOF
   10245 #define PACKAGE_VERSION_MINOR $PVM
   10246 _ACEOF
   10247 
   10248 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10249 	if test "x$PVP" = "x"; then
   10250 		PVP="0"
   10251 	fi
   10252 
   10253 cat >>confdefs.h <<_ACEOF
   10254 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10255 _ACEOF
   10256 
   10257 
   10258 
   10259 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10260 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10261 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10262 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10263 
   10264 
   10265 
   10266 
   10267 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10268 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10269 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10270 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10271 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 if test x$APP_MAN_SUFFIX = x    ; then
   10279     APP_MAN_SUFFIX=1
   10280 fi
   10281 if test x$APP_MAN_DIR = x    ; then
   10282     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10283 fi
   10284 
   10285 if test x$LIB_MAN_SUFFIX = x    ; then
   10286     LIB_MAN_SUFFIX=3
   10287 fi
   10288 if test x$LIB_MAN_DIR = x    ; then
   10289     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10290 fi
   10291 
   10292 if test x$FILE_MAN_SUFFIX = x    ; then
   10293     case $host_os in
   10294 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10295 	*)		FILE_MAN_SUFFIX=5  ;;
   10296     esac
   10297 fi
   10298 if test x$FILE_MAN_DIR = x    ; then
   10299     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10300 fi
   10301 
   10302 if test x$MISC_MAN_SUFFIX = x    ; then
   10303     case $host_os in
   10304 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10305 	*)		MISC_MAN_SUFFIX=7  ;;
   10306     esac
   10307 fi
   10308 if test x$MISC_MAN_DIR = x    ; then
   10309     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10310 fi
   10311 
   10312 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10313     case $host_os in
   10314 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10315 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10316     esac
   10317 fi
   10318 if test x$DRIVER_MAN_DIR = x    ; then
   10319     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10320 fi
   10321 
   10322 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10323     case $host_os in
   10324 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10325 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10326     esac
   10327 fi
   10328 if test x$ADMIN_MAN_DIR = x    ; then
   10329     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10330 fi
   10331 
   10332 
   10333 
   10334 
   10335 
   10336 
   10337 
   10338 
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 
   10346 XORG_MAN_PAGE="X Version 11"
   10347 
   10348 MAN_SUBSTS="\
   10349 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10350 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10351 	-e 's|__xservername__|Xorg|g' \
   10352 	-e 's|__xconfigfile__|xorg.conf|g' \
   10353 	-e 's|__projectroot__|\$(prefix)|g' \
   10354 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10355 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10356 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10357 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10358 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10359 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10360 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10361 
   10362 
   10363 
   10364 # Check whether --enable-silent-rules was given.
   10365 if test "${enable_silent_rules+set}" = set; then :
   10366   enableval=$enable_silent_rules;
   10367 fi
   10368 
   10369 case $enable_silent_rules in
   10370 yes) AM_DEFAULT_VERBOSITY=0;;
   10371 no)  AM_DEFAULT_VERBOSITY=1;;
   10372 *)   AM_DEFAULT_VERBOSITY=0;;
   10373 esac
   10374 AM_BACKSLASH='\'
   10375 
   10376 
   10377 
   10378 # Checks for pkg-config packages
   10379 
   10380 pkg_failed=no
   10381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BEFORELIGHT" >&5
   10382 $as_echo_n "checking for BEFORELIGHT... " >&6; }
   10383 
   10384 if test -n "$BEFORELIGHT_CFLAGS"; then
   10385     pkg_cv_BEFORELIGHT_CFLAGS="$BEFORELIGHT_CFLAGS"
   10386  elif test -n "$PKG_CONFIG"; then
   10387     if test -n "$PKG_CONFIG" && \
   10388     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xscrnsaver xt\""; } >&5
   10389   ($PKG_CONFIG --exists --print-errors "x11 xscrnsaver xt") 2>&5
   10390   ac_status=$?
   10391   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10392   test $ac_status = 0; }; then
   10393   pkg_cv_BEFORELIGHT_CFLAGS=`$PKG_CONFIG --cflags "x11 xscrnsaver xt" 2>/dev/null`
   10394 else
   10395   pkg_failed=yes
   10396 fi
   10397  else
   10398     pkg_failed=untried
   10399 fi
   10400 if test -n "$BEFORELIGHT_LIBS"; then
   10401     pkg_cv_BEFORELIGHT_LIBS="$BEFORELIGHT_LIBS"
   10402  elif test -n "$PKG_CONFIG"; then
   10403     if test -n "$PKG_CONFIG" && \
   10404     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xscrnsaver xt\""; } >&5
   10405   ($PKG_CONFIG --exists --print-errors "x11 xscrnsaver xt") 2>&5
   10406   ac_status=$?
   10407   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10408   test $ac_status = 0; }; then
   10409   pkg_cv_BEFORELIGHT_LIBS=`$PKG_CONFIG --libs "x11 xscrnsaver xt" 2>/dev/null`
   10410 else
   10411   pkg_failed=yes
   10412 fi
   10413  else
   10414     pkg_failed=untried
   10415 fi
   10416 
   10417 
   10418 
   10419 if test $pkg_failed = yes; then
   10420 
   10421 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10422         _pkg_short_errors_supported=yes
   10423 else
   10424         _pkg_short_errors_supported=no
   10425 fi
   10426         if test $_pkg_short_errors_supported = yes; then
   10427 	        BEFORELIGHT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xscrnsaver xt" 2>&1`
   10428         else
   10429 	        BEFORELIGHT_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xscrnsaver xt" 2>&1`
   10430         fi
   10431 	# Put the nasty error message in config.log where it belongs
   10432 	echo "$BEFORELIGHT_PKG_ERRORS" >&5
   10433 
   10434 	as_fn_error $? "Package requirements (x11 xscrnsaver xt) were not met:
   10435 
   10436 $BEFORELIGHT_PKG_ERRORS
   10437 
   10438 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10439 installed software in a non-standard prefix.
   10440 
   10441 Alternatively, you may set the environment variables BEFORELIGHT_CFLAGS
   10442 and BEFORELIGHT_LIBS to avoid the need to call pkg-config.
   10443 See the pkg-config man page for more details.
   10444 " "$LINENO" 5
   10445 elif test $pkg_failed = untried; then
   10446 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10448 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10449 is in your PATH or set the PKG_CONFIG environment variable to the full
   10450 path to pkg-config.
   10451 
   10452 Alternatively, you may set the environment variables BEFORELIGHT_CFLAGS
   10453 and BEFORELIGHT_LIBS to avoid the need to call pkg-config.
   10454 See the pkg-config man page for more details.
   10455 
   10456 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10457 See \`config.log' for more details" "$LINENO" 5; }
   10458 else
   10459 	BEFORELIGHT_CFLAGS=$pkg_cv_BEFORELIGHT_CFLAGS
   10460 	BEFORELIGHT_LIBS=$pkg_cv_BEFORELIGHT_LIBS
   10461         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10462 $as_echo "yes" >&6; }
   10463 	:
   10464 fi
   10465 
   10466 
   10467 pkg_failed=no
   10468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   10469 $as_echo_n "checking for APPDEFS... " >&6; }
   10470 
   10471 if test -n "$APPDEFS_CFLAGS"; then
   10472     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   10473  elif test -n "$PKG_CONFIG"; then
   10474     if test -n "$PKG_CONFIG" && \
   10475     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   10476   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   10477   ac_status=$?
   10478   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10479   test $ac_status = 0; }; then
   10480   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   10481 else
   10482   pkg_failed=yes
   10483 fi
   10484  else
   10485     pkg_failed=untried
   10486 fi
   10487 if test -n "$APPDEFS_LIBS"; then
   10488     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   10489  elif test -n "$PKG_CONFIG"; then
   10490     if test -n "$PKG_CONFIG" && \
   10491     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   10492   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   10493   ac_status=$?
   10494   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10495   test $ac_status = 0; }; then
   10496   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   10497 else
   10498   pkg_failed=yes
   10499 fi
   10500  else
   10501     pkg_failed=untried
   10502 fi
   10503 
   10504 
   10505 
   10506 if test $pkg_failed = yes; then
   10507 
   10508 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10509         _pkg_short_errors_supported=yes
   10510 else
   10511         _pkg_short_errors_supported=no
   10512 fi
   10513         if test $_pkg_short_errors_supported = yes; then
   10514 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xt" 2>&1`
   10515         else
   10516 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors "xt" 2>&1`
   10517         fi
   10518 	# Put the nasty error message in config.log where it belongs
   10519 	echo "$APPDEFS_PKG_ERRORS" >&5
   10520 
   10521 	as_fn_error $? "Package requirements (xt) were not met:
   10522 
   10523 $APPDEFS_PKG_ERRORS
   10524 
   10525 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10526 installed software in a non-standard prefix.
   10527 
   10528 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   10529 and APPDEFS_LIBS to avoid the need to call pkg-config.
   10530 See the pkg-config man page for more details.
   10531 " "$LINENO" 5
   10532 elif test $pkg_failed = untried; then
   10533 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10535 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10536 is in your PATH or set the PKG_CONFIG environment variable to the full
   10537 path to pkg-config.
   10538 
   10539 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   10540 and APPDEFS_LIBS to avoid the need to call pkg-config.
   10541 See the pkg-config man page for more details.
   10542 
   10543 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10544 See \`config.log' for more details" "$LINENO" 5; }
   10545 else
   10546 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   10547 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   10548         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10549 $as_echo "yes" >&6; }
   10550 	:
   10551 fi
   10552 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   10553 
   10554 # Check whether --with-appdefaultdir was given.
   10555 if test "${with_appdefaultdir+set}" = set; then :
   10556   withval=$with_appdefaultdir; appdefaultdir="$withval"
   10557 else
   10558   appdefaultdir="${xt_appdefaultdir}"
   10559 fi
   10560 
   10561 
   10562 
   10563 
   10564 ac_config_files="$ac_config_files Makefile man/Makefile"
   10565 
   10566 cat >confcache <<\_ACEOF
   10567 # This file is a shell script that caches the results of configure
   10568 # tests run on this system so they can be shared between configure
   10569 # scripts and configure runs, see configure's option --config-cache.
   10570 # It is not useful on other systems.  If it contains results you don't
   10571 # want to keep, you may remove or edit it.
   10572 #
   10573 # config.status only pays attention to the cache file if you give it
   10574 # the --recheck option to rerun configure.
   10575 #
   10576 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10577 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10578 # following values.
   10579 
   10580 _ACEOF
   10581 
   10582 # The following way of writing the cache mishandles newlines in values,
   10583 # but we know of no workaround that is simple, portable, and efficient.
   10584 # So, we kill variables containing newlines.
   10585 # Ultrix sh set writes to stderr and can't be redirected directly,
   10586 # and sets the high bit in the cache file unless we assign to the vars.
   10587 (
   10588   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10589     eval ac_val=\$$ac_var
   10590     case $ac_val in #(
   10591     *${as_nl}*)
   10592       case $ac_var in #(
   10593       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10594 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10595       esac
   10596       case $ac_var in #(
   10597       _ | IFS | as_nl) ;; #(
   10598       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10599       *) { eval $ac_var=; unset $ac_var;} ;;
   10600       esac ;;
   10601     esac
   10602   done
   10603 
   10604   (set) 2>&1 |
   10605     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10606     *${as_nl}ac_space=\ *)
   10607       # `set' does not quote correctly, so add quotes: double-quote
   10608       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10609       sed -n \
   10610 	"s/'/'\\\\''/g;
   10611 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10612       ;; #(
   10613     *)
   10614       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10615       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10616       ;;
   10617     esac |
   10618     sort
   10619 ) |
   10620   sed '
   10621      /^ac_cv_env_/b end
   10622      t clear
   10623      :clear
   10624      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10625      t end
   10626      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10627      :end' >>confcache
   10628 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10629   if test -w "$cache_file"; then
   10630     if test "x$cache_file" != "x/dev/null"; then
   10631       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10632 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10633       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10634 	cat confcache >"$cache_file"
   10635       else
   10636         case $cache_file in #(
   10637         */* | ?:*)
   10638 	  mv -f confcache "$cache_file"$$ &&
   10639 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10640         *)
   10641 	  mv -f confcache "$cache_file" ;;
   10642 	esac
   10643       fi
   10644     fi
   10645   else
   10646     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10647 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10648   fi
   10649 fi
   10650 rm -f confcache
   10651 
   10652 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10653 # Let make expand exec_prefix.
   10654 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10655 
   10656 DEFS=-DHAVE_CONFIG_H
   10657 
   10658 ac_libobjs=
   10659 ac_ltlibobjs=
   10660 U=
   10661 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10662   # 1. Remove the extension, and $U if already installed.
   10663   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10664   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10665   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10666   #    will be set to the directory where LIBOBJS objects are built.
   10667   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   10668   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   10669 done
   10670 LIBOBJS=$ac_libobjs
   10671 
   10672 LTLIBOBJS=$ac_ltlibobjs
   10673 
   10674 
   10675  if test -n "$EXEEXT"; then
   10676   am__EXEEXT_TRUE=
   10677   am__EXEEXT_FALSE='#'
   10678 else
   10679   am__EXEEXT_TRUE='#'
   10680   am__EXEEXT_FALSE=
   10681 fi
   10682 
   10683 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   10684   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   10685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10686 fi
   10687 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   10688   as_fn_error $? "conditional \"AMDEP\" was never defined.
   10689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10690 fi
   10691 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   10692   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   10693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10694 fi
   10695 
   10696 : "${CONFIG_STATUS=./config.status}"
   10697 ac_write_fail=0
   10698 ac_clean_files_save=$ac_clean_files
   10699 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   10700 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   10701 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   10702 as_write_fail=0
   10703 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   10704 #! $SHELL
   10705 # Generated by $as_me.
   10706 # Run this file to recreate the current configuration.
   10707 # Compiler output produced by configure, useful for debugging
   10708 # configure, is in config.log if it exists.
   10709 
   10710 debug=false
   10711 ac_cs_recheck=false
   10712 ac_cs_silent=false
   10713 
   10714 SHELL=\${CONFIG_SHELL-$SHELL}
   10715 export SHELL
   10716 _ASEOF
   10717 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   10718 ## -------------------- ##
   10719 ## M4sh Initialization. ##
   10720 ## -------------------- ##
   10721 
   10722 # Be more Bourne compatible
   10723 DUALCASE=1; export DUALCASE # for MKS sh
   10724 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   10725   emulate sh
   10726   NULLCMD=:
   10727   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   10728   # is contrary to our usage.  Disable this feature.
   10729   alias -g '${1+"$@"}'='"$@"'
   10730   setopt NO_GLOB_SUBST
   10731 else
   10732   case `(set -o) 2>/dev/null` in #(
   10733   *posix*) :
   10734     set -o posix ;; #(
   10735   *) :
   10736      ;;
   10737 esac
   10738 fi
   10739 
   10740 
   10741 as_nl='
   10742 '
   10743 export as_nl
   10744 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   10745 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10746 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   10747 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   10748 # Prefer a ksh shell builtin over an external printf program on Solaris,
   10749 # but without wasting forks for bash or zsh.
   10750 if test -z "$BASH_VERSION$ZSH_VERSION" \
   10751     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   10752   as_echo='print -r --'
   10753   as_echo_n='print -rn --'
   10754 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   10755   as_echo='printf %s\n'
   10756   as_echo_n='printf %s'
   10757 else
   10758   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   10759     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   10760     as_echo_n='/usr/ucb/echo -n'
   10761   else
   10762     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   10763     as_echo_n_body='eval
   10764       arg=$1;
   10765       case $arg in #(
   10766       *"$as_nl"*)
   10767 	expr "X$arg" : "X\\(.*\\)$as_nl";
   10768 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   10769       esac;
   10770       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   10771     '
   10772     export as_echo_n_body
   10773     as_echo_n='sh -c $as_echo_n_body as_echo'
   10774   fi
   10775   export as_echo_body
   10776   as_echo='sh -c $as_echo_body as_echo'
   10777 fi
   10778 
   10779 # The user is always right.
   10780 if test "${PATH_SEPARATOR+set}" != set; then
   10781   PATH_SEPARATOR=:
   10782   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   10783     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   10784       PATH_SEPARATOR=';'
   10785   }
   10786 fi
   10787 
   10788 
   10789 # IFS
   10790 # We need space, tab and new line, in precisely that order.  Quoting is
   10791 # there to prevent editors from complaining about space-tab.
   10792 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   10793 # splitting by setting IFS to empty value.)
   10794 IFS=" ""	$as_nl"
   10795 
   10796 # Find who we are.  Look in the path if we contain no directory separator.
   10797 as_myself=
   10798 case $0 in #((
   10799   *[\\/]* ) as_myself=$0 ;;
   10800   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10801 for as_dir in $PATH
   10802 do
   10803   IFS=$as_save_IFS
   10804   test -z "$as_dir" && as_dir=.
   10805     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   10806   done
   10807 IFS=$as_save_IFS
   10808 
   10809      ;;
   10810 esac
   10811 # We did not find ourselves, most probably we were run as `sh COMMAND'
   10812 # in which case we are not to be found in the path.
   10813 if test "x$as_myself" = x; then
   10814   as_myself=$0
   10815 fi
   10816 if test ! -f "$as_myself"; then
   10817   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   10818   exit 1
   10819 fi
   10820 
   10821 # Unset variables that we do not need and which cause bugs (e.g. in
   10822 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   10823 # suppresses any "Segmentation fault" message there.  '((' could
   10824 # trigger a bug in pdksh 5.2.14.
   10825 for as_var in BASH_ENV ENV MAIL MAILPATH
   10826 do eval test x\${$as_var+set} = xset \
   10827   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   10828 done
   10829 PS1='$ '
   10830 PS2='> '
   10831 PS4='+ '
   10832 
   10833 # NLS nuisances.
   10834 LC_ALL=C
   10835 export LC_ALL
   10836 LANGUAGE=C
   10837 export LANGUAGE
   10838 
   10839 # CDPATH.
   10840 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10841 
   10842 
   10843 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   10844 # ----------------------------------------
   10845 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   10846 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   10847 # script with STATUS, using 1 if that was 0.
   10848 as_fn_error ()
   10849 {
   10850   as_status=$1; test $as_status -eq 0 && as_status=1
   10851   if test "$4"; then
   10852     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   10853     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   10854   fi
   10855   $as_echo "$as_me: error: $2" >&2
   10856   as_fn_exit $as_status
   10857 } # as_fn_error
   10858 
   10859 
   10860 # as_fn_set_status STATUS
   10861 # -----------------------
   10862 # Set $? to STATUS, without forking.
   10863 as_fn_set_status ()
   10864 {
   10865   return $1
   10866 } # as_fn_set_status
   10867 
   10868 # as_fn_exit STATUS
   10869 # -----------------
   10870 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   10871 as_fn_exit ()
   10872 {
   10873   set +e
   10874   as_fn_set_status $1
   10875   exit $1
   10876 } # as_fn_exit
   10877 
   10878 # as_fn_unset VAR
   10879 # ---------------
   10880 # Portably unset VAR.
   10881 as_fn_unset ()
   10882 {
   10883   { eval $1=; unset $1;}
   10884 }
   10885 as_unset=as_fn_unset
   10886 # as_fn_append VAR VALUE
   10887 # ----------------------
   10888 # Append the text in VALUE to the end of the definition contained in VAR. Take
   10889 # advantage of any shell optimizations that allow amortized linear growth over
   10890 # repeated appends, instead of the typical quadratic growth present in naive
   10891 # implementations.
   10892 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   10893   eval 'as_fn_append ()
   10894   {
   10895     eval $1+=\$2
   10896   }'
   10897 else
   10898   as_fn_append ()
   10899   {
   10900     eval $1=\$$1\$2
   10901   }
   10902 fi # as_fn_append
   10903 
   10904 # as_fn_arith ARG...
   10905 # ------------------
   10906 # Perform arithmetic evaluation on the ARGs, and store the result in the
   10907 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   10908 # must be portable across $(()) and expr.
   10909 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   10910   eval 'as_fn_arith ()
   10911   {
   10912     as_val=$(( $* ))
   10913   }'
   10914 else
   10915   as_fn_arith ()
   10916   {
   10917     as_val=`expr "$@" || test $? -eq 1`
   10918   }
   10919 fi # as_fn_arith
   10920 
   10921 
   10922 if expr a : '\(a\)' >/dev/null 2>&1 &&
   10923    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   10924   as_expr=expr
   10925 else
   10926   as_expr=false
   10927 fi
   10928 
   10929 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   10930   as_basename=basename
   10931 else
   10932   as_basename=false
   10933 fi
   10934 
   10935 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   10936   as_dirname=dirname
   10937 else
   10938   as_dirname=false
   10939 fi
   10940 
   10941 as_me=`$as_basename -- "$0" ||
   10942 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   10943 	 X"$0" : 'X\(//\)$' \| \
   10944 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   10945 $as_echo X/"$0" |
   10946     sed '/^.*\/\([^/][^/]*\)\/*$/{
   10947 	    s//\1/
   10948 	    q
   10949 	  }
   10950 	  /^X\/\(\/\/\)$/{
   10951 	    s//\1/
   10952 	    q
   10953 	  }
   10954 	  /^X\/\(\/\).*/{
   10955 	    s//\1/
   10956 	    q
   10957 	  }
   10958 	  s/.*/./; q'`
   10959 
   10960 # Avoid depending upon Character Ranges.
   10961 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   10962 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   10963 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   10964 as_cr_digits='0123456789'
   10965 as_cr_alnum=$as_cr_Letters$as_cr_digits
   10966 
   10967 ECHO_C= ECHO_N= ECHO_T=
   10968 case `echo -n x` in #(((((
   10969 -n*)
   10970   case `echo 'xy\c'` in
   10971   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   10972   xy)  ECHO_C='\c';;
   10973   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   10974        ECHO_T='	';;
   10975   esac;;
   10976 *)
   10977   ECHO_N='-n';;
   10978 esac
   10979 
   10980 rm -f conf$$ conf$$.exe conf$$.file
   10981 if test -d conf$$.dir; then
   10982   rm -f conf$$.dir/conf$$.file
   10983 else
   10984   rm -f conf$$.dir
   10985   mkdir conf$$.dir 2>/dev/null
   10986 fi
   10987 if (echo >conf$$.file) 2>/dev/null; then
   10988   if ln -s conf$$.file conf$$ 2>/dev/null; then
   10989     as_ln_s='ln -s'
   10990     # ... but there are two gotchas:
   10991     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   10992     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   10993     # In both cases, we have to default to `cp -p'.
   10994     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   10995       as_ln_s='cp -p'
   10996   elif ln conf$$.file conf$$ 2>/dev/null; then
   10997     as_ln_s=ln
   10998   else
   10999     as_ln_s='cp -p'
   11000   fi
   11001 else
   11002   as_ln_s='cp -p'
   11003 fi
   11004 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11005 rmdir conf$$.dir 2>/dev/null
   11006 
   11007 
   11008 # as_fn_mkdir_p
   11009 # -------------
   11010 # Create "$as_dir" as a directory, including parents if necessary.
   11011 as_fn_mkdir_p ()
   11012 {
   11013 
   11014   case $as_dir in #(
   11015   -*) as_dir=./$as_dir;;
   11016   esac
   11017   test -d "$as_dir" || eval $as_mkdir_p || {
   11018     as_dirs=
   11019     while :; do
   11020       case $as_dir in #(
   11021       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11022       *) as_qdir=$as_dir;;
   11023       esac
   11024       as_dirs="'$as_qdir' $as_dirs"
   11025       as_dir=`$as_dirname -- "$as_dir" ||
   11026 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11027 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11028 	 X"$as_dir" : 'X\(//\)$' \| \
   11029 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11030 $as_echo X"$as_dir" |
   11031     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11032 	    s//\1/
   11033 	    q
   11034 	  }
   11035 	  /^X\(\/\/\)[^/].*/{
   11036 	    s//\1/
   11037 	    q
   11038 	  }
   11039 	  /^X\(\/\/\)$/{
   11040 	    s//\1/
   11041 	    q
   11042 	  }
   11043 	  /^X\(\/\).*/{
   11044 	    s//\1/
   11045 	    q
   11046 	  }
   11047 	  s/.*/./; q'`
   11048       test -d "$as_dir" && break
   11049     done
   11050     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11051   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11052 
   11053 
   11054 } # as_fn_mkdir_p
   11055 if mkdir -p . 2>/dev/null; then
   11056   as_mkdir_p='mkdir -p "$as_dir"'
   11057 else
   11058   test -d ./-p && rmdir ./-p
   11059   as_mkdir_p=false
   11060 fi
   11061 
   11062 if test -x / >/dev/null 2>&1; then
   11063   as_test_x='test -x'
   11064 else
   11065   if ls -dL / >/dev/null 2>&1; then
   11066     as_ls_L_option=L
   11067   else
   11068     as_ls_L_option=
   11069   fi
   11070   as_test_x='
   11071     eval sh -c '\''
   11072       if test -d "$1"; then
   11073 	test -d "$1/.";
   11074       else
   11075 	case $1 in #(
   11076 	-*)set "./$1";;
   11077 	esac;
   11078 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   11079 	???[sx]*):;;*)false;;esac;fi
   11080     '\'' sh
   11081   '
   11082 fi
   11083 as_executable_p=$as_test_x
   11084 
   11085 # Sed expression to map a string onto a valid CPP name.
   11086 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11087 
   11088 # Sed expression to map a string onto a valid variable name.
   11089 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11090 
   11091 
   11092 exec 6>&1
   11093 ## ----------------------------------- ##
   11094 ## Main body of $CONFIG_STATUS script. ##
   11095 ## ----------------------------------- ##
   11096 _ASEOF
   11097 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11098 
   11099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11100 # Save the log message, to keep $0 and so on meaningful, and to
   11101 # report actual input values of CONFIG_FILES etc. instead of their
   11102 # values after options handling.
   11103 ac_log="
   11104 This file was extended by beforelight $as_me 1.0.5, which was
   11105 generated by GNU Autoconf 2.68.  Invocation command line was
   11106 
   11107   CONFIG_FILES    = $CONFIG_FILES
   11108   CONFIG_HEADERS  = $CONFIG_HEADERS
   11109   CONFIG_LINKS    = $CONFIG_LINKS
   11110   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11111   $ $0 $@
   11112 
   11113 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11114 "
   11115 
   11116 _ACEOF
   11117 
   11118 case $ac_config_files in *"
   11119 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11120 esac
   11121 
   11122 case $ac_config_headers in *"
   11123 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11124 esac
   11125 
   11126 
   11127 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11128 # Files that config.status was made for.
   11129 config_files="$ac_config_files"
   11130 config_headers="$ac_config_headers"
   11131 config_commands="$ac_config_commands"
   11132 
   11133 _ACEOF
   11134 
   11135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11136 ac_cs_usage="\
   11137 \`$as_me' instantiates files and other configuration actions
   11138 from templates according to the current configuration.  Unless the files
   11139 and actions are specified as TAGs, all are instantiated by default.
   11140 
   11141 Usage: $0 [OPTION]... [TAG]...
   11142 
   11143   -h, --help       print this help, then exit
   11144   -V, --version    print version number and configuration settings, then exit
   11145       --config     print configuration, then exit
   11146   -q, --quiet, --silent
   11147                    do not print progress messages
   11148   -d, --debug      don't remove temporary files
   11149       --recheck    update $as_me by reconfiguring in the same conditions
   11150       --file=FILE[:TEMPLATE]
   11151                    instantiate the configuration file FILE
   11152       --header=FILE[:TEMPLATE]
   11153                    instantiate the configuration header FILE
   11154 
   11155 Configuration files:
   11156 $config_files
   11157 
   11158 Configuration headers:
   11159 $config_headers
   11160 
   11161 Configuration commands:
   11162 $config_commands
   11163 
   11164 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11165 
   11166 _ACEOF
   11167 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11168 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11169 ac_cs_version="\\
   11170 beforelight config.status 1.0.5
   11171 configured by $0, generated by GNU Autoconf 2.68,
   11172   with options \\"\$ac_cs_config\\"
   11173 
   11174 Copyright (C) 2010 Free Software Foundation, Inc.
   11175 This config.status script is free software; the Free Software Foundation
   11176 gives unlimited permission to copy, distribute and modify it."
   11177 
   11178 ac_pwd='$ac_pwd'
   11179 srcdir='$srcdir'
   11180 INSTALL='$INSTALL'
   11181 MKDIR_P='$MKDIR_P'
   11182 AWK='$AWK'
   11183 test -n "\$AWK" || AWK=awk
   11184 _ACEOF
   11185 
   11186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11187 # The default lists apply if the user does not specify any file.
   11188 ac_need_defaults=:
   11189 while test $# != 0
   11190 do
   11191   case $1 in
   11192   --*=?*)
   11193     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11194     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11195     ac_shift=:
   11196     ;;
   11197   --*=)
   11198     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11199     ac_optarg=
   11200     ac_shift=:
   11201     ;;
   11202   *)
   11203     ac_option=$1
   11204     ac_optarg=$2
   11205     ac_shift=shift
   11206     ;;
   11207   esac
   11208 
   11209   case $ac_option in
   11210   # Handling of the options.
   11211   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11212     ac_cs_recheck=: ;;
   11213   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11214     $as_echo "$ac_cs_version"; exit ;;
   11215   --config | --confi | --conf | --con | --co | --c )
   11216     $as_echo "$ac_cs_config"; exit ;;
   11217   --debug | --debu | --deb | --de | --d | -d )
   11218     debug=: ;;
   11219   --file | --fil | --fi | --f )
   11220     $ac_shift
   11221     case $ac_optarg in
   11222     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11223     '') as_fn_error $? "missing file argument" ;;
   11224     esac
   11225     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11226     ac_need_defaults=false;;
   11227   --header | --heade | --head | --hea )
   11228     $ac_shift
   11229     case $ac_optarg in
   11230     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11231     esac
   11232     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11233     ac_need_defaults=false;;
   11234   --he | --h)
   11235     # Conflict between --help and --header
   11236     as_fn_error $? "ambiguous option: \`$1'
   11237 Try \`$0 --help' for more information.";;
   11238   --help | --hel | -h )
   11239     $as_echo "$ac_cs_usage"; exit ;;
   11240   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11241   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11242     ac_cs_silent=: ;;
   11243 
   11244   # This is an error.
   11245   -*) as_fn_error $? "unrecognized option: \`$1'
   11246 Try \`$0 --help' for more information." ;;
   11247 
   11248   *) as_fn_append ac_config_targets " $1"
   11249      ac_need_defaults=false ;;
   11250 
   11251   esac
   11252   shift
   11253 done
   11254 
   11255 ac_configure_extra_args=
   11256 
   11257 if $ac_cs_silent; then
   11258   exec 6>/dev/null
   11259   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11260 fi
   11261 
   11262 _ACEOF
   11263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11264 if \$ac_cs_recheck; then
   11265   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11266   shift
   11267   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11268   CONFIG_SHELL='$SHELL'
   11269   export CONFIG_SHELL
   11270   exec "\$@"
   11271 fi
   11272 
   11273 _ACEOF
   11274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11275 exec 5>>config.log
   11276 {
   11277   echo
   11278   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11279 ## Running $as_me. ##
   11280 _ASBOX
   11281   $as_echo "$ac_log"
   11282 } >&5
   11283 
   11284 _ACEOF
   11285 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11286 #
   11287 # INIT-COMMANDS
   11288 #
   11289 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11290 
   11291 _ACEOF
   11292 
   11293 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11294 
   11295 # Handling of arguments.
   11296 for ac_config_target in $ac_config_targets
   11297 do
   11298   case $ac_config_target in
   11299     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11300     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11301     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11302     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11303 
   11304   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11305   esac
   11306 done
   11307 
   11308 
   11309 # If the user did not use the arguments to specify the items to instantiate,
   11310 # then the envvar interface is used.  Set only those that are not.
   11311 # We use the long form for the default assignment because of an extremely
   11312 # bizarre bug on SunOS 4.1.3.
   11313 if $ac_need_defaults; then
   11314   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11315   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11316   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11317 fi
   11318 
   11319 # Have a temporary directory for convenience.  Make it in the build tree
   11320 # simply because there is no reason against having it here, and in addition,
   11321 # creating and moving files from /tmp can sometimes cause problems.
   11322 # Hook for its removal unless debugging.
   11323 # Note that there is a small window in which the directory will not be cleaned:
   11324 # after its creation but before its name has been assigned to `$tmp'.
   11325 $debug ||
   11326 {
   11327   tmp= ac_tmp=
   11328   trap 'exit_status=$?
   11329   : "${ac_tmp:=$tmp}"
   11330   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11331 ' 0
   11332   trap 'as_fn_exit 1' 1 2 13 15
   11333 }
   11334 # Create a (secure) tmp directory for tmp files.
   11335 
   11336 {
   11337   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11338   test -d "$tmp"
   11339 }  ||
   11340 {
   11341   tmp=./conf$$-$RANDOM
   11342   (umask 077 && mkdir "$tmp")
   11343 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11344 ac_tmp=$tmp
   11345 
   11346 # Set up the scripts for CONFIG_FILES section.
   11347 # No need to generate them if there are no CONFIG_FILES.
   11348 # This happens for instance with `./config.status config.h'.
   11349 if test -n "$CONFIG_FILES"; then
   11350 
   11351 
   11352 ac_cr=`echo X | tr X '\015'`
   11353 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11354 # But we know of no other shell where ac_cr would be empty at this
   11355 # point, so we can use a bashism as a fallback.
   11356 if test "x$ac_cr" = x; then
   11357   eval ac_cr=\$\'\\r\'
   11358 fi
   11359 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11360 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11361   ac_cs_awk_cr='\\r'
   11362 else
   11363   ac_cs_awk_cr=$ac_cr
   11364 fi
   11365 
   11366 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11367 _ACEOF
   11368 
   11369 
   11370 {
   11371   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11372   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11373   echo "_ACEOF"
   11374 } >conf$$subs.sh ||
   11375   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11376 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11377 ac_delim='%!_!# '
   11378 for ac_last_try in false false false false false :; do
   11379   . ./conf$$subs.sh ||
   11380     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11381 
   11382   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11383   if test $ac_delim_n = $ac_delim_num; then
   11384     break
   11385   elif $ac_last_try; then
   11386     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11387   else
   11388     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11389   fi
   11390 done
   11391 rm -f conf$$subs.sh
   11392 
   11393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11394 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11395 _ACEOF
   11396 sed -n '
   11397 h
   11398 s/^/S["/; s/!.*/"]=/
   11399 p
   11400 g
   11401 s/^[^!]*!//
   11402 :repl
   11403 t repl
   11404 s/'"$ac_delim"'$//
   11405 t delim
   11406 :nl
   11407 h
   11408 s/\(.\{148\}\)..*/\1/
   11409 t more1
   11410 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11411 p
   11412 n
   11413 b repl
   11414 :more1
   11415 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11416 p
   11417 g
   11418 s/.\{148\}//
   11419 t nl
   11420 :delim
   11421 h
   11422 s/\(.\{148\}\)..*/\1/
   11423 t more2
   11424 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11425 p
   11426 b
   11427 :more2
   11428 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11429 p
   11430 g
   11431 s/.\{148\}//
   11432 t delim
   11433 ' <conf$$subs.awk | sed '
   11434 /^[^""]/{
   11435   N
   11436   s/\n//
   11437 }
   11438 ' >>$CONFIG_STATUS || ac_write_fail=1
   11439 rm -f conf$$subs.awk
   11440 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11441 _ACAWK
   11442 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11443   for (key in S) S_is_set[key] = 1
   11444   FS = ""
   11445 
   11446 }
   11447 {
   11448   line = $ 0
   11449   nfields = split(line, field, "@")
   11450   substed = 0
   11451   len = length(field[1])
   11452   for (i = 2; i < nfields; i++) {
   11453     key = field[i]
   11454     keylen = length(key)
   11455     if (S_is_set[key]) {
   11456       value = S[key]
   11457       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11458       len += length(value) + length(field[++i])
   11459       substed = 1
   11460     } else
   11461       len += 1 + keylen
   11462   }
   11463 
   11464   print line
   11465 }
   11466 
   11467 _ACAWK
   11468 _ACEOF
   11469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11470 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11471   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11472 else
   11473   cat
   11474 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11475   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11476 _ACEOF
   11477 
   11478 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11479 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11480 # trailing colons and then remove the whole line if VPATH becomes empty
   11481 # (actually we leave an empty line to preserve line numbers).
   11482 if test "x$srcdir" = x.; then
   11483   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11484 h
   11485 s///
   11486 s/^/:/
   11487 s/[	 ]*$/:/
   11488 s/:\$(srcdir):/:/g
   11489 s/:\${srcdir}:/:/g
   11490 s/:@srcdir@:/:/g
   11491 s/^:*//
   11492 s/:*$//
   11493 x
   11494 s/\(=[	 ]*\).*/\1/
   11495 G
   11496 s/\n//
   11497 s/^[^=]*=[	 ]*$//
   11498 }'
   11499 fi
   11500 
   11501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11502 fi # test -n "$CONFIG_FILES"
   11503 
   11504 # Set up the scripts for CONFIG_HEADERS section.
   11505 # No need to generate them if there are no CONFIG_HEADERS.
   11506 # This happens for instance with `./config.status Makefile'.
   11507 if test -n "$CONFIG_HEADERS"; then
   11508 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11509 BEGIN {
   11510 _ACEOF
   11511 
   11512 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11513 # here-document in config.status, that substitutes the proper values into
   11514 # config.h.in to produce config.h.
   11515 
   11516 # Create a delimiter string that does not exist in confdefs.h, to ease
   11517 # handling of long lines.
   11518 ac_delim='%!_!# '
   11519 for ac_last_try in false false :; do
   11520   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11521   if test -z "$ac_tt"; then
   11522     break
   11523   elif $ac_last_try; then
   11524     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11525   else
   11526     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11527   fi
   11528 done
   11529 
   11530 # For the awk script, D is an array of macro values keyed by name,
   11531 # likewise P contains macro parameters if any.  Preserve backslash
   11532 # newline sequences.
   11533 
   11534 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11535 sed -n '
   11536 s/.\{148\}/&'"$ac_delim"'/g
   11537 t rset
   11538 :rset
   11539 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11540 t def
   11541 d
   11542 :def
   11543 s/\\$//
   11544 t bsnl
   11545 s/["\\]/\\&/g
   11546 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11547 D["\1"]=" \3"/p
   11548 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11549 d
   11550 :bsnl
   11551 s/["\\]/\\&/g
   11552 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11553 D["\1"]=" \3\\\\\\n"\\/p
   11554 t cont
   11555 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11556 t cont
   11557 d
   11558 :cont
   11559 n
   11560 s/.\{148\}/&'"$ac_delim"'/g
   11561 t clear
   11562 :clear
   11563 s/\\$//
   11564 t bsnlc
   11565 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11566 d
   11567 :bsnlc
   11568 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11569 b cont
   11570 ' <confdefs.h | sed '
   11571 s/'"$ac_delim"'/"\\\
   11572 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11573 
   11574 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11575   for (key in D) D_is_set[key] = 1
   11576   FS = ""
   11577 }
   11578 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11579   line = \$ 0
   11580   split(line, arg, " ")
   11581   if (arg[1] == "#") {
   11582     defundef = arg[2]
   11583     mac1 = arg[3]
   11584   } else {
   11585     defundef = substr(arg[1], 2)
   11586     mac1 = arg[2]
   11587   }
   11588   split(mac1, mac2, "(") #)
   11589   macro = mac2[1]
   11590   prefix = substr(line, 1, index(line, defundef) - 1)
   11591   if (D_is_set[macro]) {
   11592     # Preserve the white space surrounding the "#".
   11593     print prefix "define", macro P[macro] D[macro]
   11594     next
   11595   } else {
   11596     # Replace #undef with comments.  This is necessary, for example,
   11597     # in the case of _POSIX_SOURCE, which is predefined and required
   11598     # on some systems where configure will not decide to define it.
   11599     if (defundef == "undef") {
   11600       print "/*", prefix defundef, macro, "*/"
   11601       next
   11602     }
   11603   }
   11604 }
   11605 { print }
   11606 _ACAWK
   11607 _ACEOF
   11608 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11609   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11610 fi # test -n "$CONFIG_HEADERS"
   11611 
   11612 
   11613 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11614 shift
   11615 for ac_tag
   11616 do
   11617   case $ac_tag in
   11618   :[FHLC]) ac_mode=$ac_tag; continue;;
   11619   esac
   11620   case $ac_mode$ac_tag in
   11621   :[FHL]*:*);;
   11622   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11623   :[FH]-) ac_tag=-:-;;
   11624   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11625   esac
   11626   ac_save_IFS=$IFS
   11627   IFS=:
   11628   set x $ac_tag
   11629   IFS=$ac_save_IFS
   11630   shift
   11631   ac_file=$1
   11632   shift
   11633 
   11634   case $ac_mode in
   11635   :L) ac_source=$1;;
   11636   :[FH])
   11637     ac_file_inputs=
   11638     for ac_f
   11639     do
   11640       case $ac_f in
   11641       -) ac_f="$ac_tmp/stdin";;
   11642       *) # Look for the file first in the build tree, then in the source tree
   11643 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11644 	 # because $ac_f cannot contain `:'.
   11645 	 test -f "$ac_f" ||
   11646 	   case $ac_f in
   11647 	   [\\/$]*) false;;
   11648 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11649 	   esac ||
   11650 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11651       esac
   11652       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11653       as_fn_append ac_file_inputs " '$ac_f'"
   11654     done
   11655 
   11656     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11657     # use $as_me), people would be surprised to read:
   11658     #    /* config.h.  Generated by config.status.  */
   11659     configure_input='Generated from '`
   11660 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11661 	`' by configure.'
   11662     if test x"$ac_file" != x-; then
   11663       configure_input="$ac_file.  $configure_input"
   11664       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11665 $as_echo "$as_me: creating $ac_file" >&6;}
   11666     fi
   11667     # Neutralize special characters interpreted by sed in replacement strings.
   11668     case $configure_input in #(
   11669     *\&* | *\|* | *\\* )
   11670        ac_sed_conf_input=`$as_echo "$configure_input" |
   11671        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11672     *) ac_sed_conf_input=$configure_input;;
   11673     esac
   11674 
   11675     case $ac_tag in
   11676     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   11677       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   11678     esac
   11679     ;;
   11680   esac
   11681 
   11682   ac_dir=`$as_dirname -- "$ac_file" ||
   11683 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11684 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   11685 	 X"$ac_file" : 'X\(//\)$' \| \
   11686 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   11687 $as_echo X"$ac_file" |
   11688     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11689 	    s//\1/
   11690 	    q
   11691 	  }
   11692 	  /^X\(\/\/\)[^/].*/{
   11693 	    s//\1/
   11694 	    q
   11695 	  }
   11696 	  /^X\(\/\/\)$/{
   11697 	    s//\1/
   11698 	    q
   11699 	  }
   11700 	  /^X\(\/\).*/{
   11701 	    s//\1/
   11702 	    q
   11703 	  }
   11704 	  s/.*/./; q'`
   11705   as_dir="$ac_dir"; as_fn_mkdir_p
   11706   ac_builddir=.
   11707 
   11708 case "$ac_dir" in
   11709 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11710 *)
   11711   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   11712   # A ".." for each directory in $ac_dir_suffix.
   11713   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   11714   case $ac_top_builddir_sub in
   11715   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11716   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   11717   esac ;;
   11718 esac
   11719 ac_abs_top_builddir=$ac_pwd
   11720 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   11721 # for backward compatibility:
   11722 ac_top_builddir=$ac_top_build_prefix
   11723 
   11724 case $srcdir in
   11725   .)  # We are building in place.
   11726     ac_srcdir=.
   11727     ac_top_srcdir=$ac_top_builddir_sub
   11728     ac_abs_top_srcdir=$ac_pwd ;;
   11729   [\\/]* | ?:[\\/]* )  # Absolute name.
   11730     ac_srcdir=$srcdir$ac_dir_suffix;
   11731     ac_top_srcdir=$srcdir
   11732     ac_abs_top_srcdir=$srcdir ;;
   11733   *) # Relative name.
   11734     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   11735     ac_top_srcdir=$ac_top_build_prefix$srcdir
   11736     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   11737 esac
   11738 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   11739 
   11740 
   11741   case $ac_mode in
   11742   :F)
   11743   #
   11744   # CONFIG_FILE
   11745   #
   11746 
   11747   case $INSTALL in
   11748   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   11749   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   11750   esac
   11751   ac_MKDIR_P=$MKDIR_P
   11752   case $MKDIR_P in
   11753   [\\/$]* | ?:[\\/]* ) ;;
   11754   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   11755   esac
   11756 _ACEOF
   11757 
   11758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11759 # If the template does not know about datarootdir, expand it.
   11760 # FIXME: This hack should be removed a few years after 2.60.
   11761 ac_datarootdir_hack=; ac_datarootdir_seen=
   11762 ac_sed_dataroot='
   11763 /datarootdir/ {
   11764   p
   11765   q
   11766 }
   11767 /@datadir@/p
   11768 /@docdir@/p
   11769 /@infodir@/p
   11770 /@localedir@/p
   11771 /@mandir@/p'
   11772 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   11773 *datarootdir*) ac_datarootdir_seen=yes;;
   11774 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   11775   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   11776 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   11777 _ACEOF
   11778 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11779   ac_datarootdir_hack='
   11780   s&@datadir@&$datadir&g
   11781   s&@docdir@&$docdir&g
   11782   s&@infodir@&$infodir&g
   11783   s&@localedir@&$localedir&g
   11784   s&@mandir@&$mandir&g
   11785   s&\\\${datarootdir}&$datarootdir&g' ;;
   11786 esac
   11787 _ACEOF
   11788 
   11789 # Neutralize VPATH when `$srcdir' = `.'.
   11790 # Shell code in configure.ac might set extrasub.
   11791 # FIXME: do we really want to maintain this feature?
   11792 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11793 ac_sed_extra="$ac_vpsub
   11794 $extrasub
   11795 _ACEOF
   11796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11797 :t
   11798 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   11799 s|@configure_input@|$ac_sed_conf_input|;t t
   11800 s&@top_builddir@&$ac_top_builddir_sub&;t t
   11801 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   11802 s&@srcdir@&$ac_srcdir&;t t
   11803 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   11804 s&@top_srcdir@&$ac_top_srcdir&;t t
   11805 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   11806 s&@builddir@&$ac_builddir&;t t
   11807 s&@abs_builddir@&$ac_abs_builddir&;t t
   11808 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   11809 s&@INSTALL@&$ac_INSTALL&;t t
   11810 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   11811 $ac_datarootdir_hack
   11812 "
   11813 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   11814   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11815 
   11816 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   11817   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   11818   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   11819       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   11820   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11821 which seems to be undefined.  Please make sure it is defined" >&5
   11822 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11823 which seems to be undefined.  Please make sure it is defined" >&2;}
   11824 
   11825   rm -f "$ac_tmp/stdin"
   11826   case $ac_file in
   11827   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   11828   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   11829   esac \
   11830   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11831  ;;
   11832   :H)
   11833   #
   11834   # CONFIG_HEADER
   11835   #
   11836   if test x"$ac_file" != x-; then
   11837     {
   11838       $as_echo "/* $configure_input  */" \
   11839       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   11840     } >"$ac_tmp/config.h" \
   11841       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11842     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   11843       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   11844 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   11845     else
   11846       rm -f "$ac_file"
   11847       mv "$ac_tmp/config.h" "$ac_file" \
   11848 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11849     fi
   11850   else
   11851     $as_echo "/* $configure_input  */" \
   11852       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   11853       || as_fn_error $? "could not create -" "$LINENO" 5
   11854   fi
   11855 # Compute "$ac_file"'s index in $config_headers.
   11856 _am_arg="$ac_file"
   11857 _am_stamp_count=1
   11858 for _am_header in $config_headers :; do
   11859   case $_am_header in
   11860     $_am_arg | $_am_arg:* )
   11861       break ;;
   11862     * )
   11863       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   11864   esac
   11865 done
   11866 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   11867 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11868 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   11869 	 X"$_am_arg" : 'X\(//\)$' \| \
   11870 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   11871 $as_echo X"$_am_arg" |
   11872     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11873 	    s//\1/
   11874 	    q
   11875 	  }
   11876 	  /^X\(\/\/\)[^/].*/{
   11877 	    s//\1/
   11878 	    q
   11879 	  }
   11880 	  /^X\(\/\/\)$/{
   11881 	    s//\1/
   11882 	    q
   11883 	  }
   11884 	  /^X\(\/\).*/{
   11885 	    s//\1/
   11886 	    q
   11887 	  }
   11888 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   11889  ;;
   11890 
   11891   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   11892 $as_echo "$as_me: executing $ac_file commands" >&6;}
   11893  ;;
   11894   esac
   11895 
   11896 
   11897   case $ac_file$ac_mode in
   11898     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   11899   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   11900   # are listed without --file.  Let's play safe and only enable the eval
   11901   # if we detect the quoting.
   11902   case $CONFIG_FILES in
   11903   *\'*) eval set x "$CONFIG_FILES" ;;
   11904   *)   set x $CONFIG_FILES ;;
   11905   esac
   11906   shift
   11907   for mf
   11908   do
   11909     # Strip MF so we end up with the name of the file.
   11910     mf=`echo "$mf" | sed -e 's/:.*$//'`
   11911     # Check whether this is an Automake generated Makefile or not.
   11912     # We used to match only the files named `Makefile.in', but
   11913     # some people rename them; so instead we look at the file content.
   11914     # Grep'ing the first line is not enough: some people post-process
   11915     # each Makefile.in and add a new line on top of each file to say so.
   11916     # Grep'ing the whole file is not good either: AIX grep has a line
   11917     # limit of 2048, but all sed's we know have understand at least 4000.
   11918     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   11919       dirpart=`$as_dirname -- "$mf" ||
   11920 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11921 	 X"$mf" : 'X\(//\)[^/]' \| \
   11922 	 X"$mf" : 'X\(//\)$' \| \
   11923 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   11924 $as_echo X"$mf" |
   11925     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11926 	    s//\1/
   11927 	    q
   11928 	  }
   11929 	  /^X\(\/\/\)[^/].*/{
   11930 	    s//\1/
   11931 	    q
   11932 	  }
   11933 	  /^X\(\/\/\)$/{
   11934 	    s//\1/
   11935 	    q
   11936 	  }
   11937 	  /^X\(\/\).*/{
   11938 	    s//\1/
   11939 	    q
   11940 	  }
   11941 	  s/.*/./; q'`
   11942     else
   11943       continue
   11944     fi
   11945     # Extract the definition of DEPDIR, am__include, and am__quote
   11946     # from the Makefile without running `make'.
   11947     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   11948     test -z "$DEPDIR" && continue
   11949     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   11950     test -z "am__include" && continue
   11951     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   11952     # When using ansi2knr, U may be empty or an underscore; expand it
   11953     U=`sed -n 's/^U = //p' < "$mf"`
   11954     # Find all dependency output files, they are included files with
   11955     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   11956     # simplest approach to changing $(DEPDIR) to its actual value in the
   11957     # expansion.
   11958     for file in `sed -n "
   11959       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   11960 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   11961       # Make sure the directory exists.
   11962       test -f "$dirpart/$file" && continue
   11963       fdir=`$as_dirname -- "$file" ||
   11964 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11965 	 X"$file" : 'X\(//\)[^/]' \| \
   11966 	 X"$file" : 'X\(//\)$' \| \
   11967 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   11968 $as_echo X"$file" |
   11969     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11970 	    s//\1/
   11971 	    q
   11972 	  }
   11973 	  /^X\(\/\/\)[^/].*/{
   11974 	    s//\1/
   11975 	    q
   11976 	  }
   11977 	  /^X\(\/\/\)$/{
   11978 	    s//\1/
   11979 	    q
   11980 	  }
   11981 	  /^X\(\/\).*/{
   11982 	    s//\1/
   11983 	    q
   11984 	  }
   11985 	  s/.*/./; q'`
   11986       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   11987       # echo "creating $dirpart/$file"
   11988       echo '# dummy' > "$dirpart/$file"
   11989     done
   11990   done
   11991 }
   11992  ;;
   11993 
   11994   esac
   11995 done # for ac_tag
   11996 
   11997 
   11998 as_fn_exit 0
   11999 _ACEOF
   12000 ac_clean_files=$ac_clean_files_save
   12001 
   12002 test $ac_write_fail = 0 ||
   12003   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12004 
   12005 
   12006 # configure is writing to config.log, and then calls config.status.
   12007 # config.status does its own redirection, appending to config.log.
   12008 # Unfortunately, on DOS this fails, as config.log is still kept open
   12009 # by configure, so config.status won't be able to write to it; its
   12010 # output is simply discarded.  So we exec the FD to /dev/null,
   12011 # effectively closing config.log, so it can be properly (re)opened and
   12012 # appended to by config.status.  When coming back to configure, we
   12013 # need to make the FD available again.
   12014 if test "$no_create" != yes; then
   12015   ac_cs_success=:
   12016   ac_config_status_args=
   12017   test "$silent" = yes &&
   12018     ac_config_status_args="$ac_config_status_args --quiet"
   12019   exec 5>/dev/null
   12020   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12021   exec 5>>config.log
   12022   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12023   # would make configure fail if this is the last instruction.
   12024   $ac_cs_success || as_fn_exit 1
   12025 fi
   12026 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12027   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12028 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12029 fi
   12030 
   12031