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