Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for xinit 1.3.3.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1"
    178   if (eval "$as_required") 2>/dev/null; then :
    179   as_have_required=yes
    180 else
    181   as_have_required=no
    182 fi
    183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    184 
    185 else
    186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    187 as_found=false
    188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    189 do
    190   IFS=$as_save_IFS
    191   test -z "$as_dir" && as_dir=.
    192   as_found=:
    193   case $as_dir in #(
    194 	 /*)
    195 	   for as_base in sh bash ksh sh5; do
    196 	     # Try only shells that exist, to save several forks.
    197 	     as_shell=$as_dir/$as_base
    198 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    199 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    200   CONFIG_SHELL=$as_shell as_have_required=yes
    201 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    202   break 2
    203 fi
    204 fi
    205 	   done;;
    206        esac
    207   as_found=false
    208 done
    209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    210 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    211   CONFIG_SHELL=$SHELL as_have_required=yes
    212 fi; }
    213 IFS=$as_save_IFS
    214 
    215 
    216       if test "x$CONFIG_SHELL" != x; then :
    217   # We cannot yet assume a decent shell, so we have to provide a
    218 	# neutralization value for shells without unset; and this also
    219 	# works around shells that cannot unset nonexistent variables.
    220 	# Preserve -v and -x to the replacement shell.
    221 	BASH_ENV=/dev/null
    222 	ENV=/dev/null
    223 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    224 	export CONFIG_SHELL
    225 	case $- in # ((((
    226 	  *v*x* | *x*v* ) as_opts=-vx ;;
    227 	  *v* ) as_opts=-v ;;
    228 	  *x* ) as_opts=-x ;;
    229 	  * ) as_opts= ;;
    230 	esac
    231 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    232 fi
    233 
    234     if test x$as_have_required = xno; then :
    235   $as_echo "$0: This script requires a shell more modern than all"
    236   $as_echo "$0: the shells that I found on your system."
    237   if test x${ZSH_VERSION+set} = xset ; then
    238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    240   else
    241     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    242 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    243 $0: about your system, including any error possibly output
    244 $0: before this message. Then install a modern shell, or
    245 $0: manually run the script under such a shell if you do
    246 $0: have one."
    247   fi
    248   exit 1
    249 fi
    250 fi
    251 fi
    252 SHELL=${CONFIG_SHELL-/bin/sh}
    253 export SHELL
    254 # Unset more variables known to interfere with behavior of common tools.
    255 CLICOLOR_FORCE= GREP_OPTIONS=
    256 unset CLICOLOR_FORCE GREP_OPTIONS
    257 
    258 ## --------------------- ##
    259 ## M4sh Shell Functions. ##
    260 ## --------------------- ##
    261 # as_fn_unset VAR
    262 # ---------------
    263 # Portably unset VAR.
    264 as_fn_unset ()
    265 {
    266   { eval $1=; unset $1;}
    267 }
    268 as_unset=as_fn_unset
    269 
    270 # as_fn_set_status STATUS
    271 # -----------------------
    272 # Set $? to STATUS, without forking.
    273 as_fn_set_status ()
    274 {
    275   return $1
    276 } # as_fn_set_status
    277 
    278 # as_fn_exit STATUS
    279 # -----------------
    280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    281 as_fn_exit ()
    282 {
    283   set +e
    284   as_fn_set_status $1
    285   exit $1
    286 } # as_fn_exit
    287 
    288 # as_fn_mkdir_p
    289 # -------------
    290 # Create "$as_dir" as a directory, including parents if necessary.
    291 as_fn_mkdir_p ()
    292 {
    293 
    294   case $as_dir in #(
    295   -*) as_dir=./$as_dir;;
    296   esac
    297   test -d "$as_dir" || eval $as_mkdir_p || {
    298     as_dirs=
    299     while :; do
    300       case $as_dir in #(
    301       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    302       *) as_qdir=$as_dir;;
    303       esac
    304       as_dirs="'$as_qdir' $as_dirs"
    305       as_dir=`$as_dirname -- "$as_dir" ||
    306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    307 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    308 	 X"$as_dir" : 'X\(//\)$' \| \
    309 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    310 $as_echo X"$as_dir" |
    311     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    312 	    s//\1/
    313 	    q
    314 	  }
    315 	  /^X\(\/\/\)[^/].*/{
    316 	    s//\1/
    317 	    q
    318 	  }
    319 	  /^X\(\/\/\)$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\).*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  s/.*/./; q'`
    328       test -d "$as_dir" && break
    329     done
    330     test -z "$as_dirs" || eval "mkdir $as_dirs"
    331   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    332 
    333 
    334 } # as_fn_mkdir_p
    335 # as_fn_append VAR VALUE
    336 # ----------------------
    337 # Append the text in VALUE to the end of the definition contained in VAR. Take
    338 # advantage of any shell optimizations that allow amortized linear growth over
    339 # repeated appends, instead of the typical quadratic growth present in naive
    340 # implementations.
    341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    342   eval 'as_fn_append ()
    343   {
    344     eval $1+=\$2
    345   }'
    346 else
    347   as_fn_append ()
    348   {
    349     eval $1=\$$1\$2
    350   }
    351 fi # as_fn_append
    352 
    353 # as_fn_arith ARG...
    354 # ------------------
    355 # Perform arithmetic evaluation on the ARGs, and store the result in the
    356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    357 # must be portable across $(()) and expr.
    358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    359   eval 'as_fn_arith ()
    360   {
    361     as_val=$(( $* ))
    362   }'
    363 else
    364   as_fn_arith ()
    365   {
    366     as_val=`expr "$@" || test $? -eq 1`
    367   }
    368 fi # as_fn_arith
    369 
    370 
    371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    372 # ----------------------------------------
    373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    375 # script with STATUS, using 1 if that was 0.
    376 as_fn_error ()
    377 {
    378   as_status=$1; test $as_status -eq 0 && as_status=1
    379   if test "$4"; then
    380     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    381     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    382   fi
    383   $as_echo "$as_me: error: $2" >&2
    384   as_fn_exit $as_status
    385 } # as_fn_error
    386 
    387 if expr a : '\(a\)' >/dev/null 2>&1 &&
    388    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    389   as_expr=expr
    390 else
    391   as_expr=false
    392 fi
    393 
    394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    395   as_basename=basename
    396 else
    397   as_basename=false
    398 fi
    399 
    400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    401   as_dirname=dirname
    402 else
    403   as_dirname=false
    404 fi
    405 
    406 as_me=`$as_basename -- "$0" ||
    407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    408 	 X"$0" : 'X\(//\)$' \| \
    409 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    410 $as_echo X/"$0" |
    411     sed '/^.*\/\([^/][^/]*\)\/*$/{
    412 	    s//\1/
    413 	    q
    414 	  }
    415 	  /^X\/\(\/\/\)$/{
    416 	    s//\1/
    417 	    q
    418 	  }
    419 	  /^X\/\(\/\).*/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  s/.*/./; q'`
    424 
    425 # Avoid depending upon Character Ranges.
    426 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    429 as_cr_digits='0123456789'
    430 as_cr_alnum=$as_cr_Letters$as_cr_digits
    431 
    432 
    433   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    434   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    435   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    436   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    437   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    438   sed -n '
    439     p
    440     /[$]LINENO/=
    441   ' <$as_myself |
    442     sed '
    443       s/[$]LINENO.*/&-/
    444       t lineno
    445       b
    446       :lineno
    447       N
    448       :loop
    449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    450       t loop
    451       s/-\n.*//
    452     ' >$as_me.lineno &&
    453   chmod +x "$as_me.lineno" ||
    454     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    455 
    456   # Don't try to exec as it changes $[0], causing all sort of problems
    457   # (the dirname of $[0] is not the place where we might find the
    458   # original and so on.  Autoconf is especially sensitive to this).
    459   . "./$as_me.lineno"
    460   # Exit status is that of the last command.
    461   exit
    462 }
    463 
    464 ECHO_C= ECHO_N= ECHO_T=
    465 case `echo -n x` in #(((((
    466 -n*)
    467   case `echo 'xy\c'` in
    468   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    469   xy)  ECHO_C='\c';;
    470   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    471        ECHO_T='	';;
    472   esac;;
    473 *)
    474   ECHO_N='-n';;
    475 esac
    476 
    477 rm -f conf$$ conf$$.exe conf$$.file
    478 if test -d conf$$.dir; then
    479   rm -f conf$$.dir/conf$$.file
    480 else
    481   rm -f conf$$.dir
    482   mkdir conf$$.dir 2>/dev/null
    483 fi
    484 if (echo >conf$$.file) 2>/dev/null; then
    485   if ln -s conf$$.file conf$$ 2>/dev/null; then
    486     as_ln_s='ln -s'
    487     # ... but there are two gotchas:
    488     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    489     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    490     # In both cases, we have to default to `cp -p'.
    491     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    492       as_ln_s='cp -p'
    493   elif ln conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s=ln
    495   else
    496     as_ln_s='cp -p'
    497   fi
    498 else
    499   as_ln_s='cp -p'
    500 fi
    501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    502 rmdir conf$$.dir 2>/dev/null
    503 
    504 if mkdir -p . 2>/dev/null; then
    505   as_mkdir_p='mkdir -p "$as_dir"'
    506 else
    507   test -d ./-p && rmdir ./-p
    508   as_mkdir_p=false
    509 fi
    510 
    511 if test -x / >/dev/null 2>&1; then
    512   as_test_x='test -x'
    513 else
    514   if ls -dL / >/dev/null 2>&1; then
    515     as_ls_L_option=L
    516   else
    517     as_ls_L_option=
    518   fi
    519   as_test_x='
    520     eval sh -c '\''
    521       if test -d "$1"; then
    522 	test -d "$1/.";
    523       else
    524 	case $1 in #(
    525 	-*)set "./$1";;
    526 	esac;
    527 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    528 	???[sx]*):;;*)false;;esac;fi
    529     '\'' sh
    530   '
    531 fi
    532 as_executable_p=$as_test_x
    533 
    534 # Sed expression to map a string onto a valid CPP name.
    535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    536 
    537 # Sed expression to map a string onto a valid variable name.
    538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    539 
    540 
    541 test -n "$DJDIR" || exec 7<&0 </dev/null
    542 exec 6>&1
    543 
    544 # Name of the host.
    545 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    546 # so uname gets run too.
    547 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    548 
    549 #
    550 # Initializations.
    551 #
    552 ac_default_prefix=/usr/local
    553 ac_clean_files=
    554 ac_config_libobj_dir=.
    555 LIBOBJS=
    556 cross_compiling=no
    557 subdirs=
    558 MFLAGS=
    559 MAKEFLAGS=
    560 
    561 # Identity of this package.
    562 PACKAGE_NAME='xinit'
    563 PACKAGE_TARNAME='xinit'
    564 PACKAGE_VERSION='1.3.3'
    565 PACKAGE_STRING='xinit 1.3.3'
    566 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    567 PACKAGE_URL=''
    568 
    569 ac_unique_file="Makefile.am"
    570 # Factoring default headers for most tests.
    571 ac_includes_default="\
    572 #include <stdio.h>
    573 #ifdef HAVE_SYS_TYPES_H
    574 # include <sys/types.h>
    575 #endif
    576 #ifdef HAVE_SYS_STAT_H
    577 # include <sys/stat.h>
    578 #endif
    579 #ifdef STDC_HEADERS
    580 # include <stdlib.h>
    581 # include <stddef.h>
    582 #else
    583 # ifdef HAVE_STDLIB_H
    584 #  include <stdlib.h>
    585 # endif
    586 #endif
    587 #ifdef HAVE_STRING_H
    588 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    589 #  include <memory.h>
    590 # endif
    591 # include <string.h>
    592 #endif
    593 #ifdef HAVE_STRINGS_H
    594 # include <strings.h>
    595 #endif
    596 #ifdef HAVE_INTTYPES_H
    597 # include <inttypes.h>
    598 #endif
    599 #ifdef HAVE_STDINT_H
    600 # include <stdint.h>
    601 #endif
    602 #ifdef HAVE_UNISTD_H
    603 # include <unistd.h>
    604 #endif"
    605 
    606 ac_subst_vars='am__EXEEXT_FALSE
    607 am__EXEEXT_TRUE
    608 LTLIBOBJS
    609 LIBOBJS
    610 XINITDIR
    611 XINIT
    612 XAUTH
    613 XSERVER
    614 XTERM
    615 XCLOCK
    616 TWM
    617 XMODMAP
    618 XRDB
    619 XCONFIGFILEMAN
    620 XCONFIGFILE
    621 XSERVERNAME
    622 SCOMAN
    623 SHELL_CMD
    624 STARTX_COOKIE_FLAGS
    625 OPENSSL
    626 MCOOKIE
    627 XINIT_LIBS
    628 XINIT_CFLAGS
    629 LAUNCHAGENT_XSERVER_FALSE
    630 LAUNCHAGENT_XSERVER_TRUE
    631 TIGER_LAUNCHD_FALSE
    632 TIGER_LAUNCHD_TRUE
    633 LAUNCHD_FALSE
    634 LAUNCHD_TRUE
    635 launchagentxserver
    636 bundleidprefix
    637 launchdaemonsdir
    638 launchagentsdir
    639 LAUNCHD
    640 RAWCPPFLAGS
    641 RAWCPP
    642 MAN_SUBSTS
    643 XORG_MAN_PAGE
    644 ADMIN_MAN_DIR
    645 DRIVER_MAN_DIR
    646 MISC_MAN_DIR
    647 FILE_MAN_DIR
    648 LIB_MAN_DIR
    649 APP_MAN_DIR
    650 ADMIN_MAN_SUFFIX
    651 DRIVER_MAN_SUFFIX
    652 MISC_MAN_SUFFIX
    653 FILE_MAN_SUFFIX
    654 LIB_MAN_SUFFIX
    655 APP_MAN_SUFFIX
    656 SED
    657 host_os
    658 host_vendor
    659 host_cpu
    660 host
    661 build_os
    662 build_vendor
    663 build_cpu
    664 build
    665 INSTALL_CMD
    666 PKG_CONFIG
    667 CHANGELOG_CMD
    668 STRICT_CFLAGS
    669 CWARNFLAGS
    670 BASE_CFLAGS
    671 EGREP
    672 GREP
    673 CPP
    674 am__fastdepCC_FALSE
    675 am__fastdepCC_TRUE
    676 CCDEPMODE
    677 am__nodep
    678 AMDEPBACKSLASH
    679 AMDEP_FALSE
    680 AMDEP_TRUE
    681 am__quote
    682 am__include
    683 DEPDIR
    684 OBJEXT
    685 EXEEXT
    686 ac_ct_CC
    687 CPPFLAGS
    688 LDFLAGS
    689 CFLAGS
    690 CC
    691 MAINT
    692 MAINTAINER_MODE_FALSE
    693 MAINTAINER_MODE_TRUE
    694 AM_BACKSLASH
    695 AM_DEFAULT_VERBOSITY
    696 AM_DEFAULT_V
    697 AM_V
    698 am__untar
    699 am__tar
    700 AMTAR
    701 am__leading_dot
    702 SET_MAKE
    703 AWK
    704 mkdir_p
    705 MKDIR_P
    706 INSTALL_STRIP_PROGRAM
    707 STRIP
    708 install_sh
    709 MAKEINFO
    710 AUTOHEADER
    711 AUTOMAKE
    712 AUTOCONF
    713 ACLOCAL
    714 VERSION
    715 PACKAGE
    716 CYGPATH_W
    717 am__isrc
    718 INSTALL_DATA
    719 INSTALL_SCRIPT
    720 INSTALL_PROGRAM
    721 target_alias
    722 host_alias
    723 build_alias
    724 LIBS
    725 ECHO_T
    726 ECHO_N
    727 ECHO_C
    728 DEFS
    729 mandir
    730 localedir
    731 libdir
    732 psdir
    733 pdfdir
    734 dvidir
    735 htmldir
    736 infodir
    737 docdir
    738 oldincludedir
    739 includedir
    740 localstatedir
    741 sharedstatedir
    742 sysconfdir
    743 datadir
    744 datarootdir
    745 libexecdir
    746 sbindir
    747 bindir
    748 program_transform_name
    749 prefix
    750 exec_prefix
    751 PACKAGE_URL
    752 PACKAGE_BUGREPORT
    753 PACKAGE_STRING
    754 PACKAGE_VERSION
    755 PACKAGE_TARNAME
    756 PACKAGE_NAME
    757 PATH_SEPARATOR
    758 SHELL'
    759 ac_subst_files=''
    760 ac_user_opts='
    761 enable_option_checking
    762 enable_silent_rules
    763 enable_maintainer_mode
    764 enable_dependency_tracking
    765 enable_selective_werror
    766 enable_strict_compilation
    767 with_xrdb
    768 with_xmodmap
    769 with_twm
    770 with_xclock
    771 with_xterm
    772 with_xserver
    773 with_xauth
    774 with_xinit
    775 with_xinitdir
    776 with_launchd
    777 with_launchagents_dir
    778 with_launchagent_xserver
    779 with_launchdaemons_dir
    780 with_launchd_id_prefix
    781 with_bundle_id_prefix
    782 '
    783       ac_precious_vars='build_alias
    784 host_alias
    785 target_alias
    786 CC
    787 CFLAGS
    788 LDFLAGS
    789 LIBS
    790 CPPFLAGS
    791 CPP
    792 PKG_CONFIG
    793 XINIT_CFLAGS
    794 XINIT_LIBS'
    795 
    796 
    797 # Initialize some variables set by options.
    798 ac_init_help=
    799 ac_init_version=false
    800 ac_unrecognized_opts=
    801 ac_unrecognized_sep=
    802 # The variables have the same names as the options, with
    803 # dashes changed to underlines.
    804 cache_file=/dev/null
    805 exec_prefix=NONE
    806 no_create=
    807 no_recursion=
    808 prefix=NONE
    809 program_prefix=NONE
    810 program_suffix=NONE
    811 program_transform_name=s,x,x,
    812 silent=
    813 site=
    814 srcdir=
    815 verbose=
    816 x_includes=NONE
    817 x_libraries=NONE
    818 
    819 # Installation directory options.
    820 # These are left unexpanded so users can "make install exec_prefix=/foo"
    821 # and all the variables that are supposed to be based on exec_prefix
    822 # by default will actually change.
    823 # Use braces instead of parens because sh, perl, etc. also accept them.
    824 # (The list follows the same order as the GNU Coding Standards.)
    825 bindir='${exec_prefix}/bin'
    826 sbindir='${exec_prefix}/sbin'
    827 libexecdir='${exec_prefix}/libexec'
    828 datarootdir='${prefix}/share'
    829 datadir='${datarootdir}'
    830 sysconfdir='${prefix}/etc'
    831 sharedstatedir='${prefix}/com'
    832 localstatedir='${prefix}/var'
    833 includedir='${prefix}/include'
    834 oldincludedir='/usr/include'
    835 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    836 infodir='${datarootdir}/info'
    837 htmldir='${docdir}'
    838 dvidir='${docdir}'
    839 pdfdir='${docdir}'
    840 psdir='${docdir}'
    841 libdir='${exec_prefix}/lib'
    842 localedir='${datarootdir}/locale'
    843 mandir='${datarootdir}/man'
    844 
    845 ac_prev=
    846 ac_dashdash=
    847 for ac_option
    848 do
    849   # If the previous option needs an argument, assign it.
    850   if test -n "$ac_prev"; then
    851     eval $ac_prev=\$ac_option
    852     ac_prev=
    853     continue
    854   fi
    855 
    856   case $ac_option in
    857   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    858   *=)   ac_optarg= ;;
    859   *)    ac_optarg=yes ;;
    860   esac
    861 
    862   # Accept the important Cygnus configure options, so we can diagnose typos.
    863 
    864   case $ac_dashdash$ac_option in
    865   --)
    866     ac_dashdash=yes ;;
    867 
    868   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    869     ac_prev=bindir ;;
    870   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    871     bindir=$ac_optarg ;;
    872 
    873   -build | --build | --buil | --bui | --bu)
    874     ac_prev=build_alias ;;
    875   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    876     build_alias=$ac_optarg ;;
    877 
    878   -cache-file | --cache-file | --cache-fil | --cache-fi \
    879   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    880     ac_prev=cache_file ;;
    881   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    882   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    883     cache_file=$ac_optarg ;;
    884 
    885   --config-cache | -C)
    886     cache_file=config.cache ;;
    887 
    888   -datadir | --datadir | --datadi | --datad)
    889     ac_prev=datadir ;;
    890   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    891     datadir=$ac_optarg ;;
    892 
    893   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    894   | --dataroo | --dataro | --datar)
    895     ac_prev=datarootdir ;;
    896   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    897   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    898     datarootdir=$ac_optarg ;;
    899 
    900   -disable-* | --disable-*)
    901     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    902     # Reject names that are not valid shell variable names.
    903     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    904       as_fn_error $? "invalid feature name: $ac_useropt"
    905     ac_useropt_orig=$ac_useropt
    906     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    907     case $ac_user_opts in
    908       *"
    909 "enable_$ac_useropt"
    910 "*) ;;
    911       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    912 	 ac_unrecognized_sep=', ';;
    913     esac
    914     eval enable_$ac_useropt=no ;;
    915 
    916   -docdir | --docdir | --docdi | --doc | --do)
    917     ac_prev=docdir ;;
    918   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    919     docdir=$ac_optarg ;;
    920 
    921   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    922     ac_prev=dvidir ;;
    923   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    924     dvidir=$ac_optarg ;;
    925 
    926   -enable-* | --enable-*)
    927     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    928     # Reject names that are not valid shell variable names.
    929     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    930       as_fn_error $? "invalid feature name: $ac_useropt"
    931     ac_useropt_orig=$ac_useropt
    932     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    933     case $ac_user_opts in
    934       *"
    935 "enable_$ac_useropt"
    936 "*) ;;
    937       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    938 	 ac_unrecognized_sep=', ';;
    939     esac
    940     eval enable_$ac_useropt=\$ac_optarg ;;
    941 
    942   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    943   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    944   | --exec | --exe | --ex)
    945     ac_prev=exec_prefix ;;
    946   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    947   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    948   | --exec=* | --exe=* | --ex=*)
    949     exec_prefix=$ac_optarg ;;
    950 
    951   -gas | --gas | --ga | --g)
    952     # Obsolete; use --with-gas.
    953     with_gas=yes ;;
    954 
    955   -help | --help | --hel | --he | -h)
    956     ac_init_help=long ;;
    957   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    958     ac_init_help=recursive ;;
    959   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    960     ac_init_help=short ;;
    961 
    962   -host | --host | --hos | --ho)
    963     ac_prev=host_alias ;;
    964   -host=* | --host=* | --hos=* | --ho=*)
    965     host_alias=$ac_optarg ;;
    966 
    967   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    968     ac_prev=htmldir ;;
    969   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    970   | --ht=*)
    971     htmldir=$ac_optarg ;;
    972 
    973   -includedir | --includedir | --includedi | --included | --include \
    974   | --includ | --inclu | --incl | --inc)
    975     ac_prev=includedir ;;
    976   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    977   | --includ=* | --inclu=* | --incl=* | --inc=*)
    978     includedir=$ac_optarg ;;
    979 
    980   -infodir | --infodir | --infodi | --infod | --info | --inf)
    981     ac_prev=infodir ;;
    982   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    983     infodir=$ac_optarg ;;
    984 
    985   -libdir | --libdir | --libdi | --libd)
    986     ac_prev=libdir ;;
    987   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    988     libdir=$ac_optarg ;;
    989 
    990   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    991   | --libexe | --libex | --libe)
    992     ac_prev=libexecdir ;;
    993   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    994   | --libexe=* | --libex=* | --libe=*)
    995     libexecdir=$ac_optarg ;;
    996 
    997   -localedir | --localedir | --localedi | --localed | --locale)
    998     ac_prev=localedir ;;
    999   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1000     localedir=$ac_optarg ;;
   1001 
   1002   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1003   | --localstate | --localstat | --localsta | --localst | --locals)
   1004     ac_prev=localstatedir ;;
   1005   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1006   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1007     localstatedir=$ac_optarg ;;
   1008 
   1009   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1010     ac_prev=mandir ;;
   1011   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1012     mandir=$ac_optarg ;;
   1013 
   1014   -nfp | --nfp | --nf)
   1015     # Obsolete; use --without-fp.
   1016     with_fp=no ;;
   1017 
   1018   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1019   | --no-cr | --no-c | -n)
   1020     no_create=yes ;;
   1021 
   1022   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1023   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1024     no_recursion=yes ;;
   1025 
   1026   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1027   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1028   | --oldin | --oldi | --old | --ol | --o)
   1029     ac_prev=oldincludedir ;;
   1030   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1031   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1032   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1033     oldincludedir=$ac_optarg ;;
   1034 
   1035   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1036     ac_prev=prefix ;;
   1037   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1038     prefix=$ac_optarg ;;
   1039 
   1040   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1041   | --program-pre | --program-pr | --program-p)
   1042     ac_prev=program_prefix ;;
   1043   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1044   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1045     program_prefix=$ac_optarg ;;
   1046 
   1047   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1048   | --program-suf | --program-su | --program-s)
   1049     ac_prev=program_suffix ;;
   1050   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1051   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1052     program_suffix=$ac_optarg ;;
   1053 
   1054   -program-transform-name | --program-transform-name \
   1055   | --program-transform-nam | --program-transform-na \
   1056   | --program-transform-n | --program-transform- \
   1057   | --program-transform | --program-transfor \
   1058   | --program-transfo | --program-transf \
   1059   | --program-trans | --program-tran \
   1060   | --progr-tra | --program-tr | --program-t)
   1061     ac_prev=program_transform_name ;;
   1062   -program-transform-name=* | --program-transform-name=* \
   1063   | --program-transform-nam=* | --program-transform-na=* \
   1064   | --program-transform-n=* | --program-transform-=* \
   1065   | --program-transform=* | --program-transfor=* \
   1066   | --program-transfo=* | --program-transf=* \
   1067   | --program-trans=* | --program-tran=* \
   1068   | --progr-tra=* | --program-tr=* | --program-t=*)
   1069     program_transform_name=$ac_optarg ;;
   1070 
   1071   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1072     ac_prev=pdfdir ;;
   1073   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1074     pdfdir=$ac_optarg ;;
   1075 
   1076   -psdir | --psdir | --psdi | --psd | --ps)
   1077     ac_prev=psdir ;;
   1078   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1079     psdir=$ac_optarg ;;
   1080 
   1081   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1082   | -silent | --silent | --silen | --sile | --sil)
   1083     silent=yes ;;
   1084 
   1085   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1086     ac_prev=sbindir ;;
   1087   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1088   | --sbi=* | --sb=*)
   1089     sbindir=$ac_optarg ;;
   1090 
   1091   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1092   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1093   | --sharedst | --shareds | --shared | --share | --shar \
   1094   | --sha | --sh)
   1095     ac_prev=sharedstatedir ;;
   1096   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1097   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1098   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1099   | --sha=* | --sh=*)
   1100     sharedstatedir=$ac_optarg ;;
   1101 
   1102   -site | --site | --sit)
   1103     ac_prev=site ;;
   1104   -site=* | --site=* | --sit=*)
   1105     site=$ac_optarg ;;
   1106 
   1107   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1108     ac_prev=srcdir ;;
   1109   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1110     srcdir=$ac_optarg ;;
   1111 
   1112   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1113   | --syscon | --sysco | --sysc | --sys | --sy)
   1114     ac_prev=sysconfdir ;;
   1115   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1116   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1117     sysconfdir=$ac_optarg ;;
   1118 
   1119   -target | --target | --targe | --targ | --tar | --ta | --t)
   1120     ac_prev=target_alias ;;
   1121   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1122     target_alias=$ac_optarg ;;
   1123 
   1124   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1125     verbose=yes ;;
   1126 
   1127   -version | --version | --versio | --versi | --vers | -V)
   1128     ac_init_version=: ;;
   1129 
   1130   -with-* | --with-*)
   1131     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1132     # Reject names that are not valid shell variable names.
   1133     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1134       as_fn_error $? "invalid package name: $ac_useropt"
   1135     ac_useropt_orig=$ac_useropt
   1136     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1137     case $ac_user_opts in
   1138       *"
   1139 "with_$ac_useropt"
   1140 "*) ;;
   1141       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1142 	 ac_unrecognized_sep=', ';;
   1143     esac
   1144     eval with_$ac_useropt=\$ac_optarg ;;
   1145 
   1146   -without-* | --without-*)
   1147     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1148     # Reject names that are not valid shell variable names.
   1149     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1150       as_fn_error $? "invalid package name: $ac_useropt"
   1151     ac_useropt_orig=$ac_useropt
   1152     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1153     case $ac_user_opts in
   1154       *"
   1155 "with_$ac_useropt"
   1156 "*) ;;
   1157       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1158 	 ac_unrecognized_sep=', ';;
   1159     esac
   1160     eval with_$ac_useropt=no ;;
   1161 
   1162   --x)
   1163     # Obsolete; use --with-x.
   1164     with_x=yes ;;
   1165 
   1166   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1167   | --x-incl | --x-inc | --x-in | --x-i)
   1168     ac_prev=x_includes ;;
   1169   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1170   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1171     x_includes=$ac_optarg ;;
   1172 
   1173   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1174   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1175     ac_prev=x_libraries ;;
   1176   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1177   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1178     x_libraries=$ac_optarg ;;
   1179 
   1180   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1181 Try \`$0 --help' for more information"
   1182     ;;
   1183 
   1184   *=*)
   1185     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1186     # Reject names that are not valid shell variable names.
   1187     case $ac_envvar in #(
   1188       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1189       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1190     esac
   1191     eval $ac_envvar=\$ac_optarg
   1192     export $ac_envvar ;;
   1193 
   1194   *)
   1195     # FIXME: should be removed in autoconf 3.0.
   1196     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1197     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1198       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1199     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1200     ;;
   1201 
   1202   esac
   1203 done
   1204 
   1205 if test -n "$ac_prev"; then
   1206   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1207   as_fn_error $? "missing argument to $ac_option"
   1208 fi
   1209 
   1210 if test -n "$ac_unrecognized_opts"; then
   1211   case $enable_option_checking in
   1212     no) ;;
   1213     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1214     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1215   esac
   1216 fi
   1217 
   1218 # Check all directory arguments for consistency.
   1219 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1220 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1221 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1222 		libdir localedir mandir
   1223 do
   1224   eval ac_val=\$$ac_var
   1225   # Remove trailing slashes.
   1226   case $ac_val in
   1227     */ )
   1228       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1229       eval $ac_var=\$ac_val;;
   1230   esac
   1231   # Be sure to have absolute directory names.
   1232   case $ac_val in
   1233     [\\/$]* | ?:[\\/]* )  continue;;
   1234     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1235   esac
   1236   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1237 done
   1238 
   1239 # There might be people who depend on the old broken behavior: `$host'
   1240 # used to hold the argument of --host etc.
   1241 # FIXME: To remove some day.
   1242 build=$build_alias
   1243 host=$host_alias
   1244 target=$target_alias
   1245 
   1246 # FIXME: To remove some day.
   1247 if test "x$host_alias" != x; then
   1248   if test "x$build_alias" = x; then
   1249     cross_compiling=maybe
   1250     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1251     If a cross compiler is detected then cross compile mode will be used" >&2
   1252   elif test "x$build_alias" != "x$host_alias"; then
   1253     cross_compiling=yes
   1254   fi
   1255 fi
   1256 
   1257 ac_tool_prefix=
   1258 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1259 
   1260 test "$silent" = yes && exec 6>/dev/null
   1261 
   1262 
   1263 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1264 ac_ls_di=`ls -di .` &&
   1265 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1266   as_fn_error $? "working directory cannot be determined"
   1267 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1268   as_fn_error $? "pwd does not report name of working directory"
   1269 
   1270 
   1271 # Find the source files, if location was not specified.
   1272 if test -z "$srcdir"; then
   1273   ac_srcdir_defaulted=yes
   1274   # Try the directory containing this script, then the parent directory.
   1275   ac_confdir=`$as_dirname -- "$as_myself" ||
   1276 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1277 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1278 	 X"$as_myself" : 'X\(//\)$' \| \
   1279 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1280 $as_echo X"$as_myself" |
   1281     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1282 	    s//\1/
   1283 	    q
   1284 	  }
   1285 	  /^X\(\/\/\)[^/].*/{
   1286 	    s//\1/
   1287 	    q
   1288 	  }
   1289 	  /^X\(\/\/\)$/{
   1290 	    s//\1/
   1291 	    q
   1292 	  }
   1293 	  /^X\(\/\).*/{
   1294 	    s//\1/
   1295 	    q
   1296 	  }
   1297 	  s/.*/./; q'`
   1298   srcdir=$ac_confdir
   1299   if test ! -r "$srcdir/$ac_unique_file"; then
   1300     srcdir=..
   1301   fi
   1302 else
   1303   ac_srcdir_defaulted=no
   1304 fi
   1305 if test ! -r "$srcdir/$ac_unique_file"; then
   1306   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1307   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1308 fi
   1309 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1310 ac_abs_confdir=`(
   1311 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1312 	pwd)`
   1313 # When building in place, set srcdir=.
   1314 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1315   srcdir=.
   1316 fi
   1317 # Remove unnecessary trailing slashes from srcdir.
   1318 # Double slashes in file names in object file debugging info
   1319 # mess up M-x gdb in Emacs.
   1320 case $srcdir in
   1321 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1322 esac
   1323 for ac_var in $ac_precious_vars; do
   1324   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1325   eval ac_env_${ac_var}_value=\$${ac_var}
   1326   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1327   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1328 done
   1329 
   1330 #
   1331 # Report the --help message.
   1332 #
   1333 if test "$ac_init_help" = "long"; then
   1334   # Omit some internal or obsolete options to make the list less imposing.
   1335   # This message is too long to be a string in the A/UX 3.1 sh.
   1336   cat <<_ACEOF
   1337 \`configure' configures xinit 1.3.3 to adapt to many kinds of systems.
   1338 
   1339 Usage: $0 [OPTION]... [VAR=VALUE]...
   1340 
   1341 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1342 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1343 
   1344 Defaults for the options are specified in brackets.
   1345 
   1346 Configuration:
   1347   -h, --help              display this help and exit
   1348       --help=short        display options specific to this package
   1349       --help=recursive    display the short help of all the included packages
   1350   -V, --version           display version information and exit
   1351   -q, --quiet, --silent   do not print \`checking ...' messages
   1352       --cache-file=FILE   cache test results in FILE [disabled]
   1353   -C, --config-cache      alias for \`--cache-file=config.cache'
   1354   -n, --no-create         do not create output files
   1355       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1356 
   1357 Installation directories:
   1358   --prefix=PREFIX         install architecture-independent files in PREFIX
   1359                           [$ac_default_prefix]
   1360   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1361                           [PREFIX]
   1362 
   1363 By default, \`make install' will install all the files in
   1364 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1365 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1366 for instance \`--prefix=\$HOME'.
   1367 
   1368 For better control, use the options below.
   1369 
   1370 Fine tuning of the installation directories:
   1371   --bindir=DIR            user executables [EPREFIX/bin]
   1372   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1373   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1374   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1375   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1376   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1377   --libdir=DIR            object code libraries [EPREFIX/lib]
   1378   --includedir=DIR        C header files [PREFIX/include]
   1379   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1380   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1381   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1382   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1383   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1384   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1385   --docdir=DIR            documentation root [DATAROOTDIR/doc/xinit]
   1386   --htmldir=DIR           html documentation [DOCDIR]
   1387   --dvidir=DIR            dvi documentation [DOCDIR]
   1388   --pdfdir=DIR            pdf documentation [DOCDIR]
   1389   --psdir=DIR             ps documentation [DOCDIR]
   1390 _ACEOF
   1391 
   1392   cat <<\_ACEOF
   1393 
   1394 Program names:
   1395   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1396   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1397   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1398 
   1399 System types:
   1400   --build=BUILD     configure for building on BUILD [guessed]
   1401   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1402 _ACEOF
   1403 fi
   1404 
   1405 if test -n "$ac_init_help"; then
   1406   case $ac_init_help in
   1407      short | recursive ) echo "Configuration of xinit 1.3.3:";;
   1408    esac
   1409   cat <<\_ACEOF
   1410 
   1411 Optional Features:
   1412   --disable-option-checking  ignore unrecognized --enable/--with options
   1413   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1414   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1415   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1416   --disable-silent-rules  verbose build output (undo: "make V=0")
   1417   --enable-maintainer-mode
   1418                           enable make rules and dependencies not useful (and
   1419                           sometimes confusing) to the casual installer
   1420   --enable-dependency-tracking
   1421                           do not reject slow dependency extractors
   1422   --disable-dependency-tracking
   1423                           speeds up one-time build
   1424   --disable-selective-werror
   1425                           Turn off selective compiler errors. (default:
   1426                           enabled)
   1427   --enable-strict-compilation
   1428                           Enable all warnings from compiler and make them
   1429                           errors (default: disabled)
   1430 
   1431 Optional Packages:
   1432   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1433   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1434   --with-xrdb=XRDB        Path to xrdb
   1435   --with-xmodmap=XMODMAP  Path to xmodmap
   1436   --with-twm=TWM          Path to twm
   1437   --with-xclock=XCLOCK    Path to xclock
   1438   --with-xterm=XTERM      Path to xterm
   1439   --with-xserver=XSERVER  Path to default X server
   1440   --with-xauth=XAUTH      Path to xauth
   1441   --with-xinit=XINIT      Path to xinit
   1442   --with-xinitdir=XINITDIR
   1443                           Path to xinitdir
   1444   --with-launchd          Build with support for Apple's launchd (default:
   1445                           auto)
   1446   --with-launchagents-dir=PATH
   1447                           Path to launchd's LaunchAgents directory (default:
   1448                           /Library/LaunchAgents)
   1449   --with-launchagent-xserver=PATH
   1450                           Path to the X server which the LaunchAgent should
   1451                           start (if not provided, let startx decide)"
   1452   --with-launchdaemons-dir=PATH
   1453                           Path to launchd's LaunchDaemonss directory (default:
   1454                           /Library/LaunchDaemons)
   1455   --with-launchd-id-prefix=PATH
   1456                           Deprecated: Use --with-bundle-id-prefix.
   1457   --with-bundle-id-prefix=PATH
   1458                           Prefix to use for bundle identifiers (default:
   1459                           org.x)
   1460 
   1461 Some influential environment variables:
   1462   CC          C compiler command
   1463   CFLAGS      C compiler flags
   1464   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1465               nonstandard directory <lib dir>
   1466   LIBS        libraries to pass to the linker, e.g. -l<library>
   1467   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1468               you have headers in a nonstandard directory <include dir>
   1469   CPP         C preprocessor
   1470   PKG_CONFIG  path to pkg-config utility
   1471   XINIT_CFLAGS
   1472               C compiler flags for XINIT, overriding pkg-config
   1473   XINIT_LIBS  linker flags for XINIT, overriding pkg-config
   1474 
   1475 Use these variables to override the choices made by `configure' or to help
   1476 it to find libraries and programs with nonstandard names/locations.
   1477 
   1478 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1479 _ACEOF
   1480 ac_status=$?
   1481 fi
   1482 
   1483 if test "$ac_init_help" = "recursive"; then
   1484   # If there are subdirs, report their specific --help.
   1485   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1486     test -d "$ac_dir" ||
   1487       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1488       continue
   1489     ac_builddir=.
   1490 
   1491 case "$ac_dir" in
   1492 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1493 *)
   1494   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1495   # A ".." for each directory in $ac_dir_suffix.
   1496   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1497   case $ac_top_builddir_sub in
   1498   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1499   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1500   esac ;;
   1501 esac
   1502 ac_abs_top_builddir=$ac_pwd
   1503 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1504 # for backward compatibility:
   1505 ac_top_builddir=$ac_top_build_prefix
   1506 
   1507 case $srcdir in
   1508   .)  # We are building in place.
   1509     ac_srcdir=.
   1510     ac_top_srcdir=$ac_top_builddir_sub
   1511     ac_abs_top_srcdir=$ac_pwd ;;
   1512   [\\/]* | ?:[\\/]* )  # Absolute name.
   1513     ac_srcdir=$srcdir$ac_dir_suffix;
   1514     ac_top_srcdir=$srcdir
   1515     ac_abs_top_srcdir=$srcdir ;;
   1516   *) # Relative name.
   1517     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1518     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1519     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1520 esac
   1521 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1522 
   1523     cd "$ac_dir" || { ac_status=$?; continue; }
   1524     # Check for guested configure.
   1525     if test -f "$ac_srcdir/configure.gnu"; then
   1526       echo &&
   1527       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1528     elif test -f "$ac_srcdir/configure"; then
   1529       echo &&
   1530       $SHELL "$ac_srcdir/configure" --help=recursive
   1531     else
   1532       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1533     fi || ac_status=$?
   1534     cd "$ac_pwd" || { ac_status=$?; break; }
   1535   done
   1536 fi
   1537 
   1538 test -n "$ac_init_help" && exit $ac_status
   1539 if $ac_init_version; then
   1540   cat <<\_ACEOF
   1541 xinit configure 1.3.3
   1542 generated by GNU Autoconf 2.68
   1543 
   1544 Copyright (C) 2010 Free Software Foundation, Inc.
   1545 This configure script is free software; the Free Software Foundation
   1546 gives unlimited permission to copy, distribute and modify it.
   1547 _ACEOF
   1548   exit
   1549 fi
   1550 
   1551 ## ------------------------ ##
   1552 ## Autoconf initialization. ##
   1553 ## ------------------------ ##
   1554 
   1555 # ac_fn_c_try_compile LINENO
   1556 # --------------------------
   1557 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1558 ac_fn_c_try_compile ()
   1559 {
   1560   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1561   rm -f conftest.$ac_objext
   1562   if { { ac_try="$ac_compile"
   1563 case "(($ac_try" in
   1564   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1565   *) ac_try_echo=$ac_try;;
   1566 esac
   1567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1568 $as_echo "$ac_try_echo"; } >&5
   1569   (eval "$ac_compile") 2>conftest.err
   1570   ac_status=$?
   1571   if test -s conftest.err; then
   1572     grep -v '^ *+' conftest.err >conftest.er1
   1573     cat conftest.er1 >&5
   1574     mv -f conftest.er1 conftest.err
   1575   fi
   1576   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1577   test $ac_status = 0; } && {
   1578 	 test -z "$ac_c_werror_flag" ||
   1579 	 test ! -s conftest.err
   1580        } && test -s conftest.$ac_objext; then :
   1581   ac_retval=0
   1582 else
   1583   $as_echo "$as_me: failed program was:" >&5
   1584 sed 's/^/| /' conftest.$ac_ext >&5
   1585 
   1586 	ac_retval=1
   1587 fi
   1588   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1589   as_fn_set_status $ac_retval
   1590 
   1591 } # ac_fn_c_try_compile
   1592 
   1593 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1594 # ---------------------------------------------
   1595 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1596 # accordingly.
   1597 ac_fn_c_check_decl ()
   1598 {
   1599   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1600   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1601   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1603 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1604 if eval \${$3+:} false; then :
   1605   $as_echo_n "(cached) " >&6
   1606 else
   1607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1608 /* end confdefs.h.  */
   1609 $4
   1610 int
   1611 main ()
   1612 {
   1613 #ifndef $as_decl_name
   1614 #ifdef __cplusplus
   1615   (void) $as_decl_use;
   1616 #else
   1617   (void) $as_decl_name;
   1618 #endif
   1619 #endif
   1620 
   1621   ;
   1622   return 0;
   1623 }
   1624 _ACEOF
   1625 if ac_fn_c_try_compile "$LINENO"; then :
   1626   eval "$3=yes"
   1627 else
   1628   eval "$3=no"
   1629 fi
   1630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1631 fi
   1632 eval ac_res=\$$3
   1633 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1634 $as_echo "$ac_res" >&6; }
   1635   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1636 
   1637 } # ac_fn_c_check_decl
   1638 
   1639 # ac_fn_c_try_cpp LINENO
   1640 # ----------------------
   1641 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1642 ac_fn_c_try_cpp ()
   1643 {
   1644   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1645   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1646 case "(($ac_try" in
   1647   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1648   *) ac_try_echo=$ac_try;;
   1649 esac
   1650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1651 $as_echo "$ac_try_echo"; } >&5
   1652   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1653   ac_status=$?
   1654   if test -s conftest.err; then
   1655     grep -v '^ *+' conftest.err >conftest.er1
   1656     cat conftest.er1 >&5
   1657     mv -f conftest.er1 conftest.err
   1658   fi
   1659   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1660   test $ac_status = 0; } > conftest.i && {
   1661 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1662 	 test ! -s conftest.err
   1663        }; then :
   1664   ac_retval=0
   1665 else
   1666   $as_echo "$as_me: failed program was:" >&5
   1667 sed 's/^/| /' conftest.$ac_ext >&5
   1668 
   1669     ac_retval=1
   1670 fi
   1671   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1672   as_fn_set_status $ac_retval
   1673 
   1674 } # ac_fn_c_try_cpp
   1675 
   1676 # ac_fn_c_try_run LINENO
   1677 # ----------------------
   1678 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1679 # that executables *can* be run.
   1680 ac_fn_c_try_run ()
   1681 {
   1682   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1683   if { { ac_try="$ac_link"
   1684 case "(($ac_try" in
   1685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1686   *) ac_try_echo=$ac_try;;
   1687 esac
   1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1689 $as_echo "$ac_try_echo"; } >&5
   1690   (eval "$ac_link") 2>&5
   1691   ac_status=$?
   1692   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1693   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   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_try") 2>&5
   1701   ac_status=$?
   1702   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1703   test $ac_status = 0; }; }; then :
   1704   ac_retval=0
   1705 else
   1706   $as_echo "$as_me: program exited with status $ac_status" >&5
   1707        $as_echo "$as_me: failed program was:" >&5
   1708 sed 's/^/| /' conftest.$ac_ext >&5
   1709 
   1710        ac_retval=$ac_status
   1711 fi
   1712   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1713   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1714   as_fn_set_status $ac_retval
   1715 
   1716 } # ac_fn_c_try_run
   1717 
   1718 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1719 # -------------------------------------------------------
   1720 # Tests whether HEADER exists and can be compiled using the include files in
   1721 # INCLUDES, setting the cache variable VAR accordingly.
   1722 ac_fn_c_check_header_compile ()
   1723 {
   1724   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1726 $as_echo_n "checking for $2... " >&6; }
   1727 if eval \${$3+:} false; then :
   1728   $as_echo_n "(cached) " >&6
   1729 else
   1730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1731 /* end confdefs.h.  */
   1732 $4
   1733 #include <$2>
   1734 _ACEOF
   1735 if ac_fn_c_try_compile "$LINENO"; then :
   1736   eval "$3=yes"
   1737 else
   1738   eval "$3=no"
   1739 fi
   1740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1741 fi
   1742 eval ac_res=\$$3
   1743 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1744 $as_echo "$ac_res" >&6; }
   1745   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1746 
   1747 } # ac_fn_c_check_header_compile
   1748 
   1749 # ac_fn_c_try_link LINENO
   1750 # -----------------------
   1751 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1752 ac_fn_c_try_link ()
   1753 {
   1754   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1755   rm -f conftest.$ac_objext conftest$ac_exeext
   1756   if { { ac_try="$ac_link"
   1757 case "(($ac_try" in
   1758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1759   *) ac_try_echo=$ac_try;;
   1760 esac
   1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1762 $as_echo "$ac_try_echo"; } >&5
   1763   (eval "$ac_link") 2>conftest.err
   1764   ac_status=$?
   1765   if test -s conftest.err; then
   1766     grep -v '^ *+' conftest.err >conftest.er1
   1767     cat conftest.er1 >&5
   1768     mv -f conftest.er1 conftest.err
   1769   fi
   1770   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1771   test $ac_status = 0; } && {
   1772 	 test -z "$ac_c_werror_flag" ||
   1773 	 test ! -s conftest.err
   1774        } && test -s conftest$ac_exeext && {
   1775 	 test "$cross_compiling" = yes ||
   1776 	 $as_test_x conftest$ac_exeext
   1777        }; then :
   1778   ac_retval=0
   1779 else
   1780   $as_echo "$as_me: failed program was:" >&5
   1781 sed 's/^/| /' conftest.$ac_ext >&5
   1782 
   1783 	ac_retval=1
   1784 fi
   1785   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1786   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1787   # interfere with the next link command; also delete a directory that is
   1788   # left behind by Apple's compiler.  We do this before executing the actions.
   1789   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1790   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1791   as_fn_set_status $ac_retval
   1792 
   1793 } # ac_fn_c_try_link
   1794 
   1795 # ac_fn_c_check_func LINENO FUNC VAR
   1796 # ----------------------------------
   1797 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1798 ac_fn_c_check_func ()
   1799 {
   1800   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1801   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1802 $as_echo_n "checking for $2... " >&6; }
   1803 if eval \${$3+:} false; then :
   1804   $as_echo_n "(cached) " >&6
   1805 else
   1806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1807 /* end confdefs.h.  */
   1808 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1809    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1810 #define $2 innocuous_$2
   1811 
   1812 /* System header to define __stub macros and hopefully few prototypes,
   1813     which can conflict with char $2 (); below.
   1814     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1815     <limits.h> exists even on freestanding compilers.  */
   1816 
   1817 #ifdef __STDC__
   1818 # include <limits.h>
   1819 #else
   1820 # include <assert.h>
   1821 #endif
   1822 
   1823 #undef $2
   1824 
   1825 /* Override any GCC internal prototype to avoid an error.
   1826    Use char because int might match the return type of a GCC
   1827    builtin and then its argument prototype would still apply.  */
   1828 #ifdef __cplusplus
   1829 extern "C"
   1830 #endif
   1831 char $2 ();
   1832 /* The GNU C library defines this for functions which it implements
   1833     to always fail with ENOSYS.  Some functions are actually named
   1834     something starting with __ and the normal name is an alias.  */
   1835 #if defined __stub_$2 || defined __stub___$2
   1836 choke me
   1837 #endif
   1838 
   1839 int
   1840 main ()
   1841 {
   1842 return $2 ();
   1843   ;
   1844   return 0;
   1845 }
   1846 _ACEOF
   1847 if ac_fn_c_try_link "$LINENO"; then :
   1848   eval "$3=yes"
   1849 else
   1850   eval "$3=no"
   1851 fi
   1852 rm -f core conftest.err conftest.$ac_objext \
   1853     conftest$ac_exeext conftest.$ac_ext
   1854 fi
   1855 eval ac_res=\$$3
   1856 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1857 $as_echo "$ac_res" >&6; }
   1858   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1859 
   1860 } # ac_fn_c_check_func
   1861 cat >config.log <<_ACEOF
   1862 This file contains any messages produced by compilers while
   1863 running configure, to aid debugging if configure makes a mistake.
   1864 
   1865 It was created by xinit $as_me 1.3.3, which was
   1866 generated by GNU Autoconf 2.68.  Invocation command line was
   1867 
   1868   $ $0 $@
   1869 
   1870 _ACEOF
   1871 exec 5>>config.log
   1872 {
   1873 cat <<_ASUNAME
   1874 ## --------- ##
   1875 ## Platform. ##
   1876 ## --------- ##
   1877 
   1878 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1879 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1880 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1881 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1882 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1883 
   1884 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1885 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1886 
   1887 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1888 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1889 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1890 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1891 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1892 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1893 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1894 
   1895 _ASUNAME
   1896 
   1897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1898 for as_dir in $PATH
   1899 do
   1900   IFS=$as_save_IFS
   1901   test -z "$as_dir" && as_dir=.
   1902     $as_echo "PATH: $as_dir"
   1903   done
   1904 IFS=$as_save_IFS
   1905 
   1906 } >&5
   1907 
   1908 cat >&5 <<_ACEOF
   1909 
   1910 
   1911 ## ----------- ##
   1912 ## Core tests. ##
   1913 ## ----------- ##
   1914 
   1915 _ACEOF
   1916 
   1917 
   1918 # Keep a trace of the command line.
   1919 # Strip out --no-create and --no-recursion so they do not pile up.
   1920 # Strip out --silent because we don't want to record it for future runs.
   1921 # Also quote any args containing shell meta-characters.
   1922 # Make two passes to allow for proper duplicate-argument suppression.
   1923 ac_configure_args=
   1924 ac_configure_args0=
   1925 ac_configure_args1=
   1926 ac_must_keep_next=false
   1927 for ac_pass in 1 2
   1928 do
   1929   for ac_arg
   1930   do
   1931     case $ac_arg in
   1932     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1933     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1934     | -silent | --silent | --silen | --sile | --sil)
   1935       continue ;;
   1936     *\'*)
   1937       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1938     esac
   1939     case $ac_pass in
   1940     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1941     2)
   1942       as_fn_append ac_configure_args1 " '$ac_arg'"
   1943       if test $ac_must_keep_next = true; then
   1944 	ac_must_keep_next=false # Got value, back to normal.
   1945       else
   1946 	case $ac_arg in
   1947 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1948 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1949 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1950 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1951 	    case "$ac_configure_args0 " in
   1952 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1953 	    esac
   1954 	    ;;
   1955 	  -* ) ac_must_keep_next=true ;;
   1956 	esac
   1957       fi
   1958       as_fn_append ac_configure_args " '$ac_arg'"
   1959       ;;
   1960     esac
   1961   done
   1962 done
   1963 { ac_configure_args0=; unset ac_configure_args0;}
   1964 { ac_configure_args1=; unset ac_configure_args1;}
   1965 
   1966 # When interrupted or exit'd, cleanup temporary files, and complete
   1967 # config.log.  We remove comments because anyway the quotes in there
   1968 # would cause problems or look ugly.
   1969 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1970 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1971 trap 'exit_status=$?
   1972   # Save into config.log some information that might help in debugging.
   1973   {
   1974     echo
   1975 
   1976     $as_echo "## ---------------- ##
   1977 ## Cache variables. ##
   1978 ## ---------------- ##"
   1979     echo
   1980     # The following way of writing the cache mishandles newlines in values,
   1981 (
   1982   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1983     eval ac_val=\$$ac_var
   1984     case $ac_val in #(
   1985     *${as_nl}*)
   1986       case $ac_var in #(
   1987       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1988 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1989       esac
   1990       case $ac_var in #(
   1991       _ | IFS | as_nl) ;; #(
   1992       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1993       *) { eval $ac_var=; unset $ac_var;} ;;
   1994       esac ;;
   1995     esac
   1996   done
   1997   (set) 2>&1 |
   1998     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1999     *${as_nl}ac_space=\ *)
   2000       sed -n \
   2001 	"s/'\''/'\''\\\\'\'''\''/g;
   2002 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2003       ;; #(
   2004     *)
   2005       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2006       ;;
   2007     esac |
   2008     sort
   2009 )
   2010     echo
   2011 
   2012     $as_echo "## ----------------- ##
   2013 ## Output variables. ##
   2014 ## ----------------- ##"
   2015     echo
   2016     for ac_var in $ac_subst_vars
   2017     do
   2018       eval ac_val=\$$ac_var
   2019       case $ac_val in
   2020       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2021       esac
   2022       $as_echo "$ac_var='\''$ac_val'\''"
   2023     done | sort
   2024     echo
   2025 
   2026     if test -n "$ac_subst_files"; then
   2027       $as_echo "## ------------------- ##
   2028 ## File substitutions. ##
   2029 ## ------------------- ##"
   2030       echo
   2031       for ac_var in $ac_subst_files
   2032       do
   2033 	eval ac_val=\$$ac_var
   2034 	case $ac_val in
   2035 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2036 	esac
   2037 	$as_echo "$ac_var='\''$ac_val'\''"
   2038       done | sort
   2039       echo
   2040     fi
   2041 
   2042     if test -s confdefs.h; then
   2043       $as_echo "## ----------- ##
   2044 ## confdefs.h. ##
   2045 ## ----------- ##"
   2046       echo
   2047       cat confdefs.h
   2048       echo
   2049     fi
   2050     test "$ac_signal" != 0 &&
   2051       $as_echo "$as_me: caught signal $ac_signal"
   2052     $as_echo "$as_me: exit $exit_status"
   2053   } >&5
   2054   rm -f core *.core core.conftest.* &&
   2055     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2056     exit $exit_status
   2057 ' 0
   2058 for ac_signal in 1 2 13 15; do
   2059   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2060 done
   2061 ac_signal=0
   2062 
   2063 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2064 rm -f -r conftest* confdefs.h
   2065 
   2066 $as_echo "/* confdefs.h */" > confdefs.h
   2067 
   2068 # Predefined preprocessor variables.
   2069 
   2070 cat >>confdefs.h <<_ACEOF
   2071 #define PACKAGE_NAME "$PACKAGE_NAME"
   2072 _ACEOF
   2073 
   2074 cat >>confdefs.h <<_ACEOF
   2075 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2076 _ACEOF
   2077 
   2078 cat >>confdefs.h <<_ACEOF
   2079 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2080 _ACEOF
   2081 
   2082 cat >>confdefs.h <<_ACEOF
   2083 #define PACKAGE_STRING "$PACKAGE_STRING"
   2084 _ACEOF
   2085 
   2086 cat >>confdefs.h <<_ACEOF
   2087 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2088 _ACEOF
   2089 
   2090 cat >>confdefs.h <<_ACEOF
   2091 #define PACKAGE_URL "$PACKAGE_URL"
   2092 _ACEOF
   2093 
   2094 
   2095 # Let the site file select an alternate cache file if it wants to.
   2096 # Prefer an explicitly selected file to automatically selected ones.
   2097 ac_site_file1=NONE
   2098 ac_site_file2=NONE
   2099 if test -n "$CONFIG_SITE"; then
   2100   # We do not want a PATH search for config.site.
   2101   case $CONFIG_SITE in #((
   2102     -*)  ac_site_file1=./$CONFIG_SITE;;
   2103     */*) ac_site_file1=$CONFIG_SITE;;
   2104     *)   ac_site_file1=./$CONFIG_SITE;;
   2105   esac
   2106 elif test "x$prefix" != xNONE; then
   2107   ac_site_file1=$prefix/share/config.site
   2108   ac_site_file2=$prefix/etc/config.site
   2109 else
   2110   ac_site_file1=$ac_default_prefix/share/config.site
   2111   ac_site_file2=$ac_default_prefix/etc/config.site
   2112 fi
   2113 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2114 do
   2115   test "x$ac_site_file" = xNONE && continue
   2116   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2117     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2118 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2119     sed 's/^/| /' "$ac_site_file" >&5
   2120     . "$ac_site_file" \
   2121       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2123 as_fn_error $? "failed to load site script $ac_site_file
   2124 See \`config.log' for more details" "$LINENO" 5; }
   2125   fi
   2126 done
   2127 
   2128 if test -r "$cache_file"; then
   2129   # Some versions of bash will fail to source /dev/null (special files
   2130   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2131   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2132     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2133 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2134     case $cache_file in
   2135       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2136       *)                      . "./$cache_file";;
   2137     esac
   2138   fi
   2139 else
   2140   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2141 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2142   >$cache_file
   2143 fi
   2144 
   2145 # Check that the precious variables saved in the cache have kept the same
   2146 # value.
   2147 ac_cache_corrupted=false
   2148 for ac_var in $ac_precious_vars; do
   2149   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2150   eval ac_new_set=\$ac_env_${ac_var}_set
   2151   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2152   eval ac_new_val=\$ac_env_${ac_var}_value
   2153   case $ac_old_set,$ac_new_set in
   2154     set,)
   2155       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2156 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2157       ac_cache_corrupted=: ;;
   2158     ,set)
   2159       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2160 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2161       ac_cache_corrupted=: ;;
   2162     ,);;
   2163     *)
   2164       if test "x$ac_old_val" != "x$ac_new_val"; then
   2165 	# differences in whitespace do not lead to failure.
   2166 	ac_old_val_w=`echo x $ac_old_val`
   2167 	ac_new_val_w=`echo x $ac_new_val`
   2168 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2169 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2170 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2171 	  ac_cache_corrupted=:
   2172 	else
   2173 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2174 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2175 	  eval $ac_var=\$ac_old_val
   2176 	fi
   2177 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2178 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2179 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2180 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2181       fi;;
   2182   esac
   2183   # Pass precious variables to config.status.
   2184   if test "$ac_new_set" = set; then
   2185     case $ac_new_val in
   2186     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2187     *) ac_arg=$ac_var=$ac_new_val ;;
   2188     esac
   2189     case " $ac_configure_args " in
   2190       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2191       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2192     esac
   2193   fi
   2194 done
   2195 if $ac_cache_corrupted; then
   2196   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2198   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2199 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2200   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2201 fi
   2202 ## -------------------- ##
   2203 ## Main body of script. ##
   2204 ## -------------------- ##
   2205 
   2206 ac_ext=c
   2207 ac_cpp='$CPP $CPPFLAGS'
   2208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2211 
   2212 
   2213 
   2214 ac_config_headers="$ac_config_headers config.h"
   2215 
   2216 
   2217 # Initialize Automake
   2218 am__api_version='1.14'
   2219 
   2220 ac_aux_dir=
   2221 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2222   if test -f "$ac_dir/install-sh"; then
   2223     ac_aux_dir=$ac_dir
   2224     ac_install_sh="$ac_aux_dir/install-sh -c"
   2225     break
   2226   elif test -f "$ac_dir/install.sh"; then
   2227     ac_aux_dir=$ac_dir
   2228     ac_install_sh="$ac_aux_dir/install.sh -c"
   2229     break
   2230   elif test -f "$ac_dir/shtool"; then
   2231     ac_aux_dir=$ac_dir
   2232     ac_install_sh="$ac_aux_dir/shtool install -c"
   2233     break
   2234   fi
   2235 done
   2236 if test -z "$ac_aux_dir"; then
   2237   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2238 fi
   2239 
   2240 # These three variables are undocumented and unsupported,
   2241 # and are intended to be withdrawn in a future Autoconf release.
   2242 # They can cause serious problems if a builder's source tree is in a directory
   2243 # whose full name contains unusual characters.
   2244 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2245 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2246 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2247 
   2248 
   2249 # Find a good install program.  We prefer a C program (faster),
   2250 # so one script is as good as another.  But avoid the broken or
   2251 # incompatible versions:
   2252 # SysV /etc/install, /usr/sbin/install
   2253 # SunOS /usr/etc/install
   2254 # IRIX /sbin/install
   2255 # AIX /bin/install
   2256 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2257 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2258 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2259 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2260 # OS/2's system install, which has a completely different semantic
   2261 # ./install, which can be erroneously created by make from ./install.sh.
   2262 # Reject install programs that cannot install multiple files.
   2263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2264 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2265 if test -z "$INSTALL"; then
   2266 if ${ac_cv_path_install+:} false; then :
   2267   $as_echo_n "(cached) " >&6
   2268 else
   2269   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2270 for as_dir in $PATH
   2271 do
   2272   IFS=$as_save_IFS
   2273   test -z "$as_dir" && as_dir=.
   2274     # Account for people who put trailing slashes in PATH elements.
   2275 case $as_dir/ in #((
   2276   ./ | .// | /[cC]/* | \
   2277   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2278   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2279   /usr/ucb/* ) ;;
   2280   *)
   2281     # OSF1 and SCO ODT 3.0 have their own names for install.
   2282     # Don't use installbsd from OSF since it installs stuff as root
   2283     # by default.
   2284     for ac_prog in ginstall scoinst install; do
   2285       for ac_exec_ext in '' $ac_executable_extensions; do
   2286 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2287 	  if test $ac_prog = install &&
   2288 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2289 	    # AIX install.  It has an incompatible calling convention.
   2290 	    :
   2291 	  elif test $ac_prog = install &&
   2292 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2293 	    # program-specific install script used by HP pwplus--don't use.
   2294 	    :
   2295 	  else
   2296 	    rm -rf conftest.one conftest.two conftest.dir
   2297 	    echo one > conftest.one
   2298 	    echo two > conftest.two
   2299 	    mkdir conftest.dir
   2300 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2301 	      test -s conftest.one && test -s conftest.two &&
   2302 	      test -s conftest.dir/conftest.one &&
   2303 	      test -s conftest.dir/conftest.two
   2304 	    then
   2305 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2306 	      break 3
   2307 	    fi
   2308 	  fi
   2309 	fi
   2310       done
   2311     done
   2312     ;;
   2313 esac
   2314 
   2315   done
   2316 IFS=$as_save_IFS
   2317 
   2318 rm -rf conftest.one conftest.two conftest.dir
   2319 
   2320 fi
   2321   if test "${ac_cv_path_install+set}" = set; then
   2322     INSTALL=$ac_cv_path_install
   2323   else
   2324     # As a last resort, use the slow shell script.  Don't cache a
   2325     # value for INSTALL within a source directory, because that will
   2326     # break other packages using the cache if that directory is
   2327     # removed, or if the value is a relative name.
   2328     INSTALL=$ac_install_sh
   2329   fi
   2330 fi
   2331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2332 $as_echo "$INSTALL" >&6; }
   2333 
   2334 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2335 # It thinks the first close brace ends the variable substitution.
   2336 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2337 
   2338 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2339 
   2340 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2341 
   2342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2343 $as_echo_n "checking whether build environment is sane... " >&6; }
   2344 # Reject unsafe characters in $srcdir or the absolute working directory
   2345 # name.  Accept space and tab only in the latter.
   2346 am_lf='
   2347 '
   2348 case `pwd` in
   2349   *[\\\"\#\$\&\'\`$am_lf]*)
   2350     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2351 esac
   2352 case $srcdir in
   2353   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2354     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2355 esac
   2356 
   2357 # Do 'set' in a subshell so we don't clobber the current shell's
   2358 # arguments.  Must try -L first in case configure is actually a
   2359 # symlink; some systems play weird games with the mod time of symlinks
   2360 # (eg FreeBSD returns the mod time of the symlink's containing
   2361 # directory).
   2362 if (
   2363    am_has_slept=no
   2364    for am_try in 1 2; do
   2365      echo "timestamp, slept: $am_has_slept" > conftest.file
   2366      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2367      if test "$*" = "X"; then
   2368 	# -L didn't work.
   2369 	set X `ls -t "$srcdir/configure" conftest.file`
   2370      fi
   2371      if test "$*" != "X $srcdir/configure conftest.file" \
   2372 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2373 
   2374 	# If neither matched, then we have a broken ls.  This can happen
   2375 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2376 	# broken ls alias from the environment.  This has actually
   2377 	# happened.  Such a system could not be considered "sane".
   2378 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2379   alias in your environment" "$LINENO" 5
   2380      fi
   2381      if test "$2" = conftest.file || test $am_try -eq 2; then
   2382        break
   2383      fi
   2384      # Just in case.
   2385      sleep 1
   2386      am_has_slept=yes
   2387    done
   2388    test "$2" = conftest.file
   2389    )
   2390 then
   2391    # Ok.
   2392    :
   2393 else
   2394    as_fn_error $? "newly created file is older than distributed files!
   2395 Check your system clock" "$LINENO" 5
   2396 fi
   2397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2398 $as_echo "yes" >&6; }
   2399 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2400 # generated files are strictly newer.
   2401 am_sleep_pid=
   2402 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2403   ( sleep 1 ) &
   2404   am_sleep_pid=$!
   2405 fi
   2406 
   2407 rm -f conftest.file
   2408 
   2409 test "$program_prefix" != NONE &&
   2410   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2411 # Use a double $ so make ignores it.
   2412 test "$program_suffix" != NONE &&
   2413   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2414 # Double any \ or $.
   2415 # By default was `s,x,x', remove it if useless.
   2416 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2417 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2418 
   2419 # expand $ac_aux_dir to an absolute path
   2420 am_aux_dir=`cd $ac_aux_dir && pwd`
   2421 
   2422 if test x"${MISSING+set}" != xset; then
   2423   case $am_aux_dir in
   2424   *\ * | *\	*)
   2425     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2426   *)
   2427     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2428   esac
   2429 fi
   2430 # Use eval to expand $SHELL
   2431 if eval "$MISSING --is-lightweight"; then
   2432   am_missing_run="$MISSING "
   2433 else
   2434   am_missing_run=
   2435   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2436 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2437 fi
   2438 
   2439 if test x"${install_sh}" != xset; then
   2440   case $am_aux_dir in
   2441   *\ * | *\	*)
   2442     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2443   *)
   2444     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2445   esac
   2446 fi
   2447 
   2448 # Installed binaries are usually stripped using 'strip' when the user
   2449 # run "make install-strip".  However 'strip' might not be the right
   2450 # tool to use in cross-compilation environments, therefore Automake
   2451 # will honor the 'STRIP' environment variable to overrule this program.
   2452 if test "$cross_compiling" != no; then
   2453   if test -n "$ac_tool_prefix"; then
   2454   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2455 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2457 $as_echo_n "checking for $ac_word... " >&6; }
   2458 if ${ac_cv_prog_STRIP+:} false; then :
   2459   $as_echo_n "(cached) " >&6
   2460 else
   2461   if test -n "$STRIP"; then
   2462   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2463 else
   2464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2465 for as_dir in $PATH
   2466 do
   2467   IFS=$as_save_IFS
   2468   test -z "$as_dir" && as_dir=.
   2469     for ac_exec_ext in '' $ac_executable_extensions; do
   2470   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2471     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2472     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2473     break 2
   2474   fi
   2475 done
   2476   done
   2477 IFS=$as_save_IFS
   2478 
   2479 fi
   2480 fi
   2481 STRIP=$ac_cv_prog_STRIP
   2482 if test -n "$STRIP"; then
   2483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2484 $as_echo "$STRIP" >&6; }
   2485 else
   2486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2487 $as_echo "no" >&6; }
   2488 fi
   2489 
   2490 
   2491 fi
   2492 if test -z "$ac_cv_prog_STRIP"; then
   2493   ac_ct_STRIP=$STRIP
   2494   # Extract the first word of "strip", so it can be a program name with args.
   2495 set dummy strip; ac_word=$2
   2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2497 $as_echo_n "checking for $ac_word... " >&6; }
   2498 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2499   $as_echo_n "(cached) " >&6
   2500 else
   2501   if test -n "$ac_ct_STRIP"; then
   2502   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2503 else
   2504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2505 for as_dir in $PATH
   2506 do
   2507   IFS=$as_save_IFS
   2508   test -z "$as_dir" && as_dir=.
   2509     for ac_exec_ext in '' $ac_executable_extensions; do
   2510   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2511     ac_cv_prog_ac_ct_STRIP="strip"
   2512     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2513     break 2
   2514   fi
   2515 done
   2516   done
   2517 IFS=$as_save_IFS
   2518 
   2519 fi
   2520 fi
   2521 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2522 if test -n "$ac_ct_STRIP"; then
   2523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2524 $as_echo "$ac_ct_STRIP" >&6; }
   2525 else
   2526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2527 $as_echo "no" >&6; }
   2528 fi
   2529 
   2530   if test "x$ac_ct_STRIP" = x; then
   2531     STRIP=":"
   2532   else
   2533     case $cross_compiling:$ac_tool_warned in
   2534 yes:)
   2535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2537 ac_tool_warned=yes ;;
   2538 esac
   2539     STRIP=$ac_ct_STRIP
   2540   fi
   2541 else
   2542   STRIP="$ac_cv_prog_STRIP"
   2543 fi
   2544 
   2545 fi
   2546 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2547 
   2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2549 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2550 if test -z "$MKDIR_P"; then
   2551   if ${ac_cv_path_mkdir+:} false; then :
   2552   $as_echo_n "(cached) " >&6
   2553 else
   2554   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2555 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2556 do
   2557   IFS=$as_save_IFS
   2558   test -z "$as_dir" && as_dir=.
   2559     for ac_prog in mkdir gmkdir; do
   2560 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2561 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2562 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2563 	     'mkdir (GNU coreutils) '* | \
   2564 	     'mkdir (coreutils) '* | \
   2565 	     'mkdir (fileutils) '4.1*)
   2566 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2567 	       break 3;;
   2568 	   esac
   2569 	 done
   2570        done
   2571   done
   2572 IFS=$as_save_IFS
   2573 
   2574 fi
   2575 
   2576   test -d ./--version && rmdir ./--version
   2577   if test "${ac_cv_path_mkdir+set}" = set; then
   2578     MKDIR_P="$ac_cv_path_mkdir -p"
   2579   else
   2580     # As a last resort, use the slow shell script.  Don't cache a
   2581     # value for MKDIR_P within a source directory, because that will
   2582     # break other packages using the cache if that directory is
   2583     # removed, or if the value is a relative name.
   2584     MKDIR_P="$ac_install_sh -d"
   2585   fi
   2586 fi
   2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2588 $as_echo "$MKDIR_P" >&6; }
   2589 
   2590 for ac_prog in gawk mawk nawk awk
   2591 do
   2592   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2593 set dummy $ac_prog; ac_word=$2
   2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2595 $as_echo_n "checking for $ac_word... " >&6; }
   2596 if ${ac_cv_prog_AWK+:} false; then :
   2597   $as_echo_n "(cached) " >&6
   2598 else
   2599   if test -n "$AWK"; then
   2600   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2601 else
   2602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2603 for as_dir in $PATH
   2604 do
   2605   IFS=$as_save_IFS
   2606   test -z "$as_dir" && as_dir=.
   2607     for ac_exec_ext in '' $ac_executable_extensions; do
   2608   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2609     ac_cv_prog_AWK="$ac_prog"
   2610     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2611     break 2
   2612   fi
   2613 done
   2614   done
   2615 IFS=$as_save_IFS
   2616 
   2617 fi
   2618 fi
   2619 AWK=$ac_cv_prog_AWK
   2620 if test -n "$AWK"; then
   2621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2622 $as_echo "$AWK" >&6; }
   2623 else
   2624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2625 $as_echo "no" >&6; }
   2626 fi
   2627 
   2628 
   2629   test -n "$AWK" && break
   2630 done
   2631 
   2632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2633 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2634 set x ${MAKE-make}
   2635 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2636 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2637   $as_echo_n "(cached) " >&6
   2638 else
   2639   cat >conftest.make <<\_ACEOF
   2640 SHELL = /bin/sh
   2641 all:
   2642 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2643 _ACEOF
   2644 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2645 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2646   *@@@%%%=?*=@@@%%%*)
   2647     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2648   *)
   2649     eval ac_cv_prog_make_${ac_make}_set=no;;
   2650 esac
   2651 rm -f conftest.make
   2652 fi
   2653 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2655 $as_echo "yes" >&6; }
   2656   SET_MAKE=
   2657 else
   2658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2659 $as_echo "no" >&6; }
   2660   SET_MAKE="MAKE=${MAKE-make}"
   2661 fi
   2662 
   2663 rm -rf .tst 2>/dev/null
   2664 mkdir .tst 2>/dev/null
   2665 if test -d .tst; then
   2666   am__leading_dot=.
   2667 else
   2668   am__leading_dot=_
   2669 fi
   2670 rmdir .tst 2>/dev/null
   2671 
   2672 # Check whether --enable-silent-rules was given.
   2673 if test "${enable_silent_rules+set}" = set; then :
   2674   enableval=$enable_silent_rules;
   2675 fi
   2676 
   2677 case $enable_silent_rules in # (((
   2678   yes) AM_DEFAULT_VERBOSITY=0;;
   2679    no) AM_DEFAULT_VERBOSITY=1;;
   2680     *) AM_DEFAULT_VERBOSITY=1;;
   2681 esac
   2682 am_make=${MAKE-make}
   2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2684 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2685 if ${am_cv_make_support_nested_variables+:} false; then :
   2686   $as_echo_n "(cached) " >&6
   2687 else
   2688   if $as_echo 'TRUE=$(BAR$(V))
   2689 BAR0=false
   2690 BAR1=true
   2691 V=1
   2692 am__doit:
   2693 	@$(TRUE)
   2694 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2695   am_cv_make_support_nested_variables=yes
   2696 else
   2697   am_cv_make_support_nested_variables=no
   2698 fi
   2699 fi
   2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2701 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2702 if test $am_cv_make_support_nested_variables = yes; then
   2703     AM_V='$(V)'
   2704   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2705 else
   2706   AM_V=$AM_DEFAULT_VERBOSITY
   2707   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2708 fi
   2709 AM_BACKSLASH='\'
   2710 
   2711 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2712   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2713   # is not polluted with repeated "-I."
   2714   am__isrc=' -I$(srcdir)'
   2715   # test to see if srcdir already configured
   2716   if test -f $srcdir/config.status; then
   2717     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2718   fi
   2719 fi
   2720 
   2721 # test whether we have cygpath
   2722 if test -z "$CYGPATH_W"; then
   2723   if (cygpath --version) >/dev/null 2>/dev/null; then
   2724     CYGPATH_W='cygpath -w'
   2725   else
   2726     CYGPATH_W=echo
   2727   fi
   2728 fi
   2729 
   2730 
   2731 # Define the identity of the package.
   2732  PACKAGE='xinit'
   2733  VERSION='1.3.3'
   2734 
   2735 
   2736 cat >>confdefs.h <<_ACEOF
   2737 #define PACKAGE "$PACKAGE"
   2738 _ACEOF
   2739 
   2740 
   2741 cat >>confdefs.h <<_ACEOF
   2742 #define VERSION "$VERSION"
   2743 _ACEOF
   2744 
   2745 # Some tools Automake needs.
   2746 
   2747 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2748 
   2749 
   2750 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2751 
   2752 
   2753 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2754 
   2755 
   2756 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2757 
   2758 
   2759 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2760 
   2761 # For better backward compatibility.  To be removed once Automake 1.9.x
   2762 # dies out for good.  For more background, see:
   2763 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2764 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2765 mkdir_p='$(MKDIR_P)'
   2766 
   2767 # We need awk for the "check" target.  The system "awk" is bad on
   2768 # some platforms.
   2769 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2770 # in the wild :-(  We should find a proper way to deprecate it ...
   2771 AMTAR='$${TAR-tar}'
   2772 
   2773 
   2774 # We'll loop over all known methods to create a tar archive until one works.
   2775 _am_tools='gnutar  pax cpio none'
   2776 
   2777 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2778 
   2779 
   2780 
   2781 
   2782 
   2783 
   2784 # POSIX will say in a future version that running "rm -f" with no argument
   2785 # is OK; and we want to be able to make that assumption in our Makefile
   2786 # recipes.  So use an aggressive probe to check that the usage we want is
   2787 # actually supported "in the wild" to an acceptable degree.
   2788 # See automake bug#10828.
   2789 # To make any issue more visible, cause the running configure to be aborted
   2790 # by default if the 'rm' program in use doesn't match our expectations; the
   2791 # user can still override this though.
   2792 if rm -f && rm -fr && rm -rf; then : OK; else
   2793   cat >&2 <<'END'
   2794 Oops!
   2795 
   2796 Your 'rm' program seems unable to run without file operands specified
   2797 on the command line, even when the '-f' option is present.  This is contrary
   2798 to the behaviour of most rm programs out there, and not conforming with
   2799 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2800 
   2801 Please tell bug-automake@gnu.org about your system, including the value
   2802 of your $PATH and any error possibly output before this message.  This
   2803 can help us improve future automake versions.
   2804 
   2805 END
   2806   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2807     echo 'Configuration will proceed anyway, since you have set the' >&2
   2808     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2809     echo >&2
   2810   else
   2811     cat >&2 <<'END'
   2812 Aborting the configuration process, to ensure you take notice of the issue.
   2813 
   2814 You can download and install GNU coreutils to get an 'rm' implementation
   2815 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2816 
   2817 If you want to complete the configuration process using your problematic
   2818 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2819 to "yes", and re-run configure.
   2820 
   2821 END
   2822     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2823   fi
   2824 fi
   2825 
   2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2827 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2828     # Check whether --enable-maintainer-mode was given.
   2829 if test "${enable_maintainer_mode+set}" = set; then :
   2830   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2831 else
   2832   USE_MAINTAINER_MODE=no
   2833 fi
   2834 
   2835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2836 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2837    if test $USE_MAINTAINER_MODE = yes; then
   2838   MAINTAINER_MODE_TRUE=
   2839   MAINTAINER_MODE_FALSE='#'
   2840 else
   2841   MAINTAINER_MODE_TRUE='#'
   2842   MAINTAINER_MODE_FALSE=
   2843 fi
   2844 
   2845   MAINT=$MAINTAINER_MODE_TRUE
   2846 
   2847 
   2848 
   2849 # Require X.Org macros 1.8 or later for AC_PROG_SED in XORG_DEFAULT_OPTIONS
   2850 
   2851 
   2852 
   2853 
   2854 
   2855 
   2856 
   2857 
   2858 
   2859 
   2860 
   2861 DEPDIR="${am__leading_dot}deps"
   2862 
   2863 ac_config_commands="$ac_config_commands depfiles"
   2864 
   2865 
   2866 am_make=${MAKE-make}
   2867 cat > confinc << 'END'
   2868 am__doit:
   2869 	@echo this is the am__doit target
   2870 .PHONY: am__doit
   2871 END
   2872 # If we don't find an include directive, just comment out the code.
   2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2874 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2875 am__include="#"
   2876 am__quote=
   2877 _am_result=none
   2878 # First try GNU make style include.
   2879 echo "include confinc" > confmf
   2880 # Ignore all kinds of additional output from 'make'.
   2881 case `$am_make -s -f confmf 2> /dev/null` in #(
   2882 *the\ am__doit\ target*)
   2883   am__include=include
   2884   am__quote=
   2885   _am_result=GNU
   2886   ;;
   2887 esac
   2888 # Now try BSD make style include.
   2889 if test "$am__include" = "#"; then
   2890    echo '.include "confinc"' > confmf
   2891    case `$am_make -s -f confmf 2> /dev/null` in #(
   2892    *the\ am__doit\ target*)
   2893      am__include=.include
   2894      am__quote="\""
   2895      _am_result=BSD
   2896      ;;
   2897    esac
   2898 fi
   2899 
   2900 
   2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2902 $as_echo "$_am_result" >&6; }
   2903 rm -f confinc confmf
   2904 
   2905 # Check whether --enable-dependency-tracking was given.
   2906 if test "${enable_dependency_tracking+set}" = set; then :
   2907   enableval=$enable_dependency_tracking;
   2908 fi
   2909 
   2910 if test "x$enable_dependency_tracking" != xno; then
   2911   am_depcomp="$ac_aux_dir/depcomp"
   2912   AMDEPBACKSLASH='\'
   2913   am__nodep='_no'
   2914 fi
   2915  if test "x$enable_dependency_tracking" != xno; then
   2916   AMDEP_TRUE=
   2917   AMDEP_FALSE='#'
   2918 else
   2919   AMDEP_TRUE='#'
   2920   AMDEP_FALSE=
   2921 fi
   2922 
   2923 
   2924 ac_ext=c
   2925 ac_cpp='$CPP $CPPFLAGS'
   2926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2929 if test -n "$ac_tool_prefix"; then
   2930   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2931 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2933 $as_echo_n "checking for $ac_word... " >&6; }
   2934 if ${ac_cv_prog_CC+:} false; then :
   2935   $as_echo_n "(cached) " >&6
   2936 else
   2937   if test -n "$CC"; then
   2938   ac_cv_prog_CC="$CC" # Let the user override the test.
   2939 else
   2940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2941 for as_dir in $PATH
   2942 do
   2943   IFS=$as_save_IFS
   2944   test -z "$as_dir" && as_dir=.
   2945     for ac_exec_ext in '' $ac_executable_extensions; do
   2946   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2947     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2948     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2949     break 2
   2950   fi
   2951 done
   2952   done
   2953 IFS=$as_save_IFS
   2954 
   2955 fi
   2956 fi
   2957 CC=$ac_cv_prog_CC
   2958 if test -n "$CC"; then
   2959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2960 $as_echo "$CC" >&6; }
   2961 else
   2962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2963 $as_echo "no" >&6; }
   2964 fi
   2965 
   2966 
   2967 fi
   2968 if test -z "$ac_cv_prog_CC"; then
   2969   ac_ct_CC=$CC
   2970   # Extract the first word of "gcc", so it can be a program name with args.
   2971 set dummy gcc; ac_word=$2
   2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2973 $as_echo_n "checking for $ac_word... " >&6; }
   2974 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2975   $as_echo_n "(cached) " >&6
   2976 else
   2977   if test -n "$ac_ct_CC"; then
   2978   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2979 else
   2980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2981 for as_dir in $PATH
   2982 do
   2983   IFS=$as_save_IFS
   2984   test -z "$as_dir" && as_dir=.
   2985     for ac_exec_ext in '' $ac_executable_extensions; do
   2986   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2987     ac_cv_prog_ac_ct_CC="gcc"
   2988     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2989     break 2
   2990   fi
   2991 done
   2992   done
   2993 IFS=$as_save_IFS
   2994 
   2995 fi
   2996 fi
   2997 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2998 if test -n "$ac_ct_CC"; then
   2999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3000 $as_echo "$ac_ct_CC" >&6; }
   3001 else
   3002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3003 $as_echo "no" >&6; }
   3004 fi
   3005 
   3006   if test "x$ac_ct_CC" = x; then
   3007     CC=""
   3008   else
   3009     case $cross_compiling:$ac_tool_warned in
   3010 yes:)
   3011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3013 ac_tool_warned=yes ;;
   3014 esac
   3015     CC=$ac_ct_CC
   3016   fi
   3017 else
   3018   CC="$ac_cv_prog_CC"
   3019 fi
   3020 
   3021 if test -z "$CC"; then
   3022           if test -n "$ac_tool_prefix"; then
   3023     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3024 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3026 $as_echo_n "checking for $ac_word... " >&6; }
   3027 if ${ac_cv_prog_CC+:} false; then :
   3028   $as_echo_n "(cached) " >&6
   3029 else
   3030   if test -n "$CC"; then
   3031   ac_cv_prog_CC="$CC" # Let the user override the test.
   3032 else
   3033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3034 for as_dir in $PATH
   3035 do
   3036   IFS=$as_save_IFS
   3037   test -z "$as_dir" && as_dir=.
   3038     for ac_exec_ext in '' $ac_executable_extensions; do
   3039   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3040     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3041     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3042     break 2
   3043   fi
   3044 done
   3045   done
   3046 IFS=$as_save_IFS
   3047 
   3048 fi
   3049 fi
   3050 CC=$ac_cv_prog_CC
   3051 if test -n "$CC"; then
   3052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3053 $as_echo "$CC" >&6; }
   3054 else
   3055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3056 $as_echo "no" >&6; }
   3057 fi
   3058 
   3059 
   3060   fi
   3061 fi
   3062 if test -z "$CC"; then
   3063   # Extract the first word of "cc", so it can be a program name with args.
   3064 set dummy cc; ac_word=$2
   3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3066 $as_echo_n "checking for $ac_word... " >&6; }
   3067 if ${ac_cv_prog_CC+:} false; then :
   3068   $as_echo_n "(cached) " >&6
   3069 else
   3070   if test -n "$CC"; then
   3071   ac_cv_prog_CC="$CC" # Let the user override the test.
   3072 else
   3073   ac_prog_rejected=no
   3074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3075 for as_dir in $PATH
   3076 do
   3077   IFS=$as_save_IFS
   3078   test -z "$as_dir" && as_dir=.
   3079     for ac_exec_ext in '' $ac_executable_extensions; do
   3080   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3081     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3082        ac_prog_rejected=yes
   3083        continue
   3084      fi
   3085     ac_cv_prog_CC="cc"
   3086     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3087     break 2
   3088   fi
   3089 done
   3090   done
   3091 IFS=$as_save_IFS
   3092 
   3093 if test $ac_prog_rejected = yes; then
   3094   # We found a bogon in the path, so make sure we never use it.
   3095   set dummy $ac_cv_prog_CC
   3096   shift
   3097   if test $# != 0; then
   3098     # We chose a different compiler from the bogus one.
   3099     # However, it has the same basename, so the bogon will be chosen
   3100     # first if we set CC to just the basename; use the full file name.
   3101     shift
   3102     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3103   fi
   3104 fi
   3105 fi
   3106 fi
   3107 CC=$ac_cv_prog_CC
   3108 if test -n "$CC"; then
   3109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3110 $as_echo "$CC" >&6; }
   3111 else
   3112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3113 $as_echo "no" >&6; }
   3114 fi
   3115 
   3116 
   3117 fi
   3118 if test -z "$CC"; then
   3119   if test -n "$ac_tool_prefix"; then
   3120   for ac_prog in cl.exe
   3121   do
   3122     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3123 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3125 $as_echo_n "checking for $ac_word... " >&6; }
   3126 if ${ac_cv_prog_CC+:} false; then :
   3127   $as_echo_n "(cached) " >&6
   3128 else
   3129   if test -n "$CC"; then
   3130   ac_cv_prog_CC="$CC" # Let the user override the test.
   3131 else
   3132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3133 for as_dir in $PATH
   3134 do
   3135   IFS=$as_save_IFS
   3136   test -z "$as_dir" && as_dir=.
   3137     for ac_exec_ext in '' $ac_executable_extensions; do
   3138   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3139     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3140     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3141     break 2
   3142   fi
   3143 done
   3144   done
   3145 IFS=$as_save_IFS
   3146 
   3147 fi
   3148 fi
   3149 CC=$ac_cv_prog_CC
   3150 if test -n "$CC"; then
   3151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3152 $as_echo "$CC" >&6; }
   3153 else
   3154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3155 $as_echo "no" >&6; }
   3156 fi
   3157 
   3158 
   3159     test -n "$CC" && break
   3160   done
   3161 fi
   3162 if test -z "$CC"; then
   3163   ac_ct_CC=$CC
   3164   for ac_prog in cl.exe
   3165 do
   3166   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3167 set dummy $ac_prog; ac_word=$2
   3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3169 $as_echo_n "checking for $ac_word... " >&6; }
   3170 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3171   $as_echo_n "(cached) " >&6
   3172 else
   3173   if test -n "$ac_ct_CC"; then
   3174   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3175 else
   3176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3177 for as_dir in $PATH
   3178 do
   3179   IFS=$as_save_IFS
   3180   test -z "$as_dir" && as_dir=.
   3181     for ac_exec_ext in '' $ac_executable_extensions; do
   3182   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3183     ac_cv_prog_ac_ct_CC="$ac_prog"
   3184     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3185     break 2
   3186   fi
   3187 done
   3188   done
   3189 IFS=$as_save_IFS
   3190 
   3191 fi
   3192 fi
   3193 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3194 if test -n "$ac_ct_CC"; then
   3195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3196 $as_echo "$ac_ct_CC" >&6; }
   3197 else
   3198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3199 $as_echo "no" >&6; }
   3200 fi
   3201 
   3202 
   3203   test -n "$ac_ct_CC" && break
   3204 done
   3205 
   3206   if test "x$ac_ct_CC" = x; then
   3207     CC=""
   3208   else
   3209     case $cross_compiling:$ac_tool_warned in
   3210 yes:)
   3211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3213 ac_tool_warned=yes ;;
   3214 esac
   3215     CC=$ac_ct_CC
   3216   fi
   3217 fi
   3218 
   3219 fi
   3220 
   3221 
   3222 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3223 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3224 as_fn_error $? "no acceptable C compiler found in \$PATH
   3225 See \`config.log' for more details" "$LINENO" 5; }
   3226 
   3227 # Provide some information about the compiler.
   3228 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3229 set X $ac_compile
   3230 ac_compiler=$2
   3231 for ac_option in --version -v -V -qversion; do
   3232   { { ac_try="$ac_compiler $ac_option >&5"
   3233 case "(($ac_try" in
   3234   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3235   *) ac_try_echo=$ac_try;;
   3236 esac
   3237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3238 $as_echo "$ac_try_echo"; } >&5
   3239   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3240   ac_status=$?
   3241   if test -s conftest.err; then
   3242     sed '10a\
   3243 ... rest of stderr output deleted ...
   3244          10q' conftest.err >conftest.er1
   3245     cat conftest.er1 >&5
   3246   fi
   3247   rm -f conftest.er1 conftest.err
   3248   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3249   test $ac_status = 0; }
   3250 done
   3251 
   3252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3253 /* end confdefs.h.  */
   3254 
   3255 int
   3256 main ()
   3257 {
   3258 
   3259   ;
   3260   return 0;
   3261 }
   3262 _ACEOF
   3263 ac_clean_files_save=$ac_clean_files
   3264 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3265 # Try to create an executable without -o first, disregard a.out.
   3266 # It will help us diagnose broken compilers, and finding out an intuition
   3267 # of exeext.
   3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3269 $as_echo_n "checking whether the C compiler works... " >&6; }
   3270 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3271 
   3272 # The possible output files:
   3273 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3274 
   3275 ac_rmfiles=
   3276 for ac_file in $ac_files
   3277 do
   3278   case $ac_file in
   3279     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3280     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3281   esac
   3282 done
   3283 rm -f $ac_rmfiles
   3284 
   3285 if { { ac_try="$ac_link_default"
   3286 case "(($ac_try" in
   3287   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3288   *) ac_try_echo=$ac_try;;
   3289 esac
   3290 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3291 $as_echo "$ac_try_echo"; } >&5
   3292   (eval "$ac_link_default") 2>&5
   3293   ac_status=$?
   3294   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3295   test $ac_status = 0; }; then :
   3296   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3297 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3298 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3299 # so that the user can short-circuit this test for compilers unknown to
   3300 # Autoconf.
   3301 for ac_file in $ac_files ''
   3302 do
   3303   test -f "$ac_file" || continue
   3304   case $ac_file in
   3305     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3306 	;;
   3307     [ab].out )
   3308 	# We found the default executable, but exeext='' is most
   3309 	# certainly right.
   3310 	break;;
   3311     *.* )
   3312 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3313 	then :; else
   3314 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3315 	fi
   3316 	# We set ac_cv_exeext here because the later test for it is not
   3317 	# safe: cross compilers may not add the suffix if given an `-o'
   3318 	# argument, so we may need to know it at that point already.
   3319 	# Even if this section looks crufty: it has the advantage of
   3320 	# actually working.
   3321 	break;;
   3322     * )
   3323 	break;;
   3324   esac
   3325 done
   3326 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3327 
   3328 else
   3329   ac_file=''
   3330 fi
   3331 if test -z "$ac_file"; then :
   3332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3333 $as_echo "no" >&6; }
   3334 $as_echo "$as_me: failed program was:" >&5
   3335 sed 's/^/| /' conftest.$ac_ext >&5
   3336 
   3337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3339 as_fn_error 77 "C compiler cannot create executables
   3340 See \`config.log' for more details" "$LINENO" 5; }
   3341 else
   3342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3343 $as_echo "yes" >&6; }
   3344 fi
   3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3346 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3348 $as_echo "$ac_file" >&6; }
   3349 ac_exeext=$ac_cv_exeext
   3350 
   3351 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3352 ac_clean_files=$ac_clean_files_save
   3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3354 $as_echo_n "checking for suffix of executables... " >&6; }
   3355 if { { ac_try="$ac_link"
   3356 case "(($ac_try" in
   3357   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3358   *) ac_try_echo=$ac_try;;
   3359 esac
   3360 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3361 $as_echo "$ac_try_echo"; } >&5
   3362   (eval "$ac_link") 2>&5
   3363   ac_status=$?
   3364   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3365   test $ac_status = 0; }; then :
   3366   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3367 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3368 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3369 # `rm'.
   3370 for ac_file in conftest.exe conftest conftest.*; do
   3371   test -f "$ac_file" || continue
   3372   case $ac_file in
   3373     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3374     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3375 	  break;;
   3376     * ) break;;
   3377   esac
   3378 done
   3379 else
   3380   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3382 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3383 See \`config.log' for more details" "$LINENO" 5; }
   3384 fi
   3385 rm -f conftest conftest$ac_cv_exeext
   3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3387 $as_echo "$ac_cv_exeext" >&6; }
   3388 
   3389 rm -f conftest.$ac_ext
   3390 EXEEXT=$ac_cv_exeext
   3391 ac_exeext=$EXEEXT
   3392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3393 /* end confdefs.h.  */
   3394 #include <stdio.h>
   3395 int
   3396 main ()
   3397 {
   3398 FILE *f = fopen ("conftest.out", "w");
   3399  return ferror (f) || fclose (f) != 0;
   3400 
   3401   ;
   3402   return 0;
   3403 }
   3404 _ACEOF
   3405 ac_clean_files="$ac_clean_files conftest.out"
   3406 # Check that the compiler produces executables we can run.  If not, either
   3407 # the compiler is broken, or we cross compile.
   3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3409 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3410 if test "$cross_compiling" != yes; then
   3411   { { ac_try="$ac_link"
   3412 case "(($ac_try" in
   3413   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3414   *) ac_try_echo=$ac_try;;
   3415 esac
   3416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3417 $as_echo "$ac_try_echo"; } >&5
   3418   (eval "$ac_link") 2>&5
   3419   ac_status=$?
   3420   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3421   test $ac_status = 0; }
   3422   if { ac_try='./conftest$ac_cv_exeext'
   3423   { { case "(($ac_try" in
   3424   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3425   *) ac_try_echo=$ac_try;;
   3426 esac
   3427 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3428 $as_echo "$ac_try_echo"; } >&5
   3429   (eval "$ac_try") 2>&5
   3430   ac_status=$?
   3431   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3432   test $ac_status = 0; }; }; then
   3433     cross_compiling=no
   3434   else
   3435     if test "$cross_compiling" = maybe; then
   3436 	cross_compiling=yes
   3437     else
   3438 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3440 as_fn_error $? "cannot run C compiled programs.
   3441 If you meant to cross compile, use \`--host'.
   3442 See \`config.log' for more details" "$LINENO" 5; }
   3443     fi
   3444   fi
   3445 fi
   3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3447 $as_echo "$cross_compiling" >&6; }
   3448 
   3449 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3450 ac_clean_files=$ac_clean_files_save
   3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3452 $as_echo_n "checking for suffix of object files... " >&6; }
   3453 if ${ac_cv_objext+:} false; then :
   3454   $as_echo_n "(cached) " >&6
   3455 else
   3456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3457 /* end confdefs.h.  */
   3458 
   3459 int
   3460 main ()
   3461 {
   3462 
   3463   ;
   3464   return 0;
   3465 }
   3466 _ACEOF
   3467 rm -f conftest.o conftest.obj
   3468 if { { ac_try="$ac_compile"
   3469 case "(($ac_try" in
   3470   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3471   *) ac_try_echo=$ac_try;;
   3472 esac
   3473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3474 $as_echo "$ac_try_echo"; } >&5
   3475   (eval "$ac_compile") 2>&5
   3476   ac_status=$?
   3477   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3478   test $ac_status = 0; }; then :
   3479   for ac_file in conftest.o conftest.obj conftest.*; do
   3480   test -f "$ac_file" || continue;
   3481   case $ac_file in
   3482     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3483     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3484        break;;
   3485   esac
   3486 done
   3487 else
   3488   $as_echo "$as_me: failed program was:" >&5
   3489 sed 's/^/| /' conftest.$ac_ext >&5
   3490 
   3491 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3492 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3493 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3494 See \`config.log' for more details" "$LINENO" 5; }
   3495 fi
   3496 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3497 fi
   3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3499 $as_echo "$ac_cv_objext" >&6; }
   3500 OBJEXT=$ac_cv_objext
   3501 ac_objext=$OBJEXT
   3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3503 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3504 if ${ac_cv_c_compiler_gnu+:} false; then :
   3505   $as_echo_n "(cached) " >&6
   3506 else
   3507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3508 /* end confdefs.h.  */
   3509 
   3510 int
   3511 main ()
   3512 {
   3513 #ifndef __GNUC__
   3514        choke me
   3515 #endif
   3516 
   3517   ;
   3518   return 0;
   3519 }
   3520 _ACEOF
   3521 if ac_fn_c_try_compile "$LINENO"; then :
   3522   ac_compiler_gnu=yes
   3523 else
   3524   ac_compiler_gnu=no
   3525 fi
   3526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3527 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3528 
   3529 fi
   3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3531 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3532 if test $ac_compiler_gnu = yes; then
   3533   GCC=yes
   3534 else
   3535   GCC=
   3536 fi
   3537 ac_test_CFLAGS=${CFLAGS+set}
   3538 ac_save_CFLAGS=$CFLAGS
   3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3540 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3541 if ${ac_cv_prog_cc_g+:} false; then :
   3542   $as_echo_n "(cached) " >&6
   3543 else
   3544   ac_save_c_werror_flag=$ac_c_werror_flag
   3545    ac_c_werror_flag=yes
   3546    ac_cv_prog_cc_g=no
   3547    CFLAGS="-g"
   3548    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3549 /* end confdefs.h.  */
   3550 
   3551 int
   3552 main ()
   3553 {
   3554 
   3555   ;
   3556   return 0;
   3557 }
   3558 _ACEOF
   3559 if ac_fn_c_try_compile "$LINENO"; then :
   3560   ac_cv_prog_cc_g=yes
   3561 else
   3562   CFLAGS=""
   3563       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3564 /* end confdefs.h.  */
   3565 
   3566 int
   3567 main ()
   3568 {
   3569 
   3570   ;
   3571   return 0;
   3572 }
   3573 _ACEOF
   3574 if ac_fn_c_try_compile "$LINENO"; then :
   3575 
   3576 else
   3577   ac_c_werror_flag=$ac_save_c_werror_flag
   3578 	 CFLAGS="-g"
   3579 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3580 /* end confdefs.h.  */
   3581 
   3582 int
   3583 main ()
   3584 {
   3585 
   3586   ;
   3587   return 0;
   3588 }
   3589 _ACEOF
   3590 if ac_fn_c_try_compile "$LINENO"; then :
   3591   ac_cv_prog_cc_g=yes
   3592 fi
   3593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3594 fi
   3595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3596 fi
   3597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3598    ac_c_werror_flag=$ac_save_c_werror_flag
   3599 fi
   3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3601 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3602 if test "$ac_test_CFLAGS" = set; then
   3603   CFLAGS=$ac_save_CFLAGS
   3604 elif test $ac_cv_prog_cc_g = yes; then
   3605   if test "$GCC" = yes; then
   3606     CFLAGS="-g -O2"
   3607   else
   3608     CFLAGS="-g"
   3609   fi
   3610 else
   3611   if test "$GCC" = yes; then
   3612     CFLAGS="-O2"
   3613   else
   3614     CFLAGS=
   3615   fi
   3616 fi
   3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3618 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3619 if ${ac_cv_prog_cc_c89+:} false; then :
   3620   $as_echo_n "(cached) " >&6
   3621 else
   3622   ac_cv_prog_cc_c89=no
   3623 ac_save_CC=$CC
   3624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3625 /* end confdefs.h.  */
   3626 #include <stdarg.h>
   3627 #include <stdio.h>
   3628 #include <sys/types.h>
   3629 #include <sys/stat.h>
   3630 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3631 struct buf { int x; };
   3632 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3633 static char *e (p, i)
   3634      char **p;
   3635      int i;
   3636 {
   3637   return p[i];
   3638 }
   3639 static char *f (char * (*g) (char **, int), char **p, ...)
   3640 {
   3641   char *s;
   3642   va_list v;
   3643   va_start (v,p);
   3644   s = g (p, va_arg (v,int));
   3645   va_end (v);
   3646   return s;
   3647 }
   3648 
   3649 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3650    function prototypes and stuff, but not '\xHH' hex character constants.
   3651    These don't provoke an error unfortunately, instead are silently treated
   3652    as 'x'.  The following induces an error, until -std is added to get
   3653    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3654    array size at least.  It's necessary to write '\x00'==0 to get something
   3655    that's true only with -std.  */
   3656 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3657 
   3658 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3659    inside strings and character constants.  */
   3660 #define FOO(x) 'x'
   3661 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3662 
   3663 int test (int i, double x);
   3664 struct s1 {int (*f) (int a);};
   3665 struct s2 {int (*f) (double a);};
   3666 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3667 int argc;
   3668 char **argv;
   3669 int
   3670 main ()
   3671 {
   3672 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3673   ;
   3674   return 0;
   3675 }
   3676 _ACEOF
   3677 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3678 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3679 do
   3680   CC="$ac_save_CC $ac_arg"
   3681   if ac_fn_c_try_compile "$LINENO"; then :
   3682   ac_cv_prog_cc_c89=$ac_arg
   3683 fi
   3684 rm -f core conftest.err conftest.$ac_objext
   3685   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3686 done
   3687 rm -f conftest.$ac_ext
   3688 CC=$ac_save_CC
   3689 
   3690 fi
   3691 # AC_CACHE_VAL
   3692 case "x$ac_cv_prog_cc_c89" in
   3693   x)
   3694     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3695 $as_echo "none needed" >&6; } ;;
   3696   xno)
   3697     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3698 $as_echo "unsupported" >&6; } ;;
   3699   *)
   3700     CC="$CC $ac_cv_prog_cc_c89"
   3701     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3702 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3703 esac
   3704 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3705 
   3706 fi
   3707 
   3708 ac_ext=c
   3709 ac_cpp='$CPP $CPPFLAGS'
   3710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3713 
   3714 ac_ext=c
   3715 ac_cpp='$CPP $CPPFLAGS'
   3716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3720 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3721 if ${am_cv_prog_cc_c_o+:} false; then :
   3722   $as_echo_n "(cached) " >&6
   3723 else
   3724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3725 /* end confdefs.h.  */
   3726 
   3727 int
   3728 main ()
   3729 {
   3730 
   3731   ;
   3732   return 0;
   3733 }
   3734 _ACEOF
   3735   # Make sure it works both with $CC and with simple cc.
   3736   # Following AC_PROG_CC_C_O, we do the test twice because some
   3737   # compilers refuse to overwrite an existing .o file with -o,
   3738   # though they will create one.
   3739   am_cv_prog_cc_c_o=yes
   3740   for am_i in 1 2; do
   3741     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3742    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3743    ac_status=$?
   3744    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3745    (exit $ac_status); } \
   3746          && test -f conftest2.$ac_objext; then
   3747       : OK
   3748     else
   3749       am_cv_prog_cc_c_o=no
   3750       break
   3751     fi
   3752   done
   3753   rm -f core conftest*
   3754   unset am_i
   3755 fi
   3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3757 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3758 if test "$am_cv_prog_cc_c_o" != yes; then
   3759    # Losing compiler, so override with the script.
   3760    # FIXME: It is wrong to rewrite CC.
   3761    # But if we don't then we get into trouble of one sort or another.
   3762    # A longer-term fix would be to have automake use am__CC in this case,
   3763    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3764    CC="$am_aux_dir/compile $CC"
   3765 fi
   3766 ac_ext=c
   3767 ac_cpp='$CPP $CPPFLAGS'
   3768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3771 
   3772 
   3773 depcc="$CC"   am_compiler_list=
   3774 
   3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3776 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3777 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3778   $as_echo_n "(cached) " >&6
   3779 else
   3780   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3781   # We make a subdir and do the tests there.  Otherwise we can end up
   3782   # making bogus files that we don't know about and never remove.  For
   3783   # instance it was reported that on HP-UX the gcc test will end up
   3784   # making a dummy file named 'D' -- because '-MD' means "put the output
   3785   # in D".
   3786   rm -rf conftest.dir
   3787   mkdir conftest.dir
   3788   # Copy depcomp to subdir because otherwise we won't find it if we're
   3789   # using a relative directory.
   3790   cp "$am_depcomp" conftest.dir
   3791   cd conftest.dir
   3792   # We will build objects and dependencies in a subdirectory because
   3793   # it helps to detect inapplicable dependency modes.  For instance
   3794   # both Tru64's cc and ICC support -MD to output dependencies as a
   3795   # side effect of compilation, but ICC will put the dependencies in
   3796   # the current directory while Tru64 will put them in the object
   3797   # directory.
   3798   mkdir sub
   3799 
   3800   am_cv_CC_dependencies_compiler_type=none
   3801   if test "$am_compiler_list" = ""; then
   3802      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3803   fi
   3804   am__universal=false
   3805   case " $depcc " in #(
   3806      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3807      esac
   3808 
   3809   for depmode in $am_compiler_list; do
   3810     # Setup a source with many dependencies, because some compilers
   3811     # like to wrap large dependency lists on column 80 (with \), and
   3812     # we should not choose a depcomp mode which is confused by this.
   3813     #
   3814     # We need to recreate these files for each test, as the compiler may
   3815     # overwrite some of them when testing with obscure command lines.
   3816     # This happens at least with the AIX C compiler.
   3817     : > sub/conftest.c
   3818     for i in 1 2 3 4 5 6; do
   3819       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3820       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3821       # Solaris 10 /bin/sh.
   3822       echo '/* dummy */' > sub/conftst$i.h
   3823     done
   3824     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3825 
   3826     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3827     # mode.  It turns out that the SunPro C++ compiler does not properly
   3828     # handle '-M -o', and we need to detect this.  Also, some Intel
   3829     # versions had trouble with output in subdirs.
   3830     am__obj=sub/conftest.${OBJEXT-o}
   3831     am__minus_obj="-o $am__obj"
   3832     case $depmode in
   3833     gcc)
   3834       # This depmode causes a compiler race in universal mode.
   3835       test "$am__universal" = false || continue
   3836       ;;
   3837     nosideeffect)
   3838       # After this tag, mechanisms are not by side-effect, so they'll
   3839       # only be used when explicitly requested.
   3840       if test "x$enable_dependency_tracking" = xyes; then
   3841 	continue
   3842       else
   3843 	break
   3844       fi
   3845       ;;
   3846     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3847       # This compiler won't grok '-c -o', but also, the minuso test has
   3848       # not run yet.  These depmodes are late enough in the game, and
   3849       # so weak that their functioning should not be impacted.
   3850       am__obj=conftest.${OBJEXT-o}
   3851       am__minus_obj=
   3852       ;;
   3853     none) break ;;
   3854     esac
   3855     if depmode=$depmode \
   3856        source=sub/conftest.c object=$am__obj \
   3857        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3858        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3859          >/dev/null 2>conftest.err &&
   3860        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3861        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3862        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3863        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3864       # icc doesn't choke on unknown options, it will just issue warnings
   3865       # or remarks (even with -Werror).  So we grep stderr for any message
   3866       # that says an option was ignored or not supported.
   3867       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3868       #   icc: Command line warning: ignoring option '-M'; no argument required
   3869       # The diagnosis changed in icc 8.0:
   3870       #   icc: Command line remark: option '-MP' not supported
   3871       if (grep 'ignoring option' conftest.err ||
   3872           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3873         am_cv_CC_dependencies_compiler_type=$depmode
   3874         break
   3875       fi
   3876     fi
   3877   done
   3878 
   3879   cd ..
   3880   rm -rf conftest.dir
   3881 else
   3882   am_cv_CC_dependencies_compiler_type=none
   3883 fi
   3884 
   3885 fi
   3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3887 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3888 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3889 
   3890  if
   3891   test "x$enable_dependency_tracking" != xno \
   3892   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3893   am__fastdepCC_TRUE=
   3894   am__fastdepCC_FALSE='#'
   3895 else
   3896   am__fastdepCC_TRUE='#'
   3897   am__fastdepCC_FALSE=
   3898 fi
   3899 
   3900 
   3901    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3902 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3903 if ${ac_cv_prog_cc_c99+:} false; then :
   3904   $as_echo_n "(cached) " >&6
   3905 else
   3906   ac_cv_prog_cc_c99=no
   3907 ac_save_CC=$CC
   3908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3909 /* end confdefs.h.  */
   3910 #include <stdarg.h>
   3911 #include <stdbool.h>
   3912 #include <stdlib.h>
   3913 #include <wchar.h>
   3914 #include <stdio.h>
   3915 
   3916 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3917 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3918 #define showlist(...) puts (#__VA_ARGS__)
   3919 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3920 static void
   3921 test_varargs_macros (void)
   3922 {
   3923   int x = 1234;
   3924   int y = 5678;
   3925   debug ("Flag");
   3926   debug ("X = %d\n", x);
   3927   showlist (The first, second, and third items.);
   3928   report (x>y, "x is %d but y is %d", x, y);
   3929 }
   3930 
   3931 // Check long long types.
   3932 #define BIG64 18446744073709551615ull
   3933 #define BIG32 4294967295ul
   3934 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3935 #if !BIG_OK
   3936   your preprocessor is broken;
   3937 #endif
   3938 #if BIG_OK
   3939 #else
   3940   your preprocessor is broken;
   3941 #endif
   3942 static long long int bignum = -9223372036854775807LL;
   3943 static unsigned long long int ubignum = BIG64;
   3944 
   3945 struct incomplete_array
   3946 {
   3947   int datasize;
   3948   double data[];
   3949 };
   3950 
   3951 struct named_init {
   3952   int number;
   3953   const wchar_t *name;
   3954   double average;
   3955 };
   3956 
   3957 typedef const char *ccp;
   3958 
   3959 static inline int
   3960 test_restrict (ccp restrict text)
   3961 {
   3962   // See if C++-style comments work.
   3963   // Iterate through items via the restricted pointer.
   3964   // Also check for declarations in for loops.
   3965   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3966     continue;
   3967   return 0;
   3968 }
   3969 
   3970 // Check varargs and va_copy.
   3971 static void
   3972 test_varargs (const char *format, ...)
   3973 {
   3974   va_list args;
   3975   va_start (args, format);
   3976   va_list args_copy;
   3977   va_copy (args_copy, args);
   3978 
   3979   const char *str;
   3980   int number;
   3981   float fnumber;
   3982 
   3983   while (*format)
   3984     {
   3985       switch (*format++)
   3986 	{
   3987 	case 's': // string
   3988 	  str = va_arg (args_copy, const char *);
   3989 	  break;
   3990 	case 'd': // int
   3991 	  number = va_arg (args_copy, int);
   3992 	  break;
   3993 	case 'f': // float
   3994 	  fnumber = va_arg (args_copy, double);
   3995 	  break;
   3996 	default:
   3997 	  break;
   3998 	}
   3999     }
   4000   va_end (args_copy);
   4001   va_end (args);
   4002 }
   4003 
   4004 int
   4005 main ()
   4006 {
   4007 
   4008   // Check bool.
   4009   _Bool success = false;
   4010 
   4011   // Check restrict.
   4012   if (test_restrict ("String literal") == 0)
   4013     success = true;
   4014   char *restrict newvar = "Another string";
   4015 
   4016   // Check varargs.
   4017   test_varargs ("s, d' f .", "string", 65, 34.234);
   4018   test_varargs_macros ();
   4019 
   4020   // Check flexible array members.
   4021   struct incomplete_array *ia =
   4022     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4023   ia->datasize = 10;
   4024   for (int i = 0; i < ia->datasize; ++i)
   4025     ia->data[i] = i * 1.234;
   4026 
   4027   // Check named initializers.
   4028   struct named_init ni = {
   4029     .number = 34,
   4030     .name = L"Test wide string",
   4031     .average = 543.34343,
   4032   };
   4033 
   4034   ni.number = 58;
   4035 
   4036   int dynamic_array[ni.number];
   4037   dynamic_array[ni.number - 1] = 543;
   4038 
   4039   // work around unused variable warnings
   4040   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4041 	  || dynamic_array[ni.number - 1] != 543);
   4042 
   4043   ;
   4044   return 0;
   4045 }
   4046 _ACEOF
   4047 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   4048 do
   4049   CC="$ac_save_CC $ac_arg"
   4050   if ac_fn_c_try_compile "$LINENO"; then :
   4051   ac_cv_prog_cc_c99=$ac_arg
   4052 fi
   4053 rm -f core conftest.err conftest.$ac_objext
   4054   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4055 done
   4056 rm -f conftest.$ac_ext
   4057 CC=$ac_save_CC
   4058 
   4059 fi
   4060 # AC_CACHE_VAL
   4061 case "x$ac_cv_prog_cc_c99" in
   4062   x)
   4063     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4064 $as_echo "none needed" >&6; } ;;
   4065   xno)
   4066     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4067 $as_echo "unsupported" >&6; } ;;
   4068   *)
   4069     CC="$CC $ac_cv_prog_cc_c99"
   4070     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4071 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4072 esac
   4073 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4074 
   4075 fi
   4076 
   4077 
   4078 
   4079 ac_ext=c
   4080 ac_cpp='$CPP $CPPFLAGS'
   4081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4085 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4086 # On Suns, sometimes $CPP names a directory.
   4087 if test -n "$CPP" && test -d "$CPP"; then
   4088   CPP=
   4089 fi
   4090 if test -z "$CPP"; then
   4091   if ${ac_cv_prog_CPP+:} false; then :
   4092   $as_echo_n "(cached) " >&6
   4093 else
   4094       # Double quotes because CPP needs to be expanded
   4095     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4096     do
   4097       ac_preproc_ok=false
   4098 for ac_c_preproc_warn_flag in '' yes
   4099 do
   4100   # Use a header file that comes with gcc, so configuring glibc
   4101   # with a fresh cross-compiler works.
   4102   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4103   # <limits.h> exists even on freestanding compilers.
   4104   # On the NeXT, cc -E runs the code through the compiler's parser,
   4105   # not just through cpp. "Syntax error" is here to catch this case.
   4106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4107 /* end confdefs.h.  */
   4108 #ifdef __STDC__
   4109 # include <limits.h>
   4110 #else
   4111 # include <assert.h>
   4112 #endif
   4113 		     Syntax error
   4114 _ACEOF
   4115 if ac_fn_c_try_cpp "$LINENO"; then :
   4116 
   4117 else
   4118   # Broken: fails on valid input.
   4119 continue
   4120 fi
   4121 rm -f conftest.err conftest.i conftest.$ac_ext
   4122 
   4123   # OK, works on sane cases.  Now check whether nonexistent headers
   4124   # can be detected and how.
   4125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4126 /* end confdefs.h.  */
   4127 #include <ac_nonexistent.h>
   4128 _ACEOF
   4129 if ac_fn_c_try_cpp "$LINENO"; then :
   4130   # Broken: success on invalid input.
   4131 continue
   4132 else
   4133   # Passes both tests.
   4134 ac_preproc_ok=:
   4135 break
   4136 fi
   4137 rm -f conftest.err conftest.i conftest.$ac_ext
   4138 
   4139 done
   4140 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4141 rm -f conftest.i conftest.err conftest.$ac_ext
   4142 if $ac_preproc_ok; then :
   4143   break
   4144 fi
   4145 
   4146     done
   4147     ac_cv_prog_CPP=$CPP
   4148 
   4149 fi
   4150   CPP=$ac_cv_prog_CPP
   4151 else
   4152   ac_cv_prog_CPP=$CPP
   4153 fi
   4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4155 $as_echo "$CPP" >&6; }
   4156 ac_preproc_ok=false
   4157 for ac_c_preproc_warn_flag in '' yes
   4158 do
   4159   # Use a header file that comes with gcc, so configuring glibc
   4160   # with a fresh cross-compiler works.
   4161   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4162   # <limits.h> exists even on freestanding compilers.
   4163   # On the NeXT, cc -E runs the code through the compiler's parser,
   4164   # not just through cpp. "Syntax error" is here to catch this case.
   4165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4166 /* end confdefs.h.  */
   4167 #ifdef __STDC__
   4168 # include <limits.h>
   4169 #else
   4170 # include <assert.h>
   4171 #endif
   4172 		     Syntax error
   4173 _ACEOF
   4174 if ac_fn_c_try_cpp "$LINENO"; then :
   4175 
   4176 else
   4177   # Broken: fails on valid input.
   4178 continue
   4179 fi
   4180 rm -f conftest.err conftest.i conftest.$ac_ext
   4181 
   4182   # OK, works on sane cases.  Now check whether nonexistent headers
   4183   # can be detected and how.
   4184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4185 /* end confdefs.h.  */
   4186 #include <ac_nonexistent.h>
   4187 _ACEOF
   4188 if ac_fn_c_try_cpp "$LINENO"; then :
   4189   # Broken: success on invalid input.
   4190 continue
   4191 else
   4192   # Passes both tests.
   4193 ac_preproc_ok=:
   4194 break
   4195 fi
   4196 rm -f conftest.err conftest.i conftest.$ac_ext
   4197 
   4198 done
   4199 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4200 rm -f conftest.i conftest.err conftest.$ac_ext
   4201 if $ac_preproc_ok; then :
   4202 
   4203 else
   4204   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4206 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4207 See \`config.log' for more details" "$LINENO" 5; }
   4208 fi
   4209 
   4210 ac_ext=c
   4211 ac_cpp='$CPP $CPPFLAGS'
   4212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4215 
   4216 
   4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4218 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4219 if ${ac_cv_path_GREP+:} false; then :
   4220   $as_echo_n "(cached) " >&6
   4221 else
   4222   if test -z "$GREP"; then
   4223   ac_path_GREP_found=false
   4224   # Loop through the user's path and test for each of PROGNAME-LIST
   4225   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4226 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4227 do
   4228   IFS=$as_save_IFS
   4229   test -z "$as_dir" && as_dir=.
   4230     for ac_prog in grep ggrep; do
   4231     for ac_exec_ext in '' $ac_executable_extensions; do
   4232       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4233       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4234 # Check for GNU ac_path_GREP and select it if it is found.
   4235   # Check for GNU $ac_path_GREP
   4236 case `"$ac_path_GREP" --version 2>&1` in
   4237 *GNU*)
   4238   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4239 *)
   4240   ac_count=0
   4241   $as_echo_n 0123456789 >"conftest.in"
   4242   while :
   4243   do
   4244     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4245     mv "conftest.tmp" "conftest.in"
   4246     cp "conftest.in" "conftest.nl"
   4247     $as_echo 'GREP' >> "conftest.nl"
   4248     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4249     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4250     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4251     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4252       # Best one so far, save it but keep looking for a better one
   4253       ac_cv_path_GREP="$ac_path_GREP"
   4254       ac_path_GREP_max=$ac_count
   4255     fi
   4256     # 10*(2^10) chars as input seems more than enough
   4257     test $ac_count -gt 10 && break
   4258   done
   4259   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4260 esac
   4261 
   4262       $ac_path_GREP_found && break 3
   4263     done
   4264   done
   4265   done
   4266 IFS=$as_save_IFS
   4267   if test -z "$ac_cv_path_GREP"; then
   4268     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4269   fi
   4270 else
   4271   ac_cv_path_GREP=$GREP
   4272 fi
   4273 
   4274 fi
   4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4276 $as_echo "$ac_cv_path_GREP" >&6; }
   4277  GREP="$ac_cv_path_GREP"
   4278 
   4279 
   4280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4281 $as_echo_n "checking for egrep... " >&6; }
   4282 if ${ac_cv_path_EGREP+:} false; then :
   4283   $as_echo_n "(cached) " >&6
   4284 else
   4285   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4286    then ac_cv_path_EGREP="$GREP -E"
   4287    else
   4288      if test -z "$EGREP"; then
   4289   ac_path_EGREP_found=false
   4290   # Loop through the user's path and test for each of PROGNAME-LIST
   4291   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4292 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4293 do
   4294   IFS=$as_save_IFS
   4295   test -z "$as_dir" && as_dir=.
   4296     for ac_prog in egrep; do
   4297     for ac_exec_ext in '' $ac_executable_extensions; do
   4298       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4299       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4300 # Check for GNU ac_path_EGREP and select it if it is found.
   4301   # Check for GNU $ac_path_EGREP
   4302 case `"$ac_path_EGREP" --version 2>&1` in
   4303 *GNU*)
   4304   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4305 *)
   4306   ac_count=0
   4307   $as_echo_n 0123456789 >"conftest.in"
   4308   while :
   4309   do
   4310     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4311     mv "conftest.tmp" "conftest.in"
   4312     cp "conftest.in" "conftest.nl"
   4313     $as_echo 'EGREP' >> "conftest.nl"
   4314     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4315     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4316     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4317     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4318       # Best one so far, save it but keep looking for a better one
   4319       ac_cv_path_EGREP="$ac_path_EGREP"
   4320       ac_path_EGREP_max=$ac_count
   4321     fi
   4322     # 10*(2^10) chars as input seems more than enough
   4323     test $ac_count -gt 10 && break
   4324   done
   4325   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4326 esac
   4327 
   4328       $ac_path_EGREP_found && break 3
   4329     done
   4330   done
   4331   done
   4332 IFS=$as_save_IFS
   4333   if test -z "$ac_cv_path_EGREP"; then
   4334     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4335   fi
   4336 else
   4337   ac_cv_path_EGREP=$EGREP
   4338 fi
   4339 
   4340    fi
   4341 fi
   4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4343 $as_echo "$ac_cv_path_EGREP" >&6; }
   4344  EGREP="$ac_cv_path_EGREP"
   4345 
   4346 
   4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4348 $as_echo_n "checking for ANSI C header files... " >&6; }
   4349 if ${ac_cv_header_stdc+:} false; then :
   4350   $as_echo_n "(cached) " >&6
   4351 else
   4352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4353 /* end confdefs.h.  */
   4354 #include <stdlib.h>
   4355 #include <stdarg.h>
   4356 #include <string.h>
   4357 #include <float.h>
   4358 
   4359 int
   4360 main ()
   4361 {
   4362 
   4363   ;
   4364   return 0;
   4365 }
   4366 _ACEOF
   4367 if ac_fn_c_try_compile "$LINENO"; then :
   4368   ac_cv_header_stdc=yes
   4369 else
   4370   ac_cv_header_stdc=no
   4371 fi
   4372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4373 
   4374 if test $ac_cv_header_stdc = yes; then
   4375   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4377 /* end confdefs.h.  */
   4378 #include <string.h>
   4379 
   4380 _ACEOF
   4381 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4382   $EGREP "memchr" >/dev/null 2>&1; then :
   4383 
   4384 else
   4385   ac_cv_header_stdc=no
   4386 fi
   4387 rm -f conftest*
   4388 
   4389 fi
   4390 
   4391 if test $ac_cv_header_stdc = yes; then
   4392   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4394 /* end confdefs.h.  */
   4395 #include <stdlib.h>
   4396 
   4397 _ACEOF
   4398 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4399   $EGREP "free" >/dev/null 2>&1; then :
   4400 
   4401 else
   4402   ac_cv_header_stdc=no
   4403 fi
   4404 rm -f conftest*
   4405 
   4406 fi
   4407 
   4408 if test $ac_cv_header_stdc = yes; then
   4409   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4410   if test "$cross_compiling" = yes; then :
   4411   :
   4412 else
   4413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4414 /* end confdefs.h.  */
   4415 #include <ctype.h>
   4416 #include <stdlib.h>
   4417 #if ((' ' & 0x0FF) == 0x020)
   4418 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4419 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4420 #else
   4421 # define ISLOWER(c) \
   4422 		   (('a' <= (c) && (c) <= 'i') \
   4423 		     || ('j' <= (c) && (c) <= 'r') \
   4424 		     || ('s' <= (c) && (c) <= 'z'))
   4425 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4426 #endif
   4427 
   4428 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4429 int
   4430 main ()
   4431 {
   4432   int i;
   4433   for (i = 0; i < 256; i++)
   4434     if (XOR (islower (i), ISLOWER (i))
   4435 	|| toupper (i) != TOUPPER (i))
   4436       return 2;
   4437   return 0;
   4438 }
   4439 _ACEOF
   4440 if ac_fn_c_try_run "$LINENO"; then :
   4441 
   4442 else
   4443   ac_cv_header_stdc=no
   4444 fi
   4445 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4446   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4447 fi
   4448 
   4449 fi
   4450 fi
   4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4452 $as_echo "$ac_cv_header_stdc" >&6; }
   4453 if test $ac_cv_header_stdc = yes; then
   4454 
   4455 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4456 
   4457 fi
   4458 
   4459 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4460 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4461 		  inttypes.h stdint.h unistd.h
   4462 do :
   4463   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4464 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4465 "
   4466 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4467   cat >>confdefs.h <<_ACEOF
   4468 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4469 _ACEOF
   4470 
   4471 fi
   4472 
   4473 done
   4474 
   4475 
   4476 
   4477 
   4478 
   4479 
   4480 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4481 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4482   CLANGCC="yes"
   4483 else
   4484   CLANGCC="no"
   4485 fi
   4486 
   4487 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4488 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4489   INTELCC="yes"
   4490 else
   4491   INTELCC="no"
   4492 fi
   4493 
   4494 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4495 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4496   SUNCC="yes"
   4497 else
   4498   SUNCC="no"
   4499 fi
   4500 
   4501 
   4502 
   4503 
   4504 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4505 	if test -n "$ac_tool_prefix"; then
   4506   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4507 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4509 $as_echo_n "checking for $ac_word... " >&6; }
   4510 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4511   $as_echo_n "(cached) " >&6
   4512 else
   4513   case $PKG_CONFIG in
   4514   [\\/]* | ?:[\\/]*)
   4515   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4516   ;;
   4517   *)
   4518   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4519 for as_dir in $PATH
   4520 do
   4521   IFS=$as_save_IFS
   4522   test -z "$as_dir" && as_dir=.
   4523     for ac_exec_ext in '' $ac_executable_extensions; do
   4524   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4525     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4526     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4527     break 2
   4528   fi
   4529 done
   4530   done
   4531 IFS=$as_save_IFS
   4532 
   4533   ;;
   4534 esac
   4535 fi
   4536 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4537 if test -n "$PKG_CONFIG"; then
   4538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4539 $as_echo "$PKG_CONFIG" >&6; }
   4540 else
   4541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4542 $as_echo "no" >&6; }
   4543 fi
   4544 
   4545 
   4546 fi
   4547 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4548   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4549   # Extract the first word of "pkg-config", so it can be a program name with args.
   4550 set dummy pkg-config; ac_word=$2
   4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4552 $as_echo_n "checking for $ac_word... " >&6; }
   4553 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4554   $as_echo_n "(cached) " >&6
   4555 else
   4556   case $ac_pt_PKG_CONFIG in
   4557   [\\/]* | ?:[\\/]*)
   4558   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4559   ;;
   4560   *)
   4561   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4562 for as_dir in $PATH
   4563 do
   4564   IFS=$as_save_IFS
   4565   test -z "$as_dir" && as_dir=.
   4566     for ac_exec_ext in '' $ac_executable_extensions; do
   4567   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4568     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4569     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4570     break 2
   4571   fi
   4572 done
   4573   done
   4574 IFS=$as_save_IFS
   4575 
   4576   ;;
   4577 esac
   4578 fi
   4579 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4580 if test -n "$ac_pt_PKG_CONFIG"; then
   4581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4582 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4583 else
   4584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4585 $as_echo "no" >&6; }
   4586 fi
   4587 
   4588   if test "x$ac_pt_PKG_CONFIG" = x; then
   4589     PKG_CONFIG=""
   4590   else
   4591     case $cross_compiling:$ac_tool_warned in
   4592 yes:)
   4593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4594 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4595 ac_tool_warned=yes ;;
   4596 esac
   4597     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4598   fi
   4599 else
   4600   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4601 fi
   4602 
   4603 fi
   4604 if test -n "$PKG_CONFIG"; then
   4605 	_pkg_min_version=0.9.0
   4606 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4607 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4608 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4609 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4610 $as_echo "yes" >&6; }
   4611 	else
   4612 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4613 $as_echo "no" >&6; }
   4614 		PKG_CONFIG=""
   4615 	fi
   4616 
   4617 fi
   4618 # Make sure we can run config.sub.
   4619 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4620   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4621 
   4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4623 $as_echo_n "checking build system type... " >&6; }
   4624 if ${ac_cv_build+:} false; then :
   4625   $as_echo_n "(cached) " >&6
   4626 else
   4627   ac_build_alias=$build_alias
   4628 test "x$ac_build_alias" = x &&
   4629   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4630 test "x$ac_build_alias" = x &&
   4631   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4632 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4633   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4634 
   4635 fi
   4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4637 $as_echo "$ac_cv_build" >&6; }
   4638 case $ac_cv_build in
   4639 *-*-*) ;;
   4640 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4641 esac
   4642 build=$ac_cv_build
   4643 ac_save_IFS=$IFS; IFS='-'
   4644 set x $ac_cv_build
   4645 shift
   4646 build_cpu=$1
   4647 build_vendor=$2
   4648 shift; shift
   4649 # Remember, the first character of IFS is used to create $*,
   4650 # except with old shells:
   4651 build_os=$*
   4652 IFS=$ac_save_IFS
   4653 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4654 
   4655 
   4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4657 $as_echo_n "checking host system type... " >&6; }
   4658 if ${ac_cv_host+:} false; then :
   4659   $as_echo_n "(cached) " >&6
   4660 else
   4661   if test "x$host_alias" = x; then
   4662   ac_cv_host=$ac_cv_build
   4663 else
   4664   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4665     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4666 fi
   4667 
   4668 fi
   4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4670 $as_echo "$ac_cv_host" >&6; }
   4671 case $ac_cv_host in
   4672 *-*-*) ;;
   4673 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4674 esac
   4675 host=$ac_cv_host
   4676 ac_save_IFS=$IFS; IFS='-'
   4677 set x $ac_cv_host
   4678 shift
   4679 host_cpu=$1
   4680 host_vendor=$2
   4681 shift; shift
   4682 # Remember, the first character of IFS is used to create $*,
   4683 # except with old shells:
   4684 host_os=$*
   4685 IFS=$ac_save_IFS
   4686 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4687 
   4688 
   4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4690 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4691 if ${ac_cv_path_SED+:} false; then :
   4692   $as_echo_n "(cached) " >&6
   4693 else
   4694             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4695      for ac_i in 1 2 3 4 5 6 7; do
   4696        ac_script="$ac_script$as_nl$ac_script"
   4697      done
   4698      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4699      { ac_script=; unset ac_script;}
   4700      if test -z "$SED"; then
   4701   ac_path_SED_found=false
   4702   # Loop through the user's path and test for each of PROGNAME-LIST
   4703   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4704 for as_dir in $PATH
   4705 do
   4706   IFS=$as_save_IFS
   4707   test -z "$as_dir" && as_dir=.
   4708     for ac_prog in sed gsed; do
   4709     for ac_exec_ext in '' $ac_executable_extensions; do
   4710       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4711       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4712 # Check for GNU ac_path_SED and select it if it is found.
   4713   # Check for GNU $ac_path_SED
   4714 case `"$ac_path_SED" --version 2>&1` in
   4715 *GNU*)
   4716   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4717 *)
   4718   ac_count=0
   4719   $as_echo_n 0123456789 >"conftest.in"
   4720   while :
   4721   do
   4722     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4723     mv "conftest.tmp" "conftest.in"
   4724     cp "conftest.in" "conftest.nl"
   4725     $as_echo '' >> "conftest.nl"
   4726     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4727     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4728     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4729     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4730       # Best one so far, save it but keep looking for a better one
   4731       ac_cv_path_SED="$ac_path_SED"
   4732       ac_path_SED_max=$ac_count
   4733     fi
   4734     # 10*(2^10) chars as input seems more than enough
   4735     test $ac_count -gt 10 && break
   4736   done
   4737   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4738 esac
   4739 
   4740       $ac_path_SED_found && break 3
   4741     done
   4742   done
   4743   done
   4744 IFS=$as_save_IFS
   4745   if test -z "$ac_cv_path_SED"; then
   4746     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4747   fi
   4748 else
   4749   ac_cv_path_SED=$SED
   4750 fi
   4751 
   4752 fi
   4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4754 $as_echo "$ac_cv_path_SED" >&6; }
   4755  SED="$ac_cv_path_SED"
   4756   rm -f conftest.sed
   4757 
   4758 
   4759 
   4760 
   4761 
   4762 
   4763 # Check whether --enable-selective-werror was given.
   4764 if test "${enable_selective_werror+set}" = set; then :
   4765   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4766 else
   4767   SELECTIVE_WERROR=yes
   4768 fi
   4769 
   4770 
   4771 
   4772 
   4773 
   4774 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4775 if test "x$SUNCC" = "xyes"; then
   4776     BASE_CFLAGS="-v"
   4777 else
   4778     BASE_CFLAGS=""
   4779 fi
   4780 
   4781 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4782 
   4783 
   4784 
   4785 
   4786 
   4787 
   4788 
   4789 
   4790 
   4791 
   4792 
   4793 
   4794 
   4795 xorg_testset_save_CFLAGS="$CFLAGS"
   4796 
   4797 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4798 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4799 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4800 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4801 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4802   $as_echo_n "(cached) " >&6
   4803 else
   4804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4805 /* end confdefs.h.  */
   4806 int i;
   4807 _ACEOF
   4808 if ac_fn_c_try_compile "$LINENO"; then :
   4809   xorg_cv_cc_flag_unknown_warning_option=yes
   4810 else
   4811   xorg_cv_cc_flag_unknown_warning_option=no
   4812 fi
   4813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4814 fi
   4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4816 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4817 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4818 	CFLAGS="$xorg_testset_save_CFLAGS"
   4819 fi
   4820 
   4821 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4822 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4823 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4824 	fi
   4825 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4826 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4827 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4828 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4829   $as_echo_n "(cached) " >&6
   4830 else
   4831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4832 /* end confdefs.h.  */
   4833 int i;
   4834 _ACEOF
   4835 if ac_fn_c_try_compile "$LINENO"; then :
   4836   xorg_cv_cc_flag_unused_command_line_argument=yes
   4837 else
   4838   xorg_cv_cc_flag_unused_command_line_argument=no
   4839 fi
   4840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4841 fi
   4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4843 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4844 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4845 	CFLAGS="$xorg_testset_save_CFLAGS"
   4846 fi
   4847 
   4848 found="no"
   4849 
   4850 	if test $found = "no" ; then
   4851 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4852 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4853 		fi
   4854 
   4855 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4856 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4857 		fi
   4858 
   4859 		CFLAGS="$CFLAGS -Wall"
   4860 
   4861 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4862 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4863 		cacheid=xorg_cv_cc_flag__Wall
   4864 		if eval \${$cacheid+:} false; then :
   4865   $as_echo_n "(cached) " >&6
   4866 else
   4867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4868 /* end confdefs.h.  */
   4869 int i;
   4870 int
   4871 main ()
   4872 {
   4873 
   4874   ;
   4875   return 0;
   4876 }
   4877 _ACEOF
   4878 if ac_fn_c_try_link "$LINENO"; then :
   4879   eval $cacheid=yes
   4880 else
   4881   eval $cacheid=no
   4882 fi
   4883 rm -f core conftest.err conftest.$ac_objext \
   4884     conftest$ac_exeext conftest.$ac_ext
   4885 fi
   4886 
   4887 
   4888 		CFLAGS="$xorg_testset_save_CFLAGS"
   4889 
   4890 		eval supported=\$$cacheid
   4891 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4892 $as_echo "$supported" >&6; }
   4893 		if test "$supported" = "yes" ; then
   4894 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4895 			found="yes"
   4896 		fi
   4897 	fi
   4898 
   4899 
   4900 
   4901 
   4902 
   4903 
   4904 
   4905 
   4906 
   4907 
   4908 
   4909 
   4910 
   4911 
   4912 
   4913 xorg_testset_save_CFLAGS="$CFLAGS"
   4914 
   4915 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4916 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4917 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4918 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4919 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4920   $as_echo_n "(cached) " >&6
   4921 else
   4922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4923 /* end confdefs.h.  */
   4924 int i;
   4925 _ACEOF
   4926 if ac_fn_c_try_compile "$LINENO"; then :
   4927   xorg_cv_cc_flag_unknown_warning_option=yes
   4928 else
   4929   xorg_cv_cc_flag_unknown_warning_option=no
   4930 fi
   4931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4932 fi
   4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4934 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4935 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4936 	CFLAGS="$xorg_testset_save_CFLAGS"
   4937 fi
   4938 
   4939 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4940 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4941 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4942 	fi
   4943 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4944 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4945 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4946 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4947   $as_echo_n "(cached) " >&6
   4948 else
   4949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4950 /* end confdefs.h.  */
   4951 int i;
   4952 _ACEOF
   4953 if ac_fn_c_try_compile "$LINENO"; then :
   4954   xorg_cv_cc_flag_unused_command_line_argument=yes
   4955 else
   4956   xorg_cv_cc_flag_unused_command_line_argument=no
   4957 fi
   4958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4959 fi
   4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4961 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4962 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4963 	CFLAGS="$xorg_testset_save_CFLAGS"
   4964 fi
   4965 
   4966 found="no"
   4967 
   4968 	if test $found = "no" ; then
   4969 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4970 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4971 		fi
   4972 
   4973 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4974 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4975 		fi
   4976 
   4977 		CFLAGS="$CFLAGS -Wpointer-arith"
   4978 
   4979 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4980 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4981 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4982 		if eval \${$cacheid+:} false; then :
   4983   $as_echo_n "(cached) " >&6
   4984 else
   4985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4986 /* end confdefs.h.  */
   4987 int i;
   4988 int
   4989 main ()
   4990 {
   4991 
   4992   ;
   4993   return 0;
   4994 }
   4995 _ACEOF
   4996 if ac_fn_c_try_link "$LINENO"; then :
   4997   eval $cacheid=yes
   4998 else
   4999   eval $cacheid=no
   5000 fi
   5001 rm -f core conftest.err conftest.$ac_objext \
   5002     conftest$ac_exeext conftest.$ac_ext
   5003 fi
   5004 
   5005 
   5006 		CFLAGS="$xorg_testset_save_CFLAGS"
   5007 
   5008 		eval supported=\$$cacheid
   5009 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5010 $as_echo "$supported" >&6; }
   5011 		if test "$supported" = "yes" ; then
   5012 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5013 			found="yes"
   5014 		fi
   5015 	fi
   5016 
   5017 
   5018 
   5019 
   5020 
   5021 
   5022 
   5023 
   5024 
   5025 
   5026 
   5027 
   5028 
   5029 
   5030 
   5031 xorg_testset_save_CFLAGS="$CFLAGS"
   5032 
   5033 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5034 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5035 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5036 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5037 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5038   $as_echo_n "(cached) " >&6
   5039 else
   5040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5041 /* end confdefs.h.  */
   5042 int i;
   5043 _ACEOF
   5044 if ac_fn_c_try_compile "$LINENO"; then :
   5045   xorg_cv_cc_flag_unknown_warning_option=yes
   5046 else
   5047   xorg_cv_cc_flag_unknown_warning_option=no
   5048 fi
   5049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5050 fi
   5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5052 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5053 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5054 	CFLAGS="$xorg_testset_save_CFLAGS"
   5055 fi
   5056 
   5057 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5058 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5059 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5060 	fi
   5061 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5062 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5063 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5064 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5065   $as_echo_n "(cached) " >&6
   5066 else
   5067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5068 /* end confdefs.h.  */
   5069 int i;
   5070 _ACEOF
   5071 if ac_fn_c_try_compile "$LINENO"; then :
   5072   xorg_cv_cc_flag_unused_command_line_argument=yes
   5073 else
   5074   xorg_cv_cc_flag_unused_command_line_argument=no
   5075 fi
   5076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5077 fi
   5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5079 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5080 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5081 	CFLAGS="$xorg_testset_save_CFLAGS"
   5082 fi
   5083 
   5084 found="no"
   5085 
   5086 	if test $found = "no" ; then
   5087 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5088 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5089 		fi
   5090 
   5091 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5092 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5093 		fi
   5094 
   5095 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5096 
   5097 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5098 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5099 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5100 		if eval \${$cacheid+:} false; then :
   5101   $as_echo_n "(cached) " >&6
   5102 else
   5103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5104 /* end confdefs.h.  */
   5105 int i;
   5106 int
   5107 main ()
   5108 {
   5109 
   5110   ;
   5111   return 0;
   5112 }
   5113 _ACEOF
   5114 if ac_fn_c_try_link "$LINENO"; then :
   5115   eval $cacheid=yes
   5116 else
   5117   eval $cacheid=no
   5118 fi
   5119 rm -f core conftest.err conftest.$ac_objext \
   5120     conftest$ac_exeext conftest.$ac_ext
   5121 fi
   5122 
   5123 
   5124 		CFLAGS="$xorg_testset_save_CFLAGS"
   5125 
   5126 		eval supported=\$$cacheid
   5127 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5128 $as_echo "$supported" >&6; }
   5129 		if test "$supported" = "yes" ; then
   5130 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5131 			found="yes"
   5132 		fi
   5133 	fi
   5134 
   5135 
   5136 
   5137 
   5138 
   5139 
   5140 
   5141 
   5142 
   5143 
   5144 
   5145 
   5146 
   5147 
   5148 
   5149 xorg_testset_save_CFLAGS="$CFLAGS"
   5150 
   5151 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5152 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5153 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5154 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5155 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5156   $as_echo_n "(cached) " >&6
   5157 else
   5158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5159 /* end confdefs.h.  */
   5160 int i;
   5161 _ACEOF
   5162 if ac_fn_c_try_compile "$LINENO"; then :
   5163   xorg_cv_cc_flag_unknown_warning_option=yes
   5164 else
   5165   xorg_cv_cc_flag_unknown_warning_option=no
   5166 fi
   5167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5168 fi
   5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5170 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5171 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5172 	CFLAGS="$xorg_testset_save_CFLAGS"
   5173 fi
   5174 
   5175 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5176 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5177 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5178 	fi
   5179 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5180 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5181 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5182 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5183   $as_echo_n "(cached) " >&6
   5184 else
   5185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5186 /* end confdefs.h.  */
   5187 int i;
   5188 _ACEOF
   5189 if ac_fn_c_try_compile "$LINENO"; then :
   5190   xorg_cv_cc_flag_unused_command_line_argument=yes
   5191 else
   5192   xorg_cv_cc_flag_unused_command_line_argument=no
   5193 fi
   5194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5195 fi
   5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5197 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5198 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5199 	CFLAGS="$xorg_testset_save_CFLAGS"
   5200 fi
   5201 
   5202 found="no"
   5203 
   5204 	if test $found = "no" ; then
   5205 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5206 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5207 		fi
   5208 
   5209 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5210 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5211 		fi
   5212 
   5213 		CFLAGS="$CFLAGS -Wformat=2"
   5214 
   5215 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5216 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5217 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   5218 		if eval \${$cacheid+:} false; then :
   5219   $as_echo_n "(cached) " >&6
   5220 else
   5221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5222 /* end confdefs.h.  */
   5223 int i;
   5224 int
   5225 main ()
   5226 {
   5227 
   5228   ;
   5229   return 0;
   5230 }
   5231 _ACEOF
   5232 if ac_fn_c_try_link "$LINENO"; then :
   5233   eval $cacheid=yes
   5234 else
   5235   eval $cacheid=no
   5236 fi
   5237 rm -f core conftest.err conftest.$ac_objext \
   5238     conftest$ac_exeext conftest.$ac_ext
   5239 fi
   5240 
   5241 
   5242 		CFLAGS="$xorg_testset_save_CFLAGS"
   5243 
   5244 		eval supported=\$$cacheid
   5245 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5246 $as_echo "$supported" >&6; }
   5247 		if test "$supported" = "yes" ; then
   5248 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5249 			found="yes"
   5250 		fi
   5251 	fi
   5252 
   5253 	if test $found = "no" ; then
   5254 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5255 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5256 		fi
   5257 
   5258 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5259 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5260 		fi
   5261 
   5262 		CFLAGS="$CFLAGS -Wformat"
   5263 
   5264 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5265 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5266 		cacheid=xorg_cv_cc_flag__Wformat
   5267 		if eval \${$cacheid+:} false; then :
   5268   $as_echo_n "(cached) " >&6
   5269 else
   5270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5271 /* end confdefs.h.  */
   5272 int i;
   5273 int
   5274 main ()
   5275 {
   5276 
   5277   ;
   5278   return 0;
   5279 }
   5280 _ACEOF
   5281 if ac_fn_c_try_link "$LINENO"; then :
   5282   eval $cacheid=yes
   5283 else
   5284   eval $cacheid=no
   5285 fi
   5286 rm -f core conftest.err conftest.$ac_objext \
   5287     conftest$ac_exeext conftest.$ac_ext
   5288 fi
   5289 
   5290 
   5291 		CFLAGS="$xorg_testset_save_CFLAGS"
   5292 
   5293 		eval supported=\$$cacheid
   5294 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5295 $as_echo "$supported" >&6; }
   5296 		if test "$supported" = "yes" ; then
   5297 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5298 			found="yes"
   5299 		fi
   5300 	fi
   5301 
   5302 
   5303 
   5304 
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 xorg_testset_save_CFLAGS="$CFLAGS"
   5319 
   5320 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5321 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5322 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5323 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5324 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5325   $as_echo_n "(cached) " >&6
   5326 else
   5327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5328 /* end confdefs.h.  */
   5329 int i;
   5330 _ACEOF
   5331 if ac_fn_c_try_compile "$LINENO"; then :
   5332   xorg_cv_cc_flag_unknown_warning_option=yes
   5333 else
   5334   xorg_cv_cc_flag_unknown_warning_option=no
   5335 fi
   5336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5337 fi
   5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5339 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5340 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5341 	CFLAGS="$xorg_testset_save_CFLAGS"
   5342 fi
   5343 
   5344 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5345 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5346 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5347 	fi
   5348 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5349 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5350 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5351 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5352   $as_echo_n "(cached) " >&6
   5353 else
   5354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5355 /* end confdefs.h.  */
   5356 int i;
   5357 _ACEOF
   5358 if ac_fn_c_try_compile "$LINENO"; then :
   5359   xorg_cv_cc_flag_unused_command_line_argument=yes
   5360 else
   5361   xorg_cv_cc_flag_unused_command_line_argument=no
   5362 fi
   5363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5364 fi
   5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5366 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5367 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5368 	CFLAGS="$xorg_testset_save_CFLAGS"
   5369 fi
   5370 
   5371 found="no"
   5372 
   5373 	if test $found = "no" ; then
   5374 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5375 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5376 		fi
   5377 
   5378 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5379 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5380 		fi
   5381 
   5382 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5383 
   5384 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5385 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5386 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5387 		if eval \${$cacheid+:} false; then :
   5388   $as_echo_n "(cached) " >&6
   5389 else
   5390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5391 /* end confdefs.h.  */
   5392 int i;
   5393 int
   5394 main ()
   5395 {
   5396 
   5397   ;
   5398   return 0;
   5399 }
   5400 _ACEOF
   5401 if ac_fn_c_try_link "$LINENO"; then :
   5402   eval $cacheid=yes
   5403 else
   5404   eval $cacheid=no
   5405 fi
   5406 rm -f core conftest.err conftest.$ac_objext \
   5407     conftest$ac_exeext conftest.$ac_ext
   5408 fi
   5409 
   5410 
   5411 		CFLAGS="$xorg_testset_save_CFLAGS"
   5412 
   5413 		eval supported=\$$cacheid
   5414 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5415 $as_echo "$supported" >&6; }
   5416 		if test "$supported" = "yes" ; then
   5417 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5418 			found="yes"
   5419 		fi
   5420 	fi
   5421 
   5422 
   5423 
   5424 
   5425 
   5426 
   5427 
   5428 
   5429 
   5430 
   5431 
   5432 
   5433 
   5434 
   5435 
   5436 xorg_testset_save_CFLAGS="$CFLAGS"
   5437 
   5438 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5439 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5440 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5441 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5442 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5443   $as_echo_n "(cached) " >&6
   5444 else
   5445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5446 /* end confdefs.h.  */
   5447 int i;
   5448 _ACEOF
   5449 if ac_fn_c_try_compile "$LINENO"; then :
   5450   xorg_cv_cc_flag_unknown_warning_option=yes
   5451 else
   5452   xorg_cv_cc_flag_unknown_warning_option=no
   5453 fi
   5454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5455 fi
   5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5457 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5458 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5459 	CFLAGS="$xorg_testset_save_CFLAGS"
   5460 fi
   5461 
   5462 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5463 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5464 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5465 	fi
   5466 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5467 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5468 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5469 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5470   $as_echo_n "(cached) " >&6
   5471 else
   5472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5473 /* end confdefs.h.  */
   5474 int i;
   5475 _ACEOF
   5476 if ac_fn_c_try_compile "$LINENO"; then :
   5477   xorg_cv_cc_flag_unused_command_line_argument=yes
   5478 else
   5479   xorg_cv_cc_flag_unused_command_line_argument=no
   5480 fi
   5481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5482 fi
   5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5484 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5485 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5486 	CFLAGS="$xorg_testset_save_CFLAGS"
   5487 fi
   5488 
   5489 found="no"
   5490 
   5491 	if test $found = "no" ; then
   5492 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5493 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5494 		fi
   5495 
   5496 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5497 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5498 		fi
   5499 
   5500 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5501 
   5502 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5503 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5504 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5505 		if eval \${$cacheid+:} false; then :
   5506   $as_echo_n "(cached) " >&6
   5507 else
   5508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5509 /* end confdefs.h.  */
   5510 int i;
   5511 int
   5512 main ()
   5513 {
   5514 
   5515   ;
   5516   return 0;
   5517 }
   5518 _ACEOF
   5519 if ac_fn_c_try_link "$LINENO"; then :
   5520   eval $cacheid=yes
   5521 else
   5522   eval $cacheid=no
   5523 fi
   5524 rm -f core conftest.err conftest.$ac_objext \
   5525     conftest$ac_exeext conftest.$ac_ext
   5526 fi
   5527 
   5528 
   5529 		CFLAGS="$xorg_testset_save_CFLAGS"
   5530 
   5531 		eval supported=\$$cacheid
   5532 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5533 $as_echo "$supported" >&6; }
   5534 		if test "$supported" = "yes" ; then
   5535 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5536 			found="yes"
   5537 		fi
   5538 	fi
   5539 
   5540 
   5541 
   5542 
   5543 
   5544 
   5545 
   5546 
   5547 
   5548 
   5549 
   5550 
   5551 
   5552 
   5553 
   5554 xorg_testset_save_CFLAGS="$CFLAGS"
   5555 
   5556 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5557 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5558 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5559 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5560 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5561   $as_echo_n "(cached) " >&6
   5562 else
   5563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5564 /* end confdefs.h.  */
   5565 int i;
   5566 _ACEOF
   5567 if ac_fn_c_try_compile "$LINENO"; then :
   5568   xorg_cv_cc_flag_unknown_warning_option=yes
   5569 else
   5570   xorg_cv_cc_flag_unknown_warning_option=no
   5571 fi
   5572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5573 fi
   5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5575 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5576 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5577 	CFLAGS="$xorg_testset_save_CFLAGS"
   5578 fi
   5579 
   5580 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5581 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5582 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5583 	fi
   5584 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5585 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5586 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5587 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5588   $as_echo_n "(cached) " >&6
   5589 else
   5590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5591 /* end confdefs.h.  */
   5592 int i;
   5593 _ACEOF
   5594 if ac_fn_c_try_compile "$LINENO"; then :
   5595   xorg_cv_cc_flag_unused_command_line_argument=yes
   5596 else
   5597   xorg_cv_cc_flag_unused_command_line_argument=no
   5598 fi
   5599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5600 fi
   5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5602 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5603 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5604 	CFLAGS="$xorg_testset_save_CFLAGS"
   5605 fi
   5606 
   5607 found="no"
   5608 
   5609 	if test $found = "no" ; then
   5610 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5611 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5612 		fi
   5613 
   5614 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5615 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5616 		fi
   5617 
   5618 		CFLAGS="$CFLAGS -Wnested-externs"
   5619 
   5620 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5621 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5622 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5623 		if eval \${$cacheid+:} false; then :
   5624   $as_echo_n "(cached) " >&6
   5625 else
   5626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5627 /* end confdefs.h.  */
   5628 int i;
   5629 int
   5630 main ()
   5631 {
   5632 
   5633   ;
   5634   return 0;
   5635 }
   5636 _ACEOF
   5637 if ac_fn_c_try_link "$LINENO"; then :
   5638   eval $cacheid=yes
   5639 else
   5640   eval $cacheid=no
   5641 fi
   5642 rm -f core conftest.err conftest.$ac_objext \
   5643     conftest$ac_exeext conftest.$ac_ext
   5644 fi
   5645 
   5646 
   5647 		CFLAGS="$xorg_testset_save_CFLAGS"
   5648 
   5649 		eval supported=\$$cacheid
   5650 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5651 $as_echo "$supported" >&6; }
   5652 		if test "$supported" = "yes" ; then
   5653 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5654 			found="yes"
   5655 		fi
   5656 	fi
   5657 
   5658 
   5659 
   5660 
   5661 
   5662 
   5663 
   5664 
   5665 
   5666 
   5667 
   5668 
   5669 
   5670 
   5671 
   5672 xorg_testset_save_CFLAGS="$CFLAGS"
   5673 
   5674 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5675 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5676 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5677 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5678 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5679   $as_echo_n "(cached) " >&6
   5680 else
   5681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5682 /* end confdefs.h.  */
   5683 int i;
   5684 _ACEOF
   5685 if ac_fn_c_try_compile "$LINENO"; then :
   5686   xorg_cv_cc_flag_unknown_warning_option=yes
   5687 else
   5688   xorg_cv_cc_flag_unknown_warning_option=no
   5689 fi
   5690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5691 fi
   5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5693 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5694 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5695 	CFLAGS="$xorg_testset_save_CFLAGS"
   5696 fi
   5697 
   5698 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5699 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5700 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5701 	fi
   5702 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5703 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5704 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5705 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5706   $as_echo_n "(cached) " >&6
   5707 else
   5708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5709 /* end confdefs.h.  */
   5710 int i;
   5711 _ACEOF
   5712 if ac_fn_c_try_compile "$LINENO"; then :
   5713   xorg_cv_cc_flag_unused_command_line_argument=yes
   5714 else
   5715   xorg_cv_cc_flag_unused_command_line_argument=no
   5716 fi
   5717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5718 fi
   5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5720 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5721 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5722 	CFLAGS="$xorg_testset_save_CFLAGS"
   5723 fi
   5724 
   5725 found="no"
   5726 
   5727 	if test $found = "no" ; then
   5728 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5729 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5730 		fi
   5731 
   5732 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5733 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5734 		fi
   5735 
   5736 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5737 
   5738 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5739 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5740 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5741 		if eval \${$cacheid+:} false; then :
   5742   $as_echo_n "(cached) " >&6
   5743 else
   5744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5745 /* end confdefs.h.  */
   5746 int i;
   5747 int
   5748 main ()
   5749 {
   5750 
   5751   ;
   5752   return 0;
   5753 }
   5754 _ACEOF
   5755 if ac_fn_c_try_link "$LINENO"; then :
   5756   eval $cacheid=yes
   5757 else
   5758   eval $cacheid=no
   5759 fi
   5760 rm -f core conftest.err conftest.$ac_objext \
   5761     conftest$ac_exeext conftest.$ac_ext
   5762 fi
   5763 
   5764 
   5765 		CFLAGS="$xorg_testset_save_CFLAGS"
   5766 
   5767 		eval supported=\$$cacheid
   5768 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5769 $as_echo "$supported" >&6; }
   5770 		if test "$supported" = "yes" ; then
   5771 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5772 			found="yes"
   5773 		fi
   5774 	fi
   5775 
   5776 
   5777 
   5778 
   5779 
   5780 
   5781 
   5782 
   5783 
   5784 
   5785 
   5786 
   5787 
   5788 
   5789 
   5790 xorg_testset_save_CFLAGS="$CFLAGS"
   5791 
   5792 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5793 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5794 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5795 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5796 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5797   $as_echo_n "(cached) " >&6
   5798 else
   5799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5800 /* end confdefs.h.  */
   5801 int i;
   5802 _ACEOF
   5803 if ac_fn_c_try_compile "$LINENO"; then :
   5804   xorg_cv_cc_flag_unknown_warning_option=yes
   5805 else
   5806   xorg_cv_cc_flag_unknown_warning_option=no
   5807 fi
   5808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5809 fi
   5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5811 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5812 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5813 	CFLAGS="$xorg_testset_save_CFLAGS"
   5814 fi
   5815 
   5816 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5817 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5818 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5819 	fi
   5820 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5821 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5822 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5823 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5824   $as_echo_n "(cached) " >&6
   5825 else
   5826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5827 /* end confdefs.h.  */
   5828 int i;
   5829 _ACEOF
   5830 if ac_fn_c_try_compile "$LINENO"; then :
   5831   xorg_cv_cc_flag_unused_command_line_argument=yes
   5832 else
   5833   xorg_cv_cc_flag_unused_command_line_argument=no
   5834 fi
   5835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5836 fi
   5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5838 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5839 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5840 	CFLAGS="$xorg_testset_save_CFLAGS"
   5841 fi
   5842 
   5843 found="no"
   5844 
   5845 	if test $found = "no" ; then
   5846 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5847 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5848 		fi
   5849 
   5850 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5851 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5852 		fi
   5853 
   5854 		CFLAGS="$CFLAGS -Wold-style-definition"
   5855 
   5856 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5857 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5858 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5859 		if eval \${$cacheid+:} false; then :
   5860   $as_echo_n "(cached) " >&6
   5861 else
   5862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5863 /* end confdefs.h.  */
   5864 int i;
   5865 int
   5866 main ()
   5867 {
   5868 
   5869   ;
   5870   return 0;
   5871 }
   5872 _ACEOF
   5873 if ac_fn_c_try_link "$LINENO"; then :
   5874   eval $cacheid=yes
   5875 else
   5876   eval $cacheid=no
   5877 fi
   5878 rm -f core conftest.err conftest.$ac_objext \
   5879     conftest$ac_exeext conftest.$ac_ext
   5880 fi
   5881 
   5882 
   5883 		CFLAGS="$xorg_testset_save_CFLAGS"
   5884 
   5885 		eval supported=\$$cacheid
   5886 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5887 $as_echo "$supported" >&6; }
   5888 		if test "$supported" = "yes" ; then
   5889 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5890 			found="yes"
   5891 		fi
   5892 	fi
   5893 
   5894 
   5895 
   5896 
   5897 
   5898 
   5899 
   5900 
   5901 
   5902 
   5903 
   5904 
   5905 
   5906 
   5907 
   5908 xorg_testset_save_CFLAGS="$CFLAGS"
   5909 
   5910 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5911 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5912 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5913 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5914 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5915   $as_echo_n "(cached) " >&6
   5916 else
   5917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5918 /* end confdefs.h.  */
   5919 int i;
   5920 _ACEOF
   5921 if ac_fn_c_try_compile "$LINENO"; then :
   5922   xorg_cv_cc_flag_unknown_warning_option=yes
   5923 else
   5924   xorg_cv_cc_flag_unknown_warning_option=no
   5925 fi
   5926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5927 fi
   5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5929 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5930 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5931 	CFLAGS="$xorg_testset_save_CFLAGS"
   5932 fi
   5933 
   5934 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5935 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5936 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5937 	fi
   5938 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5939 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5940 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5941 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5942   $as_echo_n "(cached) " >&6
   5943 else
   5944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5945 /* end confdefs.h.  */
   5946 int i;
   5947 _ACEOF
   5948 if ac_fn_c_try_compile "$LINENO"; then :
   5949   xorg_cv_cc_flag_unused_command_line_argument=yes
   5950 else
   5951   xorg_cv_cc_flag_unused_command_line_argument=no
   5952 fi
   5953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5954 fi
   5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5956 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5957 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5958 	CFLAGS="$xorg_testset_save_CFLAGS"
   5959 fi
   5960 
   5961 found="no"
   5962 
   5963 	if test $found = "no" ; then
   5964 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5965 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5966 		fi
   5967 
   5968 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5969 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5970 		fi
   5971 
   5972 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5973 
   5974 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5975 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5976 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5977 		if eval \${$cacheid+:} false; then :
   5978   $as_echo_n "(cached) " >&6
   5979 else
   5980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5981 /* end confdefs.h.  */
   5982 int i;
   5983 int
   5984 main ()
   5985 {
   5986 
   5987   ;
   5988   return 0;
   5989 }
   5990 _ACEOF
   5991 if ac_fn_c_try_link "$LINENO"; then :
   5992   eval $cacheid=yes
   5993 else
   5994   eval $cacheid=no
   5995 fi
   5996 rm -f core conftest.err conftest.$ac_objext \
   5997     conftest$ac_exeext conftest.$ac_ext
   5998 fi
   5999 
   6000 
   6001 		CFLAGS="$xorg_testset_save_CFLAGS"
   6002 
   6003 		eval supported=\$$cacheid
   6004 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6005 $as_echo "$supported" >&6; }
   6006 		if test "$supported" = "yes" ; then
   6007 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6008 			found="yes"
   6009 		fi
   6010 	fi
   6011 
   6012 
   6013 
   6014 
   6015 
   6016 # This chunk adds additional warnings that could catch undesired effects.
   6017 
   6018 
   6019 
   6020 
   6021 
   6022 
   6023 
   6024 
   6025 
   6026 
   6027 
   6028 
   6029 
   6030 xorg_testset_save_CFLAGS="$CFLAGS"
   6031 
   6032 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6033 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6034 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6035 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6036 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6037   $as_echo_n "(cached) " >&6
   6038 else
   6039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6040 /* end confdefs.h.  */
   6041 int i;
   6042 _ACEOF
   6043 if ac_fn_c_try_compile "$LINENO"; then :
   6044   xorg_cv_cc_flag_unknown_warning_option=yes
   6045 else
   6046   xorg_cv_cc_flag_unknown_warning_option=no
   6047 fi
   6048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6049 fi
   6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6051 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6052 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6053 	CFLAGS="$xorg_testset_save_CFLAGS"
   6054 fi
   6055 
   6056 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6057 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6058 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6059 	fi
   6060 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6061 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6062 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6063 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6064   $as_echo_n "(cached) " >&6
   6065 else
   6066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6067 /* end confdefs.h.  */
   6068 int i;
   6069 _ACEOF
   6070 if ac_fn_c_try_compile "$LINENO"; then :
   6071   xorg_cv_cc_flag_unused_command_line_argument=yes
   6072 else
   6073   xorg_cv_cc_flag_unused_command_line_argument=no
   6074 fi
   6075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6076 fi
   6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6078 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6079 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6080 	CFLAGS="$xorg_testset_save_CFLAGS"
   6081 fi
   6082 
   6083 found="no"
   6084 
   6085 	if test $found = "no" ; then
   6086 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6087 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6088 		fi
   6089 
   6090 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6091 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6092 		fi
   6093 
   6094 		CFLAGS="$CFLAGS -Wunused"
   6095 
   6096 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6097 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6098 		cacheid=xorg_cv_cc_flag__Wunused
   6099 		if eval \${$cacheid+:} false; then :
   6100   $as_echo_n "(cached) " >&6
   6101 else
   6102   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6103 /* end confdefs.h.  */
   6104 int i;
   6105 int
   6106 main ()
   6107 {
   6108 
   6109   ;
   6110   return 0;
   6111 }
   6112 _ACEOF
   6113 if ac_fn_c_try_link "$LINENO"; then :
   6114   eval $cacheid=yes
   6115 else
   6116   eval $cacheid=no
   6117 fi
   6118 rm -f core conftest.err conftest.$ac_objext \
   6119     conftest$ac_exeext conftest.$ac_ext
   6120 fi
   6121 
   6122 
   6123 		CFLAGS="$xorg_testset_save_CFLAGS"
   6124 
   6125 		eval supported=\$$cacheid
   6126 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6127 $as_echo "$supported" >&6; }
   6128 		if test "$supported" = "yes" ; then
   6129 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6130 			found="yes"
   6131 		fi
   6132 	fi
   6133 
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 
   6140 
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 
   6147 
   6148 xorg_testset_save_CFLAGS="$CFLAGS"
   6149 
   6150 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6151 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6152 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6153 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6154 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6155   $as_echo_n "(cached) " >&6
   6156 else
   6157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6158 /* end confdefs.h.  */
   6159 int i;
   6160 _ACEOF
   6161 if ac_fn_c_try_compile "$LINENO"; then :
   6162   xorg_cv_cc_flag_unknown_warning_option=yes
   6163 else
   6164   xorg_cv_cc_flag_unknown_warning_option=no
   6165 fi
   6166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6167 fi
   6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6169 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6170 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6171 	CFLAGS="$xorg_testset_save_CFLAGS"
   6172 fi
   6173 
   6174 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6175 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6176 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6177 	fi
   6178 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6179 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6180 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6181 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6182   $as_echo_n "(cached) " >&6
   6183 else
   6184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6185 /* end confdefs.h.  */
   6186 int i;
   6187 _ACEOF
   6188 if ac_fn_c_try_compile "$LINENO"; then :
   6189   xorg_cv_cc_flag_unused_command_line_argument=yes
   6190 else
   6191   xorg_cv_cc_flag_unused_command_line_argument=no
   6192 fi
   6193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6194 fi
   6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6196 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6197 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6198 	CFLAGS="$xorg_testset_save_CFLAGS"
   6199 fi
   6200 
   6201 found="no"
   6202 
   6203 	if test $found = "no" ; then
   6204 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6205 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6206 		fi
   6207 
   6208 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6209 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6210 		fi
   6211 
   6212 		CFLAGS="$CFLAGS -Wuninitialized"
   6213 
   6214 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6215 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6216 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6217 		if eval \${$cacheid+:} false; then :
   6218   $as_echo_n "(cached) " >&6
   6219 else
   6220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6221 /* end confdefs.h.  */
   6222 int i;
   6223 int
   6224 main ()
   6225 {
   6226 
   6227   ;
   6228   return 0;
   6229 }
   6230 _ACEOF
   6231 if ac_fn_c_try_link "$LINENO"; then :
   6232   eval $cacheid=yes
   6233 else
   6234   eval $cacheid=no
   6235 fi
   6236 rm -f core conftest.err conftest.$ac_objext \
   6237     conftest$ac_exeext conftest.$ac_ext
   6238 fi
   6239 
   6240 
   6241 		CFLAGS="$xorg_testset_save_CFLAGS"
   6242 
   6243 		eval supported=\$$cacheid
   6244 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6245 $as_echo "$supported" >&6; }
   6246 		if test "$supported" = "yes" ; then
   6247 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6248 			found="yes"
   6249 		fi
   6250 	fi
   6251 
   6252 
   6253 
   6254 
   6255 
   6256 
   6257 
   6258 
   6259 
   6260 
   6261 
   6262 
   6263 
   6264 
   6265 
   6266 xorg_testset_save_CFLAGS="$CFLAGS"
   6267 
   6268 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6269 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6270 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6271 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6272 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6273   $as_echo_n "(cached) " >&6
   6274 else
   6275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6276 /* end confdefs.h.  */
   6277 int i;
   6278 _ACEOF
   6279 if ac_fn_c_try_compile "$LINENO"; then :
   6280   xorg_cv_cc_flag_unknown_warning_option=yes
   6281 else
   6282   xorg_cv_cc_flag_unknown_warning_option=no
   6283 fi
   6284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6285 fi
   6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6287 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6288 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6289 	CFLAGS="$xorg_testset_save_CFLAGS"
   6290 fi
   6291 
   6292 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6293 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6294 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6295 	fi
   6296 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6297 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6298 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6299 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6300   $as_echo_n "(cached) " >&6
   6301 else
   6302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6303 /* end confdefs.h.  */
   6304 int i;
   6305 _ACEOF
   6306 if ac_fn_c_try_compile "$LINENO"; then :
   6307   xorg_cv_cc_flag_unused_command_line_argument=yes
   6308 else
   6309   xorg_cv_cc_flag_unused_command_line_argument=no
   6310 fi
   6311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6312 fi
   6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6314 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6315 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6316 	CFLAGS="$xorg_testset_save_CFLAGS"
   6317 fi
   6318 
   6319 found="no"
   6320 
   6321 	if test $found = "no" ; then
   6322 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6323 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6324 		fi
   6325 
   6326 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6327 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6328 		fi
   6329 
   6330 		CFLAGS="$CFLAGS -Wshadow"
   6331 
   6332 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6333 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6334 		cacheid=xorg_cv_cc_flag__Wshadow
   6335 		if eval \${$cacheid+:} false; then :
   6336   $as_echo_n "(cached) " >&6
   6337 else
   6338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6339 /* end confdefs.h.  */
   6340 int i;
   6341 int
   6342 main ()
   6343 {
   6344 
   6345   ;
   6346   return 0;
   6347 }
   6348 _ACEOF
   6349 if ac_fn_c_try_link "$LINENO"; then :
   6350   eval $cacheid=yes
   6351 else
   6352   eval $cacheid=no
   6353 fi
   6354 rm -f core conftest.err conftest.$ac_objext \
   6355     conftest$ac_exeext conftest.$ac_ext
   6356 fi
   6357 
   6358 
   6359 		CFLAGS="$xorg_testset_save_CFLAGS"
   6360 
   6361 		eval supported=\$$cacheid
   6362 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6363 $as_echo "$supported" >&6; }
   6364 		if test "$supported" = "yes" ; then
   6365 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6366 			found="yes"
   6367 		fi
   6368 	fi
   6369 
   6370 
   6371 
   6372 
   6373 
   6374 
   6375 
   6376 
   6377 
   6378 
   6379 
   6380 
   6381 
   6382 
   6383 
   6384 xorg_testset_save_CFLAGS="$CFLAGS"
   6385 
   6386 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6387 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6388 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6389 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6390 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6391   $as_echo_n "(cached) " >&6
   6392 else
   6393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6394 /* end confdefs.h.  */
   6395 int i;
   6396 _ACEOF
   6397 if ac_fn_c_try_compile "$LINENO"; then :
   6398   xorg_cv_cc_flag_unknown_warning_option=yes
   6399 else
   6400   xorg_cv_cc_flag_unknown_warning_option=no
   6401 fi
   6402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6403 fi
   6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6405 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6406 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6407 	CFLAGS="$xorg_testset_save_CFLAGS"
   6408 fi
   6409 
   6410 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6411 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6412 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6413 	fi
   6414 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6415 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6416 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6417 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6418   $as_echo_n "(cached) " >&6
   6419 else
   6420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6421 /* end confdefs.h.  */
   6422 int i;
   6423 _ACEOF
   6424 if ac_fn_c_try_compile "$LINENO"; then :
   6425   xorg_cv_cc_flag_unused_command_line_argument=yes
   6426 else
   6427   xorg_cv_cc_flag_unused_command_line_argument=no
   6428 fi
   6429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6430 fi
   6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6432 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6433 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6434 	CFLAGS="$xorg_testset_save_CFLAGS"
   6435 fi
   6436 
   6437 found="no"
   6438 
   6439 	if test $found = "no" ; then
   6440 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6441 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6442 		fi
   6443 
   6444 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6445 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6446 		fi
   6447 
   6448 		CFLAGS="$CFLAGS -Wcast-qual"
   6449 
   6450 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6451 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6452 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6453 		if eval \${$cacheid+:} false; then :
   6454   $as_echo_n "(cached) " >&6
   6455 else
   6456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6457 /* end confdefs.h.  */
   6458 int i;
   6459 int
   6460 main ()
   6461 {
   6462 
   6463   ;
   6464   return 0;
   6465 }
   6466 _ACEOF
   6467 if ac_fn_c_try_link "$LINENO"; then :
   6468   eval $cacheid=yes
   6469 else
   6470   eval $cacheid=no
   6471 fi
   6472 rm -f core conftest.err conftest.$ac_objext \
   6473     conftest$ac_exeext conftest.$ac_ext
   6474 fi
   6475 
   6476 
   6477 		CFLAGS="$xorg_testset_save_CFLAGS"
   6478 
   6479 		eval supported=\$$cacheid
   6480 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6481 $as_echo "$supported" >&6; }
   6482 		if test "$supported" = "yes" ; then
   6483 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6484 			found="yes"
   6485 		fi
   6486 	fi
   6487 
   6488 
   6489 
   6490 
   6491 
   6492 
   6493 
   6494 
   6495 
   6496 
   6497 
   6498 
   6499 
   6500 
   6501 
   6502 xorg_testset_save_CFLAGS="$CFLAGS"
   6503 
   6504 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6505 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6506 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6507 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6508 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6509   $as_echo_n "(cached) " >&6
   6510 else
   6511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6512 /* end confdefs.h.  */
   6513 int i;
   6514 _ACEOF
   6515 if ac_fn_c_try_compile "$LINENO"; then :
   6516   xorg_cv_cc_flag_unknown_warning_option=yes
   6517 else
   6518   xorg_cv_cc_flag_unknown_warning_option=no
   6519 fi
   6520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6521 fi
   6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6523 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6524 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6525 	CFLAGS="$xorg_testset_save_CFLAGS"
   6526 fi
   6527 
   6528 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6529 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6530 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6531 	fi
   6532 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6533 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6534 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6535 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6536   $as_echo_n "(cached) " >&6
   6537 else
   6538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6539 /* end confdefs.h.  */
   6540 int i;
   6541 _ACEOF
   6542 if ac_fn_c_try_compile "$LINENO"; then :
   6543   xorg_cv_cc_flag_unused_command_line_argument=yes
   6544 else
   6545   xorg_cv_cc_flag_unused_command_line_argument=no
   6546 fi
   6547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6548 fi
   6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6550 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6551 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6552 	CFLAGS="$xorg_testset_save_CFLAGS"
   6553 fi
   6554 
   6555 found="no"
   6556 
   6557 	if test $found = "no" ; then
   6558 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6559 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6560 		fi
   6561 
   6562 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6563 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6564 		fi
   6565 
   6566 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6567 
   6568 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6569 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6570 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6571 		if eval \${$cacheid+:} false; then :
   6572   $as_echo_n "(cached) " >&6
   6573 else
   6574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6575 /* end confdefs.h.  */
   6576 int i;
   6577 int
   6578 main ()
   6579 {
   6580 
   6581   ;
   6582   return 0;
   6583 }
   6584 _ACEOF
   6585 if ac_fn_c_try_link "$LINENO"; then :
   6586   eval $cacheid=yes
   6587 else
   6588   eval $cacheid=no
   6589 fi
   6590 rm -f core conftest.err conftest.$ac_objext \
   6591     conftest$ac_exeext conftest.$ac_ext
   6592 fi
   6593 
   6594 
   6595 		CFLAGS="$xorg_testset_save_CFLAGS"
   6596 
   6597 		eval supported=\$$cacheid
   6598 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6599 $as_echo "$supported" >&6; }
   6600 		if test "$supported" = "yes" ; then
   6601 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6602 			found="yes"
   6603 		fi
   6604 	fi
   6605 
   6606 
   6607 
   6608 
   6609 
   6610 
   6611 
   6612 
   6613 
   6614 
   6615 
   6616 
   6617 
   6618 
   6619 
   6620 xorg_testset_save_CFLAGS="$CFLAGS"
   6621 
   6622 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6623 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6624 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6625 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6626 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6627   $as_echo_n "(cached) " >&6
   6628 else
   6629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6630 /* end confdefs.h.  */
   6631 int i;
   6632 _ACEOF
   6633 if ac_fn_c_try_compile "$LINENO"; then :
   6634   xorg_cv_cc_flag_unknown_warning_option=yes
   6635 else
   6636   xorg_cv_cc_flag_unknown_warning_option=no
   6637 fi
   6638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6639 fi
   6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6641 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6642 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6643 	CFLAGS="$xorg_testset_save_CFLAGS"
   6644 fi
   6645 
   6646 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6647 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6648 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6649 	fi
   6650 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6651 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6652 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6653 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6654   $as_echo_n "(cached) " >&6
   6655 else
   6656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6657 /* end confdefs.h.  */
   6658 int i;
   6659 _ACEOF
   6660 if ac_fn_c_try_compile "$LINENO"; then :
   6661   xorg_cv_cc_flag_unused_command_line_argument=yes
   6662 else
   6663   xorg_cv_cc_flag_unused_command_line_argument=no
   6664 fi
   6665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6666 fi
   6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6668 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6669 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6670 	CFLAGS="$xorg_testset_save_CFLAGS"
   6671 fi
   6672 
   6673 found="no"
   6674 
   6675 	if test $found = "no" ; then
   6676 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6677 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6678 		fi
   6679 
   6680 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6681 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6682 		fi
   6683 
   6684 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6685 
   6686 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6687 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6688 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6689 		if eval \${$cacheid+:} false; then :
   6690   $as_echo_n "(cached) " >&6
   6691 else
   6692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6693 /* end confdefs.h.  */
   6694 int i;
   6695 int
   6696 main ()
   6697 {
   6698 
   6699   ;
   6700   return 0;
   6701 }
   6702 _ACEOF
   6703 if ac_fn_c_try_link "$LINENO"; then :
   6704   eval $cacheid=yes
   6705 else
   6706   eval $cacheid=no
   6707 fi
   6708 rm -f core conftest.err conftest.$ac_objext \
   6709     conftest$ac_exeext conftest.$ac_ext
   6710 fi
   6711 
   6712 
   6713 		CFLAGS="$xorg_testset_save_CFLAGS"
   6714 
   6715 		eval supported=\$$cacheid
   6716 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6717 $as_echo "$supported" >&6; }
   6718 		if test "$supported" = "yes" ; then
   6719 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6720 			found="yes"
   6721 		fi
   6722 	fi
   6723 
   6724 
   6725 
   6726 
   6727 
   6728 
   6729 
   6730 
   6731 
   6732 
   6733 
   6734 
   6735 
   6736 
   6737 
   6738 xorg_testset_save_CFLAGS="$CFLAGS"
   6739 
   6740 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6741 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6742 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6743 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6744 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6745   $as_echo_n "(cached) " >&6
   6746 else
   6747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6748 /* end confdefs.h.  */
   6749 int i;
   6750 _ACEOF
   6751 if ac_fn_c_try_compile "$LINENO"; then :
   6752   xorg_cv_cc_flag_unknown_warning_option=yes
   6753 else
   6754   xorg_cv_cc_flag_unknown_warning_option=no
   6755 fi
   6756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6757 fi
   6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6759 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6760 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6761 	CFLAGS="$xorg_testset_save_CFLAGS"
   6762 fi
   6763 
   6764 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6765 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6766 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6767 	fi
   6768 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6769 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6770 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6771 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6772   $as_echo_n "(cached) " >&6
   6773 else
   6774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6775 /* end confdefs.h.  */
   6776 int i;
   6777 _ACEOF
   6778 if ac_fn_c_try_compile "$LINENO"; then :
   6779   xorg_cv_cc_flag_unused_command_line_argument=yes
   6780 else
   6781   xorg_cv_cc_flag_unused_command_line_argument=no
   6782 fi
   6783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6784 fi
   6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6786 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6787 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6788 	CFLAGS="$xorg_testset_save_CFLAGS"
   6789 fi
   6790 
   6791 found="no"
   6792 
   6793 	if test $found = "no" ; then
   6794 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6795 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6796 		fi
   6797 
   6798 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6799 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6800 		fi
   6801 
   6802 		CFLAGS="$CFLAGS -Wredundant-decls"
   6803 
   6804 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6805 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6806 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6807 		if eval \${$cacheid+:} false; then :
   6808   $as_echo_n "(cached) " >&6
   6809 else
   6810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6811 /* end confdefs.h.  */
   6812 int i;
   6813 int
   6814 main ()
   6815 {
   6816 
   6817   ;
   6818   return 0;
   6819 }
   6820 _ACEOF
   6821 if ac_fn_c_try_link "$LINENO"; then :
   6822   eval $cacheid=yes
   6823 else
   6824   eval $cacheid=no
   6825 fi
   6826 rm -f core conftest.err conftest.$ac_objext \
   6827     conftest$ac_exeext conftest.$ac_ext
   6828 fi
   6829 
   6830 
   6831 		CFLAGS="$xorg_testset_save_CFLAGS"
   6832 
   6833 		eval supported=\$$cacheid
   6834 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6835 $as_echo "$supported" >&6; }
   6836 		if test "$supported" = "yes" ; then
   6837 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6838 			found="yes"
   6839 		fi
   6840 	fi
   6841 
   6842 
   6843 
   6844 # These are currently disabled because they are noisy.  They will be enabled
   6845 # in the future once the codebase is sufficiently modernized to silence
   6846 # them.  For now, I don't want them to drown out the other warnings.
   6847 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6848 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6849 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6850 
   6851 # Turn some warnings into errors, so we don't accidently get successful builds
   6852 # when there are problems that should be fixed.
   6853 
   6854 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 
   6861 
   6862 
   6863 
   6864 
   6865 
   6866 
   6867 
   6868 xorg_testset_save_CFLAGS="$CFLAGS"
   6869 
   6870 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6871 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6872 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6873 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6874 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6875   $as_echo_n "(cached) " >&6
   6876 else
   6877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6878 /* end confdefs.h.  */
   6879 int i;
   6880 _ACEOF
   6881 if ac_fn_c_try_compile "$LINENO"; then :
   6882   xorg_cv_cc_flag_unknown_warning_option=yes
   6883 else
   6884   xorg_cv_cc_flag_unknown_warning_option=no
   6885 fi
   6886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6887 fi
   6888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6889 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6890 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6891 	CFLAGS="$xorg_testset_save_CFLAGS"
   6892 fi
   6893 
   6894 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6895 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6896 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6897 	fi
   6898 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6899 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6900 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6901 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6902   $as_echo_n "(cached) " >&6
   6903 else
   6904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6905 /* end confdefs.h.  */
   6906 int i;
   6907 _ACEOF
   6908 if ac_fn_c_try_compile "$LINENO"; then :
   6909   xorg_cv_cc_flag_unused_command_line_argument=yes
   6910 else
   6911   xorg_cv_cc_flag_unused_command_line_argument=no
   6912 fi
   6913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6914 fi
   6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6916 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6917 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6918 	CFLAGS="$xorg_testset_save_CFLAGS"
   6919 fi
   6920 
   6921 found="no"
   6922 
   6923 	if test $found = "no" ; then
   6924 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6925 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6926 		fi
   6927 
   6928 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6929 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6930 		fi
   6931 
   6932 		CFLAGS="$CFLAGS -Werror=implicit"
   6933 
   6934 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6935 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6936 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   6937 		if eval \${$cacheid+:} false; then :
   6938   $as_echo_n "(cached) " >&6
   6939 else
   6940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6941 /* end confdefs.h.  */
   6942 int i;
   6943 int
   6944 main ()
   6945 {
   6946 
   6947   ;
   6948   return 0;
   6949 }
   6950 _ACEOF
   6951 if ac_fn_c_try_link "$LINENO"; then :
   6952   eval $cacheid=yes
   6953 else
   6954   eval $cacheid=no
   6955 fi
   6956 rm -f core conftest.err conftest.$ac_objext \
   6957     conftest$ac_exeext conftest.$ac_ext
   6958 fi
   6959 
   6960 
   6961 		CFLAGS="$xorg_testset_save_CFLAGS"
   6962 
   6963 		eval supported=\$$cacheid
   6964 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6965 $as_echo "$supported" >&6; }
   6966 		if test "$supported" = "yes" ; then
   6967 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6968 			found="yes"
   6969 		fi
   6970 	fi
   6971 
   6972 	if test $found = "no" ; then
   6973 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6974 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6975 		fi
   6976 
   6977 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6978 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6979 		fi
   6980 
   6981 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6982 
   6983 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6984 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6985 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   6986 		if eval \${$cacheid+:} false; then :
   6987   $as_echo_n "(cached) " >&6
   6988 else
   6989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6990 /* end confdefs.h.  */
   6991 int i;
   6992 int
   6993 main ()
   6994 {
   6995 
   6996   ;
   6997   return 0;
   6998 }
   6999 _ACEOF
   7000 if ac_fn_c_try_link "$LINENO"; then :
   7001   eval $cacheid=yes
   7002 else
   7003   eval $cacheid=no
   7004 fi
   7005 rm -f core conftest.err conftest.$ac_objext \
   7006     conftest$ac_exeext conftest.$ac_ext
   7007 fi
   7008 
   7009 
   7010 		CFLAGS="$xorg_testset_save_CFLAGS"
   7011 
   7012 		eval supported=\$$cacheid
   7013 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7014 $as_echo "$supported" >&6; }
   7015 		if test "$supported" = "yes" ; then
   7016 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7017 			found="yes"
   7018 		fi
   7019 	fi
   7020 
   7021 
   7022 
   7023 
   7024 
   7025 
   7026 
   7027 
   7028 
   7029 
   7030 
   7031 
   7032 
   7033 
   7034 
   7035 xorg_testset_save_CFLAGS="$CFLAGS"
   7036 
   7037 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7038 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7039 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7040 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7041 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7042   $as_echo_n "(cached) " >&6
   7043 else
   7044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7045 /* end confdefs.h.  */
   7046 int i;
   7047 _ACEOF
   7048 if ac_fn_c_try_compile "$LINENO"; then :
   7049   xorg_cv_cc_flag_unknown_warning_option=yes
   7050 else
   7051   xorg_cv_cc_flag_unknown_warning_option=no
   7052 fi
   7053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7054 fi
   7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7056 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7057 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7058 	CFLAGS="$xorg_testset_save_CFLAGS"
   7059 fi
   7060 
   7061 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7062 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7063 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7064 	fi
   7065 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7066 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7067 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7068 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7069   $as_echo_n "(cached) " >&6
   7070 else
   7071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7072 /* end confdefs.h.  */
   7073 int i;
   7074 _ACEOF
   7075 if ac_fn_c_try_compile "$LINENO"; then :
   7076   xorg_cv_cc_flag_unused_command_line_argument=yes
   7077 else
   7078   xorg_cv_cc_flag_unused_command_line_argument=no
   7079 fi
   7080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7081 fi
   7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7083 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7084 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7085 	CFLAGS="$xorg_testset_save_CFLAGS"
   7086 fi
   7087 
   7088 found="no"
   7089 
   7090 	if test $found = "no" ; then
   7091 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7092 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7093 		fi
   7094 
   7095 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7096 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7097 		fi
   7098 
   7099 		CFLAGS="$CFLAGS -Werror=nonnull"
   7100 
   7101 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7102 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7103 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   7104 		if eval \${$cacheid+:} false; then :
   7105   $as_echo_n "(cached) " >&6
   7106 else
   7107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7108 /* end confdefs.h.  */
   7109 int i;
   7110 int
   7111 main ()
   7112 {
   7113 
   7114   ;
   7115   return 0;
   7116 }
   7117 _ACEOF
   7118 if ac_fn_c_try_link "$LINENO"; then :
   7119   eval $cacheid=yes
   7120 else
   7121   eval $cacheid=no
   7122 fi
   7123 rm -f core conftest.err conftest.$ac_objext \
   7124     conftest$ac_exeext conftest.$ac_ext
   7125 fi
   7126 
   7127 
   7128 		CFLAGS="$xorg_testset_save_CFLAGS"
   7129 
   7130 		eval supported=\$$cacheid
   7131 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7132 $as_echo "$supported" >&6; }
   7133 		if test "$supported" = "yes" ; then
   7134 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7135 			found="yes"
   7136 		fi
   7137 	fi
   7138 
   7139 
   7140 
   7141 
   7142 
   7143 
   7144 
   7145 
   7146 
   7147 
   7148 
   7149 
   7150 
   7151 
   7152 
   7153 xorg_testset_save_CFLAGS="$CFLAGS"
   7154 
   7155 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7156 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7157 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7158 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7159 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7160   $as_echo_n "(cached) " >&6
   7161 else
   7162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7163 /* end confdefs.h.  */
   7164 int i;
   7165 _ACEOF
   7166 if ac_fn_c_try_compile "$LINENO"; then :
   7167   xorg_cv_cc_flag_unknown_warning_option=yes
   7168 else
   7169   xorg_cv_cc_flag_unknown_warning_option=no
   7170 fi
   7171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7172 fi
   7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7174 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7175 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7176 	CFLAGS="$xorg_testset_save_CFLAGS"
   7177 fi
   7178 
   7179 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7180 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7181 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7182 	fi
   7183 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7184 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7185 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7186 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7187   $as_echo_n "(cached) " >&6
   7188 else
   7189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7190 /* end confdefs.h.  */
   7191 int i;
   7192 _ACEOF
   7193 if ac_fn_c_try_compile "$LINENO"; then :
   7194   xorg_cv_cc_flag_unused_command_line_argument=yes
   7195 else
   7196   xorg_cv_cc_flag_unused_command_line_argument=no
   7197 fi
   7198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7199 fi
   7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7201 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7202 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7203 	CFLAGS="$xorg_testset_save_CFLAGS"
   7204 fi
   7205 
   7206 found="no"
   7207 
   7208 	if test $found = "no" ; then
   7209 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7210 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7211 		fi
   7212 
   7213 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7214 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7215 		fi
   7216 
   7217 		CFLAGS="$CFLAGS -Werror=init-self"
   7218 
   7219 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7220 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7221 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   7222 		if eval \${$cacheid+:} false; then :
   7223   $as_echo_n "(cached) " >&6
   7224 else
   7225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7226 /* end confdefs.h.  */
   7227 int i;
   7228 int
   7229 main ()
   7230 {
   7231 
   7232   ;
   7233   return 0;
   7234 }
   7235 _ACEOF
   7236 if ac_fn_c_try_link "$LINENO"; then :
   7237   eval $cacheid=yes
   7238 else
   7239   eval $cacheid=no
   7240 fi
   7241 rm -f core conftest.err conftest.$ac_objext \
   7242     conftest$ac_exeext conftest.$ac_ext
   7243 fi
   7244 
   7245 
   7246 		CFLAGS="$xorg_testset_save_CFLAGS"
   7247 
   7248 		eval supported=\$$cacheid
   7249 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7250 $as_echo "$supported" >&6; }
   7251 		if test "$supported" = "yes" ; then
   7252 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7253 			found="yes"
   7254 		fi
   7255 	fi
   7256 
   7257 
   7258 
   7259 
   7260 
   7261 
   7262 
   7263 
   7264 
   7265 
   7266 
   7267 
   7268 
   7269 
   7270 
   7271 xorg_testset_save_CFLAGS="$CFLAGS"
   7272 
   7273 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7274 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7275 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7276 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7277 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7278   $as_echo_n "(cached) " >&6
   7279 else
   7280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7281 /* end confdefs.h.  */
   7282 int i;
   7283 _ACEOF
   7284 if ac_fn_c_try_compile "$LINENO"; then :
   7285   xorg_cv_cc_flag_unknown_warning_option=yes
   7286 else
   7287   xorg_cv_cc_flag_unknown_warning_option=no
   7288 fi
   7289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7290 fi
   7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7292 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7293 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7294 	CFLAGS="$xorg_testset_save_CFLAGS"
   7295 fi
   7296 
   7297 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7298 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7299 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7300 	fi
   7301 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7302 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7303 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7304 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7305   $as_echo_n "(cached) " >&6
   7306 else
   7307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7308 /* end confdefs.h.  */
   7309 int i;
   7310 _ACEOF
   7311 if ac_fn_c_try_compile "$LINENO"; then :
   7312   xorg_cv_cc_flag_unused_command_line_argument=yes
   7313 else
   7314   xorg_cv_cc_flag_unused_command_line_argument=no
   7315 fi
   7316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7317 fi
   7318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7319 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7320 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7321 	CFLAGS="$xorg_testset_save_CFLAGS"
   7322 fi
   7323 
   7324 found="no"
   7325 
   7326 	if test $found = "no" ; then
   7327 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7328 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7329 		fi
   7330 
   7331 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7332 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7333 		fi
   7334 
   7335 		CFLAGS="$CFLAGS -Werror=main"
   7336 
   7337 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7338 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7339 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   7340 		if eval \${$cacheid+:} false; then :
   7341   $as_echo_n "(cached) " >&6
   7342 else
   7343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7344 /* end confdefs.h.  */
   7345 int i;
   7346 int
   7347 main ()
   7348 {
   7349 
   7350   ;
   7351   return 0;
   7352 }
   7353 _ACEOF
   7354 if ac_fn_c_try_link "$LINENO"; then :
   7355   eval $cacheid=yes
   7356 else
   7357   eval $cacheid=no
   7358 fi
   7359 rm -f core conftest.err conftest.$ac_objext \
   7360     conftest$ac_exeext conftest.$ac_ext
   7361 fi
   7362 
   7363 
   7364 		CFLAGS="$xorg_testset_save_CFLAGS"
   7365 
   7366 		eval supported=\$$cacheid
   7367 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7368 $as_echo "$supported" >&6; }
   7369 		if test "$supported" = "yes" ; then
   7370 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7371 			found="yes"
   7372 		fi
   7373 	fi
   7374 
   7375 
   7376 
   7377 
   7378 
   7379 
   7380 
   7381 
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 xorg_testset_save_CFLAGS="$CFLAGS"
   7390 
   7391 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7392 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7393 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7394 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7395 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7396   $as_echo_n "(cached) " >&6
   7397 else
   7398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7399 /* end confdefs.h.  */
   7400 int i;
   7401 _ACEOF
   7402 if ac_fn_c_try_compile "$LINENO"; then :
   7403   xorg_cv_cc_flag_unknown_warning_option=yes
   7404 else
   7405   xorg_cv_cc_flag_unknown_warning_option=no
   7406 fi
   7407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7408 fi
   7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7410 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7411 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7412 	CFLAGS="$xorg_testset_save_CFLAGS"
   7413 fi
   7414 
   7415 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7416 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7417 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7418 	fi
   7419 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7420 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7421 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7422 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7423   $as_echo_n "(cached) " >&6
   7424 else
   7425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7426 /* end confdefs.h.  */
   7427 int i;
   7428 _ACEOF
   7429 if ac_fn_c_try_compile "$LINENO"; then :
   7430   xorg_cv_cc_flag_unused_command_line_argument=yes
   7431 else
   7432   xorg_cv_cc_flag_unused_command_line_argument=no
   7433 fi
   7434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7435 fi
   7436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7437 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7438 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7439 	CFLAGS="$xorg_testset_save_CFLAGS"
   7440 fi
   7441 
   7442 found="no"
   7443 
   7444 	if test $found = "no" ; then
   7445 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7446 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7447 		fi
   7448 
   7449 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7450 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7451 		fi
   7452 
   7453 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7454 
   7455 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7456 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7457 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   7458 		if eval \${$cacheid+:} false; then :
   7459   $as_echo_n "(cached) " >&6
   7460 else
   7461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7462 /* end confdefs.h.  */
   7463 int i;
   7464 int
   7465 main ()
   7466 {
   7467 
   7468   ;
   7469   return 0;
   7470 }
   7471 _ACEOF
   7472 if ac_fn_c_try_link "$LINENO"; then :
   7473   eval $cacheid=yes
   7474 else
   7475   eval $cacheid=no
   7476 fi
   7477 rm -f core conftest.err conftest.$ac_objext \
   7478     conftest$ac_exeext conftest.$ac_ext
   7479 fi
   7480 
   7481 
   7482 		CFLAGS="$xorg_testset_save_CFLAGS"
   7483 
   7484 		eval supported=\$$cacheid
   7485 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7486 $as_echo "$supported" >&6; }
   7487 		if test "$supported" = "yes" ; then
   7488 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7489 			found="yes"
   7490 		fi
   7491 	fi
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 
   7503 
   7504 
   7505 
   7506 
   7507 xorg_testset_save_CFLAGS="$CFLAGS"
   7508 
   7509 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7510 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7511 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7512 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7513 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7514   $as_echo_n "(cached) " >&6
   7515 else
   7516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7517 /* end confdefs.h.  */
   7518 int i;
   7519 _ACEOF
   7520 if ac_fn_c_try_compile "$LINENO"; then :
   7521   xorg_cv_cc_flag_unknown_warning_option=yes
   7522 else
   7523   xorg_cv_cc_flag_unknown_warning_option=no
   7524 fi
   7525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7526 fi
   7527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7528 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7529 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7530 	CFLAGS="$xorg_testset_save_CFLAGS"
   7531 fi
   7532 
   7533 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7534 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7535 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7536 	fi
   7537 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7538 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7539 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7540 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7541   $as_echo_n "(cached) " >&6
   7542 else
   7543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7544 /* end confdefs.h.  */
   7545 int i;
   7546 _ACEOF
   7547 if ac_fn_c_try_compile "$LINENO"; then :
   7548   xorg_cv_cc_flag_unused_command_line_argument=yes
   7549 else
   7550   xorg_cv_cc_flag_unused_command_line_argument=no
   7551 fi
   7552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7553 fi
   7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7555 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7556 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7557 	CFLAGS="$xorg_testset_save_CFLAGS"
   7558 fi
   7559 
   7560 found="no"
   7561 
   7562 	if test $found = "no" ; then
   7563 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7564 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7565 		fi
   7566 
   7567 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7568 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7569 		fi
   7570 
   7571 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7572 
   7573 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7574 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7575 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   7576 		if eval \${$cacheid+:} false; then :
   7577   $as_echo_n "(cached) " >&6
   7578 else
   7579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7580 /* end confdefs.h.  */
   7581 int i;
   7582 int
   7583 main ()
   7584 {
   7585 
   7586   ;
   7587   return 0;
   7588 }
   7589 _ACEOF
   7590 if ac_fn_c_try_link "$LINENO"; then :
   7591   eval $cacheid=yes
   7592 else
   7593   eval $cacheid=no
   7594 fi
   7595 rm -f core conftest.err conftest.$ac_objext \
   7596     conftest$ac_exeext conftest.$ac_ext
   7597 fi
   7598 
   7599 
   7600 		CFLAGS="$xorg_testset_save_CFLAGS"
   7601 
   7602 		eval supported=\$$cacheid
   7603 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7604 $as_echo "$supported" >&6; }
   7605 		if test "$supported" = "yes" ; then
   7606 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7607 			found="yes"
   7608 		fi
   7609 	fi
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 
   7621 
   7622 
   7623 
   7624 
   7625 xorg_testset_save_CFLAGS="$CFLAGS"
   7626 
   7627 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7628 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7629 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7630 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7631 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7632   $as_echo_n "(cached) " >&6
   7633 else
   7634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7635 /* end confdefs.h.  */
   7636 int i;
   7637 _ACEOF
   7638 if ac_fn_c_try_compile "$LINENO"; then :
   7639   xorg_cv_cc_flag_unknown_warning_option=yes
   7640 else
   7641   xorg_cv_cc_flag_unknown_warning_option=no
   7642 fi
   7643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7644 fi
   7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7646 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7647 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7648 	CFLAGS="$xorg_testset_save_CFLAGS"
   7649 fi
   7650 
   7651 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7652 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7653 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7654 	fi
   7655 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7656 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7657 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7658 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7659   $as_echo_n "(cached) " >&6
   7660 else
   7661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7662 /* end confdefs.h.  */
   7663 int i;
   7664 _ACEOF
   7665 if ac_fn_c_try_compile "$LINENO"; then :
   7666   xorg_cv_cc_flag_unused_command_line_argument=yes
   7667 else
   7668   xorg_cv_cc_flag_unused_command_line_argument=no
   7669 fi
   7670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7671 fi
   7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7673 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7674 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7675 	CFLAGS="$xorg_testset_save_CFLAGS"
   7676 fi
   7677 
   7678 found="no"
   7679 
   7680 	if test $found = "no" ; then
   7681 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7682 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7683 		fi
   7684 
   7685 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7686 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7687 		fi
   7688 
   7689 		CFLAGS="$CFLAGS -Werror=return-type"
   7690 
   7691 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7692 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7693 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   7694 		if eval \${$cacheid+:} false; then :
   7695   $as_echo_n "(cached) " >&6
   7696 else
   7697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7698 /* end confdefs.h.  */
   7699 int i;
   7700 int
   7701 main ()
   7702 {
   7703 
   7704   ;
   7705   return 0;
   7706 }
   7707 _ACEOF
   7708 if ac_fn_c_try_link "$LINENO"; then :
   7709   eval $cacheid=yes
   7710 else
   7711   eval $cacheid=no
   7712 fi
   7713 rm -f core conftest.err conftest.$ac_objext \
   7714     conftest$ac_exeext conftest.$ac_ext
   7715 fi
   7716 
   7717 
   7718 		CFLAGS="$xorg_testset_save_CFLAGS"
   7719 
   7720 		eval supported=\$$cacheid
   7721 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7722 $as_echo "$supported" >&6; }
   7723 		if test "$supported" = "yes" ; then
   7724 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7725 			found="yes"
   7726 		fi
   7727 	fi
   7728 
   7729 	if test $found = "no" ; then
   7730 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7731 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7732 		fi
   7733 
   7734 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7735 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7736 		fi
   7737 
   7738 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7739 
   7740 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7741 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7742 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   7743 		if eval \${$cacheid+:} false; then :
   7744   $as_echo_n "(cached) " >&6
   7745 else
   7746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7747 /* end confdefs.h.  */
   7748 int i;
   7749 int
   7750 main ()
   7751 {
   7752 
   7753   ;
   7754   return 0;
   7755 }
   7756 _ACEOF
   7757 if ac_fn_c_try_link "$LINENO"; then :
   7758   eval $cacheid=yes
   7759 else
   7760   eval $cacheid=no
   7761 fi
   7762 rm -f core conftest.err conftest.$ac_objext \
   7763     conftest$ac_exeext conftest.$ac_ext
   7764 fi
   7765 
   7766 
   7767 		CFLAGS="$xorg_testset_save_CFLAGS"
   7768 
   7769 		eval supported=\$$cacheid
   7770 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7771 $as_echo "$supported" >&6; }
   7772 		if test "$supported" = "yes" ; then
   7773 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7774 			found="yes"
   7775 		fi
   7776 	fi
   7777 
   7778 
   7779 
   7780 
   7781 
   7782 
   7783 
   7784 
   7785 
   7786 
   7787 
   7788 
   7789 
   7790 
   7791 
   7792 xorg_testset_save_CFLAGS="$CFLAGS"
   7793 
   7794 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7795 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7796 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7797 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7798 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7799   $as_echo_n "(cached) " >&6
   7800 else
   7801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7802 /* end confdefs.h.  */
   7803 int i;
   7804 _ACEOF
   7805 if ac_fn_c_try_compile "$LINENO"; then :
   7806   xorg_cv_cc_flag_unknown_warning_option=yes
   7807 else
   7808   xorg_cv_cc_flag_unknown_warning_option=no
   7809 fi
   7810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7811 fi
   7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7813 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7814 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7815 	CFLAGS="$xorg_testset_save_CFLAGS"
   7816 fi
   7817 
   7818 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7819 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7820 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7821 	fi
   7822 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7823 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7824 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7825 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7826   $as_echo_n "(cached) " >&6
   7827 else
   7828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7829 /* end confdefs.h.  */
   7830 int i;
   7831 _ACEOF
   7832 if ac_fn_c_try_compile "$LINENO"; then :
   7833   xorg_cv_cc_flag_unused_command_line_argument=yes
   7834 else
   7835   xorg_cv_cc_flag_unused_command_line_argument=no
   7836 fi
   7837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7838 fi
   7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7840 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7841 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7842 	CFLAGS="$xorg_testset_save_CFLAGS"
   7843 fi
   7844 
   7845 found="no"
   7846 
   7847 	if test $found = "no" ; then
   7848 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7849 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7850 		fi
   7851 
   7852 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7853 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7854 		fi
   7855 
   7856 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7857 
   7858 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7859 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7860 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   7861 		if eval \${$cacheid+:} false; then :
   7862   $as_echo_n "(cached) " >&6
   7863 else
   7864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7865 /* end confdefs.h.  */
   7866 int i;
   7867 int
   7868 main ()
   7869 {
   7870 
   7871   ;
   7872   return 0;
   7873 }
   7874 _ACEOF
   7875 if ac_fn_c_try_link "$LINENO"; then :
   7876   eval $cacheid=yes
   7877 else
   7878   eval $cacheid=no
   7879 fi
   7880 rm -f core conftest.err conftest.$ac_objext \
   7881     conftest$ac_exeext conftest.$ac_ext
   7882 fi
   7883 
   7884 
   7885 		CFLAGS="$xorg_testset_save_CFLAGS"
   7886 
   7887 		eval supported=\$$cacheid
   7888 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7889 $as_echo "$supported" >&6; }
   7890 		if test "$supported" = "yes" ; then
   7891 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7892 			found="yes"
   7893 		fi
   7894 	fi
   7895 
   7896 
   7897 
   7898 
   7899 
   7900 
   7901 
   7902 
   7903 
   7904 
   7905 
   7906 
   7907 
   7908 
   7909 
   7910 xorg_testset_save_CFLAGS="$CFLAGS"
   7911 
   7912 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7913 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7914 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7915 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7916 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7917   $as_echo_n "(cached) " >&6
   7918 else
   7919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7920 /* end confdefs.h.  */
   7921 int i;
   7922 _ACEOF
   7923 if ac_fn_c_try_compile "$LINENO"; then :
   7924   xorg_cv_cc_flag_unknown_warning_option=yes
   7925 else
   7926   xorg_cv_cc_flag_unknown_warning_option=no
   7927 fi
   7928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7929 fi
   7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7931 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7932 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7933 	CFLAGS="$xorg_testset_save_CFLAGS"
   7934 fi
   7935 
   7936 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7937 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7938 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7939 	fi
   7940 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7941 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7942 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7943 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7944   $as_echo_n "(cached) " >&6
   7945 else
   7946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7947 /* end confdefs.h.  */
   7948 int i;
   7949 _ACEOF
   7950 if ac_fn_c_try_compile "$LINENO"; then :
   7951   xorg_cv_cc_flag_unused_command_line_argument=yes
   7952 else
   7953   xorg_cv_cc_flag_unused_command_line_argument=no
   7954 fi
   7955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7956 fi
   7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7958 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7959 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7960 	CFLAGS="$xorg_testset_save_CFLAGS"
   7961 fi
   7962 
   7963 found="no"
   7964 
   7965 	if test $found = "no" ; then
   7966 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7967 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7968 		fi
   7969 
   7970 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7971 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7972 		fi
   7973 
   7974 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7975 
   7976 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7977 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7978 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   7979 		if eval \${$cacheid+:} false; then :
   7980   $as_echo_n "(cached) " >&6
   7981 else
   7982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7983 /* end confdefs.h.  */
   7984 int i;
   7985 int
   7986 main ()
   7987 {
   7988 
   7989   ;
   7990   return 0;
   7991 }
   7992 _ACEOF
   7993 if ac_fn_c_try_link "$LINENO"; then :
   7994   eval $cacheid=yes
   7995 else
   7996   eval $cacheid=no
   7997 fi
   7998 rm -f core conftest.err conftest.$ac_objext \
   7999     conftest$ac_exeext conftest.$ac_ext
   8000 fi
   8001 
   8002 
   8003 		CFLAGS="$xorg_testset_save_CFLAGS"
   8004 
   8005 		eval supported=\$$cacheid
   8006 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8007 $as_echo "$supported" >&6; }
   8008 		if test "$supported" = "yes" ; then
   8009 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8010 			found="yes"
   8011 		fi
   8012 	fi
   8013 
   8014 
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 
   8024 
   8025 
   8026 
   8027 
   8028 xorg_testset_save_CFLAGS="$CFLAGS"
   8029 
   8030 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8031 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8032 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8033 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8034 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8035   $as_echo_n "(cached) " >&6
   8036 else
   8037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8038 /* end confdefs.h.  */
   8039 int i;
   8040 _ACEOF
   8041 if ac_fn_c_try_compile "$LINENO"; then :
   8042   xorg_cv_cc_flag_unknown_warning_option=yes
   8043 else
   8044   xorg_cv_cc_flag_unknown_warning_option=no
   8045 fi
   8046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8047 fi
   8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8049 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8050 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8051 	CFLAGS="$xorg_testset_save_CFLAGS"
   8052 fi
   8053 
   8054 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8055 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8056 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8057 	fi
   8058 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8059 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8060 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8061 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8062   $as_echo_n "(cached) " >&6
   8063 else
   8064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8065 /* end confdefs.h.  */
   8066 int i;
   8067 _ACEOF
   8068 if ac_fn_c_try_compile "$LINENO"; then :
   8069   xorg_cv_cc_flag_unused_command_line_argument=yes
   8070 else
   8071   xorg_cv_cc_flag_unused_command_line_argument=no
   8072 fi
   8073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8074 fi
   8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8076 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8077 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8078 	CFLAGS="$xorg_testset_save_CFLAGS"
   8079 fi
   8080 
   8081 found="no"
   8082 
   8083 	if test $found = "no" ; then
   8084 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8085 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8086 		fi
   8087 
   8088 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8089 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8090 		fi
   8091 
   8092 		CFLAGS="$CFLAGS -Werror=write-strings"
   8093 
   8094 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8095 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8096 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   8097 		if eval \${$cacheid+:} false; then :
   8098   $as_echo_n "(cached) " >&6
   8099 else
   8100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8101 /* end confdefs.h.  */
   8102 int i;
   8103 int
   8104 main ()
   8105 {
   8106 
   8107   ;
   8108   return 0;
   8109 }
   8110 _ACEOF
   8111 if ac_fn_c_try_link "$LINENO"; then :
   8112   eval $cacheid=yes
   8113 else
   8114   eval $cacheid=no
   8115 fi
   8116 rm -f core conftest.err conftest.$ac_objext \
   8117     conftest$ac_exeext conftest.$ac_ext
   8118 fi
   8119 
   8120 
   8121 		CFLAGS="$xorg_testset_save_CFLAGS"
   8122 
   8123 		eval supported=\$$cacheid
   8124 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8125 $as_echo "$supported" >&6; }
   8126 		if test "$supported" = "yes" ; then
   8127 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8128 			found="yes"
   8129 		fi
   8130 	fi
   8131 
   8132 
   8133 
   8134 
   8135 
   8136 
   8137 
   8138 
   8139 
   8140 
   8141 
   8142 
   8143 
   8144 
   8145 
   8146 xorg_testset_save_CFLAGS="$CFLAGS"
   8147 
   8148 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8149 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8150 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8151 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8152 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8153   $as_echo_n "(cached) " >&6
   8154 else
   8155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8156 /* end confdefs.h.  */
   8157 int i;
   8158 _ACEOF
   8159 if ac_fn_c_try_compile "$LINENO"; then :
   8160   xorg_cv_cc_flag_unknown_warning_option=yes
   8161 else
   8162   xorg_cv_cc_flag_unknown_warning_option=no
   8163 fi
   8164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8165 fi
   8166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8167 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8168 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8169 	CFLAGS="$xorg_testset_save_CFLAGS"
   8170 fi
   8171 
   8172 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8173 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8174 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8175 	fi
   8176 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8177 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8178 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8179 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8180   $as_echo_n "(cached) " >&6
   8181 else
   8182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8183 /* end confdefs.h.  */
   8184 int i;
   8185 _ACEOF
   8186 if ac_fn_c_try_compile "$LINENO"; then :
   8187   xorg_cv_cc_flag_unused_command_line_argument=yes
   8188 else
   8189   xorg_cv_cc_flag_unused_command_line_argument=no
   8190 fi
   8191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8192 fi
   8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8194 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8195 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8196 	CFLAGS="$xorg_testset_save_CFLAGS"
   8197 fi
   8198 
   8199 found="no"
   8200 
   8201 	if test $found = "no" ; then
   8202 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8203 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8204 		fi
   8205 
   8206 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8207 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8208 		fi
   8209 
   8210 		CFLAGS="$CFLAGS -Werror=address"
   8211 
   8212 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8213 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8214 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   8215 		if eval \${$cacheid+:} false; then :
   8216   $as_echo_n "(cached) " >&6
   8217 else
   8218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8219 /* end confdefs.h.  */
   8220 int i;
   8221 int
   8222 main ()
   8223 {
   8224 
   8225   ;
   8226   return 0;
   8227 }
   8228 _ACEOF
   8229 if ac_fn_c_try_link "$LINENO"; then :
   8230   eval $cacheid=yes
   8231 else
   8232   eval $cacheid=no
   8233 fi
   8234 rm -f core conftest.err conftest.$ac_objext \
   8235     conftest$ac_exeext conftest.$ac_ext
   8236 fi
   8237 
   8238 
   8239 		CFLAGS="$xorg_testset_save_CFLAGS"
   8240 
   8241 		eval supported=\$$cacheid
   8242 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8243 $as_echo "$supported" >&6; }
   8244 		if test "$supported" = "yes" ; then
   8245 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8246 			found="yes"
   8247 		fi
   8248 	fi
   8249 
   8250 
   8251 
   8252 
   8253 
   8254 
   8255 
   8256 
   8257 
   8258 
   8259 
   8260 
   8261 
   8262 
   8263 
   8264 xorg_testset_save_CFLAGS="$CFLAGS"
   8265 
   8266 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8267 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8268 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8269 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8270 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8271   $as_echo_n "(cached) " >&6
   8272 else
   8273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8274 /* end confdefs.h.  */
   8275 int i;
   8276 _ACEOF
   8277 if ac_fn_c_try_compile "$LINENO"; then :
   8278   xorg_cv_cc_flag_unknown_warning_option=yes
   8279 else
   8280   xorg_cv_cc_flag_unknown_warning_option=no
   8281 fi
   8282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8283 fi
   8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8285 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8286 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8287 	CFLAGS="$xorg_testset_save_CFLAGS"
   8288 fi
   8289 
   8290 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8291 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8292 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8293 	fi
   8294 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8295 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8296 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8297 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8298   $as_echo_n "(cached) " >&6
   8299 else
   8300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8301 /* end confdefs.h.  */
   8302 int i;
   8303 _ACEOF
   8304 if ac_fn_c_try_compile "$LINENO"; then :
   8305   xorg_cv_cc_flag_unused_command_line_argument=yes
   8306 else
   8307   xorg_cv_cc_flag_unused_command_line_argument=no
   8308 fi
   8309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8310 fi
   8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8312 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8313 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8314 	CFLAGS="$xorg_testset_save_CFLAGS"
   8315 fi
   8316 
   8317 found="no"
   8318 
   8319 	if test $found = "no" ; then
   8320 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8321 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8322 		fi
   8323 
   8324 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8325 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8326 		fi
   8327 
   8328 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8329 
   8330 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8331 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8332 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   8333 		if eval \${$cacheid+:} false; then :
   8334   $as_echo_n "(cached) " >&6
   8335 else
   8336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8337 /* end confdefs.h.  */
   8338 int i;
   8339 int
   8340 main ()
   8341 {
   8342 
   8343   ;
   8344   return 0;
   8345 }
   8346 _ACEOF
   8347 if ac_fn_c_try_link "$LINENO"; then :
   8348   eval $cacheid=yes
   8349 else
   8350   eval $cacheid=no
   8351 fi
   8352 rm -f core conftest.err conftest.$ac_objext \
   8353     conftest$ac_exeext conftest.$ac_ext
   8354 fi
   8355 
   8356 
   8357 		CFLAGS="$xorg_testset_save_CFLAGS"
   8358 
   8359 		eval supported=\$$cacheid
   8360 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8361 $as_echo "$supported" >&6; }
   8362 		if test "$supported" = "yes" ; then
   8363 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8364 			found="yes"
   8365 		fi
   8366 	fi
   8367 
   8368 	if test $found = "no" ; then
   8369 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8370 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8371 		fi
   8372 
   8373 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8374 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8375 		fi
   8376 
   8377 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8378 
   8379 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8380 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8381 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   8382 		if eval \${$cacheid+:} 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 int
   8389 main ()
   8390 {
   8391 
   8392   ;
   8393   return 0;
   8394 }
   8395 _ACEOF
   8396 if ac_fn_c_try_link "$LINENO"; then :
   8397   eval $cacheid=yes
   8398 else
   8399   eval $cacheid=no
   8400 fi
   8401 rm -f core conftest.err conftest.$ac_objext \
   8402     conftest$ac_exeext conftest.$ac_ext
   8403 fi
   8404 
   8405 
   8406 		CFLAGS="$xorg_testset_save_CFLAGS"
   8407 
   8408 		eval supported=\$$cacheid
   8409 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8410 $as_echo "$supported" >&6; }
   8411 		if test "$supported" = "yes" ; then
   8412 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8413 			found="yes"
   8414 		fi
   8415 	fi
   8416 
   8417 
   8418 
   8419 
   8420 
   8421 
   8422 
   8423 
   8424 
   8425 
   8426 
   8427 
   8428 
   8429 
   8430 
   8431 xorg_testset_save_CFLAGS="$CFLAGS"
   8432 
   8433 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8434 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8435 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8436 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8437 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8438   $as_echo_n "(cached) " >&6
   8439 else
   8440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8441 /* end confdefs.h.  */
   8442 int i;
   8443 _ACEOF
   8444 if ac_fn_c_try_compile "$LINENO"; then :
   8445   xorg_cv_cc_flag_unknown_warning_option=yes
   8446 else
   8447   xorg_cv_cc_flag_unknown_warning_option=no
   8448 fi
   8449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8450 fi
   8451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8452 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8453 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8454 	CFLAGS="$xorg_testset_save_CFLAGS"
   8455 fi
   8456 
   8457 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8458 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8459 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8460 	fi
   8461 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8462 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8463 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8464 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8465   $as_echo_n "(cached) " >&6
   8466 else
   8467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8468 /* end confdefs.h.  */
   8469 int i;
   8470 _ACEOF
   8471 if ac_fn_c_try_compile "$LINENO"; then :
   8472   xorg_cv_cc_flag_unused_command_line_argument=yes
   8473 else
   8474   xorg_cv_cc_flag_unused_command_line_argument=no
   8475 fi
   8476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8477 fi
   8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8479 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8480 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8481 	CFLAGS="$xorg_testset_save_CFLAGS"
   8482 fi
   8483 
   8484 found="no"
   8485 
   8486 	if test $found = "no" ; then
   8487 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8488 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8489 		fi
   8490 
   8491 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8492 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8493 		fi
   8494 
   8495 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8496 
   8497 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8498 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8499 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   8500 		if eval \${$cacheid+:} 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 int
   8507 main ()
   8508 {
   8509 
   8510   ;
   8511   return 0;
   8512 }
   8513 _ACEOF
   8514 if ac_fn_c_try_link "$LINENO"; then :
   8515   eval $cacheid=yes
   8516 else
   8517   eval $cacheid=no
   8518 fi
   8519 rm -f core conftest.err conftest.$ac_objext \
   8520     conftest$ac_exeext conftest.$ac_ext
   8521 fi
   8522 
   8523 
   8524 		CFLAGS="$xorg_testset_save_CFLAGS"
   8525 
   8526 		eval supported=\$$cacheid
   8527 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8528 $as_echo "$supported" >&6; }
   8529 		if test "$supported" = "yes" ; then
   8530 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8531 			found="yes"
   8532 		fi
   8533 	fi
   8534 
   8535  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8536 else
   8537 { $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
   8538 $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;}
   8539 
   8540 
   8541 
   8542 
   8543 
   8544 
   8545 
   8546 
   8547 
   8548 
   8549 
   8550 
   8551 
   8552 xorg_testset_save_CFLAGS="$CFLAGS"
   8553 
   8554 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8555 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8556 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8557 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8558 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8559   $as_echo_n "(cached) " >&6
   8560 else
   8561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8562 /* end confdefs.h.  */
   8563 int i;
   8564 _ACEOF
   8565 if ac_fn_c_try_compile "$LINENO"; then :
   8566   xorg_cv_cc_flag_unknown_warning_option=yes
   8567 else
   8568   xorg_cv_cc_flag_unknown_warning_option=no
   8569 fi
   8570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8571 fi
   8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8573 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8574 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8575 	CFLAGS="$xorg_testset_save_CFLAGS"
   8576 fi
   8577 
   8578 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8579 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8580 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8581 	fi
   8582 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8583 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8584 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8585 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8586   $as_echo_n "(cached) " >&6
   8587 else
   8588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8589 /* end confdefs.h.  */
   8590 int i;
   8591 _ACEOF
   8592 if ac_fn_c_try_compile "$LINENO"; then :
   8593   xorg_cv_cc_flag_unused_command_line_argument=yes
   8594 else
   8595   xorg_cv_cc_flag_unused_command_line_argument=no
   8596 fi
   8597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8598 fi
   8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8600 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8601 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8602 	CFLAGS="$xorg_testset_save_CFLAGS"
   8603 fi
   8604 
   8605 found="no"
   8606 
   8607 	if test $found = "no" ; then
   8608 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8609 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8610 		fi
   8611 
   8612 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8613 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8614 		fi
   8615 
   8616 		CFLAGS="$CFLAGS -Wimplicit"
   8617 
   8618 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8619 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8620 		cacheid=xorg_cv_cc_flag__Wimplicit
   8621 		if eval \${$cacheid+:} false; then :
   8622   $as_echo_n "(cached) " >&6
   8623 else
   8624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8625 /* end confdefs.h.  */
   8626 int i;
   8627 int
   8628 main ()
   8629 {
   8630 
   8631   ;
   8632   return 0;
   8633 }
   8634 _ACEOF
   8635 if ac_fn_c_try_link "$LINENO"; then :
   8636   eval $cacheid=yes
   8637 else
   8638   eval $cacheid=no
   8639 fi
   8640 rm -f core conftest.err conftest.$ac_objext \
   8641     conftest$ac_exeext conftest.$ac_ext
   8642 fi
   8643 
   8644 
   8645 		CFLAGS="$xorg_testset_save_CFLAGS"
   8646 
   8647 		eval supported=\$$cacheid
   8648 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8649 $as_echo "$supported" >&6; }
   8650 		if test "$supported" = "yes" ; then
   8651 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8652 			found="yes"
   8653 		fi
   8654 	fi
   8655 
   8656 
   8657 
   8658 
   8659 
   8660 
   8661 
   8662 
   8663 
   8664 
   8665 
   8666 
   8667 
   8668 
   8669 
   8670 xorg_testset_save_CFLAGS="$CFLAGS"
   8671 
   8672 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8673 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8674 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8675 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8676 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8677   $as_echo_n "(cached) " >&6
   8678 else
   8679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8680 /* end confdefs.h.  */
   8681 int i;
   8682 _ACEOF
   8683 if ac_fn_c_try_compile "$LINENO"; then :
   8684   xorg_cv_cc_flag_unknown_warning_option=yes
   8685 else
   8686   xorg_cv_cc_flag_unknown_warning_option=no
   8687 fi
   8688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8689 fi
   8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8691 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8692 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8693 	CFLAGS="$xorg_testset_save_CFLAGS"
   8694 fi
   8695 
   8696 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8697 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8698 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8699 	fi
   8700 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8701 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8702 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8703 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8704   $as_echo_n "(cached) " >&6
   8705 else
   8706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8707 /* end confdefs.h.  */
   8708 int i;
   8709 _ACEOF
   8710 if ac_fn_c_try_compile "$LINENO"; then :
   8711   xorg_cv_cc_flag_unused_command_line_argument=yes
   8712 else
   8713   xorg_cv_cc_flag_unused_command_line_argument=no
   8714 fi
   8715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8716 fi
   8717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8718 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8719 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8720 	CFLAGS="$xorg_testset_save_CFLAGS"
   8721 fi
   8722 
   8723 found="no"
   8724 
   8725 	if test $found = "no" ; then
   8726 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8727 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8728 		fi
   8729 
   8730 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8731 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8732 		fi
   8733 
   8734 		CFLAGS="$CFLAGS -Wnonnull"
   8735 
   8736 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8737 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8738 		cacheid=xorg_cv_cc_flag__Wnonnull
   8739 		if eval \${$cacheid+:} false; then :
   8740   $as_echo_n "(cached) " >&6
   8741 else
   8742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8743 /* end confdefs.h.  */
   8744 int i;
   8745 int
   8746 main ()
   8747 {
   8748 
   8749   ;
   8750   return 0;
   8751 }
   8752 _ACEOF
   8753 if ac_fn_c_try_link "$LINENO"; then :
   8754   eval $cacheid=yes
   8755 else
   8756   eval $cacheid=no
   8757 fi
   8758 rm -f core conftest.err conftest.$ac_objext \
   8759     conftest$ac_exeext conftest.$ac_ext
   8760 fi
   8761 
   8762 
   8763 		CFLAGS="$xorg_testset_save_CFLAGS"
   8764 
   8765 		eval supported=\$$cacheid
   8766 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8767 $as_echo "$supported" >&6; }
   8768 		if test "$supported" = "yes" ; then
   8769 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8770 			found="yes"
   8771 		fi
   8772 	fi
   8773 
   8774 
   8775 
   8776 
   8777 
   8778 
   8779 
   8780 
   8781 
   8782 
   8783 
   8784 
   8785 
   8786 
   8787 
   8788 xorg_testset_save_CFLAGS="$CFLAGS"
   8789 
   8790 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8791 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8792 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8793 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8794 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8795   $as_echo_n "(cached) " >&6
   8796 else
   8797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8798 /* end confdefs.h.  */
   8799 int i;
   8800 _ACEOF
   8801 if ac_fn_c_try_compile "$LINENO"; then :
   8802   xorg_cv_cc_flag_unknown_warning_option=yes
   8803 else
   8804   xorg_cv_cc_flag_unknown_warning_option=no
   8805 fi
   8806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8807 fi
   8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8809 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8810 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8811 	CFLAGS="$xorg_testset_save_CFLAGS"
   8812 fi
   8813 
   8814 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8815 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8816 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8817 	fi
   8818 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8819 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8820 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8821 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8822   $as_echo_n "(cached) " >&6
   8823 else
   8824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8825 /* end confdefs.h.  */
   8826 int i;
   8827 _ACEOF
   8828 if ac_fn_c_try_compile "$LINENO"; then :
   8829   xorg_cv_cc_flag_unused_command_line_argument=yes
   8830 else
   8831   xorg_cv_cc_flag_unused_command_line_argument=no
   8832 fi
   8833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8834 fi
   8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8836 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8837 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8838 	CFLAGS="$xorg_testset_save_CFLAGS"
   8839 fi
   8840 
   8841 found="no"
   8842 
   8843 	if test $found = "no" ; then
   8844 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8845 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8846 		fi
   8847 
   8848 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8849 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8850 		fi
   8851 
   8852 		CFLAGS="$CFLAGS -Winit-self"
   8853 
   8854 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8855 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8856 		cacheid=xorg_cv_cc_flag__Winit_self
   8857 		if eval \${$cacheid+:} false; then :
   8858   $as_echo_n "(cached) " >&6
   8859 else
   8860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8861 /* end confdefs.h.  */
   8862 int i;
   8863 int
   8864 main ()
   8865 {
   8866 
   8867   ;
   8868   return 0;
   8869 }
   8870 _ACEOF
   8871 if ac_fn_c_try_link "$LINENO"; then :
   8872   eval $cacheid=yes
   8873 else
   8874   eval $cacheid=no
   8875 fi
   8876 rm -f core conftest.err conftest.$ac_objext \
   8877     conftest$ac_exeext conftest.$ac_ext
   8878 fi
   8879 
   8880 
   8881 		CFLAGS="$xorg_testset_save_CFLAGS"
   8882 
   8883 		eval supported=\$$cacheid
   8884 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8885 $as_echo "$supported" >&6; }
   8886 		if test "$supported" = "yes" ; then
   8887 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8888 			found="yes"
   8889 		fi
   8890 	fi
   8891 
   8892 
   8893 
   8894 
   8895 
   8896 
   8897 
   8898 
   8899 
   8900 
   8901 
   8902 
   8903 
   8904 
   8905 
   8906 xorg_testset_save_CFLAGS="$CFLAGS"
   8907 
   8908 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8909 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8910 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8911 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8912 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8913   $as_echo_n "(cached) " >&6
   8914 else
   8915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8916 /* end confdefs.h.  */
   8917 int i;
   8918 _ACEOF
   8919 if ac_fn_c_try_compile "$LINENO"; then :
   8920   xorg_cv_cc_flag_unknown_warning_option=yes
   8921 else
   8922   xorg_cv_cc_flag_unknown_warning_option=no
   8923 fi
   8924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8925 fi
   8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8927 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8928 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8929 	CFLAGS="$xorg_testset_save_CFLAGS"
   8930 fi
   8931 
   8932 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8933 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8934 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8935 	fi
   8936 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8937 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8938 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8939 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8940   $as_echo_n "(cached) " >&6
   8941 else
   8942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8943 /* end confdefs.h.  */
   8944 int i;
   8945 _ACEOF
   8946 if ac_fn_c_try_compile "$LINENO"; then :
   8947   xorg_cv_cc_flag_unused_command_line_argument=yes
   8948 else
   8949   xorg_cv_cc_flag_unused_command_line_argument=no
   8950 fi
   8951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8952 fi
   8953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8954 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8955 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8956 	CFLAGS="$xorg_testset_save_CFLAGS"
   8957 fi
   8958 
   8959 found="no"
   8960 
   8961 	if test $found = "no" ; then
   8962 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8963 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8964 		fi
   8965 
   8966 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8967 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8968 		fi
   8969 
   8970 		CFLAGS="$CFLAGS -Wmain"
   8971 
   8972 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8973 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8974 		cacheid=xorg_cv_cc_flag__Wmain
   8975 		if eval \${$cacheid+:} false; then :
   8976   $as_echo_n "(cached) " >&6
   8977 else
   8978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8979 /* end confdefs.h.  */
   8980 int i;
   8981 int
   8982 main ()
   8983 {
   8984 
   8985   ;
   8986   return 0;
   8987 }
   8988 _ACEOF
   8989 if ac_fn_c_try_link "$LINENO"; then :
   8990   eval $cacheid=yes
   8991 else
   8992   eval $cacheid=no
   8993 fi
   8994 rm -f core conftest.err conftest.$ac_objext \
   8995     conftest$ac_exeext conftest.$ac_ext
   8996 fi
   8997 
   8998 
   8999 		CFLAGS="$xorg_testset_save_CFLAGS"
   9000 
   9001 		eval supported=\$$cacheid
   9002 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9003 $as_echo "$supported" >&6; }
   9004 		if test "$supported" = "yes" ; then
   9005 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9006 			found="yes"
   9007 		fi
   9008 	fi
   9009 
   9010 
   9011 
   9012 
   9013 
   9014 
   9015 
   9016 
   9017 
   9018 
   9019 
   9020 
   9021 
   9022 
   9023 
   9024 xorg_testset_save_CFLAGS="$CFLAGS"
   9025 
   9026 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9027 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9028 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9029 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9030 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9031   $as_echo_n "(cached) " >&6
   9032 else
   9033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9034 /* end confdefs.h.  */
   9035 int i;
   9036 _ACEOF
   9037 if ac_fn_c_try_compile "$LINENO"; then :
   9038   xorg_cv_cc_flag_unknown_warning_option=yes
   9039 else
   9040   xorg_cv_cc_flag_unknown_warning_option=no
   9041 fi
   9042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9043 fi
   9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9045 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9046 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9047 	CFLAGS="$xorg_testset_save_CFLAGS"
   9048 fi
   9049 
   9050 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9051 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9052 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9053 	fi
   9054 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9055 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9056 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9057 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9058   $as_echo_n "(cached) " >&6
   9059 else
   9060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9061 /* end confdefs.h.  */
   9062 int i;
   9063 _ACEOF
   9064 if ac_fn_c_try_compile "$LINENO"; then :
   9065   xorg_cv_cc_flag_unused_command_line_argument=yes
   9066 else
   9067   xorg_cv_cc_flag_unused_command_line_argument=no
   9068 fi
   9069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9070 fi
   9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9072 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9073 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9074 	CFLAGS="$xorg_testset_save_CFLAGS"
   9075 fi
   9076 
   9077 found="no"
   9078 
   9079 	if test $found = "no" ; then
   9080 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9081 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9082 		fi
   9083 
   9084 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9085 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9086 		fi
   9087 
   9088 		CFLAGS="$CFLAGS -Wmissing-braces"
   9089 
   9090 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9091 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9092 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9093 		if eval \${$cacheid+:} false; then :
   9094   $as_echo_n "(cached) " >&6
   9095 else
   9096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9097 /* end confdefs.h.  */
   9098 int i;
   9099 int
   9100 main ()
   9101 {
   9102 
   9103   ;
   9104   return 0;
   9105 }
   9106 _ACEOF
   9107 if ac_fn_c_try_link "$LINENO"; then :
   9108   eval $cacheid=yes
   9109 else
   9110   eval $cacheid=no
   9111 fi
   9112 rm -f core conftest.err conftest.$ac_objext \
   9113     conftest$ac_exeext conftest.$ac_ext
   9114 fi
   9115 
   9116 
   9117 		CFLAGS="$xorg_testset_save_CFLAGS"
   9118 
   9119 		eval supported=\$$cacheid
   9120 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9121 $as_echo "$supported" >&6; }
   9122 		if test "$supported" = "yes" ; then
   9123 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9124 			found="yes"
   9125 		fi
   9126 	fi
   9127 
   9128 
   9129 
   9130 
   9131 
   9132 
   9133 
   9134 
   9135 
   9136 
   9137 
   9138 
   9139 
   9140 
   9141 
   9142 xorg_testset_save_CFLAGS="$CFLAGS"
   9143 
   9144 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9145 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9146 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9147 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9148 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9149   $as_echo_n "(cached) " >&6
   9150 else
   9151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9152 /* end confdefs.h.  */
   9153 int i;
   9154 _ACEOF
   9155 if ac_fn_c_try_compile "$LINENO"; then :
   9156   xorg_cv_cc_flag_unknown_warning_option=yes
   9157 else
   9158   xorg_cv_cc_flag_unknown_warning_option=no
   9159 fi
   9160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9161 fi
   9162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9163 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9164 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9165 	CFLAGS="$xorg_testset_save_CFLAGS"
   9166 fi
   9167 
   9168 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9169 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9170 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9171 	fi
   9172 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9173 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9174 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9175 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9176   $as_echo_n "(cached) " >&6
   9177 else
   9178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9179 /* end confdefs.h.  */
   9180 int i;
   9181 _ACEOF
   9182 if ac_fn_c_try_compile "$LINENO"; then :
   9183   xorg_cv_cc_flag_unused_command_line_argument=yes
   9184 else
   9185   xorg_cv_cc_flag_unused_command_line_argument=no
   9186 fi
   9187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9188 fi
   9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9190 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9191 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9192 	CFLAGS="$xorg_testset_save_CFLAGS"
   9193 fi
   9194 
   9195 found="no"
   9196 
   9197 	if test $found = "no" ; then
   9198 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9199 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9200 		fi
   9201 
   9202 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9203 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9204 		fi
   9205 
   9206 		CFLAGS="$CFLAGS -Wsequence-point"
   9207 
   9208 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9209 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9210 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9211 		if eval \${$cacheid+:} false; then :
   9212   $as_echo_n "(cached) " >&6
   9213 else
   9214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9215 /* end confdefs.h.  */
   9216 int i;
   9217 int
   9218 main ()
   9219 {
   9220 
   9221   ;
   9222   return 0;
   9223 }
   9224 _ACEOF
   9225 if ac_fn_c_try_link "$LINENO"; then :
   9226   eval $cacheid=yes
   9227 else
   9228   eval $cacheid=no
   9229 fi
   9230 rm -f core conftest.err conftest.$ac_objext \
   9231     conftest$ac_exeext conftest.$ac_ext
   9232 fi
   9233 
   9234 
   9235 		CFLAGS="$xorg_testset_save_CFLAGS"
   9236 
   9237 		eval supported=\$$cacheid
   9238 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9239 $as_echo "$supported" >&6; }
   9240 		if test "$supported" = "yes" ; then
   9241 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9242 			found="yes"
   9243 		fi
   9244 	fi
   9245 
   9246 
   9247 
   9248 
   9249 
   9250 
   9251 
   9252 
   9253 
   9254 
   9255 
   9256 
   9257 
   9258 
   9259 
   9260 xorg_testset_save_CFLAGS="$CFLAGS"
   9261 
   9262 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9263 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9264 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9265 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9266 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9267   $as_echo_n "(cached) " >&6
   9268 else
   9269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9270 /* end confdefs.h.  */
   9271 int i;
   9272 _ACEOF
   9273 if ac_fn_c_try_compile "$LINENO"; then :
   9274   xorg_cv_cc_flag_unknown_warning_option=yes
   9275 else
   9276   xorg_cv_cc_flag_unknown_warning_option=no
   9277 fi
   9278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9279 fi
   9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9281 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9282 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9283 	CFLAGS="$xorg_testset_save_CFLAGS"
   9284 fi
   9285 
   9286 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9287 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9288 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9289 	fi
   9290 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9291 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9292 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9293 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9294   $as_echo_n "(cached) " >&6
   9295 else
   9296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9297 /* end confdefs.h.  */
   9298 int i;
   9299 _ACEOF
   9300 if ac_fn_c_try_compile "$LINENO"; then :
   9301   xorg_cv_cc_flag_unused_command_line_argument=yes
   9302 else
   9303   xorg_cv_cc_flag_unused_command_line_argument=no
   9304 fi
   9305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9306 fi
   9307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9308 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9309 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9310 	CFLAGS="$xorg_testset_save_CFLAGS"
   9311 fi
   9312 
   9313 found="no"
   9314 
   9315 	if test $found = "no" ; then
   9316 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9317 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9318 		fi
   9319 
   9320 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9321 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9322 		fi
   9323 
   9324 		CFLAGS="$CFLAGS -Wreturn-type"
   9325 
   9326 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9327 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9328 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9329 		if eval \${$cacheid+:} false; then :
   9330   $as_echo_n "(cached) " >&6
   9331 else
   9332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9333 /* end confdefs.h.  */
   9334 int i;
   9335 int
   9336 main ()
   9337 {
   9338 
   9339   ;
   9340   return 0;
   9341 }
   9342 _ACEOF
   9343 if ac_fn_c_try_link "$LINENO"; then :
   9344   eval $cacheid=yes
   9345 else
   9346   eval $cacheid=no
   9347 fi
   9348 rm -f core conftest.err conftest.$ac_objext \
   9349     conftest$ac_exeext conftest.$ac_ext
   9350 fi
   9351 
   9352 
   9353 		CFLAGS="$xorg_testset_save_CFLAGS"
   9354 
   9355 		eval supported=\$$cacheid
   9356 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9357 $as_echo "$supported" >&6; }
   9358 		if test "$supported" = "yes" ; then
   9359 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9360 			found="yes"
   9361 		fi
   9362 	fi
   9363 
   9364 
   9365 
   9366 
   9367 
   9368 
   9369 
   9370 
   9371 
   9372 
   9373 
   9374 
   9375 
   9376 
   9377 
   9378 xorg_testset_save_CFLAGS="$CFLAGS"
   9379 
   9380 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9381 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9382 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9383 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9384 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9385   $as_echo_n "(cached) " >&6
   9386 else
   9387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9388 /* end confdefs.h.  */
   9389 int i;
   9390 _ACEOF
   9391 if ac_fn_c_try_compile "$LINENO"; then :
   9392   xorg_cv_cc_flag_unknown_warning_option=yes
   9393 else
   9394   xorg_cv_cc_flag_unknown_warning_option=no
   9395 fi
   9396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9397 fi
   9398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9399 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9400 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9401 	CFLAGS="$xorg_testset_save_CFLAGS"
   9402 fi
   9403 
   9404 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9405 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9406 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9407 	fi
   9408 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9409 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9410 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9411 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9412   $as_echo_n "(cached) " >&6
   9413 else
   9414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9415 /* end confdefs.h.  */
   9416 int i;
   9417 _ACEOF
   9418 if ac_fn_c_try_compile "$LINENO"; then :
   9419   xorg_cv_cc_flag_unused_command_line_argument=yes
   9420 else
   9421   xorg_cv_cc_flag_unused_command_line_argument=no
   9422 fi
   9423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9424 fi
   9425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9426 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9427 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9428 	CFLAGS="$xorg_testset_save_CFLAGS"
   9429 fi
   9430 
   9431 found="no"
   9432 
   9433 	if test $found = "no" ; then
   9434 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9435 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9436 		fi
   9437 
   9438 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9439 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9440 		fi
   9441 
   9442 		CFLAGS="$CFLAGS -Wtrigraphs"
   9443 
   9444 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9445 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9446 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9447 		if eval \${$cacheid+:} false; then :
   9448   $as_echo_n "(cached) " >&6
   9449 else
   9450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9451 /* end confdefs.h.  */
   9452 int i;
   9453 int
   9454 main ()
   9455 {
   9456 
   9457   ;
   9458   return 0;
   9459 }
   9460 _ACEOF
   9461 if ac_fn_c_try_link "$LINENO"; then :
   9462   eval $cacheid=yes
   9463 else
   9464   eval $cacheid=no
   9465 fi
   9466 rm -f core conftest.err conftest.$ac_objext \
   9467     conftest$ac_exeext conftest.$ac_ext
   9468 fi
   9469 
   9470 
   9471 		CFLAGS="$xorg_testset_save_CFLAGS"
   9472 
   9473 		eval supported=\$$cacheid
   9474 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9475 $as_echo "$supported" >&6; }
   9476 		if test "$supported" = "yes" ; then
   9477 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9478 			found="yes"
   9479 		fi
   9480 	fi
   9481 
   9482 
   9483 
   9484 
   9485 
   9486 
   9487 
   9488 
   9489 
   9490 
   9491 
   9492 
   9493 
   9494 
   9495 
   9496 xorg_testset_save_CFLAGS="$CFLAGS"
   9497 
   9498 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9499 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9500 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9501 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9502 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9503   $as_echo_n "(cached) " >&6
   9504 else
   9505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9506 /* end confdefs.h.  */
   9507 int i;
   9508 _ACEOF
   9509 if ac_fn_c_try_compile "$LINENO"; then :
   9510   xorg_cv_cc_flag_unknown_warning_option=yes
   9511 else
   9512   xorg_cv_cc_flag_unknown_warning_option=no
   9513 fi
   9514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9515 fi
   9516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9517 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9518 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9519 	CFLAGS="$xorg_testset_save_CFLAGS"
   9520 fi
   9521 
   9522 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9523 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9524 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9525 	fi
   9526 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9527 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9528 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9529 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9530   $as_echo_n "(cached) " >&6
   9531 else
   9532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9533 /* end confdefs.h.  */
   9534 int i;
   9535 _ACEOF
   9536 if ac_fn_c_try_compile "$LINENO"; then :
   9537   xorg_cv_cc_flag_unused_command_line_argument=yes
   9538 else
   9539   xorg_cv_cc_flag_unused_command_line_argument=no
   9540 fi
   9541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9542 fi
   9543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9544 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9545 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9546 	CFLAGS="$xorg_testset_save_CFLAGS"
   9547 fi
   9548 
   9549 found="no"
   9550 
   9551 	if test $found = "no" ; then
   9552 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9553 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9554 		fi
   9555 
   9556 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9557 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9558 		fi
   9559 
   9560 		CFLAGS="$CFLAGS -Warray-bounds"
   9561 
   9562 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9563 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9564 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9565 		if eval \${$cacheid+:} false; then :
   9566   $as_echo_n "(cached) " >&6
   9567 else
   9568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9569 /* end confdefs.h.  */
   9570 int i;
   9571 int
   9572 main ()
   9573 {
   9574 
   9575   ;
   9576   return 0;
   9577 }
   9578 _ACEOF
   9579 if ac_fn_c_try_link "$LINENO"; then :
   9580   eval $cacheid=yes
   9581 else
   9582   eval $cacheid=no
   9583 fi
   9584 rm -f core conftest.err conftest.$ac_objext \
   9585     conftest$ac_exeext conftest.$ac_ext
   9586 fi
   9587 
   9588 
   9589 		CFLAGS="$xorg_testset_save_CFLAGS"
   9590 
   9591 		eval supported=\$$cacheid
   9592 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9593 $as_echo "$supported" >&6; }
   9594 		if test "$supported" = "yes" ; then
   9595 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9596 			found="yes"
   9597 		fi
   9598 	fi
   9599 
   9600 
   9601 
   9602 
   9603 
   9604 
   9605 
   9606 
   9607 
   9608 
   9609 
   9610 
   9611 
   9612 
   9613 
   9614 xorg_testset_save_CFLAGS="$CFLAGS"
   9615 
   9616 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9617 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9618 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9619 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9620 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9621   $as_echo_n "(cached) " >&6
   9622 else
   9623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9624 /* end confdefs.h.  */
   9625 int i;
   9626 _ACEOF
   9627 if ac_fn_c_try_compile "$LINENO"; then :
   9628   xorg_cv_cc_flag_unknown_warning_option=yes
   9629 else
   9630   xorg_cv_cc_flag_unknown_warning_option=no
   9631 fi
   9632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9633 fi
   9634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9635 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9636 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9637 	CFLAGS="$xorg_testset_save_CFLAGS"
   9638 fi
   9639 
   9640 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9641 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9642 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9643 	fi
   9644 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9645 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9646 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9647 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9648   $as_echo_n "(cached) " >&6
   9649 else
   9650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9651 /* end confdefs.h.  */
   9652 int i;
   9653 _ACEOF
   9654 if ac_fn_c_try_compile "$LINENO"; then :
   9655   xorg_cv_cc_flag_unused_command_line_argument=yes
   9656 else
   9657   xorg_cv_cc_flag_unused_command_line_argument=no
   9658 fi
   9659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9660 fi
   9661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9662 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9663 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9664 	CFLAGS="$xorg_testset_save_CFLAGS"
   9665 fi
   9666 
   9667 found="no"
   9668 
   9669 	if test $found = "no" ; then
   9670 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9671 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9672 		fi
   9673 
   9674 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9675 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9676 		fi
   9677 
   9678 		CFLAGS="$CFLAGS -Wwrite-strings"
   9679 
   9680 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9681 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9682 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9683 		if eval \${$cacheid+:} false; then :
   9684   $as_echo_n "(cached) " >&6
   9685 else
   9686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9687 /* end confdefs.h.  */
   9688 int i;
   9689 int
   9690 main ()
   9691 {
   9692 
   9693   ;
   9694   return 0;
   9695 }
   9696 _ACEOF
   9697 if ac_fn_c_try_link "$LINENO"; then :
   9698   eval $cacheid=yes
   9699 else
   9700   eval $cacheid=no
   9701 fi
   9702 rm -f core conftest.err conftest.$ac_objext \
   9703     conftest$ac_exeext conftest.$ac_ext
   9704 fi
   9705 
   9706 
   9707 		CFLAGS="$xorg_testset_save_CFLAGS"
   9708 
   9709 		eval supported=\$$cacheid
   9710 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9711 $as_echo "$supported" >&6; }
   9712 		if test "$supported" = "yes" ; then
   9713 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9714 			found="yes"
   9715 		fi
   9716 	fi
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 xorg_testset_save_CFLAGS="$CFLAGS"
   9733 
   9734 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9735 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9736 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9737 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9738 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9739   $as_echo_n "(cached) " >&6
   9740 else
   9741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9742 /* end confdefs.h.  */
   9743 int i;
   9744 _ACEOF
   9745 if ac_fn_c_try_compile "$LINENO"; then :
   9746   xorg_cv_cc_flag_unknown_warning_option=yes
   9747 else
   9748   xorg_cv_cc_flag_unknown_warning_option=no
   9749 fi
   9750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9751 fi
   9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9753 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9754 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9755 	CFLAGS="$xorg_testset_save_CFLAGS"
   9756 fi
   9757 
   9758 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9759 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9760 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9761 	fi
   9762 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9763 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9764 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9765 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9766   $as_echo_n "(cached) " >&6
   9767 else
   9768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9769 /* end confdefs.h.  */
   9770 int i;
   9771 _ACEOF
   9772 if ac_fn_c_try_compile "$LINENO"; then :
   9773   xorg_cv_cc_flag_unused_command_line_argument=yes
   9774 else
   9775   xorg_cv_cc_flag_unused_command_line_argument=no
   9776 fi
   9777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9778 fi
   9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9780 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9781 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9782 	CFLAGS="$xorg_testset_save_CFLAGS"
   9783 fi
   9784 
   9785 found="no"
   9786 
   9787 	if test $found = "no" ; then
   9788 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9789 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9790 		fi
   9791 
   9792 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9793 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9794 		fi
   9795 
   9796 		CFLAGS="$CFLAGS -Waddress"
   9797 
   9798 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9799 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9800 		cacheid=xorg_cv_cc_flag__Waddress
   9801 		if eval \${$cacheid+:} false; then :
   9802   $as_echo_n "(cached) " >&6
   9803 else
   9804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9805 /* end confdefs.h.  */
   9806 int i;
   9807 int
   9808 main ()
   9809 {
   9810 
   9811   ;
   9812   return 0;
   9813 }
   9814 _ACEOF
   9815 if ac_fn_c_try_link "$LINENO"; then :
   9816   eval $cacheid=yes
   9817 else
   9818   eval $cacheid=no
   9819 fi
   9820 rm -f core conftest.err conftest.$ac_objext \
   9821     conftest$ac_exeext conftest.$ac_ext
   9822 fi
   9823 
   9824 
   9825 		CFLAGS="$xorg_testset_save_CFLAGS"
   9826 
   9827 		eval supported=\$$cacheid
   9828 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9829 $as_echo "$supported" >&6; }
   9830 		if test "$supported" = "yes" ; then
   9831 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9832 			found="yes"
   9833 		fi
   9834 	fi
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 xorg_testset_save_CFLAGS="$CFLAGS"
   9851 
   9852 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9853 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9854 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9855 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9856 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9857   $as_echo_n "(cached) " >&6
   9858 else
   9859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9860 /* end confdefs.h.  */
   9861 int i;
   9862 _ACEOF
   9863 if ac_fn_c_try_compile "$LINENO"; then :
   9864   xorg_cv_cc_flag_unknown_warning_option=yes
   9865 else
   9866   xorg_cv_cc_flag_unknown_warning_option=no
   9867 fi
   9868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9869 fi
   9870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9871 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9872 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9873 	CFLAGS="$xorg_testset_save_CFLAGS"
   9874 fi
   9875 
   9876 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9877 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9878 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9879 	fi
   9880 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9881 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9882 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9883 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9884   $as_echo_n "(cached) " >&6
   9885 else
   9886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9887 /* end confdefs.h.  */
   9888 int i;
   9889 _ACEOF
   9890 if ac_fn_c_try_compile "$LINENO"; then :
   9891   xorg_cv_cc_flag_unused_command_line_argument=yes
   9892 else
   9893   xorg_cv_cc_flag_unused_command_line_argument=no
   9894 fi
   9895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9896 fi
   9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9898 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9899 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9900 	CFLAGS="$xorg_testset_save_CFLAGS"
   9901 fi
   9902 
   9903 found="no"
   9904 
   9905 	if test $found = "no" ; then
   9906 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9907 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9908 		fi
   9909 
   9910 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9911 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9912 		fi
   9913 
   9914 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9915 
   9916 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9917 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9918 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9919 		if eval \${$cacheid+:} false; then :
   9920   $as_echo_n "(cached) " >&6
   9921 else
   9922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9923 /* end confdefs.h.  */
   9924 int i;
   9925 int
   9926 main ()
   9927 {
   9928 
   9929   ;
   9930   return 0;
   9931 }
   9932 _ACEOF
   9933 if ac_fn_c_try_link "$LINENO"; then :
   9934   eval $cacheid=yes
   9935 else
   9936   eval $cacheid=no
   9937 fi
   9938 rm -f core conftest.err conftest.$ac_objext \
   9939     conftest$ac_exeext conftest.$ac_ext
   9940 fi
   9941 
   9942 
   9943 		CFLAGS="$xorg_testset_save_CFLAGS"
   9944 
   9945 		eval supported=\$$cacheid
   9946 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9947 $as_echo "$supported" >&6; }
   9948 		if test "$supported" = "yes" ; then
   9949 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9950 			found="yes"
   9951 		fi
   9952 	fi
   9953 
   9954 
   9955 
   9956 
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 xorg_testset_save_CFLAGS="$CFLAGS"
   9969 
   9970 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9971 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9972 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9973 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9974 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9975   $as_echo_n "(cached) " >&6
   9976 else
   9977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9978 /* end confdefs.h.  */
   9979 int i;
   9980 _ACEOF
   9981 if ac_fn_c_try_compile "$LINENO"; then :
   9982   xorg_cv_cc_flag_unknown_warning_option=yes
   9983 else
   9984   xorg_cv_cc_flag_unknown_warning_option=no
   9985 fi
   9986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9987 fi
   9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9989 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9990 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9991 	CFLAGS="$xorg_testset_save_CFLAGS"
   9992 fi
   9993 
   9994 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9995 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9996 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9997 	fi
   9998 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9999 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10000 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10001 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10002   $as_echo_n "(cached) " >&6
   10003 else
   10004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10005 /* end confdefs.h.  */
   10006 int i;
   10007 _ACEOF
   10008 if ac_fn_c_try_compile "$LINENO"; then :
   10009   xorg_cv_cc_flag_unused_command_line_argument=yes
   10010 else
   10011   xorg_cv_cc_flag_unused_command_line_argument=no
   10012 fi
   10013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10014 fi
   10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10016 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10017 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10018 	CFLAGS="$xorg_testset_save_CFLAGS"
   10019 fi
   10020 
   10021 found="no"
   10022 
   10023 	if test $found = "no" ; then
   10024 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10025 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10026 		fi
   10027 
   10028 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10029 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10030 		fi
   10031 
   10032 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10033 
   10034 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10035 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10036 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10037 		if eval \${$cacheid+:} false; then :
   10038   $as_echo_n "(cached) " >&6
   10039 else
   10040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10041 /* end confdefs.h.  */
   10042 int i;
   10043 int
   10044 main ()
   10045 {
   10046 
   10047   ;
   10048   return 0;
   10049 }
   10050 _ACEOF
   10051 if ac_fn_c_try_link "$LINENO"; then :
   10052   eval $cacheid=yes
   10053 else
   10054   eval $cacheid=no
   10055 fi
   10056 rm -f core conftest.err conftest.$ac_objext \
   10057     conftest$ac_exeext conftest.$ac_ext
   10058 fi
   10059 
   10060 
   10061 		CFLAGS="$xorg_testset_save_CFLAGS"
   10062 
   10063 		eval supported=\$$cacheid
   10064 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10065 $as_echo "$supported" >&6; }
   10066 		if test "$supported" = "yes" ; then
   10067 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10068 			found="yes"
   10069 		fi
   10070 	fi
   10071 
   10072 
   10073 fi
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 		CWARNFLAGS="$BASE_CFLAGS"
   10082 		if  test "x$GCC" = xyes ; then
   10083 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10084 		fi
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 # Check whether --enable-strict-compilation was given.
   10094 if test "${enable_strict_compilation+set}" = set; then :
   10095   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10096 else
   10097   STRICT_COMPILE=no
   10098 fi
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 STRICT_CFLAGS=""
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 
   10114 
   10115 
   10116 
   10117 
   10118 
   10119 xorg_testset_save_CFLAGS="$CFLAGS"
   10120 
   10121 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10122 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10123 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10124 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10125 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10126   $as_echo_n "(cached) " >&6
   10127 else
   10128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10129 /* end confdefs.h.  */
   10130 int i;
   10131 _ACEOF
   10132 if ac_fn_c_try_compile "$LINENO"; then :
   10133   xorg_cv_cc_flag_unknown_warning_option=yes
   10134 else
   10135   xorg_cv_cc_flag_unknown_warning_option=no
   10136 fi
   10137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10138 fi
   10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10140 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10141 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10142 	CFLAGS="$xorg_testset_save_CFLAGS"
   10143 fi
   10144 
   10145 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10146 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10147 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10148 	fi
   10149 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10150 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10151 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10152 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10153   $as_echo_n "(cached) " >&6
   10154 else
   10155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10156 /* end confdefs.h.  */
   10157 int i;
   10158 _ACEOF
   10159 if ac_fn_c_try_compile "$LINENO"; then :
   10160   xorg_cv_cc_flag_unused_command_line_argument=yes
   10161 else
   10162   xorg_cv_cc_flag_unused_command_line_argument=no
   10163 fi
   10164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10165 fi
   10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10167 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10168 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10169 	CFLAGS="$xorg_testset_save_CFLAGS"
   10170 fi
   10171 
   10172 found="no"
   10173 
   10174 	if test $found = "no" ; then
   10175 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10176 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10177 		fi
   10178 
   10179 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10180 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10181 		fi
   10182 
   10183 		CFLAGS="$CFLAGS -pedantic"
   10184 
   10185 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10186 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10187 		cacheid=xorg_cv_cc_flag__pedantic
   10188 		if eval \${$cacheid+:} false; then :
   10189   $as_echo_n "(cached) " >&6
   10190 else
   10191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10192 /* end confdefs.h.  */
   10193 int i;
   10194 int
   10195 main ()
   10196 {
   10197 
   10198   ;
   10199   return 0;
   10200 }
   10201 _ACEOF
   10202 if ac_fn_c_try_link "$LINENO"; then :
   10203   eval $cacheid=yes
   10204 else
   10205   eval $cacheid=no
   10206 fi
   10207 rm -f core conftest.err conftest.$ac_objext \
   10208     conftest$ac_exeext conftest.$ac_ext
   10209 fi
   10210 
   10211 
   10212 		CFLAGS="$xorg_testset_save_CFLAGS"
   10213 
   10214 		eval supported=\$$cacheid
   10215 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10216 $as_echo "$supported" >&6; }
   10217 		if test "$supported" = "yes" ; then
   10218 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10219 			found="yes"
   10220 		fi
   10221 	fi
   10222 
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230 
   10231 
   10232 
   10233 
   10234 
   10235 
   10236 
   10237 xorg_testset_save_CFLAGS="$CFLAGS"
   10238 
   10239 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10240 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10241 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10242 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10243 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10244   $as_echo_n "(cached) " >&6
   10245 else
   10246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10247 /* end confdefs.h.  */
   10248 int i;
   10249 _ACEOF
   10250 if ac_fn_c_try_compile "$LINENO"; then :
   10251   xorg_cv_cc_flag_unknown_warning_option=yes
   10252 else
   10253   xorg_cv_cc_flag_unknown_warning_option=no
   10254 fi
   10255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10256 fi
   10257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10258 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10259 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10260 	CFLAGS="$xorg_testset_save_CFLAGS"
   10261 fi
   10262 
   10263 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10264 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10265 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10266 	fi
   10267 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10268 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10269 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10270 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10271   $as_echo_n "(cached) " >&6
   10272 else
   10273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10274 /* end confdefs.h.  */
   10275 int i;
   10276 _ACEOF
   10277 if ac_fn_c_try_compile "$LINENO"; then :
   10278   xorg_cv_cc_flag_unused_command_line_argument=yes
   10279 else
   10280   xorg_cv_cc_flag_unused_command_line_argument=no
   10281 fi
   10282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10283 fi
   10284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10285 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10286 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10287 	CFLAGS="$xorg_testset_save_CFLAGS"
   10288 fi
   10289 
   10290 found="no"
   10291 
   10292 	if test $found = "no" ; then
   10293 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10294 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10295 		fi
   10296 
   10297 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10298 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10299 		fi
   10300 
   10301 		CFLAGS="$CFLAGS -Werror"
   10302 
   10303 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10304 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10305 		cacheid=xorg_cv_cc_flag__Werror
   10306 		if eval \${$cacheid+:} false; then :
   10307   $as_echo_n "(cached) " >&6
   10308 else
   10309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10310 /* end confdefs.h.  */
   10311 int i;
   10312 int
   10313 main ()
   10314 {
   10315 
   10316   ;
   10317   return 0;
   10318 }
   10319 _ACEOF
   10320 if ac_fn_c_try_link "$LINENO"; then :
   10321   eval $cacheid=yes
   10322 else
   10323   eval $cacheid=no
   10324 fi
   10325 rm -f core conftest.err conftest.$ac_objext \
   10326     conftest$ac_exeext conftest.$ac_ext
   10327 fi
   10328 
   10329 
   10330 		CFLAGS="$xorg_testset_save_CFLAGS"
   10331 
   10332 		eval supported=\$$cacheid
   10333 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10334 $as_echo "$supported" >&6; }
   10335 		if test "$supported" = "yes" ; then
   10336 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10337 			found="yes"
   10338 		fi
   10339 	fi
   10340 
   10341 	if test $found = "no" ; then
   10342 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10343 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10344 		fi
   10345 
   10346 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10347 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10348 		fi
   10349 
   10350 		CFLAGS="$CFLAGS -errwarn"
   10351 
   10352 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10353 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10354 		cacheid=xorg_cv_cc_flag__errwarn
   10355 		if eval \${$cacheid+:} false; then :
   10356   $as_echo_n "(cached) " >&6
   10357 else
   10358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10359 /* end confdefs.h.  */
   10360 int i;
   10361 int
   10362 main ()
   10363 {
   10364 
   10365   ;
   10366   return 0;
   10367 }
   10368 _ACEOF
   10369 if ac_fn_c_try_link "$LINENO"; then :
   10370   eval $cacheid=yes
   10371 else
   10372   eval $cacheid=no
   10373 fi
   10374 rm -f core conftest.err conftest.$ac_objext \
   10375     conftest$ac_exeext conftest.$ac_ext
   10376 fi
   10377 
   10378 
   10379 		CFLAGS="$xorg_testset_save_CFLAGS"
   10380 
   10381 		eval supported=\$$cacheid
   10382 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10383 $as_echo "$supported" >&6; }
   10384 		if test "$supported" = "yes" ; then
   10385 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10386 			found="yes"
   10387 		fi
   10388 	fi
   10389 
   10390 
   10391 
   10392 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10393 # activate it with -Werror, so we add it here explicitly.
   10394 
   10395 
   10396 
   10397 
   10398 
   10399 
   10400 
   10401 
   10402 
   10403 
   10404 
   10405 
   10406 
   10407 xorg_testset_save_CFLAGS="$CFLAGS"
   10408 
   10409 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10410 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10411 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10412 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10413 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10414   $as_echo_n "(cached) " >&6
   10415 else
   10416   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10417 /* end confdefs.h.  */
   10418 int i;
   10419 _ACEOF
   10420 if ac_fn_c_try_compile "$LINENO"; then :
   10421   xorg_cv_cc_flag_unknown_warning_option=yes
   10422 else
   10423   xorg_cv_cc_flag_unknown_warning_option=no
   10424 fi
   10425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10426 fi
   10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10428 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10429 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10430 	CFLAGS="$xorg_testset_save_CFLAGS"
   10431 fi
   10432 
   10433 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10434 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10435 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10436 	fi
   10437 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10438 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10439 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10440 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10441   $as_echo_n "(cached) " >&6
   10442 else
   10443   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10444 /* end confdefs.h.  */
   10445 int i;
   10446 _ACEOF
   10447 if ac_fn_c_try_compile "$LINENO"; then :
   10448   xorg_cv_cc_flag_unused_command_line_argument=yes
   10449 else
   10450   xorg_cv_cc_flag_unused_command_line_argument=no
   10451 fi
   10452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10453 fi
   10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10455 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10456 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10457 	CFLAGS="$xorg_testset_save_CFLAGS"
   10458 fi
   10459 
   10460 found="no"
   10461 
   10462 	if test $found = "no" ; then
   10463 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10464 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10465 		fi
   10466 
   10467 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10468 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10469 		fi
   10470 
   10471 		CFLAGS="$CFLAGS -Werror=attributes"
   10472 
   10473 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10474 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10475 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   10476 		if eval \${$cacheid+:} false; then :
   10477   $as_echo_n "(cached) " >&6
   10478 else
   10479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10480 /* end confdefs.h.  */
   10481 int i;
   10482 int
   10483 main ()
   10484 {
   10485 
   10486   ;
   10487   return 0;
   10488 }
   10489 _ACEOF
   10490 if ac_fn_c_try_link "$LINENO"; then :
   10491   eval $cacheid=yes
   10492 else
   10493   eval $cacheid=no
   10494 fi
   10495 rm -f core conftest.err conftest.$ac_objext \
   10496     conftest$ac_exeext conftest.$ac_ext
   10497 fi
   10498 
   10499 
   10500 		CFLAGS="$xorg_testset_save_CFLAGS"
   10501 
   10502 		eval supported=\$$cacheid
   10503 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10504 $as_echo "$supported" >&6; }
   10505 		if test "$supported" = "yes" ; then
   10506 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10507 			found="yes"
   10508 		fi
   10509 	fi
   10510 
   10511 
   10512 
   10513 if test "x$STRICT_COMPILE" = "xyes"; then
   10514     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10515     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10516 fi
   10517 
   10518 
   10519 
   10520 
   10521 
   10522 
   10523 cat >>confdefs.h <<_ACEOF
   10524 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10525 _ACEOF
   10526 
   10527 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10528 	if test "x$PVM" = "x"; then
   10529 		PVM="0"
   10530 	fi
   10531 
   10532 cat >>confdefs.h <<_ACEOF
   10533 #define PACKAGE_VERSION_MINOR $PVM
   10534 _ACEOF
   10535 
   10536 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10537 	if test "x$PVP" = "x"; then
   10538 		PVP="0"
   10539 	fi
   10540 
   10541 cat >>confdefs.h <<_ACEOF
   10542 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10543 _ACEOF
   10544 
   10545 
   10546 
   10547 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10548 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10549 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10550 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10551 
   10552 
   10553 
   10554 
   10555 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10556 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10557 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10558 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10559 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10560 
   10561 
   10562 
   10563 
   10564 
   10565 
   10566 if test x$APP_MAN_SUFFIX = x    ; then
   10567     APP_MAN_SUFFIX=1
   10568 fi
   10569 if test x$APP_MAN_DIR = x    ; then
   10570     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10571 fi
   10572 
   10573 if test x$LIB_MAN_SUFFIX = x    ; then
   10574     LIB_MAN_SUFFIX=3
   10575 fi
   10576 if test x$LIB_MAN_DIR = x    ; then
   10577     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10578 fi
   10579 
   10580 if test x$FILE_MAN_SUFFIX = x    ; then
   10581     case $host_os in
   10582 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10583 	*)		FILE_MAN_SUFFIX=5  ;;
   10584     esac
   10585 fi
   10586 if test x$FILE_MAN_DIR = x    ; then
   10587     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10588 fi
   10589 
   10590 if test x$MISC_MAN_SUFFIX = x    ; then
   10591     case $host_os in
   10592 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10593 	*)		MISC_MAN_SUFFIX=7  ;;
   10594     esac
   10595 fi
   10596 if test x$MISC_MAN_DIR = x    ; then
   10597     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10598 fi
   10599 
   10600 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10601     case $host_os in
   10602 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10603 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10604     esac
   10605 fi
   10606 if test x$DRIVER_MAN_DIR = x    ; then
   10607     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10608 fi
   10609 
   10610 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10611     case $host_os in
   10612 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10613 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10614     esac
   10615 fi
   10616 if test x$ADMIN_MAN_DIR = x    ; then
   10617     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10618 fi
   10619 
   10620 
   10621 
   10622 
   10623 
   10624 
   10625 
   10626 
   10627 
   10628 
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 XORG_MAN_PAGE="X Version 11"
   10635 
   10636 MAN_SUBSTS="\
   10637 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10638 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10639 	-e 's|__xservername__|Xorg|g' \
   10640 	-e 's|__xconfigfile__|xorg.conf|g' \
   10641 	-e 's|__projectroot__|\$(prefix)|g' \
   10642 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10643 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10644 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10645 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10646 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10647 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10648 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10649 
   10650 
   10651 
   10652 # Check whether --enable-silent-rules was given.
   10653 if test "${enable_silent_rules+set}" = set; then :
   10654   enableval=$enable_silent_rules;
   10655 fi
   10656 
   10657 case $enable_silent_rules in # (((
   10658   yes) AM_DEFAULT_VERBOSITY=0;;
   10659    no) AM_DEFAULT_VERBOSITY=1;;
   10660     *) AM_DEFAULT_VERBOSITY=0;;
   10661 esac
   10662 am_make=${MAKE-make}
   10663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10664 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10665 if ${am_cv_make_support_nested_variables+:} false; then :
   10666   $as_echo_n "(cached) " >&6
   10667 else
   10668   if $as_echo 'TRUE=$(BAR$(V))
   10669 BAR0=false
   10670 BAR1=true
   10671 V=1
   10672 am__doit:
   10673 	@$(TRUE)
   10674 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10675   am_cv_make_support_nested_variables=yes
   10676 else
   10677   am_cv_make_support_nested_variables=no
   10678 fi
   10679 fi
   10680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10681 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10682 if test $am_cv_make_support_nested_variables = yes; then
   10683     AM_V='$(V)'
   10684   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10685 else
   10686   AM_V=$AM_DEFAULT_VERBOSITY
   10687   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10688 fi
   10689 AM_BACKSLASH='\'
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 for ac_prog in cpp
   10696 do
   10697   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10698 set dummy $ac_prog; ac_word=$2
   10699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10700 $as_echo_n "checking for $ac_word... " >&6; }
   10701 if ${ac_cv_path_RAWCPP+:} false; then :
   10702   $as_echo_n "(cached) " >&6
   10703 else
   10704   case $RAWCPP in
   10705   [\\/]* | ?:[\\/]*)
   10706   ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
   10707   ;;
   10708   *)
   10709   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10710 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   10711 for as_dir in $as_dummy
   10712 do
   10713   IFS=$as_save_IFS
   10714   test -z "$as_dir" && as_dir=.
   10715     for ac_exec_ext in '' $ac_executable_extensions; do
   10716   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10717     ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext"
   10718     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10719     break 2
   10720   fi
   10721 done
   10722   done
   10723 IFS=$as_save_IFS
   10724 
   10725   ;;
   10726 esac
   10727 fi
   10728 RAWCPP=$ac_cv_path_RAWCPP
   10729 if test -n "$RAWCPP"; then
   10730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5
   10731 $as_echo "$RAWCPP" >&6; }
   10732 else
   10733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10734 $as_echo "no" >&6; }
   10735 fi
   10736 
   10737 
   10738   test -n "$RAWCPP" && break
   10739 done
   10740 test -n "$RAWCPP" || RAWCPP="${CPP}"
   10741 
   10742 
   10743 # Check for flag to avoid builtin definitions - assumes unix is predefined,
   10744 # which is not the best choice for supporting other OS'es, but covers most
   10745 # of the ones we need for now.
   10746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5
   10747 $as_echo_n "checking if $RAWCPP requires -undef... " >&6; }
   10748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10749 /* end confdefs.h.  */
   10750 Does cpp redefine unix ?
   10751 _ACEOF
   10752 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   10753 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10754 $as_echo "no" >&6; }
   10755 else
   10756 	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   10757 		RAWCPPFLAGS=-undef
   10758 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10759 $as_echo "yes" >&6; }
   10760 	# under Cygwin unix is still defined even with -undef
   10761 	elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   10762 		RAWCPPFLAGS="-undef -ansi"
   10763 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5
   10764 $as_echo "yes, with -ansi" >&6; }
   10765 	else
   10766 		as_fn_error $? "${RAWCPP} defines unix with or without -undef.  I don't know what to do." "$LINENO" 5
   10767 	fi
   10768 fi
   10769 rm -f conftest.$ac_ext
   10770 
   10771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5
   10772 $as_echo_n "checking if $RAWCPP requires -traditional... " >&6; }
   10773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10774 /* end confdefs.h.  */
   10775 Does cpp preserve   "whitespace"?
   10776 _ACEOF
   10777 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   10778 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10779 $as_echo "no" >&6; }
   10780 else
   10781 	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   10782 		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
   10783 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10784 $as_echo "yes" >&6; }
   10785 	else
   10786 		as_fn_error $? "${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." "$LINENO" 5
   10787 	fi
   10788 fi
   10789 rm -f conftest.$ac_ext
   10790 
   10791 
   10792 
   10793 
   10794 # Build options
   10795 DEFAULT_XRDB=xrdb
   10796 DEFAULT_XMODMAP=xmodmap
   10797 DEFAULT_TWM=twm
   10798 DEFAULT_XCLOCK=xclock
   10799 DEFAULT_XTERM=xterm
   10800 # You always want to specify the full path to the X server
   10801 DEFAULT_XSERVER=${bindir}/X
   10802 DEFAULT_XAUTH=xauth
   10803 DEFAULT_XINIT=xinit
   10804 DEFAULT_XINITDIR=${sysconfdir}/X11/xinit
   10805 
   10806 
   10807 # Check whether --with-xrdb was given.
   10808 if test "${with_xrdb+set}" = set; then :
   10809   withval=$with_xrdb; XRDB="$withval"
   10810 else
   10811   XRDB="$DEFAULT_XRDB"
   10812 fi
   10813 
   10814 
   10815 
   10816 # Check whether --with-xmodmap was given.
   10817 if test "${with_xmodmap+set}" = set; then :
   10818   withval=$with_xmodmap; XMODMAP="$withval"
   10819 else
   10820   XMODMAP="$DEFAULT_XMODMAP"
   10821 fi
   10822 
   10823 
   10824 
   10825 # Check whether --with-twm was given.
   10826 if test "${with_twm+set}" = set; then :
   10827   withval=$with_twm; TWM="$withval"
   10828 else
   10829   TWM="$DEFAULT_TWM"
   10830 fi
   10831 
   10832 
   10833 
   10834 # Check whether --with-xclock was given.
   10835 if test "${with_xclock+set}" = set; then :
   10836   withval=$with_xclock; XCLOCK="$withval"
   10837 else
   10838   XCLOCK="$DEFAULT_XCLOCK"
   10839 fi
   10840 
   10841 
   10842 
   10843 # Check whether --with-xterm was given.
   10844 if test "${with_xterm+set}" = set; then :
   10845   withval=$with_xterm; XTERM="$withval"
   10846 else
   10847   XTERM="$DEFAULT_XTERM"
   10848 fi
   10849 
   10850 
   10851 
   10852 # Check whether --with-xserver was given.
   10853 if test "${with_xserver+set}" = set; then :
   10854   withval=$with_xserver; XSERVER="$withval"
   10855 else
   10856   XSERVER="$DEFAULT_XSERVER"
   10857 fi
   10858 
   10859 
   10860 
   10861 # Check whether --with-xauth was given.
   10862 if test "${with_xauth+set}" = set; then :
   10863   withval=$with_xauth; XAUTH="$withval"
   10864 else
   10865   XAUTH="$DEFAULT_XAUTH"
   10866 fi
   10867 
   10868 
   10869 
   10870 # Check whether --with-xinit was given.
   10871 if test "${with_xinit+set}" = set; then :
   10872   withval=$with_xinit; XINIT="$withval"
   10873 else
   10874   XINIT="$DEFAULT_XINIT"
   10875 fi
   10876 
   10877 
   10878 
   10879 # Check whether --with-xinitdir was given.
   10880 if test "${with_xinitdir+set}" = set; then :
   10881   withval=$with_xinitdir; XINITDIR="$withval"
   10882 else
   10883   XINITDIR="$DEFAULT_XINITDIR"
   10884 fi
   10885 
   10886 
   10887 
   10888 # Check whether --with-launchd was given.
   10889 if test "${with_launchd+set}" = set; then :
   10890   withval=$with_launchd; LAUNCHD=$withval
   10891 else
   10892   LAUNCHD=auto
   10893 fi
   10894 
   10895 
   10896 # Check whether --with-launchagents-dir was given.
   10897 if test "${with_launchagents_dir+set}" = set; then :
   10898   withval=$with_launchagents_dir;  launchagentsdir="${withval}"
   10899 else
   10900    launchagentsdir="/Library/LaunchAgents"
   10901 fi
   10902 
   10903 
   10904 # Check whether --with-launchagent-xserver was given.
   10905 if test "${with_launchagent_xserver+set}" = set; then :
   10906   withval=$with_launchagent_xserver;  launchagentxserver="${withval}"
   10907 else
   10908    launchagentxserver="no"
   10909 fi
   10910 
   10911 
   10912 # Check whether --with-launchdaemons-dir was given.
   10913 if test "${with_launchdaemons_dir+set}" = set; then :
   10914   withval=$with_launchdaemons_dir;  launchdaemonsdir="${withval}"
   10915 else
   10916    launchdaemonsdir="/Library/LaunchDaemons"
   10917 fi
   10918 
   10919 
   10920 # Check whether --with-launchd-id-prefix was given.
   10921 if test "${with_launchd_id_prefix+set}" = set; then :
   10922   withval=$with_launchd_id_prefix;  bundleidprefix="${withval}"
   10923 else
   10924    bundleidprefix="org.x"
   10925 fi
   10926 
   10927 
   10928 # Check whether --with-bundle-id-prefix was given.
   10929 if test "${with_bundle_id_prefix+set}" = set; then :
   10930   withval=$with_bundle_id_prefix;  bundleidprefix="${withval}"
   10931 fi
   10932 
   10933 
   10934 if test "x$LAUNCHD" = "xauto"; then
   10935 	unset LAUNCHD
   10936 	# Extract the first word of "launchd", so it can be a program name with args.
   10937 set dummy launchd; ac_word=$2
   10938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10939 $as_echo_n "checking for $ac_word... " >&6; }
   10940 if ${ac_cv_prog_LAUNCHD+:} false; then :
   10941   $as_echo_n "(cached) " >&6
   10942 else
   10943   if test -n "$LAUNCHD"; then
   10944   ac_cv_prog_LAUNCHD="$LAUNCHD" # Let the user override the test.
   10945 else
   10946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10947 for as_dir in $PATH$PATH_SEPARATOR/sbin
   10948 do
   10949   IFS=$as_save_IFS
   10950   test -z "$as_dir" && as_dir=.
   10951     for ac_exec_ext in '' $ac_executable_extensions; do
   10952   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10953     ac_cv_prog_LAUNCHD="yes"
   10954     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10955     break 2
   10956   fi
   10957 done
   10958   done
   10959 IFS=$as_save_IFS
   10960 
   10961   test -z "$ac_cv_prog_LAUNCHD" && ac_cv_prog_LAUNCHD="no"
   10962 fi
   10963 fi
   10964 LAUNCHD=$ac_cv_prog_LAUNCHD
   10965 if test -n "$LAUNCHD"; then
   10966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LAUNCHD" >&5
   10967 $as_echo "$LAUNCHD" >&6; }
   10968 else
   10969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10970 $as_echo "no" >&6; }
   10971 fi
   10972 
   10973 
   10974 fi
   10975 
   10976 TIGER_LAUNCHD=no
   10977 if test "x$LAUNCHD" = "xyes" ; then
   10978 
   10979 $as_echo "#define HAVE_LAUNCHD 1" >>confdefs.h
   10980 
   10981 	case $host_os in
   10982 		darwin8*)
   10983 			TIGER_LAUNCHD=yes
   10984 		;;
   10985 	esac
   10986         ac_fn_c_check_func "$LINENO" "dispatch_async" "ac_cv_func_dispatch_async"
   10987 if test "x$ac_cv_func_dispatch_async" = xyes; then :
   10988 
   10989 $as_echo "#define HAVE_LIBDISPATCH 1" >>confdefs.h
   10990 
   10991 fi
   10992 
   10993 fi
   10994 
   10995 
   10996 cat >>confdefs.h <<_ACEOF
   10997 #define BUNDLE_ID_PREFIX "$bundleidprefix"
   10998 _ACEOF
   10999 
   11000 
   11001 
   11002 
   11003 
   11004  if test "x$LAUNCHD" = "xyes"; then
   11005   LAUNCHD_TRUE=
   11006   LAUNCHD_FALSE='#'
   11007 else
   11008   LAUNCHD_TRUE='#'
   11009   LAUNCHD_FALSE=
   11010 fi
   11011 
   11012  if test "x$TIGER_LAUNCHD" = "xyes"; then
   11013   TIGER_LAUNCHD_TRUE=
   11014   TIGER_LAUNCHD_FALSE='#'
   11015 else
   11016   TIGER_LAUNCHD_TRUE='#'
   11017   TIGER_LAUNCHD_FALSE=
   11018 fi
   11019 
   11020  if test "x$launchagentxserver" != "xno"; then
   11021   LAUNCHAGENT_XSERVER_TRUE=
   11022   LAUNCHAGENT_XSERVER_FALSE='#'
   11023 else
   11024   LAUNCHAGENT_XSERVER_TRUE='#'
   11025   LAUNCHAGENT_XSERVER_FALSE=
   11026 fi
   11027 
   11028 
   11029 # Checks for pkg-config packages
   11030 
   11031 pkg_failed=no
   11032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XINIT" >&5
   11033 $as_echo_n "checking for XINIT... " >&6; }
   11034 
   11035 if test -n "$XINIT_CFLAGS"; then
   11036     pkg_cv_XINIT_CFLAGS="$XINIT_CFLAGS"
   11037  elif test -n "$PKG_CONFIG"; then
   11038     if test -n "$PKG_CONFIG" && \
   11039     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.17\""; } >&5
   11040   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.17") 2>&5
   11041   ac_status=$?
   11042   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11043   test $ac_status = 0; }; then
   11044   pkg_cv_XINIT_CFLAGS=`$PKG_CONFIG --cflags "x11 xproto >= 7.0.17" 2>/dev/null`
   11045 else
   11046   pkg_failed=yes
   11047 fi
   11048  else
   11049     pkg_failed=untried
   11050 fi
   11051 if test -n "$XINIT_LIBS"; then
   11052     pkg_cv_XINIT_LIBS="$XINIT_LIBS"
   11053  elif test -n "$PKG_CONFIG"; then
   11054     if test -n "$PKG_CONFIG" && \
   11055     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.17\""; } >&5
   11056   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.17") 2>&5
   11057   ac_status=$?
   11058   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11059   test $ac_status = 0; }; then
   11060   pkg_cv_XINIT_LIBS=`$PKG_CONFIG --libs "x11 xproto >= 7.0.17" 2>/dev/null`
   11061 else
   11062   pkg_failed=yes
   11063 fi
   11064  else
   11065     pkg_failed=untried
   11066 fi
   11067 
   11068 
   11069 
   11070 if test $pkg_failed = yes; then
   11071 
   11072 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11073         _pkg_short_errors_supported=yes
   11074 else
   11075         _pkg_short_errors_supported=no
   11076 fi
   11077         if test $_pkg_short_errors_supported = yes; then
   11078 	        XINIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xproto >= 7.0.17" 2>&1`
   11079         else
   11080 	        XINIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xproto >= 7.0.17" 2>&1`
   11081         fi
   11082 	# Put the nasty error message in config.log where it belongs
   11083 	echo "$XINIT_PKG_ERRORS" >&5
   11084 
   11085 	as_fn_error $? "Package requirements (x11 xproto >= 7.0.17) were not met:
   11086 
   11087 $XINIT_PKG_ERRORS
   11088 
   11089 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11090 installed software in a non-standard prefix.
   11091 
   11092 Alternatively, you may set the environment variables XINIT_CFLAGS
   11093 and XINIT_LIBS to avoid the need to call pkg-config.
   11094 See the pkg-config man page for more details.
   11095 " "$LINENO" 5
   11096 elif test $pkg_failed = untried; then
   11097 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11099 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11100 is in your PATH or set the PKG_CONFIG environment variable to the full
   11101 path to pkg-config.
   11102 
   11103 Alternatively, you may set the environment variables XINIT_CFLAGS
   11104 and XINIT_LIBS to avoid the need to call pkg-config.
   11105 See the pkg-config man page for more details.
   11106 
   11107 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11108 See \`config.log' for more details" "$LINENO" 5; }
   11109 else
   11110 	XINIT_CFLAGS=$pkg_cv_XINIT_CFLAGS
   11111 	XINIT_LIBS=$pkg_cv_XINIT_LIBS
   11112         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11113 $as_echo "yes" >&6; }
   11114 	:
   11115 fi
   11116 
   11117 case $host_os in
   11118     *bsd*)
   11119         XINIT_CFLAGS="$XINIT_CFLAGS -DCSRG_BASED"
   11120         ;;
   11121 esac
   11122 
   11123 
   11124 for ac_prog in mcookie
   11125 do
   11126   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11127 set dummy $ac_prog; ac_word=$2
   11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11129 $as_echo_n "checking for $ac_word... " >&6; }
   11130 if ${ac_cv_path_MCOOKIE+:} false; then :
   11131   $as_echo_n "(cached) " >&6
   11132 else
   11133   case $MCOOKIE in
   11134   [\\/]* | ?:[\\/]*)
   11135   ac_cv_path_MCOOKIE="$MCOOKIE" # Let the user override the test with a path.
   11136   ;;
   11137   *)
   11138   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11139 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/local/bin"
   11140 for as_dir in $as_dummy
   11141 do
   11142   IFS=$as_save_IFS
   11143   test -z "$as_dir" && as_dir=.
   11144     for ac_exec_ext in '' $ac_executable_extensions; do
   11145   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11146     ac_cv_path_MCOOKIE="$as_dir/$ac_word$ac_exec_ext"
   11147     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11148     break 2
   11149   fi
   11150 done
   11151   done
   11152 IFS=$as_save_IFS
   11153 
   11154   ;;
   11155 esac
   11156 fi
   11157 MCOOKIE=$ac_cv_path_MCOOKIE
   11158 if test -n "$MCOOKIE"; then
   11159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MCOOKIE" >&5
   11160 $as_echo "$MCOOKIE" >&6; }
   11161 else
   11162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11163 $as_echo "no" >&6; }
   11164 fi
   11165 
   11166 
   11167   test -n "$MCOOKIE" && break
   11168 done
   11169 test -n "$MCOOKIE" || MCOOKIE="$MCOOKIE"
   11170 
   11171 
   11172 # If mcookie not found, try openssl, else per-system fallbacks
   11173 if test "x$MCOOKIE" = x ; then
   11174     for ac_prog in openssl
   11175 do
   11176   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11177 set dummy $ac_prog; ac_word=$2
   11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11179 $as_echo_n "checking for $ac_word... " >&6; }
   11180 if ${ac_cv_path_OPENSSL+:} false; then :
   11181   $as_echo_n "(cached) " >&6
   11182 else
   11183   case $OPENSSL in
   11184   [\\/]* | ?:[\\/]*)
   11185   ac_cv_path_OPENSSL="$OPENSSL" # Let the user override the test with a path.
   11186   ;;
   11187   *)
   11188   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11189 as_dummy="$PATH:/bin:/usr/bin:/usr/sbin:/usr/lib:/usr/libexec:/usr/local/bin"
   11190 for as_dir in $as_dummy
   11191 do
   11192   IFS=$as_save_IFS
   11193   test -z "$as_dir" && as_dir=.
   11194     for ac_exec_ext in '' $ac_executable_extensions; do
   11195   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11196     ac_cv_path_OPENSSL="$as_dir/$ac_word$ac_exec_ext"
   11197     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11198     break 2
   11199   fi
   11200 done
   11201   done
   11202 IFS=$as_save_IFS
   11203 
   11204   ;;
   11205 esac
   11206 fi
   11207 OPENSSL=$ac_cv_path_OPENSSL
   11208 if test -n "$OPENSSL"; then
   11209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OPENSSL" >&5
   11210 $as_echo "$OPENSSL" >&6; }
   11211 else
   11212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11213 $as_echo "no" >&6; }
   11214 fi
   11215 
   11216 
   11217   test -n "$OPENSSL" && break
   11218 done
   11219 test -n "$OPENSSL" || OPENSSL="$OPENSSL"
   11220 
   11221     if test "x$OPENSSL" != x ; then
   11222         MCOOKIE="$OPENSSL rand -hex 16"
   11223     else
   11224         case $host_os in
   11225             *openbsd*)
   11226                 MCOOKIE='/usr/sbin/openssl rand -hex 16'
   11227                 ;;
   11228             *solaris*)
   11229                 MCOOKIE="/usr/bin/od -X -A n -N 16 /dev/urandom | /usr/bin/tr -d ' '"
   11230                 ;;
   11231         esac
   11232     fi
   11233 fi
   11234 if test "x$MCOOKIE" != x ; then
   11235 	STARTX_COOKIE_FLAGS='-DHAS_COOKIE_MAKER -DMK_COOKIE="$(MCOOKIE)"'
   11236 	{ $as_echo "$as_me:${as_lineno-$LINENO}: startx will depend on \"$MCOOKIE\" to generate xauth cookies" >&5
   11237 $as_echo "$as_me: startx will depend on \"$MCOOKIE\" to generate xauth cookies" >&6;}
   11238 fi
   11239 
   11240 
   11241 # Additional substitutions in startx, xinitrc & man pages
   11242 SHELL_CMD="/bin/sh"
   11243 XSERVERNAME="Xorg"
   11244 XCONFIGFILE="xorg.conf"
   11245 XCONFIGFILEMAN='${XCONFIGFILE} (${FILE_MAN_SUFFIX})'
   11246 case $host_os in
   11247     cygwin*)
   11248 	XSERVERNAME="XWin"
   11249 	XCONFIGFILE="XWinrc"
   11250 	;;
   11251     darwin*)
   11252 	XSERVERNAME="Xquartz"
   11253 	XCONFIGFILE="defaults"
   11254 	XCONFIGFILEMAN='defaults (1)'
   11255 	;;
   11256     *solaris*)
   11257 	SHELL_CMD="/bin/ksh"
   11258 	;;
   11259     *sco*)
   11260 	SHELL_CMD="/bin/ksh"
   11261 	SCOMAN=1
   11262 	;;
   11263 esac
   11264 
   11265 
   11266 
   11267 
   11268 
   11269 
   11270 
   11271 
   11272 
   11273 
   11274 
   11275 
   11276 
   11277 
   11278 
   11279 
   11280 ac_config_files="$ac_config_files Makefile man/Makefile launchd/Makefile launchd/privileged_startx/Makefile launchd/user_startx/Makefile"
   11281 
   11282 cat >confcache <<\_ACEOF
   11283 # This file is a shell script that caches the results of configure
   11284 # tests run on this system so they can be shared between configure
   11285 # scripts and configure runs, see configure's option --config-cache.
   11286 # It is not useful on other systems.  If it contains results you don't
   11287 # want to keep, you may remove or edit it.
   11288 #
   11289 # config.status only pays attention to the cache file if you give it
   11290 # the --recheck option to rerun configure.
   11291 #
   11292 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11293 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11294 # following values.
   11295 
   11296 _ACEOF
   11297 
   11298 # The following way of writing the cache mishandles newlines in values,
   11299 # but we know of no workaround that is simple, portable, and efficient.
   11300 # So, we kill variables containing newlines.
   11301 # Ultrix sh set writes to stderr and can't be redirected directly,
   11302 # and sets the high bit in the cache file unless we assign to the vars.
   11303 (
   11304   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11305     eval ac_val=\$$ac_var
   11306     case $ac_val in #(
   11307     *${as_nl}*)
   11308       case $ac_var in #(
   11309       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11310 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11311       esac
   11312       case $ac_var in #(
   11313       _ | IFS | as_nl) ;; #(
   11314       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11315       *) { eval $ac_var=; unset $ac_var;} ;;
   11316       esac ;;
   11317     esac
   11318   done
   11319 
   11320   (set) 2>&1 |
   11321     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11322     *${as_nl}ac_space=\ *)
   11323       # `set' does not quote correctly, so add quotes: double-quote
   11324       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11325       sed -n \
   11326 	"s/'/'\\\\''/g;
   11327 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11328       ;; #(
   11329     *)
   11330       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11331       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11332       ;;
   11333     esac |
   11334     sort
   11335 ) |
   11336   sed '
   11337      /^ac_cv_env_/b end
   11338      t clear
   11339      :clear
   11340      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11341      t end
   11342      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11343      :end' >>confcache
   11344 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11345   if test -w "$cache_file"; then
   11346     if test "x$cache_file" != "x/dev/null"; then
   11347       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11348 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11349       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11350 	cat confcache >"$cache_file"
   11351       else
   11352         case $cache_file in #(
   11353         */* | ?:*)
   11354 	  mv -f confcache "$cache_file"$$ &&
   11355 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11356         *)
   11357 	  mv -f confcache "$cache_file" ;;
   11358 	esac
   11359       fi
   11360     fi
   11361   else
   11362     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11363 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11364   fi
   11365 fi
   11366 rm -f confcache
   11367 
   11368 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11369 # Let make expand exec_prefix.
   11370 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11371 
   11372 DEFS=-DHAVE_CONFIG_H
   11373 
   11374 ac_libobjs=
   11375 ac_ltlibobjs=
   11376 U=
   11377 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11378   # 1. Remove the extension, and $U if already installed.
   11379   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11380   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11381   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11382   #    will be set to the directory where LIBOBJS objects are built.
   11383   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11384   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11385 done
   11386 LIBOBJS=$ac_libobjs
   11387 
   11388 LTLIBOBJS=$ac_ltlibobjs
   11389 
   11390 
   11391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11392 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11393    if test -n "$am_sleep_pid"; then
   11394      # Hide warnings about reused PIDs.
   11395      wait $am_sleep_pid 2>/dev/null
   11396    fi
   11397    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11398 $as_echo "done" >&6; }
   11399  if test -n "$EXEEXT"; then
   11400   am__EXEEXT_TRUE=
   11401   am__EXEEXT_FALSE='#'
   11402 else
   11403   am__EXEEXT_TRUE='#'
   11404   am__EXEEXT_FALSE=
   11405 fi
   11406 
   11407 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   11408   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   11409 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11410 fi
   11411 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11412   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11413 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11414 fi
   11415 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11416   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11417 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11418 fi
   11419 if test -z "${LAUNCHD_TRUE}" && test -z "${LAUNCHD_FALSE}"; then
   11420   as_fn_error $? "conditional \"LAUNCHD\" was never defined.
   11421 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11422 fi
   11423 if test -z "${TIGER_LAUNCHD_TRUE}" && test -z "${TIGER_LAUNCHD_FALSE}"; then
   11424   as_fn_error $? "conditional \"TIGER_LAUNCHD\" was never defined.
   11425 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11426 fi
   11427 if test -z "${LAUNCHAGENT_XSERVER_TRUE}" && test -z "${LAUNCHAGENT_XSERVER_FALSE}"; then
   11428   as_fn_error $? "conditional \"LAUNCHAGENT_XSERVER\" was never defined.
   11429 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11430 fi
   11431 
   11432 : "${CONFIG_STATUS=./config.status}"
   11433 ac_write_fail=0
   11434 ac_clean_files_save=$ac_clean_files
   11435 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11436 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11437 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11438 as_write_fail=0
   11439 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11440 #! $SHELL
   11441 # Generated by $as_me.
   11442 # Run this file to recreate the current configuration.
   11443 # Compiler output produced by configure, useful for debugging
   11444 # configure, is in config.log if it exists.
   11445 
   11446 debug=false
   11447 ac_cs_recheck=false
   11448 ac_cs_silent=false
   11449 
   11450 SHELL=\${CONFIG_SHELL-$SHELL}
   11451 export SHELL
   11452 _ASEOF
   11453 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11454 ## -------------------- ##
   11455 ## M4sh Initialization. ##
   11456 ## -------------------- ##
   11457 
   11458 # Be more Bourne compatible
   11459 DUALCASE=1; export DUALCASE # for MKS sh
   11460 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11461   emulate sh
   11462   NULLCMD=:
   11463   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11464   # is contrary to our usage.  Disable this feature.
   11465   alias -g '${1+"$@"}'='"$@"'
   11466   setopt NO_GLOB_SUBST
   11467 else
   11468   case `(set -o) 2>/dev/null` in #(
   11469   *posix*) :
   11470     set -o posix ;; #(
   11471   *) :
   11472      ;;
   11473 esac
   11474 fi
   11475 
   11476 
   11477 as_nl='
   11478 '
   11479 export as_nl
   11480 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11481 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11482 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11483 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11484 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11485 # but without wasting forks for bash or zsh.
   11486 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11487     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11488   as_echo='print -r --'
   11489   as_echo_n='print -rn --'
   11490 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11491   as_echo='printf %s\n'
   11492   as_echo_n='printf %s'
   11493 else
   11494   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11495     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11496     as_echo_n='/usr/ucb/echo -n'
   11497   else
   11498     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11499     as_echo_n_body='eval
   11500       arg=$1;
   11501       case $arg in #(
   11502       *"$as_nl"*)
   11503 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11504 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11505       esac;
   11506       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11507     '
   11508     export as_echo_n_body
   11509     as_echo_n='sh -c $as_echo_n_body as_echo'
   11510   fi
   11511   export as_echo_body
   11512   as_echo='sh -c $as_echo_body as_echo'
   11513 fi
   11514 
   11515 # The user is always right.
   11516 if test "${PATH_SEPARATOR+set}" != set; then
   11517   PATH_SEPARATOR=:
   11518   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11519     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11520       PATH_SEPARATOR=';'
   11521   }
   11522 fi
   11523 
   11524 
   11525 # IFS
   11526 # We need space, tab and new line, in precisely that order.  Quoting is
   11527 # there to prevent editors from complaining about space-tab.
   11528 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11529 # splitting by setting IFS to empty value.)
   11530 IFS=" ""	$as_nl"
   11531 
   11532 # Find who we are.  Look in the path if we contain no directory separator.
   11533 as_myself=
   11534 case $0 in #((
   11535   *[\\/]* ) as_myself=$0 ;;
   11536   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11537 for as_dir in $PATH
   11538 do
   11539   IFS=$as_save_IFS
   11540   test -z "$as_dir" && as_dir=.
   11541     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11542   done
   11543 IFS=$as_save_IFS
   11544 
   11545      ;;
   11546 esac
   11547 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11548 # in which case we are not to be found in the path.
   11549 if test "x$as_myself" = x; then
   11550   as_myself=$0
   11551 fi
   11552 if test ! -f "$as_myself"; then
   11553   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11554   exit 1
   11555 fi
   11556 
   11557 # Unset variables that we do not need and which cause bugs (e.g. in
   11558 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11559 # suppresses any "Segmentation fault" message there.  '((' could
   11560 # trigger a bug in pdksh 5.2.14.
   11561 for as_var in BASH_ENV ENV MAIL MAILPATH
   11562 do eval test x\${$as_var+set} = xset \
   11563   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11564 done
   11565 PS1='$ '
   11566 PS2='> '
   11567 PS4='+ '
   11568 
   11569 # NLS nuisances.
   11570 LC_ALL=C
   11571 export LC_ALL
   11572 LANGUAGE=C
   11573 export LANGUAGE
   11574 
   11575 # CDPATH.
   11576 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11577 
   11578 
   11579 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11580 # ----------------------------------------
   11581 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11582 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11583 # script with STATUS, using 1 if that was 0.
   11584 as_fn_error ()
   11585 {
   11586   as_status=$1; test $as_status -eq 0 && as_status=1
   11587   if test "$4"; then
   11588     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11589     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11590   fi
   11591   $as_echo "$as_me: error: $2" >&2
   11592   as_fn_exit $as_status
   11593 } # as_fn_error
   11594 
   11595 
   11596 # as_fn_set_status STATUS
   11597 # -----------------------
   11598 # Set $? to STATUS, without forking.
   11599 as_fn_set_status ()
   11600 {
   11601   return $1
   11602 } # as_fn_set_status
   11603 
   11604 # as_fn_exit STATUS
   11605 # -----------------
   11606 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11607 as_fn_exit ()
   11608 {
   11609   set +e
   11610   as_fn_set_status $1
   11611   exit $1
   11612 } # as_fn_exit
   11613 
   11614 # as_fn_unset VAR
   11615 # ---------------
   11616 # Portably unset VAR.
   11617 as_fn_unset ()
   11618 {
   11619   { eval $1=; unset $1;}
   11620 }
   11621 as_unset=as_fn_unset
   11622 # as_fn_append VAR VALUE
   11623 # ----------------------
   11624 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11625 # advantage of any shell optimizations that allow amortized linear growth over
   11626 # repeated appends, instead of the typical quadratic growth present in naive
   11627 # implementations.
   11628 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11629   eval 'as_fn_append ()
   11630   {
   11631     eval $1+=\$2
   11632   }'
   11633 else
   11634   as_fn_append ()
   11635   {
   11636     eval $1=\$$1\$2
   11637   }
   11638 fi # as_fn_append
   11639 
   11640 # as_fn_arith ARG...
   11641 # ------------------
   11642 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11643 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11644 # must be portable across $(()) and expr.
   11645 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11646   eval 'as_fn_arith ()
   11647   {
   11648     as_val=$(( $* ))
   11649   }'
   11650 else
   11651   as_fn_arith ()
   11652   {
   11653     as_val=`expr "$@" || test $? -eq 1`
   11654   }
   11655 fi # as_fn_arith
   11656 
   11657 
   11658 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11659    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11660   as_expr=expr
   11661 else
   11662   as_expr=false
   11663 fi
   11664 
   11665 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11666   as_basename=basename
   11667 else
   11668   as_basename=false
   11669 fi
   11670 
   11671 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11672   as_dirname=dirname
   11673 else
   11674   as_dirname=false
   11675 fi
   11676 
   11677 as_me=`$as_basename -- "$0" ||
   11678 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11679 	 X"$0" : 'X\(//\)$' \| \
   11680 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11681 $as_echo X/"$0" |
   11682     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11683 	    s//\1/
   11684 	    q
   11685 	  }
   11686 	  /^X\/\(\/\/\)$/{
   11687 	    s//\1/
   11688 	    q
   11689 	  }
   11690 	  /^X\/\(\/\).*/{
   11691 	    s//\1/
   11692 	    q
   11693 	  }
   11694 	  s/.*/./; q'`
   11695 
   11696 # Avoid depending upon Character Ranges.
   11697 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11698 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11699 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11700 as_cr_digits='0123456789'
   11701 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11702 
   11703 ECHO_C= ECHO_N= ECHO_T=
   11704 case `echo -n x` in #(((((
   11705 -n*)
   11706   case `echo 'xy\c'` in
   11707   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11708   xy)  ECHO_C='\c';;
   11709   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11710        ECHO_T='	';;
   11711   esac;;
   11712 *)
   11713   ECHO_N='-n';;
   11714 esac
   11715 
   11716 rm -f conf$$ conf$$.exe conf$$.file
   11717 if test -d conf$$.dir; then
   11718   rm -f conf$$.dir/conf$$.file
   11719 else
   11720   rm -f conf$$.dir
   11721   mkdir conf$$.dir 2>/dev/null
   11722 fi
   11723 if (echo >conf$$.file) 2>/dev/null; then
   11724   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11725     as_ln_s='ln -s'
   11726     # ... but there are two gotchas:
   11727     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11728     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11729     # In both cases, we have to default to `cp -p'.
   11730     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11731       as_ln_s='cp -p'
   11732   elif ln conf$$.file conf$$ 2>/dev/null; then
   11733     as_ln_s=ln
   11734   else
   11735     as_ln_s='cp -p'
   11736   fi
   11737 else
   11738   as_ln_s='cp -p'
   11739 fi
   11740 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11741 rmdir conf$$.dir 2>/dev/null
   11742 
   11743 
   11744 # as_fn_mkdir_p
   11745 # -------------
   11746 # Create "$as_dir" as a directory, including parents if necessary.
   11747 as_fn_mkdir_p ()
   11748 {
   11749 
   11750   case $as_dir in #(
   11751   -*) as_dir=./$as_dir;;
   11752   esac
   11753   test -d "$as_dir" || eval $as_mkdir_p || {
   11754     as_dirs=
   11755     while :; do
   11756       case $as_dir in #(
   11757       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11758       *) as_qdir=$as_dir;;
   11759       esac
   11760       as_dirs="'$as_qdir' $as_dirs"
   11761       as_dir=`$as_dirname -- "$as_dir" ||
   11762 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11763 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11764 	 X"$as_dir" : 'X\(//\)$' \| \
   11765 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11766 $as_echo X"$as_dir" |
   11767     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11768 	    s//\1/
   11769 	    q
   11770 	  }
   11771 	  /^X\(\/\/\)[^/].*/{
   11772 	    s//\1/
   11773 	    q
   11774 	  }
   11775 	  /^X\(\/\/\)$/{
   11776 	    s//\1/
   11777 	    q
   11778 	  }
   11779 	  /^X\(\/\).*/{
   11780 	    s//\1/
   11781 	    q
   11782 	  }
   11783 	  s/.*/./; q'`
   11784       test -d "$as_dir" && break
   11785     done
   11786     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11787   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11788 
   11789 
   11790 } # as_fn_mkdir_p
   11791 if mkdir -p . 2>/dev/null; then
   11792   as_mkdir_p='mkdir -p "$as_dir"'
   11793 else
   11794   test -d ./-p && rmdir ./-p
   11795   as_mkdir_p=false
   11796 fi
   11797 
   11798 if test -x / >/dev/null 2>&1; then
   11799   as_test_x='test -x'
   11800 else
   11801   if ls -dL / >/dev/null 2>&1; then
   11802     as_ls_L_option=L
   11803   else
   11804     as_ls_L_option=
   11805   fi
   11806   as_test_x='
   11807     eval sh -c '\''
   11808       if test -d "$1"; then
   11809 	test -d "$1/.";
   11810       else
   11811 	case $1 in #(
   11812 	-*)set "./$1";;
   11813 	esac;
   11814 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   11815 	???[sx]*):;;*)false;;esac;fi
   11816     '\'' sh
   11817   '
   11818 fi
   11819 as_executable_p=$as_test_x
   11820 
   11821 # Sed expression to map a string onto a valid CPP name.
   11822 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11823 
   11824 # Sed expression to map a string onto a valid variable name.
   11825 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11826 
   11827 
   11828 exec 6>&1
   11829 ## ----------------------------------- ##
   11830 ## Main body of $CONFIG_STATUS script. ##
   11831 ## ----------------------------------- ##
   11832 _ASEOF
   11833 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11834 
   11835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11836 # Save the log message, to keep $0 and so on meaningful, and to
   11837 # report actual input values of CONFIG_FILES etc. instead of their
   11838 # values after options handling.
   11839 ac_log="
   11840 This file was extended by xinit $as_me 1.3.3, which was
   11841 generated by GNU Autoconf 2.68.  Invocation command line was
   11842 
   11843   CONFIG_FILES    = $CONFIG_FILES
   11844   CONFIG_HEADERS  = $CONFIG_HEADERS
   11845   CONFIG_LINKS    = $CONFIG_LINKS
   11846   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11847   $ $0 $@
   11848 
   11849 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11850 "
   11851 
   11852 _ACEOF
   11853 
   11854 case $ac_config_files in *"
   11855 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11856 esac
   11857 
   11858 case $ac_config_headers in *"
   11859 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11860 esac
   11861 
   11862 
   11863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11864 # Files that config.status was made for.
   11865 config_files="$ac_config_files"
   11866 config_headers="$ac_config_headers"
   11867 config_commands="$ac_config_commands"
   11868 
   11869 _ACEOF
   11870 
   11871 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11872 ac_cs_usage="\
   11873 \`$as_me' instantiates files and other configuration actions
   11874 from templates according to the current configuration.  Unless the files
   11875 and actions are specified as TAGs, all are instantiated by default.
   11876 
   11877 Usage: $0 [OPTION]... [TAG]...
   11878 
   11879   -h, --help       print this help, then exit
   11880   -V, --version    print version number and configuration settings, then exit
   11881       --config     print configuration, then exit
   11882   -q, --quiet, --silent
   11883                    do not print progress messages
   11884   -d, --debug      don't remove temporary files
   11885       --recheck    update $as_me by reconfiguring in the same conditions
   11886       --file=FILE[:TEMPLATE]
   11887                    instantiate the configuration file FILE
   11888       --header=FILE[:TEMPLATE]
   11889                    instantiate the configuration header FILE
   11890 
   11891 Configuration files:
   11892 $config_files
   11893 
   11894 Configuration headers:
   11895 $config_headers
   11896 
   11897 Configuration commands:
   11898 $config_commands
   11899 
   11900 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11901 
   11902 _ACEOF
   11903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11904 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11905 ac_cs_version="\\
   11906 xinit config.status 1.3.3
   11907 configured by $0, generated by GNU Autoconf 2.68,
   11908   with options \\"\$ac_cs_config\\"
   11909 
   11910 Copyright (C) 2010 Free Software Foundation, Inc.
   11911 This config.status script is free software; the Free Software Foundation
   11912 gives unlimited permission to copy, distribute and modify it."
   11913 
   11914 ac_pwd='$ac_pwd'
   11915 srcdir='$srcdir'
   11916 INSTALL='$INSTALL'
   11917 MKDIR_P='$MKDIR_P'
   11918 AWK='$AWK'
   11919 test -n "\$AWK" || AWK=awk
   11920 _ACEOF
   11921 
   11922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11923 # The default lists apply if the user does not specify any file.
   11924 ac_need_defaults=:
   11925 while test $# != 0
   11926 do
   11927   case $1 in
   11928   --*=?*)
   11929     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11930     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11931     ac_shift=:
   11932     ;;
   11933   --*=)
   11934     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11935     ac_optarg=
   11936     ac_shift=:
   11937     ;;
   11938   *)
   11939     ac_option=$1
   11940     ac_optarg=$2
   11941     ac_shift=shift
   11942     ;;
   11943   esac
   11944 
   11945   case $ac_option in
   11946   # Handling of the options.
   11947   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11948     ac_cs_recheck=: ;;
   11949   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11950     $as_echo "$ac_cs_version"; exit ;;
   11951   --config | --confi | --conf | --con | --co | --c )
   11952     $as_echo "$ac_cs_config"; exit ;;
   11953   --debug | --debu | --deb | --de | --d | -d )
   11954     debug=: ;;
   11955   --file | --fil | --fi | --f )
   11956     $ac_shift
   11957     case $ac_optarg in
   11958     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11959     '') as_fn_error $? "missing file argument" ;;
   11960     esac
   11961     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11962     ac_need_defaults=false;;
   11963   --header | --heade | --head | --hea )
   11964     $ac_shift
   11965     case $ac_optarg in
   11966     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11967     esac
   11968     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11969     ac_need_defaults=false;;
   11970   --he | --h)
   11971     # Conflict between --help and --header
   11972     as_fn_error $? "ambiguous option: \`$1'
   11973 Try \`$0 --help' for more information.";;
   11974   --help | --hel | -h )
   11975     $as_echo "$ac_cs_usage"; exit ;;
   11976   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11977   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11978     ac_cs_silent=: ;;
   11979 
   11980   # This is an error.
   11981   -*) as_fn_error $? "unrecognized option: \`$1'
   11982 Try \`$0 --help' for more information." ;;
   11983 
   11984   *) as_fn_append ac_config_targets " $1"
   11985      ac_need_defaults=false ;;
   11986 
   11987   esac
   11988   shift
   11989 done
   11990 
   11991 ac_configure_extra_args=
   11992 
   11993 if $ac_cs_silent; then
   11994   exec 6>/dev/null
   11995   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11996 fi
   11997 
   11998 _ACEOF
   11999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12000 if \$ac_cs_recheck; then
   12001   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12002   shift
   12003   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   12004   CONFIG_SHELL='$SHELL'
   12005   export CONFIG_SHELL
   12006   exec "\$@"
   12007 fi
   12008 
   12009 _ACEOF
   12010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12011 exec 5>>config.log
   12012 {
   12013   echo
   12014   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12015 ## Running $as_me. ##
   12016 _ASBOX
   12017   $as_echo "$ac_log"
   12018 } >&5
   12019 
   12020 _ACEOF
   12021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12022 #
   12023 # INIT-COMMANDS
   12024 #
   12025 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   12026 
   12027 _ACEOF
   12028 
   12029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12030 
   12031 # Handling of arguments.
   12032 for ac_config_target in $ac_config_targets
   12033 do
   12034   case $ac_config_target in
   12035     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12036     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12037     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12038     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12039     "launchd/Makefile") CONFIG_FILES="$CONFIG_FILES launchd/Makefile" ;;
   12040     "launchd/privileged_startx/Makefile") CONFIG_FILES="$CONFIG_FILES launchd/privileged_startx/Makefile" ;;
   12041     "launchd/user_startx/Makefile") CONFIG_FILES="$CONFIG_FILES launchd/user_startx/Makefile" ;;
   12042 
   12043   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12044   esac
   12045 done
   12046 
   12047 
   12048 # If the user did not use the arguments to specify the items to instantiate,
   12049 # then the envvar interface is used.  Set only those that are not.
   12050 # We use the long form for the default assignment because of an extremely
   12051 # bizarre bug on SunOS 4.1.3.
   12052 if $ac_need_defaults; then
   12053   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   12054   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   12055   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   12056 fi
   12057 
   12058 # Have a temporary directory for convenience.  Make it in the build tree
   12059 # simply because there is no reason against having it here, and in addition,
   12060 # creating and moving files from /tmp can sometimes cause problems.
   12061 # Hook for its removal unless debugging.
   12062 # Note that there is a small window in which the directory will not be cleaned:
   12063 # after its creation but before its name has been assigned to `$tmp'.
   12064 $debug ||
   12065 {
   12066   tmp= ac_tmp=
   12067   trap 'exit_status=$?
   12068   : "${ac_tmp:=$tmp}"
   12069   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12070 ' 0
   12071   trap 'as_fn_exit 1' 1 2 13 15
   12072 }
   12073 # Create a (secure) tmp directory for tmp files.
   12074 
   12075 {
   12076   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12077   test -d "$tmp"
   12078 }  ||
   12079 {
   12080   tmp=./conf$$-$RANDOM
   12081   (umask 077 && mkdir "$tmp")
   12082 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12083 ac_tmp=$tmp
   12084 
   12085 # Set up the scripts for CONFIG_FILES section.
   12086 # No need to generate them if there are no CONFIG_FILES.
   12087 # This happens for instance with `./config.status config.h'.
   12088 if test -n "$CONFIG_FILES"; then
   12089 
   12090 
   12091 ac_cr=`echo X | tr X '\015'`
   12092 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12093 # But we know of no other shell where ac_cr would be empty at this
   12094 # point, so we can use a bashism as a fallback.
   12095 if test "x$ac_cr" = x; then
   12096   eval ac_cr=\$\'\\r\'
   12097 fi
   12098 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12099 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12100   ac_cs_awk_cr='\\r'
   12101 else
   12102   ac_cs_awk_cr=$ac_cr
   12103 fi
   12104 
   12105 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12106 _ACEOF
   12107 
   12108 
   12109 {
   12110   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12111   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12112   echo "_ACEOF"
   12113 } >conf$$subs.sh ||
   12114   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12115 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12116 ac_delim='%!_!# '
   12117 for ac_last_try in false false false false false :; do
   12118   . ./conf$$subs.sh ||
   12119     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12120 
   12121   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12122   if test $ac_delim_n = $ac_delim_num; then
   12123     break
   12124   elif $ac_last_try; then
   12125     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12126   else
   12127     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12128   fi
   12129 done
   12130 rm -f conf$$subs.sh
   12131 
   12132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12133 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12134 _ACEOF
   12135 sed -n '
   12136 h
   12137 s/^/S["/; s/!.*/"]=/
   12138 p
   12139 g
   12140 s/^[^!]*!//
   12141 :repl
   12142 t repl
   12143 s/'"$ac_delim"'$//
   12144 t delim
   12145 :nl
   12146 h
   12147 s/\(.\{148\}\)..*/\1/
   12148 t more1
   12149 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12150 p
   12151 n
   12152 b repl
   12153 :more1
   12154 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12155 p
   12156 g
   12157 s/.\{148\}//
   12158 t nl
   12159 :delim
   12160 h
   12161 s/\(.\{148\}\)..*/\1/
   12162 t more2
   12163 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12164 p
   12165 b
   12166 :more2
   12167 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12168 p
   12169 g
   12170 s/.\{148\}//
   12171 t delim
   12172 ' <conf$$subs.awk | sed '
   12173 /^[^""]/{
   12174   N
   12175   s/\n//
   12176 }
   12177 ' >>$CONFIG_STATUS || ac_write_fail=1
   12178 rm -f conf$$subs.awk
   12179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12180 _ACAWK
   12181 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12182   for (key in S) S_is_set[key] = 1
   12183   FS = ""
   12184 
   12185 }
   12186 {
   12187   line = $ 0
   12188   nfields = split(line, field, "@")
   12189   substed = 0
   12190   len = length(field[1])
   12191   for (i = 2; i < nfields; i++) {
   12192     key = field[i]
   12193     keylen = length(key)
   12194     if (S_is_set[key]) {
   12195       value = S[key]
   12196       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12197       len += length(value) + length(field[++i])
   12198       substed = 1
   12199     } else
   12200       len += 1 + keylen
   12201   }
   12202 
   12203   print line
   12204 }
   12205 
   12206 _ACAWK
   12207 _ACEOF
   12208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12209 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12210   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12211 else
   12212   cat
   12213 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12214   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12215 _ACEOF
   12216 
   12217 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12218 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12219 # trailing colons and then remove the whole line if VPATH becomes empty
   12220 # (actually we leave an empty line to preserve line numbers).
   12221 if test "x$srcdir" = x.; then
   12222   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12223 h
   12224 s///
   12225 s/^/:/
   12226 s/[	 ]*$/:/
   12227 s/:\$(srcdir):/:/g
   12228 s/:\${srcdir}:/:/g
   12229 s/:@srcdir@:/:/g
   12230 s/^:*//
   12231 s/:*$//
   12232 x
   12233 s/\(=[	 ]*\).*/\1/
   12234 G
   12235 s/\n//
   12236 s/^[^=]*=[	 ]*$//
   12237 }'
   12238 fi
   12239 
   12240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12241 fi # test -n "$CONFIG_FILES"
   12242 
   12243 # Set up the scripts for CONFIG_HEADERS section.
   12244 # No need to generate them if there are no CONFIG_HEADERS.
   12245 # This happens for instance with `./config.status Makefile'.
   12246 if test -n "$CONFIG_HEADERS"; then
   12247 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12248 BEGIN {
   12249 _ACEOF
   12250 
   12251 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12252 # here-document in config.status, that substitutes the proper values into
   12253 # config.h.in to produce config.h.
   12254 
   12255 # Create a delimiter string that does not exist in confdefs.h, to ease
   12256 # handling of long lines.
   12257 ac_delim='%!_!# '
   12258 for ac_last_try in false false :; do
   12259   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12260   if test -z "$ac_tt"; then
   12261     break
   12262   elif $ac_last_try; then
   12263     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12264   else
   12265     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12266   fi
   12267 done
   12268 
   12269 # For the awk script, D is an array of macro values keyed by name,
   12270 # likewise P contains macro parameters if any.  Preserve backslash
   12271 # newline sequences.
   12272 
   12273 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12274 sed -n '
   12275 s/.\{148\}/&'"$ac_delim"'/g
   12276 t rset
   12277 :rset
   12278 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12279 t def
   12280 d
   12281 :def
   12282 s/\\$//
   12283 t bsnl
   12284 s/["\\]/\\&/g
   12285 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12286 D["\1"]=" \3"/p
   12287 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12288 d
   12289 :bsnl
   12290 s/["\\]/\\&/g
   12291 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12292 D["\1"]=" \3\\\\\\n"\\/p
   12293 t cont
   12294 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12295 t cont
   12296 d
   12297 :cont
   12298 n
   12299 s/.\{148\}/&'"$ac_delim"'/g
   12300 t clear
   12301 :clear
   12302 s/\\$//
   12303 t bsnlc
   12304 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12305 d
   12306 :bsnlc
   12307 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12308 b cont
   12309 ' <confdefs.h | sed '
   12310 s/'"$ac_delim"'/"\\\
   12311 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12312 
   12313 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12314   for (key in D) D_is_set[key] = 1
   12315   FS = ""
   12316 }
   12317 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12318   line = \$ 0
   12319   split(line, arg, " ")
   12320   if (arg[1] == "#") {
   12321     defundef = arg[2]
   12322     mac1 = arg[3]
   12323   } else {
   12324     defundef = substr(arg[1], 2)
   12325     mac1 = arg[2]
   12326   }
   12327   split(mac1, mac2, "(") #)
   12328   macro = mac2[1]
   12329   prefix = substr(line, 1, index(line, defundef) - 1)
   12330   if (D_is_set[macro]) {
   12331     # Preserve the white space surrounding the "#".
   12332     print prefix "define", macro P[macro] D[macro]
   12333     next
   12334   } else {
   12335     # Replace #undef with comments.  This is necessary, for example,
   12336     # in the case of _POSIX_SOURCE, which is predefined and required
   12337     # on some systems where configure will not decide to define it.
   12338     if (defundef == "undef") {
   12339       print "/*", prefix defundef, macro, "*/"
   12340       next
   12341     }
   12342   }
   12343 }
   12344 { print }
   12345 _ACAWK
   12346 _ACEOF
   12347 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12348   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12349 fi # test -n "$CONFIG_HEADERS"
   12350 
   12351 
   12352 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12353 shift
   12354 for ac_tag
   12355 do
   12356   case $ac_tag in
   12357   :[FHLC]) ac_mode=$ac_tag; continue;;
   12358   esac
   12359   case $ac_mode$ac_tag in
   12360   :[FHL]*:*);;
   12361   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12362   :[FH]-) ac_tag=-:-;;
   12363   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12364   esac
   12365   ac_save_IFS=$IFS
   12366   IFS=:
   12367   set x $ac_tag
   12368   IFS=$ac_save_IFS
   12369   shift
   12370   ac_file=$1
   12371   shift
   12372 
   12373   case $ac_mode in
   12374   :L) ac_source=$1;;
   12375   :[FH])
   12376     ac_file_inputs=
   12377     for ac_f
   12378     do
   12379       case $ac_f in
   12380       -) ac_f="$ac_tmp/stdin";;
   12381       *) # Look for the file first in the build tree, then in the source tree
   12382 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12383 	 # because $ac_f cannot contain `:'.
   12384 	 test -f "$ac_f" ||
   12385 	   case $ac_f in
   12386 	   [\\/$]*) false;;
   12387 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12388 	   esac ||
   12389 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12390       esac
   12391       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12392       as_fn_append ac_file_inputs " '$ac_f'"
   12393     done
   12394 
   12395     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12396     # use $as_me), people would be surprised to read:
   12397     #    /* config.h.  Generated by config.status.  */
   12398     configure_input='Generated from '`
   12399 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12400 	`' by configure.'
   12401     if test x"$ac_file" != x-; then
   12402       configure_input="$ac_file.  $configure_input"
   12403       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12404 $as_echo "$as_me: creating $ac_file" >&6;}
   12405     fi
   12406     # Neutralize special characters interpreted by sed in replacement strings.
   12407     case $configure_input in #(
   12408     *\&* | *\|* | *\\* )
   12409        ac_sed_conf_input=`$as_echo "$configure_input" |
   12410        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12411     *) ac_sed_conf_input=$configure_input;;
   12412     esac
   12413 
   12414     case $ac_tag in
   12415     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12416       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12417     esac
   12418     ;;
   12419   esac
   12420 
   12421   ac_dir=`$as_dirname -- "$ac_file" ||
   12422 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12423 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12424 	 X"$ac_file" : 'X\(//\)$' \| \
   12425 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12426 $as_echo X"$ac_file" |
   12427     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12428 	    s//\1/
   12429 	    q
   12430 	  }
   12431 	  /^X\(\/\/\)[^/].*/{
   12432 	    s//\1/
   12433 	    q
   12434 	  }
   12435 	  /^X\(\/\/\)$/{
   12436 	    s//\1/
   12437 	    q
   12438 	  }
   12439 	  /^X\(\/\).*/{
   12440 	    s//\1/
   12441 	    q
   12442 	  }
   12443 	  s/.*/./; q'`
   12444   as_dir="$ac_dir"; as_fn_mkdir_p
   12445   ac_builddir=.
   12446 
   12447 case "$ac_dir" in
   12448 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12449 *)
   12450   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12451   # A ".." for each directory in $ac_dir_suffix.
   12452   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12453   case $ac_top_builddir_sub in
   12454   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12455   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12456   esac ;;
   12457 esac
   12458 ac_abs_top_builddir=$ac_pwd
   12459 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12460 # for backward compatibility:
   12461 ac_top_builddir=$ac_top_build_prefix
   12462 
   12463 case $srcdir in
   12464   .)  # We are building in place.
   12465     ac_srcdir=.
   12466     ac_top_srcdir=$ac_top_builddir_sub
   12467     ac_abs_top_srcdir=$ac_pwd ;;
   12468   [\\/]* | ?:[\\/]* )  # Absolute name.
   12469     ac_srcdir=$srcdir$ac_dir_suffix;
   12470     ac_top_srcdir=$srcdir
   12471     ac_abs_top_srcdir=$srcdir ;;
   12472   *) # Relative name.
   12473     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12474     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12475     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12476 esac
   12477 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12478 
   12479 
   12480   case $ac_mode in
   12481   :F)
   12482   #
   12483   # CONFIG_FILE
   12484   #
   12485 
   12486   case $INSTALL in
   12487   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12488   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12489   esac
   12490   ac_MKDIR_P=$MKDIR_P
   12491   case $MKDIR_P in
   12492   [\\/$]* | ?:[\\/]* ) ;;
   12493   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12494   esac
   12495 _ACEOF
   12496 
   12497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12498 # If the template does not know about datarootdir, expand it.
   12499 # FIXME: This hack should be removed a few years after 2.60.
   12500 ac_datarootdir_hack=; ac_datarootdir_seen=
   12501 ac_sed_dataroot='
   12502 /datarootdir/ {
   12503   p
   12504   q
   12505 }
   12506 /@datadir@/p
   12507 /@docdir@/p
   12508 /@infodir@/p
   12509 /@localedir@/p
   12510 /@mandir@/p'
   12511 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12512 *datarootdir*) ac_datarootdir_seen=yes;;
   12513 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12514   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12515 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12516 _ACEOF
   12517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12518   ac_datarootdir_hack='
   12519   s&@datadir@&$datadir&g
   12520   s&@docdir@&$docdir&g
   12521   s&@infodir@&$infodir&g
   12522   s&@localedir@&$localedir&g
   12523   s&@mandir@&$mandir&g
   12524   s&\\\${datarootdir}&$datarootdir&g' ;;
   12525 esac
   12526 _ACEOF
   12527 
   12528 # Neutralize VPATH when `$srcdir' = `.'.
   12529 # Shell code in configure.ac might set extrasub.
   12530 # FIXME: do we really want to maintain this feature?
   12531 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12532 ac_sed_extra="$ac_vpsub
   12533 $extrasub
   12534 _ACEOF
   12535 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12536 :t
   12537 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12538 s|@configure_input@|$ac_sed_conf_input|;t t
   12539 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12540 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12541 s&@srcdir@&$ac_srcdir&;t t
   12542 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12543 s&@top_srcdir@&$ac_top_srcdir&;t t
   12544 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12545 s&@builddir@&$ac_builddir&;t t
   12546 s&@abs_builddir@&$ac_abs_builddir&;t t
   12547 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12548 s&@INSTALL@&$ac_INSTALL&;t t
   12549 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12550 $ac_datarootdir_hack
   12551 "
   12552 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12553   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12554 
   12555 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12556   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12557   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12558       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12559   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12560 which seems to be undefined.  Please make sure it is defined" >&5
   12561 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12562 which seems to be undefined.  Please make sure it is defined" >&2;}
   12563 
   12564   rm -f "$ac_tmp/stdin"
   12565   case $ac_file in
   12566   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12567   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12568   esac \
   12569   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12570  ;;
   12571   :H)
   12572   #
   12573   # CONFIG_HEADER
   12574   #
   12575   if test x"$ac_file" != x-; then
   12576     {
   12577       $as_echo "/* $configure_input  */" \
   12578       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12579     } >"$ac_tmp/config.h" \
   12580       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12581     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12582       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12583 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12584     else
   12585       rm -f "$ac_file"
   12586       mv "$ac_tmp/config.h" "$ac_file" \
   12587 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12588     fi
   12589   else
   12590     $as_echo "/* $configure_input  */" \
   12591       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12592       || as_fn_error $? "could not create -" "$LINENO" 5
   12593   fi
   12594 # Compute "$ac_file"'s index in $config_headers.
   12595 _am_arg="$ac_file"
   12596 _am_stamp_count=1
   12597 for _am_header in $config_headers :; do
   12598   case $_am_header in
   12599     $_am_arg | $_am_arg:* )
   12600       break ;;
   12601     * )
   12602       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12603   esac
   12604 done
   12605 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12606 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12607 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12608 	 X"$_am_arg" : 'X\(//\)$' \| \
   12609 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12610 $as_echo X"$_am_arg" |
   12611     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12612 	    s//\1/
   12613 	    q
   12614 	  }
   12615 	  /^X\(\/\/\)[^/].*/{
   12616 	    s//\1/
   12617 	    q
   12618 	  }
   12619 	  /^X\(\/\/\)$/{
   12620 	    s//\1/
   12621 	    q
   12622 	  }
   12623 	  /^X\(\/\).*/{
   12624 	    s//\1/
   12625 	    q
   12626 	  }
   12627 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12628  ;;
   12629 
   12630   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12631 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12632  ;;
   12633   esac
   12634 
   12635 
   12636   case $ac_file$ac_mode in
   12637     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12638   # Older Autoconf quotes --file arguments for eval, but not when files
   12639   # are listed without --file.  Let's play safe and only enable the eval
   12640   # if we detect the quoting.
   12641   case $CONFIG_FILES in
   12642   *\'*) eval set x "$CONFIG_FILES" ;;
   12643   *)   set x $CONFIG_FILES ;;
   12644   esac
   12645   shift
   12646   for mf
   12647   do
   12648     # Strip MF so we end up with the name of the file.
   12649     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12650     # Check whether this is an Automake generated Makefile or not.
   12651     # We used to match only the files named 'Makefile.in', but
   12652     # some people rename them; so instead we look at the file content.
   12653     # Grep'ing the first line is not enough: some people post-process
   12654     # each Makefile.in and add a new line on top of each file to say so.
   12655     # Grep'ing the whole file is not good either: AIX grep has a line
   12656     # limit of 2048, but all sed's we know have understand at least 4000.
   12657     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12658       dirpart=`$as_dirname -- "$mf" ||
   12659 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12660 	 X"$mf" : 'X\(//\)[^/]' \| \
   12661 	 X"$mf" : 'X\(//\)$' \| \
   12662 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12663 $as_echo X"$mf" |
   12664     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12665 	    s//\1/
   12666 	    q
   12667 	  }
   12668 	  /^X\(\/\/\)[^/].*/{
   12669 	    s//\1/
   12670 	    q
   12671 	  }
   12672 	  /^X\(\/\/\)$/{
   12673 	    s//\1/
   12674 	    q
   12675 	  }
   12676 	  /^X\(\/\).*/{
   12677 	    s//\1/
   12678 	    q
   12679 	  }
   12680 	  s/.*/./; q'`
   12681     else
   12682       continue
   12683     fi
   12684     # Extract the definition of DEPDIR, am__include, and am__quote
   12685     # from the Makefile without running 'make'.
   12686     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12687     test -z "$DEPDIR" && continue
   12688     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12689     test -z "$am__include" && continue
   12690     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12691     # Find all dependency output files, they are included files with
   12692     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12693     # simplest approach to changing $(DEPDIR) to its actual value in the
   12694     # expansion.
   12695     for file in `sed -n "
   12696       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12697 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12698       # Make sure the directory exists.
   12699       test -f "$dirpart/$file" && continue
   12700       fdir=`$as_dirname -- "$file" ||
   12701 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12702 	 X"$file" : 'X\(//\)[^/]' \| \
   12703 	 X"$file" : 'X\(//\)$' \| \
   12704 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12705 $as_echo X"$file" |
   12706     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12707 	    s//\1/
   12708 	    q
   12709 	  }
   12710 	  /^X\(\/\/\)[^/].*/{
   12711 	    s//\1/
   12712 	    q
   12713 	  }
   12714 	  /^X\(\/\/\)$/{
   12715 	    s//\1/
   12716 	    q
   12717 	  }
   12718 	  /^X\(\/\).*/{
   12719 	    s//\1/
   12720 	    q
   12721 	  }
   12722 	  s/.*/./; q'`
   12723       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12724       # echo "creating $dirpart/$file"
   12725       echo '# dummy' > "$dirpart/$file"
   12726     done
   12727   done
   12728 }
   12729  ;;
   12730 
   12731   esac
   12732 done # for ac_tag
   12733 
   12734 
   12735 as_fn_exit 0
   12736 _ACEOF
   12737 ac_clean_files=$ac_clean_files_save
   12738 
   12739 test $ac_write_fail = 0 ||
   12740   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12741 
   12742 
   12743 # configure is writing to config.log, and then calls config.status.
   12744 # config.status does its own redirection, appending to config.log.
   12745 # Unfortunately, on DOS this fails, as config.log is still kept open
   12746 # by configure, so config.status won't be able to write to it; its
   12747 # output is simply discarded.  So we exec the FD to /dev/null,
   12748 # effectively closing config.log, so it can be properly (re)opened and
   12749 # appended to by config.status.  When coming back to configure, we
   12750 # need to make the FD available again.
   12751 if test "$no_create" != yes; then
   12752   ac_cs_success=:
   12753   ac_config_status_args=
   12754   test "$silent" = yes &&
   12755     ac_config_status_args="$ac_config_status_args --quiet"
   12756   exec 5>/dev/null
   12757   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12758   exec 5>>config.log
   12759   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12760   # would make configure fail if this is the last instruction.
   12761   $ac_cs_success || as_fn_exit 1
   12762 fi
   12763 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12764   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12765 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12766 fi
   12767 
   12768