Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for xmag 1.0.5.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1"
    178   if (eval "$as_required") 2>/dev/null; then :
    179   as_have_required=yes
    180 else
    181   as_have_required=no
    182 fi
    183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    184 
    185 else
    186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    187 as_found=false
    188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    189 do
    190   IFS=$as_save_IFS
    191   test -z "$as_dir" && as_dir=.
    192   as_found=:
    193   case $as_dir in #(
    194 	 /*)
    195 	   for as_base in sh bash ksh sh5; do
    196 	     # Try only shells that exist, to save several forks.
    197 	     as_shell=$as_dir/$as_base
    198 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    199 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    200   CONFIG_SHELL=$as_shell as_have_required=yes
    201 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    202   break 2
    203 fi
    204 fi
    205 	   done;;
    206        esac
    207   as_found=false
    208 done
    209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    210 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    211   CONFIG_SHELL=$SHELL as_have_required=yes
    212 fi; }
    213 IFS=$as_save_IFS
    214 
    215 
    216       if test "x$CONFIG_SHELL" != x; then :
    217   # We cannot yet assume a decent shell, so we have to provide a
    218 	# neutralization value for shells without unset; and this also
    219 	# works around shells that cannot unset nonexistent variables.
    220 	# Preserve -v and -x to the replacement shell.
    221 	BASH_ENV=/dev/null
    222 	ENV=/dev/null
    223 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    224 	export CONFIG_SHELL
    225 	case $- in # ((((
    226 	  *v*x* | *x*v* ) as_opts=-vx ;;
    227 	  *v* ) as_opts=-v ;;
    228 	  *x* ) as_opts=-x ;;
    229 	  * ) as_opts= ;;
    230 	esac
    231 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    232 fi
    233 
    234     if test x$as_have_required = xno; then :
    235   $as_echo "$0: This script requires a shell more modern than all"
    236   $as_echo "$0: the shells that I found on your system."
    237   if test x${ZSH_VERSION+set} = xset ; then
    238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    240   else
    241     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    242 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    243 $0: about your system, including any error possibly output
    244 $0: before this message. Then install a modern shell, or
    245 $0: manually run the script under such a shell if you do
    246 $0: have one."
    247   fi
    248   exit 1
    249 fi
    250 fi
    251 fi
    252 SHELL=${CONFIG_SHELL-/bin/sh}
    253 export SHELL
    254 # Unset more variables known to interfere with behavior of common tools.
    255 CLICOLOR_FORCE= GREP_OPTIONS=
    256 unset CLICOLOR_FORCE GREP_OPTIONS
    257 
    258 ## --------------------- ##
    259 ## M4sh Shell Functions. ##
    260 ## --------------------- ##
    261 # as_fn_unset VAR
    262 # ---------------
    263 # Portably unset VAR.
    264 as_fn_unset ()
    265 {
    266   { eval $1=; unset $1;}
    267 }
    268 as_unset=as_fn_unset
    269 
    270 # as_fn_set_status STATUS
    271 # -----------------------
    272 # Set $? to STATUS, without forking.
    273 as_fn_set_status ()
    274 {
    275   return $1
    276 } # as_fn_set_status
    277 
    278 # as_fn_exit STATUS
    279 # -----------------
    280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    281 as_fn_exit ()
    282 {
    283   set +e
    284   as_fn_set_status $1
    285   exit $1
    286 } # as_fn_exit
    287 
    288 # as_fn_mkdir_p
    289 # -------------
    290 # Create "$as_dir" as a directory, including parents if necessary.
    291 as_fn_mkdir_p ()
    292 {
    293 
    294   case $as_dir in #(
    295   -*) as_dir=./$as_dir;;
    296   esac
    297   test -d "$as_dir" || eval $as_mkdir_p || {
    298     as_dirs=
    299     while :; do
    300       case $as_dir in #(
    301       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    302       *) as_qdir=$as_dir;;
    303       esac
    304       as_dirs="'$as_qdir' $as_dirs"
    305       as_dir=`$as_dirname -- "$as_dir" ||
    306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    307 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    308 	 X"$as_dir" : 'X\(//\)$' \| \
    309 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    310 $as_echo X"$as_dir" |
    311     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    312 	    s//\1/
    313 	    q
    314 	  }
    315 	  /^X\(\/\/\)[^/].*/{
    316 	    s//\1/
    317 	    q
    318 	  }
    319 	  /^X\(\/\/\)$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\).*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  s/.*/./; q'`
    328       test -d "$as_dir" && break
    329     done
    330     test -z "$as_dirs" || eval "mkdir $as_dirs"
    331   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    332 
    333 
    334 } # as_fn_mkdir_p
    335 # as_fn_append VAR VALUE
    336 # ----------------------
    337 # Append the text in VALUE to the end of the definition contained in VAR. Take
    338 # advantage of any shell optimizations that allow amortized linear growth over
    339 # repeated appends, instead of the typical quadratic growth present in naive
    340 # implementations.
    341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    342   eval 'as_fn_append ()
    343   {
    344     eval $1+=\$2
    345   }'
    346 else
    347   as_fn_append ()
    348   {
    349     eval $1=\$$1\$2
    350   }
    351 fi # as_fn_append
    352 
    353 # as_fn_arith ARG...
    354 # ------------------
    355 # Perform arithmetic evaluation on the ARGs, and store the result in the
    356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    357 # must be portable across $(()) and expr.
    358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    359   eval 'as_fn_arith ()
    360   {
    361     as_val=$(( $* ))
    362   }'
    363 else
    364   as_fn_arith ()
    365   {
    366     as_val=`expr "$@" || test $? -eq 1`
    367   }
    368 fi # as_fn_arith
    369 
    370 
    371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    372 # ----------------------------------------
    373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    375 # script with STATUS, using 1 if that was 0.
    376 as_fn_error ()
    377 {
    378   as_status=$1; test $as_status -eq 0 && as_status=1
    379   if test "$4"; then
    380     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    381     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    382   fi
    383   $as_echo "$as_me: error: $2" >&2
    384   as_fn_exit $as_status
    385 } # as_fn_error
    386 
    387 if expr a : '\(a\)' >/dev/null 2>&1 &&
    388    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    389   as_expr=expr
    390 else
    391   as_expr=false
    392 fi
    393 
    394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    395   as_basename=basename
    396 else
    397   as_basename=false
    398 fi
    399 
    400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    401   as_dirname=dirname
    402 else
    403   as_dirname=false
    404 fi
    405 
    406 as_me=`$as_basename -- "$0" ||
    407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    408 	 X"$0" : 'X\(//\)$' \| \
    409 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    410 $as_echo X/"$0" |
    411     sed '/^.*\/\([^/][^/]*\)\/*$/{
    412 	    s//\1/
    413 	    q
    414 	  }
    415 	  /^X\/\(\/\/\)$/{
    416 	    s//\1/
    417 	    q
    418 	  }
    419 	  /^X\/\(\/\).*/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  s/.*/./; q'`
    424 
    425 # Avoid depending upon Character Ranges.
    426 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    429 as_cr_digits='0123456789'
    430 as_cr_alnum=$as_cr_Letters$as_cr_digits
    431 
    432 
    433   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    434   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    435   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    436   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    437   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    438   sed -n '
    439     p
    440     /[$]LINENO/=
    441   ' <$as_myself |
    442     sed '
    443       s/[$]LINENO.*/&-/
    444       t lineno
    445       b
    446       :lineno
    447       N
    448       :loop
    449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    450       t loop
    451       s/-\n.*//
    452     ' >$as_me.lineno &&
    453   chmod +x "$as_me.lineno" ||
    454     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    455 
    456   # Don't try to exec as it changes $[0], causing all sort of problems
    457   # (the dirname of $[0] is not the place where we might find the
    458   # original and so on.  Autoconf is especially sensitive to this).
    459   . "./$as_me.lineno"
    460   # Exit status is that of the last command.
    461   exit
    462 }
    463 
    464 ECHO_C= ECHO_N= ECHO_T=
    465 case `echo -n x` in #(((((
    466 -n*)
    467   case `echo 'xy\c'` in
    468   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    469   xy)  ECHO_C='\c';;
    470   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    471        ECHO_T='	';;
    472   esac;;
    473 *)
    474   ECHO_N='-n';;
    475 esac
    476 
    477 rm -f conf$$ conf$$.exe conf$$.file
    478 if test -d conf$$.dir; then
    479   rm -f conf$$.dir/conf$$.file
    480 else
    481   rm -f conf$$.dir
    482   mkdir conf$$.dir 2>/dev/null
    483 fi
    484 if (echo >conf$$.file) 2>/dev/null; then
    485   if ln -s conf$$.file conf$$ 2>/dev/null; then
    486     as_ln_s='ln -s'
    487     # ... but there are two gotchas:
    488     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    489     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    490     # In both cases, we have to default to `cp -p'.
    491     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    492       as_ln_s='cp -p'
    493   elif ln conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s=ln
    495   else
    496     as_ln_s='cp -p'
    497   fi
    498 else
    499   as_ln_s='cp -p'
    500 fi
    501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    502 rmdir conf$$.dir 2>/dev/null
    503 
    504 if mkdir -p . 2>/dev/null; then
    505   as_mkdir_p='mkdir -p "$as_dir"'
    506 else
    507   test -d ./-p && rmdir ./-p
    508   as_mkdir_p=false
    509 fi
    510 
    511 if test -x / >/dev/null 2>&1; then
    512   as_test_x='test -x'
    513 else
    514   if ls -dL / >/dev/null 2>&1; then
    515     as_ls_L_option=L
    516   else
    517     as_ls_L_option=
    518   fi
    519   as_test_x='
    520     eval sh -c '\''
    521       if test -d "$1"; then
    522 	test -d "$1/.";
    523       else
    524 	case $1 in #(
    525 	-*)set "./$1";;
    526 	esac;
    527 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    528 	???[sx]*):;;*)false;;esac;fi
    529     '\'' sh
    530   '
    531 fi
    532 as_executable_p=$as_test_x
    533 
    534 # Sed expression to map a string onto a valid CPP name.
    535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    536 
    537 # Sed expression to map a string onto a valid variable name.
    538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    539 
    540 
    541 test -n "$DJDIR" || exec 7<&0 </dev/null
    542 exec 6>&1
    543 
    544 # Name of the host.
    545 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    546 # so uname gets run too.
    547 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    548 
    549 #
    550 # Initializations.
    551 #
    552 ac_default_prefix=/usr/local
    553 ac_clean_files=
    554 ac_config_libobj_dir=.
    555 LIBOBJS=
    556 cross_compiling=no
    557 subdirs=
    558 MFLAGS=
    559 MAKEFLAGS=
    560 
    561 # Identity of this package.
    562 PACKAGE_NAME='xmag'
    563 PACKAGE_TARNAME='xmag'
    564 PACKAGE_VERSION='1.0.5'
    565 PACKAGE_STRING='xmag 1.0.5'
    566 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    567 PACKAGE_URL=''
    568 
    569 # Factoring default headers for most tests.
    570 ac_includes_default="\
    571 #include <stdio.h>
    572 #ifdef HAVE_SYS_TYPES_H
    573 # include <sys/types.h>
    574 #endif
    575 #ifdef HAVE_SYS_STAT_H
    576 # include <sys/stat.h>
    577 #endif
    578 #ifdef STDC_HEADERS
    579 # include <stdlib.h>
    580 # include <stddef.h>
    581 #else
    582 # ifdef HAVE_STDLIB_H
    583 #  include <stdlib.h>
    584 # endif
    585 #endif
    586 #ifdef HAVE_STRING_H
    587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    588 #  include <memory.h>
    589 # endif
    590 # include <string.h>
    591 #endif
    592 #ifdef HAVE_STRINGS_H
    593 # include <strings.h>
    594 #endif
    595 #ifdef HAVE_INTTYPES_H
    596 # include <inttypes.h>
    597 #endif
    598 #ifdef HAVE_STDINT_H
    599 # include <stdint.h>
    600 #endif
    601 #ifdef HAVE_UNISTD_H
    602 # include <unistd.h>
    603 #endif"
    604 
    605 ac_subst_vars='am__EXEEXT_FALSE
    606 am__EXEEXT_TRUE
    607 LTLIBOBJS
    608 LIBOBJS
    609 appdefaultdir
    610 XMAG_LIBS
    611 XMAG_CFLAGS
    612 AM_BACKSLASH
    613 AM_DEFAULT_VERBOSITY
    614 MAN_SUBSTS
    615 XORG_MAN_PAGE
    616 ADMIN_MAN_DIR
    617 DRIVER_MAN_DIR
    618 MISC_MAN_DIR
    619 FILE_MAN_DIR
    620 LIB_MAN_DIR
    621 APP_MAN_DIR
    622 ADMIN_MAN_SUFFIX
    623 DRIVER_MAN_SUFFIX
    624 MISC_MAN_SUFFIX
    625 FILE_MAN_SUFFIX
    626 LIB_MAN_SUFFIX
    627 APP_MAN_SUFFIX
    628 SED
    629 host_os
    630 host_vendor
    631 host_cpu
    632 host
    633 build_os
    634 build_vendor
    635 build_cpu
    636 build
    637 INSTALL_CMD
    638 PKG_CONFIG
    639 CHANGELOG_CMD
    640 STRICT_CFLAGS
    641 CWARNFLAGS
    642 BASE_CFLAGS
    643 EGREP
    644 GREP
    645 CPP
    646 am__fastdepCC_FALSE
    647 am__fastdepCC_TRUE
    648 CCDEPMODE
    649 am__nodep
    650 AMDEPBACKSLASH
    651 AMDEP_FALSE
    652 AMDEP_TRUE
    653 am__quote
    654 am__include
    655 DEPDIR
    656 OBJEXT
    657 EXEEXT
    658 ac_ct_CC
    659 CPPFLAGS
    660 LDFLAGS
    661 CFLAGS
    662 CC
    663 MAINT
    664 MAINTAINER_MODE_FALSE
    665 MAINTAINER_MODE_TRUE
    666 am__untar
    667 am__tar
    668 AMTAR
    669 am__leading_dot
    670 SET_MAKE
    671 AWK
    672 mkdir_p
    673 MKDIR_P
    674 INSTALL_STRIP_PROGRAM
    675 STRIP
    676 install_sh
    677 MAKEINFO
    678 AUTOHEADER
    679 AUTOMAKE
    680 AUTOCONF
    681 ACLOCAL
    682 VERSION
    683 PACKAGE
    684 CYGPATH_W
    685 am__isrc
    686 INSTALL_DATA
    687 INSTALL_SCRIPT
    688 INSTALL_PROGRAM
    689 target_alias
    690 host_alias
    691 build_alias
    692 LIBS
    693 ECHO_T
    694 ECHO_N
    695 ECHO_C
    696 DEFS
    697 mandir
    698 localedir
    699 libdir
    700 psdir
    701 pdfdir
    702 dvidir
    703 htmldir
    704 infodir
    705 docdir
    706 oldincludedir
    707 includedir
    708 localstatedir
    709 sharedstatedir
    710 sysconfdir
    711 datadir
    712 datarootdir
    713 libexecdir
    714 sbindir
    715 bindir
    716 program_transform_name
    717 prefix
    718 exec_prefix
    719 PACKAGE_URL
    720 PACKAGE_BUGREPORT
    721 PACKAGE_STRING
    722 PACKAGE_VERSION
    723 PACKAGE_TARNAME
    724 PACKAGE_NAME
    725 PATH_SEPARATOR
    726 SHELL'
    727 ac_subst_files=''
    728 ac_user_opts='
    729 enable_option_checking
    730 enable_maintainer_mode
    731 enable_dependency_tracking
    732 enable_selective_werror
    733 enable_strict_compilation
    734 enable_silent_rules
    735 with_appdefaultdir
    736 '
    737       ac_precious_vars='build_alias
    738 host_alias
    739 target_alias
    740 CC
    741 CFLAGS
    742 LDFLAGS
    743 LIBS
    744 CPPFLAGS
    745 CPP
    746 PKG_CONFIG
    747 XMAG_CFLAGS
    748 XMAG_LIBS'
    749 
    750 
    751 # Initialize some variables set by options.
    752 ac_init_help=
    753 ac_init_version=false
    754 ac_unrecognized_opts=
    755 ac_unrecognized_sep=
    756 # The variables have the same names as the options, with
    757 # dashes changed to underlines.
    758 cache_file=/dev/null
    759 exec_prefix=NONE
    760 no_create=
    761 no_recursion=
    762 prefix=NONE
    763 program_prefix=NONE
    764 program_suffix=NONE
    765 program_transform_name=s,x,x,
    766 silent=
    767 site=
    768 srcdir=
    769 verbose=
    770 x_includes=NONE
    771 x_libraries=NONE
    772 
    773 # Installation directory options.
    774 # These are left unexpanded so users can "make install exec_prefix=/foo"
    775 # and all the variables that are supposed to be based on exec_prefix
    776 # by default will actually change.
    777 # Use braces instead of parens because sh, perl, etc. also accept them.
    778 # (The list follows the same order as the GNU Coding Standards.)
    779 bindir='${exec_prefix}/bin'
    780 sbindir='${exec_prefix}/sbin'
    781 libexecdir='${exec_prefix}/libexec'
    782 datarootdir='${prefix}/share'
    783 datadir='${datarootdir}'
    784 sysconfdir='${prefix}/etc'
    785 sharedstatedir='${prefix}/com'
    786 localstatedir='${prefix}/var'
    787 includedir='${prefix}/include'
    788 oldincludedir='/usr/include'
    789 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    790 infodir='${datarootdir}/info'
    791 htmldir='${docdir}'
    792 dvidir='${docdir}'
    793 pdfdir='${docdir}'
    794 psdir='${docdir}'
    795 libdir='${exec_prefix}/lib'
    796 localedir='${datarootdir}/locale'
    797 mandir='${datarootdir}/man'
    798 
    799 ac_prev=
    800 ac_dashdash=
    801 for ac_option
    802 do
    803   # If the previous option needs an argument, assign it.
    804   if test -n "$ac_prev"; then
    805     eval $ac_prev=\$ac_option
    806     ac_prev=
    807     continue
    808   fi
    809 
    810   case $ac_option in
    811   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    812   *=)   ac_optarg= ;;
    813   *)    ac_optarg=yes ;;
    814   esac
    815 
    816   # Accept the important Cygnus configure options, so we can diagnose typos.
    817 
    818   case $ac_dashdash$ac_option in
    819   --)
    820     ac_dashdash=yes ;;
    821 
    822   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    823     ac_prev=bindir ;;
    824   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    825     bindir=$ac_optarg ;;
    826 
    827   -build | --build | --buil | --bui | --bu)
    828     ac_prev=build_alias ;;
    829   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    830     build_alias=$ac_optarg ;;
    831 
    832   -cache-file | --cache-file | --cache-fil | --cache-fi \
    833   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    834     ac_prev=cache_file ;;
    835   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    836   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    837     cache_file=$ac_optarg ;;
    838 
    839   --config-cache | -C)
    840     cache_file=config.cache ;;
    841 
    842   -datadir | --datadir | --datadi | --datad)
    843     ac_prev=datadir ;;
    844   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    845     datadir=$ac_optarg ;;
    846 
    847   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    848   | --dataroo | --dataro | --datar)
    849     ac_prev=datarootdir ;;
    850   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    851   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    852     datarootdir=$ac_optarg ;;
    853 
    854   -disable-* | --disable-*)
    855     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    856     # Reject names that are not valid shell variable names.
    857     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    858       as_fn_error $? "invalid feature name: $ac_useropt"
    859     ac_useropt_orig=$ac_useropt
    860     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    861     case $ac_user_opts in
    862       *"
    863 "enable_$ac_useropt"
    864 "*) ;;
    865       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    866 	 ac_unrecognized_sep=', ';;
    867     esac
    868     eval enable_$ac_useropt=no ;;
    869 
    870   -docdir | --docdir | --docdi | --doc | --do)
    871     ac_prev=docdir ;;
    872   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    873     docdir=$ac_optarg ;;
    874 
    875   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    876     ac_prev=dvidir ;;
    877   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    878     dvidir=$ac_optarg ;;
    879 
    880   -enable-* | --enable-*)
    881     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    882     # Reject names that are not valid shell variable names.
    883     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    884       as_fn_error $? "invalid feature name: $ac_useropt"
    885     ac_useropt_orig=$ac_useropt
    886     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    887     case $ac_user_opts in
    888       *"
    889 "enable_$ac_useropt"
    890 "*) ;;
    891       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    892 	 ac_unrecognized_sep=', ';;
    893     esac
    894     eval enable_$ac_useropt=\$ac_optarg ;;
    895 
    896   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    897   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    898   | --exec | --exe | --ex)
    899     ac_prev=exec_prefix ;;
    900   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    901   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    902   | --exec=* | --exe=* | --ex=*)
    903     exec_prefix=$ac_optarg ;;
    904 
    905   -gas | --gas | --ga | --g)
    906     # Obsolete; use --with-gas.
    907     with_gas=yes ;;
    908 
    909   -help | --help | --hel | --he | -h)
    910     ac_init_help=long ;;
    911   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    912     ac_init_help=recursive ;;
    913   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    914     ac_init_help=short ;;
    915 
    916   -host | --host | --hos | --ho)
    917     ac_prev=host_alias ;;
    918   -host=* | --host=* | --hos=* | --ho=*)
    919     host_alias=$ac_optarg ;;
    920 
    921   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    922     ac_prev=htmldir ;;
    923   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    924   | --ht=*)
    925     htmldir=$ac_optarg ;;
    926 
    927   -includedir | --includedir | --includedi | --included | --include \
    928   | --includ | --inclu | --incl | --inc)
    929     ac_prev=includedir ;;
    930   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    931   | --includ=* | --inclu=* | --incl=* | --inc=*)
    932     includedir=$ac_optarg ;;
    933 
    934   -infodir | --infodir | --infodi | --infod | --info | --inf)
    935     ac_prev=infodir ;;
    936   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    937     infodir=$ac_optarg ;;
    938 
    939   -libdir | --libdir | --libdi | --libd)
    940     ac_prev=libdir ;;
    941   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    942     libdir=$ac_optarg ;;
    943 
    944   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    945   | --libexe | --libex | --libe)
    946     ac_prev=libexecdir ;;
    947   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    948   | --libexe=* | --libex=* | --libe=*)
    949     libexecdir=$ac_optarg ;;
    950 
    951   -localedir | --localedir | --localedi | --localed | --locale)
    952     ac_prev=localedir ;;
    953   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    954     localedir=$ac_optarg ;;
    955 
    956   -localstatedir | --localstatedir | --localstatedi | --localstated \
    957   | --localstate | --localstat | --localsta | --localst | --locals)
    958     ac_prev=localstatedir ;;
    959   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    960   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    961     localstatedir=$ac_optarg ;;
    962 
    963   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    964     ac_prev=mandir ;;
    965   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    966     mandir=$ac_optarg ;;
    967 
    968   -nfp | --nfp | --nf)
    969     # Obsolete; use --without-fp.
    970     with_fp=no ;;
    971 
    972   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    973   | --no-cr | --no-c | -n)
    974     no_create=yes ;;
    975 
    976   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    977   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    978     no_recursion=yes ;;
    979 
    980   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    981   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    982   | --oldin | --oldi | --old | --ol | --o)
    983     ac_prev=oldincludedir ;;
    984   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    985   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    986   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    987     oldincludedir=$ac_optarg ;;
    988 
    989   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    990     ac_prev=prefix ;;
    991   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    992     prefix=$ac_optarg ;;
    993 
    994   -program-prefix | --program-prefix | --program-prefi | --program-pref \
    995   | --program-pre | --program-pr | --program-p)
    996     ac_prev=program_prefix ;;
    997   -program-prefix=* | --program-prefix=* | --program-prefi=* \
    998   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    999     program_prefix=$ac_optarg ;;
   1000 
   1001   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1002   | --program-suf | --program-su | --program-s)
   1003     ac_prev=program_suffix ;;
   1004   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1005   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1006     program_suffix=$ac_optarg ;;
   1007 
   1008   -program-transform-name | --program-transform-name \
   1009   | --program-transform-nam | --program-transform-na \
   1010   | --program-transform-n | --program-transform- \
   1011   | --program-transform | --program-transfor \
   1012   | --program-transfo | --program-transf \
   1013   | --program-trans | --program-tran \
   1014   | --progr-tra | --program-tr | --program-t)
   1015     ac_prev=program_transform_name ;;
   1016   -program-transform-name=* | --program-transform-name=* \
   1017   | --program-transform-nam=* | --program-transform-na=* \
   1018   | --program-transform-n=* | --program-transform-=* \
   1019   | --program-transform=* | --program-transfor=* \
   1020   | --program-transfo=* | --program-transf=* \
   1021   | --program-trans=* | --program-tran=* \
   1022   | --progr-tra=* | --program-tr=* | --program-t=*)
   1023     program_transform_name=$ac_optarg ;;
   1024 
   1025   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1026     ac_prev=pdfdir ;;
   1027   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1028     pdfdir=$ac_optarg ;;
   1029 
   1030   -psdir | --psdir | --psdi | --psd | --ps)
   1031     ac_prev=psdir ;;
   1032   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1033     psdir=$ac_optarg ;;
   1034 
   1035   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1036   | -silent | --silent | --silen | --sile | --sil)
   1037     silent=yes ;;
   1038 
   1039   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1040     ac_prev=sbindir ;;
   1041   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1042   | --sbi=* | --sb=*)
   1043     sbindir=$ac_optarg ;;
   1044 
   1045   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1046   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1047   | --sharedst | --shareds | --shared | --share | --shar \
   1048   | --sha | --sh)
   1049     ac_prev=sharedstatedir ;;
   1050   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1051   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1052   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1053   | --sha=* | --sh=*)
   1054     sharedstatedir=$ac_optarg ;;
   1055 
   1056   -site | --site | --sit)
   1057     ac_prev=site ;;
   1058   -site=* | --site=* | --sit=*)
   1059     site=$ac_optarg ;;
   1060 
   1061   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1062     ac_prev=srcdir ;;
   1063   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1064     srcdir=$ac_optarg ;;
   1065 
   1066   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1067   | --syscon | --sysco | --sysc | --sys | --sy)
   1068     ac_prev=sysconfdir ;;
   1069   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1070   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1071     sysconfdir=$ac_optarg ;;
   1072 
   1073   -target | --target | --targe | --targ | --tar | --ta | --t)
   1074     ac_prev=target_alias ;;
   1075   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1076     target_alias=$ac_optarg ;;
   1077 
   1078   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1079     verbose=yes ;;
   1080 
   1081   -version | --version | --versio | --versi | --vers | -V)
   1082     ac_init_version=: ;;
   1083 
   1084   -with-* | --with-*)
   1085     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1086     # Reject names that are not valid shell variable names.
   1087     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1088       as_fn_error $? "invalid package name: $ac_useropt"
   1089     ac_useropt_orig=$ac_useropt
   1090     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1091     case $ac_user_opts in
   1092       *"
   1093 "with_$ac_useropt"
   1094 "*) ;;
   1095       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1096 	 ac_unrecognized_sep=', ';;
   1097     esac
   1098     eval with_$ac_useropt=\$ac_optarg ;;
   1099 
   1100   -without-* | --without-*)
   1101     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1102     # Reject names that are not valid shell variable names.
   1103     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1104       as_fn_error $? "invalid package name: $ac_useropt"
   1105     ac_useropt_orig=$ac_useropt
   1106     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1107     case $ac_user_opts in
   1108       *"
   1109 "with_$ac_useropt"
   1110 "*) ;;
   1111       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1112 	 ac_unrecognized_sep=', ';;
   1113     esac
   1114     eval with_$ac_useropt=no ;;
   1115 
   1116   --x)
   1117     # Obsolete; use --with-x.
   1118     with_x=yes ;;
   1119 
   1120   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1121   | --x-incl | --x-inc | --x-in | --x-i)
   1122     ac_prev=x_includes ;;
   1123   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1124   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1125     x_includes=$ac_optarg ;;
   1126 
   1127   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1128   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1129     ac_prev=x_libraries ;;
   1130   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1131   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1132     x_libraries=$ac_optarg ;;
   1133 
   1134   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1135 Try \`$0 --help' for more information"
   1136     ;;
   1137 
   1138   *=*)
   1139     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1140     # Reject names that are not valid shell variable names.
   1141     case $ac_envvar in #(
   1142       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1143       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1144     esac
   1145     eval $ac_envvar=\$ac_optarg
   1146     export $ac_envvar ;;
   1147 
   1148   *)
   1149     # FIXME: should be removed in autoconf 3.0.
   1150     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1151     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1152       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1153     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1154     ;;
   1155 
   1156   esac
   1157 done
   1158 
   1159 if test -n "$ac_prev"; then
   1160   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1161   as_fn_error $? "missing argument to $ac_option"
   1162 fi
   1163 
   1164 if test -n "$ac_unrecognized_opts"; then
   1165   case $enable_option_checking in
   1166     no) ;;
   1167     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1168     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1169   esac
   1170 fi
   1171 
   1172 # Check all directory arguments for consistency.
   1173 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1174 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1175 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1176 		libdir localedir mandir
   1177 do
   1178   eval ac_val=\$$ac_var
   1179   # Remove trailing slashes.
   1180   case $ac_val in
   1181     */ )
   1182       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1183       eval $ac_var=\$ac_val;;
   1184   esac
   1185   # Be sure to have absolute directory names.
   1186   case $ac_val in
   1187     [\\/$]* | ?:[\\/]* )  continue;;
   1188     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1189   esac
   1190   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1191 done
   1192 
   1193 # There might be people who depend on the old broken behavior: `$host'
   1194 # used to hold the argument of --host etc.
   1195 # FIXME: To remove some day.
   1196 build=$build_alias
   1197 host=$host_alias
   1198 target=$target_alias
   1199 
   1200 # FIXME: To remove some day.
   1201 if test "x$host_alias" != x; then
   1202   if test "x$build_alias" = x; then
   1203     cross_compiling=maybe
   1204     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1205     If a cross compiler is detected then cross compile mode will be used" >&2
   1206   elif test "x$build_alias" != "x$host_alias"; then
   1207     cross_compiling=yes
   1208   fi
   1209 fi
   1210 
   1211 ac_tool_prefix=
   1212 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1213 
   1214 test "$silent" = yes && exec 6>/dev/null
   1215 
   1216 
   1217 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1218 ac_ls_di=`ls -di .` &&
   1219 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1220   as_fn_error $? "working directory cannot be determined"
   1221 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1222   as_fn_error $? "pwd does not report name of working directory"
   1223 
   1224 
   1225 # Find the source files, if location was not specified.
   1226 if test -z "$srcdir"; then
   1227   ac_srcdir_defaulted=yes
   1228   # Try the directory containing this script, then the parent directory.
   1229   ac_confdir=`$as_dirname -- "$as_myself" ||
   1230 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1231 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1232 	 X"$as_myself" : 'X\(//\)$' \| \
   1233 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1234 $as_echo X"$as_myself" |
   1235     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1236 	    s//\1/
   1237 	    q
   1238 	  }
   1239 	  /^X\(\/\/\)[^/].*/{
   1240 	    s//\1/
   1241 	    q
   1242 	  }
   1243 	  /^X\(\/\/\)$/{
   1244 	    s//\1/
   1245 	    q
   1246 	  }
   1247 	  /^X\(\/\).*/{
   1248 	    s//\1/
   1249 	    q
   1250 	  }
   1251 	  s/.*/./; q'`
   1252   srcdir=$ac_confdir
   1253   if test ! -r "$srcdir/$ac_unique_file"; then
   1254     srcdir=..
   1255   fi
   1256 else
   1257   ac_srcdir_defaulted=no
   1258 fi
   1259 if test ! -r "$srcdir/$ac_unique_file"; then
   1260   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1261   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1262 fi
   1263 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1264 ac_abs_confdir=`(
   1265 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1266 	pwd)`
   1267 # When building in place, set srcdir=.
   1268 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1269   srcdir=.
   1270 fi
   1271 # Remove unnecessary trailing slashes from srcdir.
   1272 # Double slashes in file names in object file debugging info
   1273 # mess up M-x gdb in Emacs.
   1274 case $srcdir in
   1275 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1276 esac
   1277 for ac_var in $ac_precious_vars; do
   1278   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1279   eval ac_env_${ac_var}_value=\$${ac_var}
   1280   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1281   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1282 done
   1283 
   1284 #
   1285 # Report the --help message.
   1286 #
   1287 if test "$ac_init_help" = "long"; then
   1288   # Omit some internal or obsolete options to make the list less imposing.
   1289   # This message is too long to be a string in the A/UX 3.1 sh.
   1290   cat <<_ACEOF
   1291 \`configure' configures xmag 1.0.5 to adapt to many kinds of systems.
   1292 
   1293 Usage: $0 [OPTION]... [VAR=VALUE]...
   1294 
   1295 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1296 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1297 
   1298 Defaults for the options are specified in brackets.
   1299 
   1300 Configuration:
   1301   -h, --help              display this help and exit
   1302       --help=short        display options specific to this package
   1303       --help=recursive    display the short help of all the included packages
   1304   -V, --version           display version information and exit
   1305   -q, --quiet, --silent   do not print \`checking ...' messages
   1306       --cache-file=FILE   cache test results in FILE [disabled]
   1307   -C, --config-cache      alias for \`--cache-file=config.cache'
   1308   -n, --no-create         do not create output files
   1309       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1310 
   1311 Installation directories:
   1312   --prefix=PREFIX         install architecture-independent files in PREFIX
   1313                           [$ac_default_prefix]
   1314   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1315                           [PREFIX]
   1316 
   1317 By default, \`make install' will install all the files in
   1318 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1319 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1320 for instance \`--prefix=\$HOME'.
   1321 
   1322 For better control, use the options below.
   1323 
   1324 Fine tuning of the installation directories:
   1325   --bindir=DIR            user executables [EPREFIX/bin]
   1326   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1327   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1328   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1329   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1330   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1331   --libdir=DIR            object code libraries [EPREFIX/lib]
   1332   --includedir=DIR        C header files [PREFIX/include]
   1333   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1334   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1335   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1336   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1337   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1338   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1339   --docdir=DIR            documentation root [DATAROOTDIR/doc/xmag]
   1340   --htmldir=DIR           html documentation [DOCDIR]
   1341   --dvidir=DIR            dvi documentation [DOCDIR]
   1342   --pdfdir=DIR            pdf documentation [DOCDIR]
   1343   --psdir=DIR             ps documentation [DOCDIR]
   1344 _ACEOF
   1345 
   1346   cat <<\_ACEOF
   1347 
   1348 Program names:
   1349   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1350   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1351   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1352 
   1353 System types:
   1354   --build=BUILD     configure for building on BUILD [guessed]
   1355   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1356 _ACEOF
   1357 fi
   1358 
   1359 if test -n "$ac_init_help"; then
   1360   case $ac_init_help in
   1361      short | recursive ) echo "Configuration of xmag 1.0.5:";;
   1362    esac
   1363   cat <<\_ACEOF
   1364 
   1365 Optional Features:
   1366   --disable-option-checking  ignore unrecognized --enable/--with options
   1367   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1368   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1369   --enable-maintainer-mode  enable make rules and dependencies not useful
   1370 			  (and sometimes confusing) to the casual installer
   1371   --disable-dependency-tracking  speeds up one-time build
   1372   --enable-dependency-tracking   do not reject slow dependency extractors
   1373   --disable-selective-werror
   1374                           Turn off selective compiler errors. (default:
   1375                           enabled)
   1376   --enable-strict-compilation
   1377                           Enable all warnings from compiler and make them
   1378                           errors (default: disabled)
   1379   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1380   --disable-silent-rules         verbose build output (undo: `make V=0')
   1381 
   1382 Optional Packages:
   1383   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1384   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1385   --with-appdefaultdir=<pathname>
   1386                           specify directory for app-defaults files (default is
   1387                           autodetected)
   1388 
   1389 Some influential environment variables:
   1390   CC          C compiler command
   1391   CFLAGS      C compiler flags
   1392   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1393               nonstandard directory <lib dir>
   1394   LIBS        libraries to pass to the linker, e.g. -l<library>
   1395   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1396               you have headers in a nonstandard directory <include dir>
   1397   CPP         C preprocessor
   1398   PKG_CONFIG  path to pkg-config utility
   1399   XMAG_CFLAGS C compiler flags for XMAG, overriding pkg-config
   1400   XMAG_LIBS   linker flags for XMAG, overriding pkg-config
   1401 
   1402 Use these variables to override the choices made by `configure' or to help
   1403 it to find libraries and programs with nonstandard names/locations.
   1404 
   1405 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1406 _ACEOF
   1407 ac_status=$?
   1408 fi
   1409 
   1410 if test "$ac_init_help" = "recursive"; then
   1411   # If there are subdirs, report their specific --help.
   1412   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1413     test -d "$ac_dir" ||
   1414       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1415       continue
   1416     ac_builddir=.
   1417 
   1418 case "$ac_dir" in
   1419 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1420 *)
   1421   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1422   # A ".." for each directory in $ac_dir_suffix.
   1423   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1424   case $ac_top_builddir_sub in
   1425   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1426   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1427   esac ;;
   1428 esac
   1429 ac_abs_top_builddir=$ac_pwd
   1430 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1431 # for backward compatibility:
   1432 ac_top_builddir=$ac_top_build_prefix
   1433 
   1434 case $srcdir in
   1435   .)  # We are building in place.
   1436     ac_srcdir=.
   1437     ac_top_srcdir=$ac_top_builddir_sub
   1438     ac_abs_top_srcdir=$ac_pwd ;;
   1439   [\\/]* | ?:[\\/]* )  # Absolute name.
   1440     ac_srcdir=$srcdir$ac_dir_suffix;
   1441     ac_top_srcdir=$srcdir
   1442     ac_abs_top_srcdir=$srcdir ;;
   1443   *) # Relative name.
   1444     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1445     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1446     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1447 esac
   1448 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1449 
   1450     cd "$ac_dir" || { ac_status=$?; continue; }
   1451     # Check for guested configure.
   1452     if test -f "$ac_srcdir/configure.gnu"; then
   1453       echo &&
   1454       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1455     elif test -f "$ac_srcdir/configure"; then
   1456       echo &&
   1457       $SHELL "$ac_srcdir/configure" --help=recursive
   1458     else
   1459       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1460     fi || ac_status=$?
   1461     cd "$ac_pwd" || { ac_status=$?; break; }
   1462   done
   1463 fi
   1464 
   1465 test -n "$ac_init_help" && exit $ac_status
   1466 if $ac_init_version; then
   1467   cat <<\_ACEOF
   1468 xmag configure 1.0.5
   1469 generated by GNU Autoconf 2.68
   1470 
   1471 Copyright (C) 2010 Free Software Foundation, Inc.
   1472 This configure script is free software; the Free Software Foundation
   1473 gives unlimited permission to copy, distribute and modify it.
   1474 _ACEOF
   1475   exit
   1476 fi
   1477 
   1478 ## ------------------------ ##
   1479 ## Autoconf initialization. ##
   1480 ## ------------------------ ##
   1481 
   1482 # ac_fn_c_try_compile LINENO
   1483 # --------------------------
   1484 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1485 ac_fn_c_try_compile ()
   1486 {
   1487   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1488   rm -f conftest.$ac_objext
   1489   if { { ac_try="$ac_compile"
   1490 case "(($ac_try" in
   1491   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1492   *) ac_try_echo=$ac_try;;
   1493 esac
   1494 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1495 $as_echo "$ac_try_echo"; } >&5
   1496   (eval "$ac_compile") 2>conftest.err
   1497   ac_status=$?
   1498   if test -s conftest.err; then
   1499     grep -v '^ *+' conftest.err >conftest.er1
   1500     cat conftest.er1 >&5
   1501     mv -f conftest.er1 conftest.err
   1502   fi
   1503   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1504   test $ac_status = 0; } && {
   1505 	 test -z "$ac_c_werror_flag" ||
   1506 	 test ! -s conftest.err
   1507        } && test -s conftest.$ac_objext; then :
   1508   ac_retval=0
   1509 else
   1510   $as_echo "$as_me: failed program was:" >&5
   1511 sed 's/^/| /' conftest.$ac_ext >&5
   1512 
   1513 	ac_retval=1
   1514 fi
   1515   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1516   as_fn_set_status $ac_retval
   1517 
   1518 } # ac_fn_c_try_compile
   1519 
   1520 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1521 # ---------------------------------------------
   1522 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1523 # accordingly.
   1524 ac_fn_c_check_decl ()
   1525 {
   1526   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1527   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1528   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1529   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1530 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1531 if eval \${$3+:} false; then :
   1532   $as_echo_n "(cached) " >&6
   1533 else
   1534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1535 /* end confdefs.h.  */
   1536 $4
   1537 int
   1538 main ()
   1539 {
   1540 #ifndef $as_decl_name
   1541 #ifdef __cplusplus
   1542   (void) $as_decl_use;
   1543 #else
   1544   (void) $as_decl_name;
   1545 #endif
   1546 #endif
   1547 
   1548   ;
   1549   return 0;
   1550 }
   1551 _ACEOF
   1552 if ac_fn_c_try_compile "$LINENO"; then :
   1553   eval "$3=yes"
   1554 else
   1555   eval "$3=no"
   1556 fi
   1557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1558 fi
   1559 eval ac_res=\$$3
   1560 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1561 $as_echo "$ac_res" >&6; }
   1562   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1563 
   1564 } # ac_fn_c_check_decl
   1565 
   1566 # ac_fn_c_try_cpp LINENO
   1567 # ----------------------
   1568 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1569 ac_fn_c_try_cpp ()
   1570 {
   1571   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1572   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1573 case "(($ac_try" in
   1574   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1575   *) ac_try_echo=$ac_try;;
   1576 esac
   1577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1578 $as_echo "$ac_try_echo"; } >&5
   1579   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1580   ac_status=$?
   1581   if test -s conftest.err; then
   1582     grep -v '^ *+' conftest.err >conftest.er1
   1583     cat conftest.er1 >&5
   1584     mv -f conftest.er1 conftest.err
   1585   fi
   1586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1587   test $ac_status = 0; } > conftest.i && {
   1588 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1589 	 test ! -s conftest.err
   1590        }; then :
   1591   ac_retval=0
   1592 else
   1593   $as_echo "$as_me: failed program was:" >&5
   1594 sed 's/^/| /' conftest.$ac_ext >&5
   1595 
   1596     ac_retval=1
   1597 fi
   1598   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1599   as_fn_set_status $ac_retval
   1600 
   1601 } # ac_fn_c_try_cpp
   1602 
   1603 # ac_fn_c_try_run LINENO
   1604 # ----------------------
   1605 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1606 # that executables *can* be run.
   1607 ac_fn_c_try_run ()
   1608 {
   1609   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1610   if { { ac_try="$ac_link"
   1611 case "(($ac_try" in
   1612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1613   *) ac_try_echo=$ac_try;;
   1614 esac
   1615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1616 $as_echo "$ac_try_echo"; } >&5
   1617   (eval "$ac_link") 2>&5
   1618   ac_status=$?
   1619   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1620   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1621   { { case "(($ac_try" in
   1622   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1623   *) ac_try_echo=$ac_try;;
   1624 esac
   1625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1626 $as_echo "$ac_try_echo"; } >&5
   1627   (eval "$ac_try") 2>&5
   1628   ac_status=$?
   1629   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1630   test $ac_status = 0; }; }; then :
   1631   ac_retval=0
   1632 else
   1633   $as_echo "$as_me: program exited with status $ac_status" >&5
   1634        $as_echo "$as_me: failed program was:" >&5
   1635 sed 's/^/| /' conftest.$ac_ext >&5
   1636 
   1637        ac_retval=$ac_status
   1638 fi
   1639   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1640   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1641   as_fn_set_status $ac_retval
   1642 
   1643 } # ac_fn_c_try_run
   1644 
   1645 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1646 # -------------------------------------------------------
   1647 # Tests whether HEADER exists and can be compiled using the include files in
   1648 # INCLUDES, setting the cache variable VAR accordingly.
   1649 ac_fn_c_check_header_compile ()
   1650 {
   1651   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1652   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1653 $as_echo_n "checking for $2... " >&6; }
   1654 if eval \${$3+:} false; then :
   1655   $as_echo_n "(cached) " >&6
   1656 else
   1657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1658 /* end confdefs.h.  */
   1659 $4
   1660 #include <$2>
   1661 _ACEOF
   1662 if ac_fn_c_try_compile "$LINENO"; then :
   1663   eval "$3=yes"
   1664 else
   1665   eval "$3=no"
   1666 fi
   1667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1668 fi
   1669 eval ac_res=\$$3
   1670 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1671 $as_echo "$ac_res" >&6; }
   1672   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1673 
   1674 } # ac_fn_c_check_header_compile
   1675 
   1676 # ac_fn_c_try_link LINENO
   1677 # -----------------------
   1678 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1679 ac_fn_c_try_link ()
   1680 {
   1681   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1682   rm -f conftest.$ac_objext conftest$ac_exeext
   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>conftest.err
   1691   ac_status=$?
   1692   if test -s conftest.err; then
   1693     grep -v '^ *+' conftest.err >conftest.er1
   1694     cat conftest.er1 >&5
   1695     mv -f conftest.er1 conftest.err
   1696   fi
   1697   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1698   test $ac_status = 0; } && {
   1699 	 test -z "$ac_c_werror_flag" ||
   1700 	 test ! -s conftest.err
   1701        } && test -s conftest$ac_exeext && {
   1702 	 test "$cross_compiling" = yes ||
   1703 	 $as_test_x conftest$ac_exeext
   1704        }; then :
   1705   ac_retval=0
   1706 else
   1707   $as_echo "$as_me: failed program was:" >&5
   1708 sed 's/^/| /' conftest.$ac_ext >&5
   1709 
   1710 	ac_retval=1
   1711 fi
   1712   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1713   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1714   # interfere with the next link command; also delete a directory that is
   1715   # left behind by Apple's compiler.  We do this before executing the actions.
   1716   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1717   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1718   as_fn_set_status $ac_retval
   1719 
   1720 } # ac_fn_c_try_link
   1721 
   1722 # ac_fn_c_check_func LINENO FUNC VAR
   1723 # ----------------------------------
   1724 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1725 ac_fn_c_check_func ()
   1726 {
   1727   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1729 $as_echo_n "checking for $2... " >&6; }
   1730 if eval \${$3+:} false; then :
   1731   $as_echo_n "(cached) " >&6
   1732 else
   1733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1734 /* end confdefs.h.  */
   1735 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1736    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1737 #define $2 innocuous_$2
   1738 
   1739 /* System header to define __stub macros and hopefully few prototypes,
   1740     which can conflict with char $2 (); below.
   1741     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1742     <limits.h> exists even on freestanding compilers.  */
   1743 
   1744 #ifdef __STDC__
   1745 # include <limits.h>
   1746 #else
   1747 # include <assert.h>
   1748 #endif
   1749 
   1750 #undef $2
   1751 
   1752 /* Override any GCC internal prototype to avoid an error.
   1753    Use char because int might match the return type of a GCC
   1754    builtin and then its argument prototype would still apply.  */
   1755 #ifdef __cplusplus
   1756 extern "C"
   1757 #endif
   1758 char $2 ();
   1759 /* The GNU C library defines this for functions which it implements
   1760     to always fail with ENOSYS.  Some functions are actually named
   1761     something starting with __ and the normal name is an alias.  */
   1762 #if defined __stub_$2 || defined __stub___$2
   1763 choke me
   1764 #endif
   1765 
   1766 int
   1767 main ()
   1768 {
   1769 return $2 ();
   1770   ;
   1771   return 0;
   1772 }
   1773 _ACEOF
   1774 if ac_fn_c_try_link "$LINENO"; then :
   1775   eval "$3=yes"
   1776 else
   1777   eval "$3=no"
   1778 fi
   1779 rm -f core conftest.err conftest.$ac_objext \
   1780     conftest$ac_exeext conftest.$ac_ext
   1781 fi
   1782 eval ac_res=\$$3
   1783 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1784 $as_echo "$ac_res" >&6; }
   1785   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1786 
   1787 } # ac_fn_c_check_func
   1788 cat >config.log <<_ACEOF
   1789 This file contains any messages produced by compilers while
   1790 running configure, to aid debugging if configure makes a mistake.
   1791 
   1792 It was created by xmag $as_me 1.0.5, which was
   1793 generated by GNU Autoconf 2.68.  Invocation command line was
   1794 
   1795   $ $0 $@
   1796 
   1797 _ACEOF
   1798 exec 5>>config.log
   1799 {
   1800 cat <<_ASUNAME
   1801 ## --------- ##
   1802 ## Platform. ##
   1803 ## --------- ##
   1804 
   1805 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1806 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1807 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1808 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1809 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1810 
   1811 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1812 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1813 
   1814 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1815 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1816 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1817 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1818 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1819 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1820 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1821 
   1822 _ASUNAME
   1823 
   1824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1825 for as_dir in $PATH
   1826 do
   1827   IFS=$as_save_IFS
   1828   test -z "$as_dir" && as_dir=.
   1829     $as_echo "PATH: $as_dir"
   1830   done
   1831 IFS=$as_save_IFS
   1832 
   1833 } >&5
   1834 
   1835 cat >&5 <<_ACEOF
   1836 
   1837 
   1838 ## ----------- ##
   1839 ## Core tests. ##
   1840 ## ----------- ##
   1841 
   1842 _ACEOF
   1843 
   1844 
   1845 # Keep a trace of the command line.
   1846 # Strip out --no-create and --no-recursion so they do not pile up.
   1847 # Strip out --silent because we don't want to record it for future runs.
   1848 # Also quote any args containing shell meta-characters.
   1849 # Make two passes to allow for proper duplicate-argument suppression.
   1850 ac_configure_args=
   1851 ac_configure_args0=
   1852 ac_configure_args1=
   1853 ac_must_keep_next=false
   1854 for ac_pass in 1 2
   1855 do
   1856   for ac_arg
   1857   do
   1858     case $ac_arg in
   1859     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1860     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1861     | -silent | --silent | --silen | --sile | --sil)
   1862       continue ;;
   1863     *\'*)
   1864       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1865     esac
   1866     case $ac_pass in
   1867     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1868     2)
   1869       as_fn_append ac_configure_args1 " '$ac_arg'"
   1870       if test $ac_must_keep_next = true; then
   1871 	ac_must_keep_next=false # Got value, back to normal.
   1872       else
   1873 	case $ac_arg in
   1874 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1875 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1876 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1877 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1878 	    case "$ac_configure_args0 " in
   1879 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1880 	    esac
   1881 	    ;;
   1882 	  -* ) ac_must_keep_next=true ;;
   1883 	esac
   1884       fi
   1885       as_fn_append ac_configure_args " '$ac_arg'"
   1886       ;;
   1887     esac
   1888   done
   1889 done
   1890 { ac_configure_args0=; unset ac_configure_args0;}
   1891 { ac_configure_args1=; unset ac_configure_args1;}
   1892 
   1893 # When interrupted or exit'd, cleanup temporary files, and complete
   1894 # config.log.  We remove comments because anyway the quotes in there
   1895 # would cause problems or look ugly.
   1896 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1897 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1898 trap 'exit_status=$?
   1899   # Save into config.log some information that might help in debugging.
   1900   {
   1901     echo
   1902 
   1903     $as_echo "## ---------------- ##
   1904 ## Cache variables. ##
   1905 ## ---------------- ##"
   1906     echo
   1907     # The following way of writing the cache mishandles newlines in values,
   1908 (
   1909   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1910     eval ac_val=\$$ac_var
   1911     case $ac_val in #(
   1912     *${as_nl}*)
   1913       case $ac_var in #(
   1914       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1915 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1916       esac
   1917       case $ac_var in #(
   1918       _ | IFS | as_nl) ;; #(
   1919       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1920       *) { eval $ac_var=; unset $ac_var;} ;;
   1921       esac ;;
   1922     esac
   1923   done
   1924   (set) 2>&1 |
   1925     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1926     *${as_nl}ac_space=\ *)
   1927       sed -n \
   1928 	"s/'\''/'\''\\\\'\'''\''/g;
   1929 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1930       ;; #(
   1931     *)
   1932       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1933       ;;
   1934     esac |
   1935     sort
   1936 )
   1937     echo
   1938 
   1939     $as_echo "## ----------------- ##
   1940 ## Output variables. ##
   1941 ## ----------------- ##"
   1942     echo
   1943     for ac_var in $ac_subst_vars
   1944     do
   1945       eval ac_val=\$$ac_var
   1946       case $ac_val in
   1947       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1948       esac
   1949       $as_echo "$ac_var='\''$ac_val'\''"
   1950     done | sort
   1951     echo
   1952 
   1953     if test -n "$ac_subst_files"; then
   1954       $as_echo "## ------------------- ##
   1955 ## File substitutions. ##
   1956 ## ------------------- ##"
   1957       echo
   1958       for ac_var in $ac_subst_files
   1959       do
   1960 	eval ac_val=\$$ac_var
   1961 	case $ac_val in
   1962 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1963 	esac
   1964 	$as_echo "$ac_var='\''$ac_val'\''"
   1965       done | sort
   1966       echo
   1967     fi
   1968 
   1969     if test -s confdefs.h; then
   1970       $as_echo "## ----------- ##
   1971 ## confdefs.h. ##
   1972 ## ----------- ##"
   1973       echo
   1974       cat confdefs.h
   1975       echo
   1976     fi
   1977     test "$ac_signal" != 0 &&
   1978       $as_echo "$as_me: caught signal $ac_signal"
   1979     $as_echo "$as_me: exit $exit_status"
   1980   } >&5
   1981   rm -f core *.core core.conftest.* &&
   1982     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1983     exit $exit_status
   1984 ' 0
   1985 for ac_signal in 1 2 13 15; do
   1986   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1987 done
   1988 ac_signal=0
   1989 
   1990 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1991 rm -f -r conftest* confdefs.h
   1992 
   1993 $as_echo "/* confdefs.h */" > confdefs.h
   1994 
   1995 # Predefined preprocessor variables.
   1996 
   1997 cat >>confdefs.h <<_ACEOF
   1998 #define PACKAGE_NAME "$PACKAGE_NAME"
   1999 _ACEOF
   2000 
   2001 cat >>confdefs.h <<_ACEOF
   2002 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2003 _ACEOF
   2004 
   2005 cat >>confdefs.h <<_ACEOF
   2006 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2007 _ACEOF
   2008 
   2009 cat >>confdefs.h <<_ACEOF
   2010 #define PACKAGE_STRING "$PACKAGE_STRING"
   2011 _ACEOF
   2012 
   2013 cat >>confdefs.h <<_ACEOF
   2014 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2015 _ACEOF
   2016 
   2017 cat >>confdefs.h <<_ACEOF
   2018 #define PACKAGE_URL "$PACKAGE_URL"
   2019 _ACEOF
   2020 
   2021 
   2022 # Let the site file select an alternate cache file if it wants to.
   2023 # Prefer an explicitly selected file to automatically selected ones.
   2024 ac_site_file1=NONE
   2025 ac_site_file2=NONE
   2026 if test -n "$CONFIG_SITE"; then
   2027   # We do not want a PATH search for config.site.
   2028   case $CONFIG_SITE in #((
   2029     -*)  ac_site_file1=./$CONFIG_SITE;;
   2030     */*) ac_site_file1=$CONFIG_SITE;;
   2031     *)   ac_site_file1=./$CONFIG_SITE;;
   2032   esac
   2033 elif test "x$prefix" != xNONE; then
   2034   ac_site_file1=$prefix/share/config.site
   2035   ac_site_file2=$prefix/etc/config.site
   2036 else
   2037   ac_site_file1=$ac_default_prefix/share/config.site
   2038   ac_site_file2=$ac_default_prefix/etc/config.site
   2039 fi
   2040 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2041 do
   2042   test "x$ac_site_file" = xNONE && continue
   2043   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2044     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2045 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2046     sed 's/^/| /' "$ac_site_file" >&5
   2047     . "$ac_site_file" \
   2048       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2050 as_fn_error $? "failed to load site script $ac_site_file
   2051 See \`config.log' for more details" "$LINENO" 5; }
   2052   fi
   2053 done
   2054 
   2055 if test -r "$cache_file"; then
   2056   # Some versions of bash will fail to source /dev/null (special files
   2057   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2058   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2059     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2060 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2061     case $cache_file in
   2062       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2063       *)                      . "./$cache_file";;
   2064     esac
   2065   fi
   2066 else
   2067   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2068 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2069   >$cache_file
   2070 fi
   2071 
   2072 # Check that the precious variables saved in the cache have kept the same
   2073 # value.
   2074 ac_cache_corrupted=false
   2075 for ac_var in $ac_precious_vars; do
   2076   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2077   eval ac_new_set=\$ac_env_${ac_var}_set
   2078   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2079   eval ac_new_val=\$ac_env_${ac_var}_value
   2080   case $ac_old_set,$ac_new_set in
   2081     set,)
   2082       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2083 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2084       ac_cache_corrupted=: ;;
   2085     ,set)
   2086       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2087 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2088       ac_cache_corrupted=: ;;
   2089     ,);;
   2090     *)
   2091       if test "x$ac_old_val" != "x$ac_new_val"; then
   2092 	# differences in whitespace do not lead to failure.
   2093 	ac_old_val_w=`echo x $ac_old_val`
   2094 	ac_new_val_w=`echo x $ac_new_val`
   2095 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2096 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2097 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2098 	  ac_cache_corrupted=:
   2099 	else
   2100 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2101 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2102 	  eval $ac_var=\$ac_old_val
   2103 	fi
   2104 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2105 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2106 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2107 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2108       fi;;
   2109   esac
   2110   # Pass precious variables to config.status.
   2111   if test "$ac_new_set" = set; then
   2112     case $ac_new_val in
   2113     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2114     *) ac_arg=$ac_var=$ac_new_val ;;
   2115     esac
   2116     case " $ac_configure_args " in
   2117       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2118       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2119     esac
   2120   fi
   2121 done
   2122 if $ac_cache_corrupted; then
   2123   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2125   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2126 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2127   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2128 fi
   2129 ## -------------------- ##
   2130 ## Main body of script. ##
   2131 ## -------------------- ##
   2132 
   2133 ac_ext=c
   2134 ac_cpp='$CPP $CPPFLAGS'
   2135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2138 
   2139 
   2140 am__api_version='1.11'
   2141 
   2142 ac_aux_dir=
   2143 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2144   if test -f "$ac_dir/install-sh"; then
   2145     ac_aux_dir=$ac_dir
   2146     ac_install_sh="$ac_aux_dir/install-sh -c"
   2147     break
   2148   elif test -f "$ac_dir/install.sh"; then
   2149     ac_aux_dir=$ac_dir
   2150     ac_install_sh="$ac_aux_dir/install.sh -c"
   2151     break
   2152   elif test -f "$ac_dir/shtool"; then
   2153     ac_aux_dir=$ac_dir
   2154     ac_install_sh="$ac_aux_dir/shtool install -c"
   2155     break
   2156   fi
   2157 done
   2158 if test -z "$ac_aux_dir"; then
   2159   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2160 fi
   2161 
   2162 # These three variables are undocumented and unsupported,
   2163 # and are intended to be withdrawn in a future Autoconf release.
   2164 # They can cause serious problems if a builder's source tree is in a directory
   2165 # whose full name contains unusual characters.
   2166 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2167 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2168 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2169 
   2170 
   2171 # Find a good install program.  We prefer a C program (faster),
   2172 # so one script is as good as another.  But avoid the broken or
   2173 # incompatible versions:
   2174 # SysV /etc/install, /usr/sbin/install
   2175 # SunOS /usr/etc/install
   2176 # IRIX /sbin/install
   2177 # AIX /bin/install
   2178 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2179 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2180 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2181 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2182 # OS/2's system install, which has a completely different semantic
   2183 # ./install, which can be erroneously created by make from ./install.sh.
   2184 # Reject install programs that cannot install multiple files.
   2185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2186 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2187 if test -z "$INSTALL"; then
   2188 if ${ac_cv_path_install+:} false; then :
   2189   $as_echo_n "(cached) " >&6
   2190 else
   2191   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2192 for as_dir in $PATH
   2193 do
   2194   IFS=$as_save_IFS
   2195   test -z "$as_dir" && as_dir=.
   2196     # Account for people who put trailing slashes in PATH elements.
   2197 case $as_dir/ in #((
   2198   ./ | .// | /[cC]/* | \
   2199   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2200   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2201   /usr/ucb/* ) ;;
   2202   *)
   2203     # OSF1 and SCO ODT 3.0 have their own names for install.
   2204     # Don't use installbsd from OSF since it installs stuff as root
   2205     # by default.
   2206     for ac_prog in ginstall scoinst install; do
   2207       for ac_exec_ext in '' $ac_executable_extensions; do
   2208 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2209 	  if test $ac_prog = install &&
   2210 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2211 	    # AIX install.  It has an incompatible calling convention.
   2212 	    :
   2213 	  elif test $ac_prog = install &&
   2214 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2215 	    # program-specific install script used by HP pwplus--don't use.
   2216 	    :
   2217 	  else
   2218 	    rm -rf conftest.one conftest.two conftest.dir
   2219 	    echo one > conftest.one
   2220 	    echo two > conftest.two
   2221 	    mkdir conftest.dir
   2222 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2223 	      test -s conftest.one && test -s conftest.two &&
   2224 	      test -s conftest.dir/conftest.one &&
   2225 	      test -s conftest.dir/conftest.two
   2226 	    then
   2227 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2228 	      break 3
   2229 	    fi
   2230 	  fi
   2231 	fi
   2232       done
   2233     done
   2234     ;;
   2235 esac
   2236 
   2237   done
   2238 IFS=$as_save_IFS
   2239 
   2240 rm -rf conftest.one conftest.two conftest.dir
   2241 
   2242 fi
   2243   if test "${ac_cv_path_install+set}" = set; then
   2244     INSTALL=$ac_cv_path_install
   2245   else
   2246     # As a last resort, use the slow shell script.  Don't cache a
   2247     # value for INSTALL within a source directory, because that will
   2248     # break other packages using the cache if that directory is
   2249     # removed, or if the value is a relative name.
   2250     INSTALL=$ac_install_sh
   2251   fi
   2252 fi
   2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2254 $as_echo "$INSTALL" >&6; }
   2255 
   2256 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2257 # It thinks the first close brace ends the variable substitution.
   2258 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2259 
   2260 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2261 
   2262 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2263 
   2264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2265 $as_echo_n "checking whether build environment is sane... " >&6; }
   2266 # Just in case
   2267 sleep 1
   2268 echo timestamp > conftest.file
   2269 # Reject unsafe characters in $srcdir or the absolute working directory
   2270 # name.  Accept space and tab only in the latter.
   2271 am_lf='
   2272 '
   2273 case `pwd` in
   2274   *[\\\"\#\$\&\'\`$am_lf]*)
   2275     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2276 esac
   2277 case $srcdir in
   2278   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2279     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2280 esac
   2281 
   2282 # Do `set' in a subshell so we don't clobber the current shell's
   2283 # arguments.  Must try -L first in case configure is actually a
   2284 # symlink; some systems play weird games with the mod time of symlinks
   2285 # (eg FreeBSD returns the mod time of the symlink's containing
   2286 # directory).
   2287 if (
   2288    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2289    if test "$*" = "X"; then
   2290       # -L didn't work.
   2291       set X `ls -t "$srcdir/configure" conftest.file`
   2292    fi
   2293    rm -f conftest.file
   2294    if test "$*" != "X $srcdir/configure conftest.file" \
   2295       && test "$*" != "X conftest.file $srcdir/configure"; then
   2296 
   2297       # If neither matched, then we have a broken ls.  This can happen
   2298       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2299       # broken ls alias from the environment.  This has actually
   2300       # happened.  Such a system could not be considered "sane".
   2301       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2302 alias in your environment" "$LINENO" 5
   2303    fi
   2304 
   2305    test "$2" = conftest.file
   2306    )
   2307 then
   2308    # Ok.
   2309    :
   2310 else
   2311    as_fn_error $? "newly created file is older than distributed files!
   2312 Check your system clock" "$LINENO" 5
   2313 fi
   2314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2315 $as_echo "yes" >&6; }
   2316 test "$program_prefix" != NONE &&
   2317   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2318 # Use a double $ so make ignores it.
   2319 test "$program_suffix" != NONE &&
   2320   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2321 # Double any \ or $.
   2322 # By default was `s,x,x', remove it if useless.
   2323 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2324 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2325 
   2326 # expand $ac_aux_dir to an absolute path
   2327 am_aux_dir=`cd $ac_aux_dir && pwd`
   2328 
   2329 if test x"${MISSING+set}" != xset; then
   2330   case $am_aux_dir in
   2331   *\ * | *\	*)
   2332     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2333   *)
   2334     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2335   esac
   2336 fi
   2337 # Use eval to expand $SHELL
   2338 if eval "$MISSING --run true"; then
   2339   am_missing_run="$MISSING --run "
   2340 else
   2341   am_missing_run=
   2342   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2343 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2344 fi
   2345 
   2346 if test x"${install_sh}" != xset; then
   2347   case $am_aux_dir in
   2348   *\ * | *\	*)
   2349     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2350   *)
   2351     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2352   esac
   2353 fi
   2354 
   2355 # Installed binaries are usually stripped using `strip' when the user
   2356 # run `make install-strip'.  However `strip' might not be the right
   2357 # tool to use in cross-compilation environments, therefore Automake
   2358 # will honor the `STRIP' environment variable to overrule this program.
   2359 if test "$cross_compiling" != no; then
   2360   if test -n "$ac_tool_prefix"; then
   2361   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2362 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2364 $as_echo_n "checking for $ac_word... " >&6; }
   2365 if ${ac_cv_prog_STRIP+:} false; then :
   2366   $as_echo_n "(cached) " >&6
   2367 else
   2368   if test -n "$STRIP"; then
   2369   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2370 else
   2371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2372 for as_dir in $PATH
   2373 do
   2374   IFS=$as_save_IFS
   2375   test -z "$as_dir" && as_dir=.
   2376     for ac_exec_ext in '' $ac_executable_extensions; do
   2377   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2378     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2379     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2380     break 2
   2381   fi
   2382 done
   2383   done
   2384 IFS=$as_save_IFS
   2385 
   2386 fi
   2387 fi
   2388 STRIP=$ac_cv_prog_STRIP
   2389 if test -n "$STRIP"; then
   2390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2391 $as_echo "$STRIP" >&6; }
   2392 else
   2393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2394 $as_echo "no" >&6; }
   2395 fi
   2396 
   2397 
   2398 fi
   2399 if test -z "$ac_cv_prog_STRIP"; then
   2400   ac_ct_STRIP=$STRIP
   2401   # Extract the first word of "strip", so it can be a program name with args.
   2402 set dummy strip; ac_word=$2
   2403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2404 $as_echo_n "checking for $ac_word... " >&6; }
   2405 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2406   $as_echo_n "(cached) " >&6
   2407 else
   2408   if test -n "$ac_ct_STRIP"; then
   2409   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2410 else
   2411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2412 for as_dir in $PATH
   2413 do
   2414   IFS=$as_save_IFS
   2415   test -z "$as_dir" && as_dir=.
   2416     for ac_exec_ext in '' $ac_executable_extensions; do
   2417   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2418     ac_cv_prog_ac_ct_STRIP="strip"
   2419     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2420     break 2
   2421   fi
   2422 done
   2423   done
   2424 IFS=$as_save_IFS
   2425 
   2426 fi
   2427 fi
   2428 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2429 if test -n "$ac_ct_STRIP"; then
   2430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2431 $as_echo "$ac_ct_STRIP" >&6; }
   2432 else
   2433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2434 $as_echo "no" >&6; }
   2435 fi
   2436 
   2437   if test "x$ac_ct_STRIP" = x; then
   2438     STRIP=":"
   2439   else
   2440     case $cross_compiling:$ac_tool_warned in
   2441 yes:)
   2442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2444 ac_tool_warned=yes ;;
   2445 esac
   2446     STRIP=$ac_ct_STRIP
   2447   fi
   2448 else
   2449   STRIP="$ac_cv_prog_STRIP"
   2450 fi
   2451 
   2452 fi
   2453 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2454 
   2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2456 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2457 if test -z "$MKDIR_P"; then
   2458   if ${ac_cv_path_mkdir+:} false; then :
   2459   $as_echo_n "(cached) " >&6
   2460 else
   2461   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2462 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2463 do
   2464   IFS=$as_save_IFS
   2465   test -z "$as_dir" && as_dir=.
   2466     for ac_prog in mkdir gmkdir; do
   2467 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2468 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2469 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2470 	     'mkdir (GNU coreutils) '* | \
   2471 	     'mkdir (coreutils) '* | \
   2472 	     'mkdir (fileutils) '4.1*)
   2473 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2474 	       break 3;;
   2475 	   esac
   2476 	 done
   2477        done
   2478   done
   2479 IFS=$as_save_IFS
   2480 
   2481 fi
   2482 
   2483   test -d ./--version && rmdir ./--version
   2484   if test "${ac_cv_path_mkdir+set}" = set; then
   2485     MKDIR_P="$ac_cv_path_mkdir -p"
   2486   else
   2487     # As a last resort, use the slow shell script.  Don't cache a
   2488     # value for MKDIR_P within a source directory, because that will
   2489     # break other packages using the cache if that directory is
   2490     # removed, or if the value is a relative name.
   2491     MKDIR_P="$ac_install_sh -d"
   2492   fi
   2493 fi
   2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2495 $as_echo "$MKDIR_P" >&6; }
   2496 
   2497 mkdir_p="$MKDIR_P"
   2498 case $mkdir_p in
   2499   [\\/$]* | ?:[\\/]*) ;;
   2500   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2501 esac
   2502 
   2503 for ac_prog in gawk mawk nawk awk
   2504 do
   2505   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2506 set dummy $ac_prog; ac_word=$2
   2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2508 $as_echo_n "checking for $ac_word... " >&6; }
   2509 if ${ac_cv_prog_AWK+:} false; then :
   2510   $as_echo_n "(cached) " >&6
   2511 else
   2512   if test -n "$AWK"; then
   2513   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2514 else
   2515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2516 for as_dir in $PATH
   2517 do
   2518   IFS=$as_save_IFS
   2519   test -z "$as_dir" && as_dir=.
   2520     for ac_exec_ext in '' $ac_executable_extensions; do
   2521   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2522     ac_cv_prog_AWK="$ac_prog"
   2523     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2524     break 2
   2525   fi
   2526 done
   2527   done
   2528 IFS=$as_save_IFS
   2529 
   2530 fi
   2531 fi
   2532 AWK=$ac_cv_prog_AWK
   2533 if test -n "$AWK"; then
   2534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2535 $as_echo "$AWK" >&6; }
   2536 else
   2537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2538 $as_echo "no" >&6; }
   2539 fi
   2540 
   2541 
   2542   test -n "$AWK" && break
   2543 done
   2544 
   2545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2546 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2547 set x ${MAKE-make}
   2548 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2549 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2550   $as_echo_n "(cached) " >&6
   2551 else
   2552   cat >conftest.make <<\_ACEOF
   2553 SHELL = /bin/sh
   2554 all:
   2555 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2556 _ACEOF
   2557 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2558 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2559   *@@@%%%=?*=@@@%%%*)
   2560     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2561   *)
   2562     eval ac_cv_prog_make_${ac_make}_set=no;;
   2563 esac
   2564 rm -f conftest.make
   2565 fi
   2566 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2568 $as_echo "yes" >&6; }
   2569   SET_MAKE=
   2570 else
   2571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2572 $as_echo "no" >&6; }
   2573   SET_MAKE="MAKE=${MAKE-make}"
   2574 fi
   2575 
   2576 rm -rf .tst 2>/dev/null
   2577 mkdir .tst 2>/dev/null
   2578 if test -d .tst; then
   2579   am__leading_dot=.
   2580 else
   2581   am__leading_dot=_
   2582 fi
   2583 rmdir .tst 2>/dev/null
   2584 
   2585 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2586   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2587   # is not polluted with repeated "-I."
   2588   am__isrc=' -I$(srcdir)'
   2589   # test to see if srcdir already configured
   2590   if test -f $srcdir/config.status; then
   2591     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2592   fi
   2593 fi
   2594 
   2595 # test whether we have cygpath
   2596 if test -z "$CYGPATH_W"; then
   2597   if (cygpath --version) >/dev/null 2>/dev/null; then
   2598     CYGPATH_W='cygpath -w'
   2599   else
   2600     CYGPATH_W=echo
   2601   fi
   2602 fi
   2603 
   2604 
   2605 # Define the identity of the package.
   2606  PACKAGE='xmag'
   2607  VERSION='1.0.5'
   2608 
   2609 
   2610 cat >>confdefs.h <<_ACEOF
   2611 #define PACKAGE "$PACKAGE"
   2612 _ACEOF
   2613 
   2614 
   2615 cat >>confdefs.h <<_ACEOF
   2616 #define VERSION "$VERSION"
   2617 _ACEOF
   2618 
   2619 # Some tools Automake needs.
   2620 
   2621 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2622 
   2623 
   2624 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2625 
   2626 
   2627 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2628 
   2629 
   2630 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2631 
   2632 
   2633 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2634 
   2635 # We need awk for the "check" target.  The system "awk" is bad on
   2636 # some platforms.
   2637 # Always define AMTAR for backward compatibility.
   2638 
   2639 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2640 
   2641 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2642 
   2643 
   2644 
   2645 
   2646 
   2647 
   2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2649 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2650     # Check whether --enable-maintainer-mode was given.
   2651 if test "${enable_maintainer_mode+set}" = set; then :
   2652   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2653 else
   2654   USE_MAINTAINER_MODE=no
   2655 fi
   2656 
   2657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2658 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2659    if test $USE_MAINTAINER_MODE = yes; then
   2660   MAINTAINER_MODE_TRUE=
   2661   MAINTAINER_MODE_FALSE='#'
   2662 else
   2663   MAINTAINER_MODE_TRUE='#'
   2664   MAINTAINER_MODE_FALSE=
   2665 fi
   2666 
   2667   MAINT=$MAINTAINER_MODE_TRUE
   2668 
   2669 
   2670 
   2671 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2672 
   2673 
   2674 
   2675 
   2676 
   2677 
   2678 
   2679 
   2680 
   2681 
   2682 
   2683 DEPDIR="${am__leading_dot}deps"
   2684 
   2685 ac_config_commands="$ac_config_commands depfiles"
   2686 
   2687 
   2688 am_make=${MAKE-make}
   2689 cat > confinc << 'END'
   2690 am__doit:
   2691 	@echo this is the am__doit target
   2692 .PHONY: am__doit
   2693 END
   2694 # If we don't find an include directive, just comment out the code.
   2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2696 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2697 am__include="#"
   2698 am__quote=
   2699 _am_result=none
   2700 # First try GNU make style include.
   2701 echo "include confinc" > confmf
   2702 # Ignore all kinds of additional output from `make'.
   2703 case `$am_make -s -f confmf 2> /dev/null` in #(
   2704 *the\ am__doit\ target*)
   2705   am__include=include
   2706   am__quote=
   2707   _am_result=GNU
   2708   ;;
   2709 esac
   2710 # Now try BSD make style include.
   2711 if test "$am__include" = "#"; then
   2712    echo '.include "confinc"' > confmf
   2713    case `$am_make -s -f confmf 2> /dev/null` in #(
   2714    *the\ am__doit\ target*)
   2715      am__include=.include
   2716      am__quote="\""
   2717      _am_result=BSD
   2718      ;;
   2719    esac
   2720 fi
   2721 
   2722 
   2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2724 $as_echo "$_am_result" >&6; }
   2725 rm -f confinc confmf
   2726 
   2727 # Check whether --enable-dependency-tracking was given.
   2728 if test "${enable_dependency_tracking+set}" = set; then :
   2729   enableval=$enable_dependency_tracking;
   2730 fi
   2731 
   2732 if test "x$enable_dependency_tracking" != xno; then
   2733   am_depcomp="$ac_aux_dir/depcomp"
   2734   AMDEPBACKSLASH='\'
   2735   am__nodep='_no'
   2736 fi
   2737  if test "x$enable_dependency_tracking" != xno; then
   2738   AMDEP_TRUE=
   2739   AMDEP_FALSE='#'
   2740 else
   2741   AMDEP_TRUE='#'
   2742   AMDEP_FALSE=
   2743 fi
   2744 
   2745 
   2746 ac_ext=c
   2747 ac_cpp='$CPP $CPPFLAGS'
   2748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2751 if test -n "$ac_tool_prefix"; then
   2752   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2753 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2755 $as_echo_n "checking for $ac_word... " >&6; }
   2756 if ${ac_cv_prog_CC+:} false; then :
   2757   $as_echo_n "(cached) " >&6
   2758 else
   2759   if test -n "$CC"; then
   2760   ac_cv_prog_CC="$CC" # Let the user override the test.
   2761 else
   2762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2763 for as_dir in $PATH
   2764 do
   2765   IFS=$as_save_IFS
   2766   test -z "$as_dir" && as_dir=.
   2767     for ac_exec_ext in '' $ac_executable_extensions; do
   2768   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2769     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2770     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2771     break 2
   2772   fi
   2773 done
   2774   done
   2775 IFS=$as_save_IFS
   2776 
   2777 fi
   2778 fi
   2779 CC=$ac_cv_prog_CC
   2780 if test -n "$CC"; then
   2781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2782 $as_echo "$CC" >&6; }
   2783 else
   2784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2785 $as_echo "no" >&6; }
   2786 fi
   2787 
   2788 
   2789 fi
   2790 if test -z "$ac_cv_prog_CC"; then
   2791   ac_ct_CC=$CC
   2792   # Extract the first word of "gcc", so it can be a program name with args.
   2793 set dummy gcc; ac_word=$2
   2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2795 $as_echo_n "checking for $ac_word... " >&6; }
   2796 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2797   $as_echo_n "(cached) " >&6
   2798 else
   2799   if test -n "$ac_ct_CC"; then
   2800   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2801 else
   2802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2803 for as_dir in $PATH
   2804 do
   2805   IFS=$as_save_IFS
   2806   test -z "$as_dir" && as_dir=.
   2807     for ac_exec_ext in '' $ac_executable_extensions; do
   2808   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2809     ac_cv_prog_ac_ct_CC="gcc"
   2810     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2811     break 2
   2812   fi
   2813 done
   2814   done
   2815 IFS=$as_save_IFS
   2816 
   2817 fi
   2818 fi
   2819 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2820 if test -n "$ac_ct_CC"; then
   2821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2822 $as_echo "$ac_ct_CC" >&6; }
   2823 else
   2824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2825 $as_echo "no" >&6; }
   2826 fi
   2827 
   2828   if test "x$ac_ct_CC" = x; then
   2829     CC=""
   2830   else
   2831     case $cross_compiling:$ac_tool_warned in
   2832 yes:)
   2833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2834 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2835 ac_tool_warned=yes ;;
   2836 esac
   2837     CC=$ac_ct_CC
   2838   fi
   2839 else
   2840   CC="$ac_cv_prog_CC"
   2841 fi
   2842 
   2843 if test -z "$CC"; then
   2844           if test -n "$ac_tool_prefix"; then
   2845     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2846 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2848 $as_echo_n "checking for $ac_word... " >&6; }
   2849 if ${ac_cv_prog_CC+:} false; then :
   2850   $as_echo_n "(cached) " >&6
   2851 else
   2852   if test -n "$CC"; then
   2853   ac_cv_prog_CC="$CC" # Let the user override the test.
   2854 else
   2855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2856 for as_dir in $PATH
   2857 do
   2858   IFS=$as_save_IFS
   2859   test -z "$as_dir" && as_dir=.
   2860     for ac_exec_ext in '' $ac_executable_extensions; do
   2861   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2862     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2863     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2864     break 2
   2865   fi
   2866 done
   2867   done
   2868 IFS=$as_save_IFS
   2869 
   2870 fi
   2871 fi
   2872 CC=$ac_cv_prog_CC
   2873 if test -n "$CC"; then
   2874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2875 $as_echo "$CC" >&6; }
   2876 else
   2877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2878 $as_echo "no" >&6; }
   2879 fi
   2880 
   2881 
   2882   fi
   2883 fi
   2884 if test -z "$CC"; then
   2885   # Extract the first word of "cc", so it can be a program name with args.
   2886 set dummy cc; ac_word=$2
   2887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2888 $as_echo_n "checking for $ac_word... " >&6; }
   2889 if ${ac_cv_prog_CC+:} false; then :
   2890   $as_echo_n "(cached) " >&6
   2891 else
   2892   if test -n "$CC"; then
   2893   ac_cv_prog_CC="$CC" # Let the user override the test.
   2894 else
   2895   ac_prog_rejected=no
   2896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2897 for as_dir in $PATH
   2898 do
   2899   IFS=$as_save_IFS
   2900   test -z "$as_dir" && as_dir=.
   2901     for ac_exec_ext in '' $ac_executable_extensions; do
   2902   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2903     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2904        ac_prog_rejected=yes
   2905        continue
   2906      fi
   2907     ac_cv_prog_CC="cc"
   2908     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2909     break 2
   2910   fi
   2911 done
   2912   done
   2913 IFS=$as_save_IFS
   2914 
   2915 if test $ac_prog_rejected = yes; then
   2916   # We found a bogon in the path, so make sure we never use it.
   2917   set dummy $ac_cv_prog_CC
   2918   shift
   2919   if test $# != 0; then
   2920     # We chose a different compiler from the bogus one.
   2921     # However, it has the same basename, so the bogon will be chosen
   2922     # first if we set CC to just the basename; use the full file name.
   2923     shift
   2924     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2925   fi
   2926 fi
   2927 fi
   2928 fi
   2929 CC=$ac_cv_prog_CC
   2930 if test -n "$CC"; then
   2931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2932 $as_echo "$CC" >&6; }
   2933 else
   2934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2935 $as_echo "no" >&6; }
   2936 fi
   2937 
   2938 
   2939 fi
   2940 if test -z "$CC"; then
   2941   if test -n "$ac_tool_prefix"; then
   2942   for ac_prog in cl.exe
   2943   do
   2944     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2945 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2947 $as_echo_n "checking for $ac_word... " >&6; }
   2948 if ${ac_cv_prog_CC+:} false; then :
   2949   $as_echo_n "(cached) " >&6
   2950 else
   2951   if test -n "$CC"; then
   2952   ac_cv_prog_CC="$CC" # Let the user override the test.
   2953 else
   2954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2955 for as_dir in $PATH
   2956 do
   2957   IFS=$as_save_IFS
   2958   test -z "$as_dir" && as_dir=.
   2959     for ac_exec_ext in '' $ac_executable_extensions; do
   2960   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2961     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2962     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2963     break 2
   2964   fi
   2965 done
   2966   done
   2967 IFS=$as_save_IFS
   2968 
   2969 fi
   2970 fi
   2971 CC=$ac_cv_prog_CC
   2972 if test -n "$CC"; then
   2973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2974 $as_echo "$CC" >&6; }
   2975 else
   2976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2977 $as_echo "no" >&6; }
   2978 fi
   2979 
   2980 
   2981     test -n "$CC" && break
   2982   done
   2983 fi
   2984 if test -z "$CC"; then
   2985   ac_ct_CC=$CC
   2986   for ac_prog in cl.exe
   2987 do
   2988   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2989 set dummy $ac_prog; ac_word=$2
   2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2991 $as_echo_n "checking for $ac_word... " >&6; }
   2992 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2993   $as_echo_n "(cached) " >&6
   2994 else
   2995   if test -n "$ac_ct_CC"; then
   2996   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2997 else
   2998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2999 for as_dir in $PATH
   3000 do
   3001   IFS=$as_save_IFS
   3002   test -z "$as_dir" && as_dir=.
   3003     for ac_exec_ext in '' $ac_executable_extensions; do
   3004   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3005     ac_cv_prog_ac_ct_CC="$ac_prog"
   3006     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3007     break 2
   3008   fi
   3009 done
   3010   done
   3011 IFS=$as_save_IFS
   3012 
   3013 fi
   3014 fi
   3015 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3016 if test -n "$ac_ct_CC"; then
   3017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3018 $as_echo "$ac_ct_CC" >&6; }
   3019 else
   3020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3021 $as_echo "no" >&6; }
   3022 fi
   3023 
   3024 
   3025   test -n "$ac_ct_CC" && break
   3026 done
   3027 
   3028   if test "x$ac_ct_CC" = x; then
   3029     CC=""
   3030   else
   3031     case $cross_compiling:$ac_tool_warned in
   3032 yes:)
   3033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3034 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3035 ac_tool_warned=yes ;;
   3036 esac
   3037     CC=$ac_ct_CC
   3038   fi
   3039 fi
   3040 
   3041 fi
   3042 
   3043 
   3044 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3046 as_fn_error $? "no acceptable C compiler found in \$PATH
   3047 See \`config.log' for more details" "$LINENO" 5; }
   3048 
   3049 # Provide some information about the compiler.
   3050 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3051 set X $ac_compile
   3052 ac_compiler=$2
   3053 for ac_option in --version -v -V -qversion; do
   3054   { { ac_try="$ac_compiler $ac_option >&5"
   3055 case "(($ac_try" in
   3056   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3057   *) ac_try_echo=$ac_try;;
   3058 esac
   3059 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3060 $as_echo "$ac_try_echo"; } >&5
   3061   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3062   ac_status=$?
   3063   if test -s conftest.err; then
   3064     sed '10a\
   3065 ... rest of stderr output deleted ...
   3066          10q' conftest.err >conftest.er1
   3067     cat conftest.er1 >&5
   3068   fi
   3069   rm -f conftest.er1 conftest.err
   3070   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3071   test $ac_status = 0; }
   3072 done
   3073 
   3074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3075 /* end confdefs.h.  */
   3076 
   3077 int
   3078 main ()
   3079 {
   3080 
   3081   ;
   3082   return 0;
   3083 }
   3084 _ACEOF
   3085 ac_clean_files_save=$ac_clean_files
   3086 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3087 # Try to create an executable without -o first, disregard a.out.
   3088 # It will help us diagnose broken compilers, and finding out an intuition
   3089 # of exeext.
   3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3091 $as_echo_n "checking whether the C compiler works... " >&6; }
   3092 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3093 
   3094 # The possible output files:
   3095 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3096 
   3097 ac_rmfiles=
   3098 for ac_file in $ac_files
   3099 do
   3100   case $ac_file in
   3101     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3102     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3103   esac
   3104 done
   3105 rm -f $ac_rmfiles
   3106 
   3107 if { { ac_try="$ac_link_default"
   3108 case "(($ac_try" in
   3109   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3110   *) ac_try_echo=$ac_try;;
   3111 esac
   3112 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3113 $as_echo "$ac_try_echo"; } >&5
   3114   (eval "$ac_link_default") 2>&5
   3115   ac_status=$?
   3116   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3117   test $ac_status = 0; }; then :
   3118   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3119 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3120 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3121 # so that the user can short-circuit this test for compilers unknown to
   3122 # Autoconf.
   3123 for ac_file in $ac_files ''
   3124 do
   3125   test -f "$ac_file" || continue
   3126   case $ac_file in
   3127     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3128 	;;
   3129     [ab].out )
   3130 	# We found the default executable, but exeext='' is most
   3131 	# certainly right.
   3132 	break;;
   3133     *.* )
   3134 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3135 	then :; else
   3136 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3137 	fi
   3138 	# We set ac_cv_exeext here because the later test for it is not
   3139 	# safe: cross compilers may not add the suffix if given an `-o'
   3140 	# argument, so we may need to know it at that point already.
   3141 	# Even if this section looks crufty: it has the advantage of
   3142 	# actually working.
   3143 	break;;
   3144     * )
   3145 	break;;
   3146   esac
   3147 done
   3148 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3149 
   3150 else
   3151   ac_file=''
   3152 fi
   3153 if test -z "$ac_file"; then :
   3154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3155 $as_echo "no" >&6; }
   3156 $as_echo "$as_me: failed program was:" >&5
   3157 sed 's/^/| /' conftest.$ac_ext >&5
   3158 
   3159 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3161 as_fn_error 77 "C compiler cannot create executables
   3162 See \`config.log' for more details" "$LINENO" 5; }
   3163 else
   3164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3165 $as_echo "yes" >&6; }
   3166 fi
   3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3168 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3170 $as_echo "$ac_file" >&6; }
   3171 ac_exeext=$ac_cv_exeext
   3172 
   3173 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3174 ac_clean_files=$ac_clean_files_save
   3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3176 $as_echo_n "checking for suffix of executables... " >&6; }
   3177 if { { ac_try="$ac_link"
   3178 case "(($ac_try" in
   3179   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3180   *) ac_try_echo=$ac_try;;
   3181 esac
   3182 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3183 $as_echo "$ac_try_echo"; } >&5
   3184   (eval "$ac_link") 2>&5
   3185   ac_status=$?
   3186   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3187   test $ac_status = 0; }; then :
   3188   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3189 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3190 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3191 # `rm'.
   3192 for ac_file in conftest.exe conftest conftest.*; do
   3193   test -f "$ac_file" || continue
   3194   case $ac_file in
   3195     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3196     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3197 	  break;;
   3198     * ) break;;
   3199   esac
   3200 done
   3201 else
   3202   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3204 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3205 See \`config.log' for more details" "$LINENO" 5; }
   3206 fi
   3207 rm -f conftest conftest$ac_cv_exeext
   3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3209 $as_echo "$ac_cv_exeext" >&6; }
   3210 
   3211 rm -f conftest.$ac_ext
   3212 EXEEXT=$ac_cv_exeext
   3213 ac_exeext=$EXEEXT
   3214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3215 /* end confdefs.h.  */
   3216 #include <stdio.h>
   3217 int
   3218 main ()
   3219 {
   3220 FILE *f = fopen ("conftest.out", "w");
   3221  return ferror (f) || fclose (f) != 0;
   3222 
   3223   ;
   3224   return 0;
   3225 }
   3226 _ACEOF
   3227 ac_clean_files="$ac_clean_files conftest.out"
   3228 # Check that the compiler produces executables we can run.  If not, either
   3229 # the compiler is broken, or we cross compile.
   3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3231 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3232 if test "$cross_compiling" != yes; then
   3233   { { ac_try="$ac_link"
   3234 case "(($ac_try" in
   3235   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3236   *) ac_try_echo=$ac_try;;
   3237 esac
   3238 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3239 $as_echo "$ac_try_echo"; } >&5
   3240   (eval "$ac_link") 2>&5
   3241   ac_status=$?
   3242   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3243   test $ac_status = 0; }
   3244   if { ac_try='./conftest$ac_cv_exeext'
   3245   { { case "(($ac_try" in
   3246   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3247   *) ac_try_echo=$ac_try;;
   3248 esac
   3249 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3250 $as_echo "$ac_try_echo"; } >&5
   3251   (eval "$ac_try") 2>&5
   3252   ac_status=$?
   3253   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3254   test $ac_status = 0; }; }; then
   3255     cross_compiling=no
   3256   else
   3257     if test "$cross_compiling" = maybe; then
   3258 	cross_compiling=yes
   3259     else
   3260 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3262 as_fn_error $? "cannot run C compiled programs.
   3263 If you meant to cross compile, use \`--host'.
   3264 See \`config.log' for more details" "$LINENO" 5; }
   3265     fi
   3266   fi
   3267 fi
   3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3269 $as_echo "$cross_compiling" >&6; }
   3270 
   3271 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3272 ac_clean_files=$ac_clean_files_save
   3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3274 $as_echo_n "checking for suffix of object files... " >&6; }
   3275 if ${ac_cv_objext+:} false; then :
   3276   $as_echo_n "(cached) " >&6
   3277 else
   3278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3279 /* end confdefs.h.  */
   3280 
   3281 int
   3282 main ()
   3283 {
   3284 
   3285   ;
   3286   return 0;
   3287 }
   3288 _ACEOF
   3289 rm -f conftest.o conftest.obj
   3290 if { { ac_try="$ac_compile"
   3291 case "(($ac_try" in
   3292   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3293   *) ac_try_echo=$ac_try;;
   3294 esac
   3295 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3296 $as_echo "$ac_try_echo"; } >&5
   3297   (eval "$ac_compile") 2>&5
   3298   ac_status=$?
   3299   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3300   test $ac_status = 0; }; then :
   3301   for ac_file in conftest.o conftest.obj conftest.*; do
   3302   test -f "$ac_file" || continue;
   3303   case $ac_file in
   3304     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3305     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3306        break;;
   3307   esac
   3308 done
   3309 else
   3310   $as_echo "$as_me: failed program was:" >&5
   3311 sed 's/^/| /' conftest.$ac_ext >&5
   3312 
   3313 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3315 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3316 See \`config.log' for more details" "$LINENO" 5; }
   3317 fi
   3318 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3319 fi
   3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3321 $as_echo "$ac_cv_objext" >&6; }
   3322 OBJEXT=$ac_cv_objext
   3323 ac_objext=$OBJEXT
   3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3325 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3326 if ${ac_cv_c_compiler_gnu+:} false; then :
   3327   $as_echo_n "(cached) " >&6
   3328 else
   3329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3330 /* end confdefs.h.  */
   3331 
   3332 int
   3333 main ()
   3334 {
   3335 #ifndef __GNUC__
   3336        choke me
   3337 #endif
   3338 
   3339   ;
   3340   return 0;
   3341 }
   3342 _ACEOF
   3343 if ac_fn_c_try_compile "$LINENO"; then :
   3344   ac_compiler_gnu=yes
   3345 else
   3346   ac_compiler_gnu=no
   3347 fi
   3348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3349 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3350 
   3351 fi
   3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3353 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3354 if test $ac_compiler_gnu = yes; then
   3355   GCC=yes
   3356 else
   3357   GCC=
   3358 fi
   3359 ac_test_CFLAGS=${CFLAGS+set}
   3360 ac_save_CFLAGS=$CFLAGS
   3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3362 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3363 if ${ac_cv_prog_cc_g+:} false; then :
   3364   $as_echo_n "(cached) " >&6
   3365 else
   3366   ac_save_c_werror_flag=$ac_c_werror_flag
   3367    ac_c_werror_flag=yes
   3368    ac_cv_prog_cc_g=no
   3369    CFLAGS="-g"
   3370    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3371 /* end confdefs.h.  */
   3372 
   3373 int
   3374 main ()
   3375 {
   3376 
   3377   ;
   3378   return 0;
   3379 }
   3380 _ACEOF
   3381 if ac_fn_c_try_compile "$LINENO"; then :
   3382   ac_cv_prog_cc_g=yes
   3383 else
   3384   CFLAGS=""
   3385       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3386 /* end confdefs.h.  */
   3387 
   3388 int
   3389 main ()
   3390 {
   3391 
   3392   ;
   3393   return 0;
   3394 }
   3395 _ACEOF
   3396 if ac_fn_c_try_compile "$LINENO"; then :
   3397 
   3398 else
   3399   ac_c_werror_flag=$ac_save_c_werror_flag
   3400 	 CFLAGS="-g"
   3401 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3402 /* end confdefs.h.  */
   3403 
   3404 int
   3405 main ()
   3406 {
   3407 
   3408   ;
   3409   return 0;
   3410 }
   3411 _ACEOF
   3412 if ac_fn_c_try_compile "$LINENO"; then :
   3413   ac_cv_prog_cc_g=yes
   3414 fi
   3415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3416 fi
   3417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3418 fi
   3419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3420    ac_c_werror_flag=$ac_save_c_werror_flag
   3421 fi
   3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3423 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3424 if test "$ac_test_CFLAGS" = set; then
   3425   CFLAGS=$ac_save_CFLAGS
   3426 elif test $ac_cv_prog_cc_g = yes; then
   3427   if test "$GCC" = yes; then
   3428     CFLAGS="-g -O2"
   3429   else
   3430     CFLAGS="-g"
   3431   fi
   3432 else
   3433   if test "$GCC" = yes; then
   3434     CFLAGS="-O2"
   3435   else
   3436     CFLAGS=
   3437   fi
   3438 fi
   3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3440 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3441 if ${ac_cv_prog_cc_c89+:} false; then :
   3442   $as_echo_n "(cached) " >&6
   3443 else
   3444   ac_cv_prog_cc_c89=no
   3445 ac_save_CC=$CC
   3446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3447 /* end confdefs.h.  */
   3448 #include <stdarg.h>
   3449 #include <stdio.h>
   3450 #include <sys/types.h>
   3451 #include <sys/stat.h>
   3452 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3453 struct buf { int x; };
   3454 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3455 static char *e (p, i)
   3456      char **p;
   3457      int i;
   3458 {
   3459   return p[i];
   3460 }
   3461 static char *f (char * (*g) (char **, int), char **p, ...)
   3462 {
   3463   char *s;
   3464   va_list v;
   3465   va_start (v,p);
   3466   s = g (p, va_arg (v,int));
   3467   va_end (v);
   3468   return s;
   3469 }
   3470 
   3471 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3472    function prototypes and stuff, but not '\xHH' hex character constants.
   3473    These don't provoke an error unfortunately, instead are silently treated
   3474    as 'x'.  The following induces an error, until -std is added to get
   3475    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3476    array size at least.  It's necessary to write '\x00'==0 to get something
   3477    that's true only with -std.  */
   3478 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3479 
   3480 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3481    inside strings and character constants.  */
   3482 #define FOO(x) 'x'
   3483 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3484 
   3485 int test (int i, double x);
   3486 struct s1 {int (*f) (int a);};
   3487 struct s2 {int (*f) (double a);};
   3488 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3489 int argc;
   3490 char **argv;
   3491 int
   3492 main ()
   3493 {
   3494 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3495   ;
   3496   return 0;
   3497 }
   3498 _ACEOF
   3499 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3500 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3501 do
   3502   CC="$ac_save_CC $ac_arg"
   3503   if ac_fn_c_try_compile "$LINENO"; then :
   3504   ac_cv_prog_cc_c89=$ac_arg
   3505 fi
   3506 rm -f core conftest.err conftest.$ac_objext
   3507   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3508 done
   3509 rm -f conftest.$ac_ext
   3510 CC=$ac_save_CC
   3511 
   3512 fi
   3513 # AC_CACHE_VAL
   3514 case "x$ac_cv_prog_cc_c89" in
   3515   x)
   3516     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3517 $as_echo "none needed" >&6; } ;;
   3518   xno)
   3519     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3520 $as_echo "unsupported" >&6; } ;;
   3521   *)
   3522     CC="$CC $ac_cv_prog_cc_c89"
   3523     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3524 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3525 esac
   3526 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3527 
   3528 fi
   3529 
   3530 ac_ext=c
   3531 ac_cpp='$CPP $CPPFLAGS'
   3532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3535 
   3536 depcc="$CC"   am_compiler_list=
   3537 
   3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3539 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3540 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3541   $as_echo_n "(cached) " >&6
   3542 else
   3543   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3544   # We make a subdir and do the tests there.  Otherwise we can end up
   3545   # making bogus files that we don't know about and never remove.  For
   3546   # instance it was reported that on HP-UX the gcc test will end up
   3547   # making a dummy file named `D' -- because `-MD' means `put the output
   3548   # in D'.
   3549   rm -rf conftest.dir
   3550   mkdir conftest.dir
   3551   # Copy depcomp to subdir because otherwise we won't find it if we're
   3552   # using a relative directory.
   3553   cp "$am_depcomp" conftest.dir
   3554   cd conftest.dir
   3555   # We will build objects and dependencies in a subdirectory because
   3556   # it helps to detect inapplicable dependency modes.  For instance
   3557   # both Tru64's cc and ICC support -MD to output dependencies as a
   3558   # side effect of compilation, but ICC will put the dependencies in
   3559   # the current directory while Tru64 will put them in the object
   3560   # directory.
   3561   mkdir sub
   3562 
   3563   am_cv_CC_dependencies_compiler_type=none
   3564   if test "$am_compiler_list" = ""; then
   3565      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3566   fi
   3567   am__universal=false
   3568   case " $depcc " in #(
   3569      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3570      esac
   3571 
   3572   for depmode in $am_compiler_list; do
   3573     # Setup a source with many dependencies, because some compilers
   3574     # like to wrap large dependency lists on column 80 (with \), and
   3575     # we should not choose a depcomp mode which is confused by this.
   3576     #
   3577     # We need to recreate these files for each test, as the compiler may
   3578     # overwrite some of them when testing with obscure command lines.
   3579     # This happens at least with the AIX C compiler.
   3580     : > sub/conftest.c
   3581     for i in 1 2 3 4 5 6; do
   3582       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3583       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3584       # Solaris 8's {/usr,}/bin/sh.
   3585       touch sub/conftst$i.h
   3586     done
   3587     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3588 
   3589     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3590     # mode.  It turns out that the SunPro C++ compiler does not properly
   3591     # handle `-M -o', and we need to detect this.  Also, some Intel
   3592     # versions had trouble with output in subdirs
   3593     am__obj=sub/conftest.${OBJEXT-o}
   3594     am__minus_obj="-o $am__obj"
   3595     case $depmode in
   3596     gcc)
   3597       # This depmode causes a compiler race in universal mode.
   3598       test "$am__universal" = false || continue
   3599       ;;
   3600     nosideeffect)
   3601       # after this tag, mechanisms are not by side-effect, so they'll
   3602       # only be used when explicitly requested
   3603       if test "x$enable_dependency_tracking" = xyes; then
   3604 	continue
   3605       else
   3606 	break
   3607       fi
   3608       ;;
   3609     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3610       # This compiler won't grok `-c -o', but also, the minuso test has
   3611       # not run yet.  These depmodes are late enough in the game, and
   3612       # so weak that their functioning should not be impacted.
   3613       am__obj=conftest.${OBJEXT-o}
   3614       am__minus_obj=
   3615       ;;
   3616     none) break ;;
   3617     esac
   3618     if depmode=$depmode \
   3619        source=sub/conftest.c object=$am__obj \
   3620        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3621        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3622          >/dev/null 2>conftest.err &&
   3623        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3624        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3625        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3626        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3627       # icc doesn't choke on unknown options, it will just issue warnings
   3628       # or remarks (even with -Werror).  So we grep stderr for any message
   3629       # that says an option was ignored or not supported.
   3630       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3631       #   icc: Command line warning: ignoring option '-M'; no argument required
   3632       # The diagnosis changed in icc 8.0:
   3633       #   icc: Command line remark: option '-MP' not supported
   3634       if (grep 'ignoring option' conftest.err ||
   3635           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3636         am_cv_CC_dependencies_compiler_type=$depmode
   3637         break
   3638       fi
   3639     fi
   3640   done
   3641 
   3642   cd ..
   3643   rm -rf conftest.dir
   3644 else
   3645   am_cv_CC_dependencies_compiler_type=none
   3646 fi
   3647 
   3648 fi
   3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3650 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3651 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3652 
   3653  if
   3654   test "x$enable_dependency_tracking" != xno \
   3655   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3656   am__fastdepCC_TRUE=
   3657   am__fastdepCC_FALSE='#'
   3658 else
   3659   am__fastdepCC_TRUE='#'
   3660   am__fastdepCC_FALSE=
   3661 fi
   3662 
   3663 
   3664    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3665 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3666 if ${ac_cv_prog_cc_c99+:} false; then :
   3667   $as_echo_n "(cached) " >&6
   3668 else
   3669   ac_cv_prog_cc_c99=no
   3670 ac_save_CC=$CC
   3671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3672 /* end confdefs.h.  */
   3673 #include <stdarg.h>
   3674 #include <stdbool.h>
   3675 #include <stdlib.h>
   3676 #include <wchar.h>
   3677 #include <stdio.h>
   3678 
   3679 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3680 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3681 #define showlist(...) puts (#__VA_ARGS__)
   3682 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3683 static void
   3684 test_varargs_macros (void)
   3685 {
   3686   int x = 1234;
   3687   int y = 5678;
   3688   debug ("Flag");
   3689   debug ("X = %d\n", x);
   3690   showlist (The first, second, and third items.);
   3691   report (x>y, "x is %d but y is %d", x, y);
   3692 }
   3693 
   3694 // Check long long types.
   3695 #define BIG64 18446744073709551615ull
   3696 #define BIG32 4294967295ul
   3697 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3698 #if !BIG_OK
   3699   your preprocessor is broken;
   3700 #endif
   3701 #if BIG_OK
   3702 #else
   3703   your preprocessor is broken;
   3704 #endif
   3705 static long long int bignum = -9223372036854775807LL;
   3706 static unsigned long long int ubignum = BIG64;
   3707 
   3708 struct incomplete_array
   3709 {
   3710   int datasize;
   3711   double data[];
   3712 };
   3713 
   3714 struct named_init {
   3715   int number;
   3716   const wchar_t *name;
   3717   double average;
   3718 };
   3719 
   3720 typedef const char *ccp;
   3721 
   3722 static inline int
   3723 test_restrict (ccp restrict text)
   3724 {
   3725   // See if C++-style comments work.
   3726   // Iterate through items via the restricted pointer.
   3727   // Also check for declarations in for loops.
   3728   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3729     continue;
   3730   return 0;
   3731 }
   3732 
   3733 // Check varargs and va_copy.
   3734 static void
   3735 test_varargs (const char *format, ...)
   3736 {
   3737   va_list args;
   3738   va_start (args, format);
   3739   va_list args_copy;
   3740   va_copy (args_copy, args);
   3741 
   3742   const char *str;
   3743   int number;
   3744   float fnumber;
   3745 
   3746   while (*format)
   3747     {
   3748       switch (*format++)
   3749 	{
   3750 	case 's': // string
   3751 	  str = va_arg (args_copy, const char *);
   3752 	  break;
   3753 	case 'd': // int
   3754 	  number = va_arg (args_copy, int);
   3755 	  break;
   3756 	case 'f': // float
   3757 	  fnumber = va_arg (args_copy, double);
   3758 	  break;
   3759 	default:
   3760 	  break;
   3761 	}
   3762     }
   3763   va_end (args_copy);
   3764   va_end (args);
   3765 }
   3766 
   3767 int
   3768 main ()
   3769 {
   3770 
   3771   // Check bool.
   3772   _Bool success = false;
   3773 
   3774   // Check restrict.
   3775   if (test_restrict ("String literal") == 0)
   3776     success = true;
   3777   char *restrict newvar = "Another string";
   3778 
   3779   // Check varargs.
   3780   test_varargs ("s, d' f .", "string", 65, 34.234);
   3781   test_varargs_macros ();
   3782 
   3783   // Check flexible array members.
   3784   struct incomplete_array *ia =
   3785     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3786   ia->datasize = 10;
   3787   for (int i = 0; i < ia->datasize; ++i)
   3788     ia->data[i] = i * 1.234;
   3789 
   3790   // Check named initializers.
   3791   struct named_init ni = {
   3792     .number = 34,
   3793     .name = L"Test wide string",
   3794     .average = 543.34343,
   3795   };
   3796 
   3797   ni.number = 58;
   3798 
   3799   int dynamic_array[ni.number];
   3800   dynamic_array[ni.number - 1] = 543;
   3801 
   3802   // work around unused variable warnings
   3803   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3804 	  || dynamic_array[ni.number - 1] != 543);
   3805 
   3806   ;
   3807   return 0;
   3808 }
   3809 _ACEOF
   3810 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3811 do
   3812   CC="$ac_save_CC $ac_arg"
   3813   if ac_fn_c_try_compile "$LINENO"; then :
   3814   ac_cv_prog_cc_c99=$ac_arg
   3815 fi
   3816 rm -f core conftest.err conftest.$ac_objext
   3817   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3818 done
   3819 rm -f conftest.$ac_ext
   3820 CC=$ac_save_CC
   3821 
   3822 fi
   3823 # AC_CACHE_VAL
   3824 case "x$ac_cv_prog_cc_c99" in
   3825   x)
   3826     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3827 $as_echo "none needed" >&6; } ;;
   3828   xno)
   3829     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3830 $as_echo "unsupported" >&6; } ;;
   3831   *)
   3832     CC="$CC $ac_cv_prog_cc_c99"
   3833     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3834 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3835 esac
   3836 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3837 
   3838 fi
   3839 
   3840 
   3841 
   3842 ac_ext=c
   3843 ac_cpp='$CPP $CPPFLAGS'
   3844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3848 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3849 # On Suns, sometimes $CPP names a directory.
   3850 if test -n "$CPP" && test -d "$CPP"; then
   3851   CPP=
   3852 fi
   3853 if test -z "$CPP"; then
   3854   if ${ac_cv_prog_CPP+:} false; then :
   3855   $as_echo_n "(cached) " >&6
   3856 else
   3857       # Double quotes because CPP needs to be expanded
   3858     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3859     do
   3860       ac_preproc_ok=false
   3861 for ac_c_preproc_warn_flag in '' yes
   3862 do
   3863   # Use a header file that comes with gcc, so configuring glibc
   3864   # with a fresh cross-compiler works.
   3865   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3866   # <limits.h> exists even on freestanding compilers.
   3867   # On the NeXT, cc -E runs the code through the compiler's parser,
   3868   # not just through cpp. "Syntax error" is here to catch this case.
   3869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3870 /* end confdefs.h.  */
   3871 #ifdef __STDC__
   3872 # include <limits.h>
   3873 #else
   3874 # include <assert.h>
   3875 #endif
   3876 		     Syntax error
   3877 _ACEOF
   3878 if ac_fn_c_try_cpp "$LINENO"; then :
   3879 
   3880 else
   3881   # Broken: fails on valid input.
   3882 continue
   3883 fi
   3884 rm -f conftest.err conftest.i conftest.$ac_ext
   3885 
   3886   # OK, works on sane cases.  Now check whether nonexistent headers
   3887   # can be detected and how.
   3888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3889 /* end confdefs.h.  */
   3890 #include <ac_nonexistent.h>
   3891 _ACEOF
   3892 if ac_fn_c_try_cpp "$LINENO"; then :
   3893   # Broken: success on invalid input.
   3894 continue
   3895 else
   3896   # Passes both tests.
   3897 ac_preproc_ok=:
   3898 break
   3899 fi
   3900 rm -f conftest.err conftest.i conftest.$ac_ext
   3901 
   3902 done
   3903 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3904 rm -f conftest.i conftest.err conftest.$ac_ext
   3905 if $ac_preproc_ok; then :
   3906   break
   3907 fi
   3908 
   3909     done
   3910     ac_cv_prog_CPP=$CPP
   3911 
   3912 fi
   3913   CPP=$ac_cv_prog_CPP
   3914 else
   3915   ac_cv_prog_CPP=$CPP
   3916 fi
   3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3918 $as_echo "$CPP" >&6; }
   3919 ac_preproc_ok=false
   3920 for ac_c_preproc_warn_flag in '' yes
   3921 do
   3922   # Use a header file that comes with gcc, so configuring glibc
   3923   # with a fresh cross-compiler works.
   3924   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3925   # <limits.h> exists even on freestanding compilers.
   3926   # On the NeXT, cc -E runs the code through the compiler's parser,
   3927   # not just through cpp. "Syntax error" is here to catch this case.
   3928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3929 /* end confdefs.h.  */
   3930 #ifdef __STDC__
   3931 # include <limits.h>
   3932 #else
   3933 # include <assert.h>
   3934 #endif
   3935 		     Syntax error
   3936 _ACEOF
   3937 if ac_fn_c_try_cpp "$LINENO"; then :
   3938 
   3939 else
   3940   # Broken: fails on valid input.
   3941 continue
   3942 fi
   3943 rm -f conftest.err conftest.i conftest.$ac_ext
   3944 
   3945   # OK, works on sane cases.  Now check whether nonexistent headers
   3946   # can be detected and how.
   3947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3948 /* end confdefs.h.  */
   3949 #include <ac_nonexistent.h>
   3950 _ACEOF
   3951 if ac_fn_c_try_cpp "$LINENO"; then :
   3952   # Broken: success on invalid input.
   3953 continue
   3954 else
   3955   # Passes both tests.
   3956 ac_preproc_ok=:
   3957 break
   3958 fi
   3959 rm -f conftest.err conftest.i conftest.$ac_ext
   3960 
   3961 done
   3962 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3963 rm -f conftest.i conftest.err conftest.$ac_ext
   3964 if $ac_preproc_ok; then :
   3965 
   3966 else
   3967   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3969 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3970 See \`config.log' for more details" "$LINENO" 5; }
   3971 fi
   3972 
   3973 ac_ext=c
   3974 ac_cpp='$CPP $CPPFLAGS'
   3975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3978 
   3979 
   3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3981 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3982 if ${ac_cv_path_GREP+:} false; then :
   3983   $as_echo_n "(cached) " >&6
   3984 else
   3985   if test -z "$GREP"; then
   3986   ac_path_GREP_found=false
   3987   # Loop through the user's path and test for each of PROGNAME-LIST
   3988   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3989 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3990 do
   3991   IFS=$as_save_IFS
   3992   test -z "$as_dir" && as_dir=.
   3993     for ac_prog in grep ggrep; do
   3994     for ac_exec_ext in '' $ac_executable_extensions; do
   3995       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3996       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3997 # Check for GNU ac_path_GREP and select it if it is found.
   3998   # Check for GNU $ac_path_GREP
   3999 case `"$ac_path_GREP" --version 2>&1` in
   4000 *GNU*)
   4001   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4002 *)
   4003   ac_count=0
   4004   $as_echo_n 0123456789 >"conftest.in"
   4005   while :
   4006   do
   4007     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4008     mv "conftest.tmp" "conftest.in"
   4009     cp "conftest.in" "conftest.nl"
   4010     $as_echo 'GREP' >> "conftest.nl"
   4011     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4012     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4013     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4014     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4015       # Best one so far, save it but keep looking for a better one
   4016       ac_cv_path_GREP="$ac_path_GREP"
   4017       ac_path_GREP_max=$ac_count
   4018     fi
   4019     # 10*(2^10) chars as input seems more than enough
   4020     test $ac_count -gt 10 && break
   4021   done
   4022   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4023 esac
   4024 
   4025       $ac_path_GREP_found && break 3
   4026     done
   4027   done
   4028   done
   4029 IFS=$as_save_IFS
   4030   if test -z "$ac_cv_path_GREP"; then
   4031     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4032   fi
   4033 else
   4034   ac_cv_path_GREP=$GREP
   4035 fi
   4036 
   4037 fi
   4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4039 $as_echo "$ac_cv_path_GREP" >&6; }
   4040  GREP="$ac_cv_path_GREP"
   4041 
   4042 
   4043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4044 $as_echo_n "checking for egrep... " >&6; }
   4045 if ${ac_cv_path_EGREP+:} false; then :
   4046   $as_echo_n "(cached) " >&6
   4047 else
   4048   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4049    then ac_cv_path_EGREP="$GREP -E"
   4050    else
   4051      if test -z "$EGREP"; then
   4052   ac_path_EGREP_found=false
   4053   # Loop through the user's path and test for each of PROGNAME-LIST
   4054   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4055 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4056 do
   4057   IFS=$as_save_IFS
   4058   test -z "$as_dir" && as_dir=.
   4059     for ac_prog in egrep; do
   4060     for ac_exec_ext in '' $ac_executable_extensions; do
   4061       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4062       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4063 # Check for GNU ac_path_EGREP and select it if it is found.
   4064   # Check for GNU $ac_path_EGREP
   4065 case `"$ac_path_EGREP" --version 2>&1` in
   4066 *GNU*)
   4067   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4068 *)
   4069   ac_count=0
   4070   $as_echo_n 0123456789 >"conftest.in"
   4071   while :
   4072   do
   4073     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4074     mv "conftest.tmp" "conftest.in"
   4075     cp "conftest.in" "conftest.nl"
   4076     $as_echo 'EGREP' >> "conftest.nl"
   4077     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4078     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4079     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4080     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4081       # Best one so far, save it but keep looking for a better one
   4082       ac_cv_path_EGREP="$ac_path_EGREP"
   4083       ac_path_EGREP_max=$ac_count
   4084     fi
   4085     # 10*(2^10) chars as input seems more than enough
   4086     test $ac_count -gt 10 && break
   4087   done
   4088   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4089 esac
   4090 
   4091       $ac_path_EGREP_found && break 3
   4092     done
   4093   done
   4094   done
   4095 IFS=$as_save_IFS
   4096   if test -z "$ac_cv_path_EGREP"; then
   4097     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4098   fi
   4099 else
   4100   ac_cv_path_EGREP=$EGREP
   4101 fi
   4102 
   4103    fi
   4104 fi
   4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4106 $as_echo "$ac_cv_path_EGREP" >&6; }
   4107  EGREP="$ac_cv_path_EGREP"
   4108 
   4109 
   4110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4111 $as_echo_n "checking for ANSI C header files... " >&6; }
   4112 if ${ac_cv_header_stdc+:} false; then :
   4113   $as_echo_n "(cached) " >&6
   4114 else
   4115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4116 /* end confdefs.h.  */
   4117 #include <stdlib.h>
   4118 #include <stdarg.h>
   4119 #include <string.h>
   4120 #include <float.h>
   4121 
   4122 int
   4123 main ()
   4124 {
   4125 
   4126   ;
   4127   return 0;
   4128 }
   4129 _ACEOF
   4130 if ac_fn_c_try_compile "$LINENO"; then :
   4131   ac_cv_header_stdc=yes
   4132 else
   4133   ac_cv_header_stdc=no
   4134 fi
   4135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4136 
   4137 if test $ac_cv_header_stdc = yes; then
   4138   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4140 /* end confdefs.h.  */
   4141 #include <string.h>
   4142 
   4143 _ACEOF
   4144 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4145   $EGREP "memchr" >/dev/null 2>&1; then :
   4146 
   4147 else
   4148   ac_cv_header_stdc=no
   4149 fi
   4150 rm -f conftest*
   4151 
   4152 fi
   4153 
   4154 if test $ac_cv_header_stdc = yes; then
   4155   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4157 /* end confdefs.h.  */
   4158 #include <stdlib.h>
   4159 
   4160 _ACEOF
   4161 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4162   $EGREP "free" >/dev/null 2>&1; then :
   4163 
   4164 else
   4165   ac_cv_header_stdc=no
   4166 fi
   4167 rm -f conftest*
   4168 
   4169 fi
   4170 
   4171 if test $ac_cv_header_stdc = yes; then
   4172   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4173   if test "$cross_compiling" = yes; then :
   4174   :
   4175 else
   4176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4177 /* end confdefs.h.  */
   4178 #include <ctype.h>
   4179 #include <stdlib.h>
   4180 #if ((' ' & 0x0FF) == 0x020)
   4181 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4182 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4183 #else
   4184 # define ISLOWER(c) \
   4185 		   (('a' <= (c) && (c) <= 'i') \
   4186 		     || ('j' <= (c) && (c) <= 'r') \
   4187 		     || ('s' <= (c) && (c) <= 'z'))
   4188 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4189 #endif
   4190 
   4191 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4192 int
   4193 main ()
   4194 {
   4195   int i;
   4196   for (i = 0; i < 256; i++)
   4197     if (XOR (islower (i), ISLOWER (i))
   4198 	|| toupper (i) != TOUPPER (i))
   4199       return 2;
   4200   return 0;
   4201 }
   4202 _ACEOF
   4203 if ac_fn_c_try_run "$LINENO"; then :
   4204 
   4205 else
   4206   ac_cv_header_stdc=no
   4207 fi
   4208 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4209   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4210 fi
   4211 
   4212 fi
   4213 fi
   4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4215 $as_echo "$ac_cv_header_stdc" >&6; }
   4216 if test $ac_cv_header_stdc = yes; then
   4217 
   4218 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4219 
   4220 fi
   4221 
   4222 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4223 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4224 		  inttypes.h stdint.h unistd.h
   4225 do :
   4226   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4227 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4228 "
   4229 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4230   cat >>confdefs.h <<_ACEOF
   4231 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4232 _ACEOF
   4233 
   4234 fi
   4235 
   4236 done
   4237 
   4238 
   4239 
   4240 
   4241 
   4242 
   4243 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4244 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4245   CLANGCC="yes"
   4246 else
   4247   CLANGCC="no"
   4248 fi
   4249 
   4250 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4251 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4252   INTELCC="yes"
   4253 else
   4254   INTELCC="no"
   4255 fi
   4256 
   4257 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4258 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4259   SUNCC="yes"
   4260 else
   4261   SUNCC="no"
   4262 fi
   4263 
   4264 
   4265 
   4266 
   4267 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4268 	if test -n "$ac_tool_prefix"; then
   4269   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4270 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4272 $as_echo_n "checking for $ac_word... " >&6; }
   4273 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4274   $as_echo_n "(cached) " >&6
   4275 else
   4276   case $PKG_CONFIG in
   4277   [\\/]* | ?:[\\/]*)
   4278   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4279   ;;
   4280   *)
   4281   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4282 for as_dir in $PATH
   4283 do
   4284   IFS=$as_save_IFS
   4285   test -z "$as_dir" && as_dir=.
   4286     for ac_exec_ext in '' $ac_executable_extensions; do
   4287   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4288     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4289     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4290     break 2
   4291   fi
   4292 done
   4293   done
   4294 IFS=$as_save_IFS
   4295 
   4296   ;;
   4297 esac
   4298 fi
   4299 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4300 if test -n "$PKG_CONFIG"; then
   4301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4302 $as_echo "$PKG_CONFIG" >&6; }
   4303 else
   4304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4305 $as_echo "no" >&6; }
   4306 fi
   4307 
   4308 
   4309 fi
   4310 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4311   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4312   # Extract the first word of "pkg-config", so it can be a program name with args.
   4313 set dummy pkg-config; ac_word=$2
   4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4315 $as_echo_n "checking for $ac_word... " >&6; }
   4316 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4317   $as_echo_n "(cached) " >&6
   4318 else
   4319   case $ac_pt_PKG_CONFIG in
   4320   [\\/]* | ?:[\\/]*)
   4321   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4322   ;;
   4323   *)
   4324   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4325 for as_dir in $PATH
   4326 do
   4327   IFS=$as_save_IFS
   4328   test -z "$as_dir" && as_dir=.
   4329     for ac_exec_ext in '' $ac_executable_extensions; do
   4330   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4331     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4332     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4333     break 2
   4334   fi
   4335 done
   4336   done
   4337 IFS=$as_save_IFS
   4338 
   4339   ;;
   4340 esac
   4341 fi
   4342 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4343 if test -n "$ac_pt_PKG_CONFIG"; then
   4344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4345 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4346 else
   4347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4348 $as_echo "no" >&6; }
   4349 fi
   4350 
   4351   if test "x$ac_pt_PKG_CONFIG" = x; then
   4352     PKG_CONFIG=""
   4353   else
   4354     case $cross_compiling:$ac_tool_warned in
   4355 yes:)
   4356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4357 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4358 ac_tool_warned=yes ;;
   4359 esac
   4360     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4361   fi
   4362 else
   4363   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4364 fi
   4365 
   4366 fi
   4367 if test -n "$PKG_CONFIG"; then
   4368 	_pkg_min_version=0.9.0
   4369 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4370 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4371 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4372 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4373 $as_echo "yes" >&6; }
   4374 	else
   4375 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4376 $as_echo "no" >&6; }
   4377 		PKG_CONFIG=""
   4378 	fi
   4379 
   4380 fi
   4381 # Make sure we can run config.sub.
   4382 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4383   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4384 
   4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4386 $as_echo_n "checking build system type... " >&6; }
   4387 if ${ac_cv_build+:} false; then :
   4388   $as_echo_n "(cached) " >&6
   4389 else
   4390   ac_build_alias=$build_alias
   4391 test "x$ac_build_alias" = x &&
   4392   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4393 test "x$ac_build_alias" = x &&
   4394   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4395 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4396   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4397 
   4398 fi
   4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4400 $as_echo "$ac_cv_build" >&6; }
   4401 case $ac_cv_build in
   4402 *-*-*) ;;
   4403 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4404 esac
   4405 build=$ac_cv_build
   4406 ac_save_IFS=$IFS; IFS='-'
   4407 set x $ac_cv_build
   4408 shift
   4409 build_cpu=$1
   4410 build_vendor=$2
   4411 shift; shift
   4412 # Remember, the first character of IFS is used to create $*,
   4413 # except with old shells:
   4414 build_os=$*
   4415 IFS=$ac_save_IFS
   4416 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4417 
   4418 
   4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4420 $as_echo_n "checking host system type... " >&6; }
   4421 if ${ac_cv_host+:} false; then :
   4422   $as_echo_n "(cached) " >&6
   4423 else
   4424   if test "x$host_alias" = x; then
   4425   ac_cv_host=$ac_cv_build
   4426 else
   4427   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4428     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4429 fi
   4430 
   4431 fi
   4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4433 $as_echo "$ac_cv_host" >&6; }
   4434 case $ac_cv_host in
   4435 *-*-*) ;;
   4436 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4437 esac
   4438 host=$ac_cv_host
   4439 ac_save_IFS=$IFS; IFS='-'
   4440 set x $ac_cv_host
   4441 shift
   4442 host_cpu=$1
   4443 host_vendor=$2
   4444 shift; shift
   4445 # Remember, the first character of IFS is used to create $*,
   4446 # except with old shells:
   4447 host_os=$*
   4448 IFS=$ac_save_IFS
   4449 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4450 
   4451 
   4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4453 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4454 if ${ac_cv_path_SED+:} false; then :
   4455   $as_echo_n "(cached) " >&6
   4456 else
   4457             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4458      for ac_i in 1 2 3 4 5 6 7; do
   4459        ac_script="$ac_script$as_nl$ac_script"
   4460      done
   4461      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4462      { ac_script=; unset ac_script;}
   4463      if test -z "$SED"; then
   4464   ac_path_SED_found=false
   4465   # Loop through the user's path and test for each of PROGNAME-LIST
   4466   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4467 for as_dir in $PATH
   4468 do
   4469   IFS=$as_save_IFS
   4470   test -z "$as_dir" && as_dir=.
   4471     for ac_prog in sed gsed; do
   4472     for ac_exec_ext in '' $ac_executable_extensions; do
   4473       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4474       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4475 # Check for GNU ac_path_SED and select it if it is found.
   4476   # Check for GNU $ac_path_SED
   4477 case `"$ac_path_SED" --version 2>&1` in
   4478 *GNU*)
   4479   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4480 *)
   4481   ac_count=0
   4482   $as_echo_n 0123456789 >"conftest.in"
   4483   while :
   4484   do
   4485     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4486     mv "conftest.tmp" "conftest.in"
   4487     cp "conftest.in" "conftest.nl"
   4488     $as_echo '' >> "conftest.nl"
   4489     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4490     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4491     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4492     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4493       # Best one so far, save it but keep looking for a better one
   4494       ac_cv_path_SED="$ac_path_SED"
   4495       ac_path_SED_max=$ac_count
   4496     fi
   4497     # 10*(2^10) chars as input seems more than enough
   4498     test $ac_count -gt 10 && break
   4499   done
   4500   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4501 esac
   4502 
   4503       $ac_path_SED_found && break 3
   4504     done
   4505   done
   4506   done
   4507 IFS=$as_save_IFS
   4508   if test -z "$ac_cv_path_SED"; then
   4509     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4510   fi
   4511 else
   4512   ac_cv_path_SED=$SED
   4513 fi
   4514 
   4515 fi
   4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4517 $as_echo "$ac_cv_path_SED" >&6; }
   4518  SED="$ac_cv_path_SED"
   4519   rm -f conftest.sed
   4520 
   4521 
   4522 
   4523 
   4524 
   4525 
   4526 # Check whether --enable-selective-werror was given.
   4527 if test "${enable_selective_werror+set}" = set; then :
   4528   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4529 else
   4530   SELECTIVE_WERROR=yes
   4531 fi
   4532 
   4533 
   4534 
   4535 
   4536 
   4537 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4538 if test "x$SUNCC" = "xyes"; then
   4539     BASE_CFLAGS="-v"
   4540 else
   4541     BASE_CFLAGS=""
   4542 fi
   4543 
   4544 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4545 
   4546 
   4547 
   4548 
   4549 
   4550 
   4551 
   4552 
   4553 
   4554 
   4555 
   4556 
   4557 
   4558 xorg_testset_save_CFLAGS="$CFLAGS"
   4559 
   4560 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4561 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4562 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4563 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4564 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4565   $as_echo_n "(cached) " >&6
   4566 else
   4567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4568 /* end confdefs.h.  */
   4569 int i;
   4570 _ACEOF
   4571 if ac_fn_c_try_compile "$LINENO"; then :
   4572   xorg_cv_cc_flag_unknown_warning_option=yes
   4573 else
   4574   xorg_cv_cc_flag_unknown_warning_option=no
   4575 fi
   4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4577 fi
   4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4579 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4580 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4581 	CFLAGS="$xorg_testset_save_CFLAGS"
   4582 fi
   4583 
   4584 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4585 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4586 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4587 	fi
   4588 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4589 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4590 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4591 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4592   $as_echo_n "(cached) " >&6
   4593 else
   4594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4595 /* end confdefs.h.  */
   4596 int i;
   4597 _ACEOF
   4598 if ac_fn_c_try_compile "$LINENO"; then :
   4599   xorg_cv_cc_flag_unused_command_line_argument=yes
   4600 else
   4601   xorg_cv_cc_flag_unused_command_line_argument=no
   4602 fi
   4603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4604 fi
   4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4606 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4607 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4608 	CFLAGS="$xorg_testset_save_CFLAGS"
   4609 fi
   4610 
   4611 found="no"
   4612 
   4613 	if test $found = "no" ; then
   4614 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4615 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4616 		fi
   4617 
   4618 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4619 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4620 		fi
   4621 
   4622 		CFLAGS="$CFLAGS -Wall"
   4623 
   4624 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4625 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4626 		cacheid=xorg_cv_cc_flag__Wall
   4627 		if eval \${$cacheid+:} false; then :
   4628   $as_echo_n "(cached) " >&6
   4629 else
   4630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4631 /* end confdefs.h.  */
   4632 int i;
   4633 int
   4634 main ()
   4635 {
   4636 
   4637   ;
   4638   return 0;
   4639 }
   4640 _ACEOF
   4641 if ac_fn_c_try_link "$LINENO"; then :
   4642   eval $cacheid=yes
   4643 else
   4644   eval $cacheid=no
   4645 fi
   4646 rm -f core conftest.err conftest.$ac_objext \
   4647     conftest$ac_exeext conftest.$ac_ext
   4648 fi
   4649 
   4650 
   4651 		CFLAGS="$xorg_testset_save_CFLAGS"
   4652 
   4653 		eval supported=\$$cacheid
   4654 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4655 $as_echo "$supported" >&6; }
   4656 		if test "$supported" = "yes" ; then
   4657 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4658 			found="yes"
   4659 		fi
   4660 	fi
   4661 
   4662 
   4663 
   4664 
   4665 
   4666 
   4667 
   4668 
   4669 
   4670 
   4671 
   4672 
   4673 
   4674 
   4675 
   4676 xorg_testset_save_CFLAGS="$CFLAGS"
   4677 
   4678 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4679 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4680 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4681 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4682 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4683   $as_echo_n "(cached) " >&6
   4684 else
   4685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4686 /* end confdefs.h.  */
   4687 int i;
   4688 _ACEOF
   4689 if ac_fn_c_try_compile "$LINENO"; then :
   4690   xorg_cv_cc_flag_unknown_warning_option=yes
   4691 else
   4692   xorg_cv_cc_flag_unknown_warning_option=no
   4693 fi
   4694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4695 fi
   4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4697 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4698 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4699 	CFLAGS="$xorg_testset_save_CFLAGS"
   4700 fi
   4701 
   4702 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4703 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4704 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4705 	fi
   4706 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4707 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4708 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4709 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4710   $as_echo_n "(cached) " >&6
   4711 else
   4712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4713 /* end confdefs.h.  */
   4714 int i;
   4715 _ACEOF
   4716 if ac_fn_c_try_compile "$LINENO"; then :
   4717   xorg_cv_cc_flag_unused_command_line_argument=yes
   4718 else
   4719   xorg_cv_cc_flag_unused_command_line_argument=no
   4720 fi
   4721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4722 fi
   4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4724 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4725 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4726 	CFLAGS="$xorg_testset_save_CFLAGS"
   4727 fi
   4728 
   4729 found="no"
   4730 
   4731 	if test $found = "no" ; then
   4732 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4733 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4734 		fi
   4735 
   4736 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4737 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4738 		fi
   4739 
   4740 		CFLAGS="$CFLAGS -Wpointer-arith"
   4741 
   4742 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4743 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4744 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4745 		if eval \${$cacheid+:} false; then :
   4746   $as_echo_n "(cached) " >&6
   4747 else
   4748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4749 /* end confdefs.h.  */
   4750 int i;
   4751 int
   4752 main ()
   4753 {
   4754 
   4755   ;
   4756   return 0;
   4757 }
   4758 _ACEOF
   4759 if ac_fn_c_try_link "$LINENO"; then :
   4760   eval $cacheid=yes
   4761 else
   4762   eval $cacheid=no
   4763 fi
   4764 rm -f core conftest.err conftest.$ac_objext \
   4765     conftest$ac_exeext conftest.$ac_ext
   4766 fi
   4767 
   4768 
   4769 		CFLAGS="$xorg_testset_save_CFLAGS"
   4770 
   4771 		eval supported=\$$cacheid
   4772 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4773 $as_echo "$supported" >&6; }
   4774 		if test "$supported" = "yes" ; then
   4775 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4776 			found="yes"
   4777 		fi
   4778 	fi
   4779 
   4780 
   4781 
   4782 
   4783 
   4784 
   4785 
   4786 
   4787 
   4788 
   4789 
   4790 
   4791 
   4792 
   4793 
   4794 xorg_testset_save_CFLAGS="$CFLAGS"
   4795 
   4796 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4797 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4798 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4799 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4800 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4801   $as_echo_n "(cached) " >&6
   4802 else
   4803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4804 /* end confdefs.h.  */
   4805 int i;
   4806 _ACEOF
   4807 if ac_fn_c_try_compile "$LINENO"; then :
   4808   xorg_cv_cc_flag_unknown_warning_option=yes
   4809 else
   4810   xorg_cv_cc_flag_unknown_warning_option=no
   4811 fi
   4812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4813 fi
   4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4815 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4816 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4817 	CFLAGS="$xorg_testset_save_CFLAGS"
   4818 fi
   4819 
   4820 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4821 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4822 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4823 	fi
   4824 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4825 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4826 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4827 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4828   $as_echo_n "(cached) " >&6
   4829 else
   4830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4831 /* end confdefs.h.  */
   4832 int i;
   4833 _ACEOF
   4834 if ac_fn_c_try_compile "$LINENO"; then :
   4835   xorg_cv_cc_flag_unused_command_line_argument=yes
   4836 else
   4837   xorg_cv_cc_flag_unused_command_line_argument=no
   4838 fi
   4839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4840 fi
   4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4842 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4843 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4844 	CFLAGS="$xorg_testset_save_CFLAGS"
   4845 fi
   4846 
   4847 found="no"
   4848 
   4849 	if test $found = "no" ; then
   4850 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4851 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4852 		fi
   4853 
   4854 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4855 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4856 		fi
   4857 
   4858 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4859 
   4860 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4861 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4862 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   4863 		if eval \${$cacheid+:} false; then :
   4864   $as_echo_n "(cached) " >&6
   4865 else
   4866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4867 /* end confdefs.h.  */
   4868 int i;
   4869 int
   4870 main ()
   4871 {
   4872 
   4873   ;
   4874   return 0;
   4875 }
   4876 _ACEOF
   4877 if ac_fn_c_try_link "$LINENO"; then :
   4878   eval $cacheid=yes
   4879 else
   4880   eval $cacheid=no
   4881 fi
   4882 rm -f core conftest.err conftest.$ac_objext \
   4883     conftest$ac_exeext conftest.$ac_ext
   4884 fi
   4885 
   4886 
   4887 		CFLAGS="$xorg_testset_save_CFLAGS"
   4888 
   4889 		eval supported=\$$cacheid
   4890 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4891 $as_echo "$supported" >&6; }
   4892 		if test "$supported" = "yes" ; then
   4893 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   4894 			found="yes"
   4895 		fi
   4896 	fi
   4897 
   4898 
   4899 
   4900 
   4901 
   4902 
   4903 
   4904 
   4905 
   4906 
   4907 
   4908 
   4909 
   4910 
   4911 
   4912 xorg_testset_save_CFLAGS="$CFLAGS"
   4913 
   4914 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4915 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4916 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4917 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4918 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4919   $as_echo_n "(cached) " >&6
   4920 else
   4921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4922 /* end confdefs.h.  */
   4923 int i;
   4924 _ACEOF
   4925 if ac_fn_c_try_compile "$LINENO"; then :
   4926   xorg_cv_cc_flag_unknown_warning_option=yes
   4927 else
   4928   xorg_cv_cc_flag_unknown_warning_option=no
   4929 fi
   4930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4931 fi
   4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4933 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4934 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4935 	CFLAGS="$xorg_testset_save_CFLAGS"
   4936 fi
   4937 
   4938 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4939 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4940 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4941 	fi
   4942 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4943 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4944 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4945 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4946   $as_echo_n "(cached) " >&6
   4947 else
   4948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4949 /* end confdefs.h.  */
   4950 int i;
   4951 _ACEOF
   4952 if ac_fn_c_try_compile "$LINENO"; then :
   4953   xorg_cv_cc_flag_unused_command_line_argument=yes
   4954 else
   4955   xorg_cv_cc_flag_unused_command_line_argument=no
   4956 fi
   4957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4958 fi
   4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4960 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4961 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4962 	CFLAGS="$xorg_testset_save_CFLAGS"
   4963 fi
   4964 
   4965 found="no"
   4966 
   4967 	if test $found = "no" ; then
   4968 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4969 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4970 		fi
   4971 
   4972 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4973 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4974 		fi
   4975 
   4976 		CFLAGS="$CFLAGS -Wformat=2"
   4977 
   4978 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   4979 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   4980 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   4981 		if eval \${$cacheid+:} false; then :
   4982   $as_echo_n "(cached) " >&6
   4983 else
   4984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4985 /* end confdefs.h.  */
   4986 int i;
   4987 int
   4988 main ()
   4989 {
   4990 
   4991   ;
   4992   return 0;
   4993 }
   4994 _ACEOF
   4995 if ac_fn_c_try_link "$LINENO"; then :
   4996   eval $cacheid=yes
   4997 else
   4998   eval $cacheid=no
   4999 fi
   5000 rm -f core conftest.err conftest.$ac_objext \
   5001     conftest$ac_exeext conftest.$ac_ext
   5002 fi
   5003 
   5004 
   5005 		CFLAGS="$xorg_testset_save_CFLAGS"
   5006 
   5007 		eval supported=\$$cacheid
   5008 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5009 $as_echo "$supported" >&6; }
   5010 		if test "$supported" = "yes" ; then
   5011 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5012 			found="yes"
   5013 		fi
   5014 	fi
   5015 
   5016 	if test $found = "no" ; then
   5017 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5018 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5019 		fi
   5020 
   5021 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5022 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5023 		fi
   5024 
   5025 		CFLAGS="$CFLAGS -Wformat"
   5026 
   5027 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5028 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5029 		cacheid=xorg_cv_cc_flag__Wformat
   5030 		if eval \${$cacheid+:} false; then :
   5031   $as_echo_n "(cached) " >&6
   5032 else
   5033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5034 /* end confdefs.h.  */
   5035 int i;
   5036 int
   5037 main ()
   5038 {
   5039 
   5040   ;
   5041   return 0;
   5042 }
   5043 _ACEOF
   5044 if ac_fn_c_try_link "$LINENO"; then :
   5045   eval $cacheid=yes
   5046 else
   5047   eval $cacheid=no
   5048 fi
   5049 rm -f core conftest.err conftest.$ac_objext \
   5050     conftest$ac_exeext conftest.$ac_ext
   5051 fi
   5052 
   5053 
   5054 		CFLAGS="$xorg_testset_save_CFLAGS"
   5055 
   5056 		eval supported=\$$cacheid
   5057 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5058 $as_echo "$supported" >&6; }
   5059 		if test "$supported" = "yes" ; then
   5060 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5061 			found="yes"
   5062 		fi
   5063 	fi
   5064 
   5065 
   5066 
   5067 
   5068 
   5069 
   5070 
   5071 
   5072 
   5073 
   5074 
   5075 
   5076 
   5077 
   5078 
   5079 
   5080 
   5081 xorg_testset_save_CFLAGS="$CFLAGS"
   5082 
   5083 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5084 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5085 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5086 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5087 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5088   $as_echo_n "(cached) " >&6
   5089 else
   5090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5091 /* end confdefs.h.  */
   5092 int i;
   5093 _ACEOF
   5094 if ac_fn_c_try_compile "$LINENO"; then :
   5095   xorg_cv_cc_flag_unknown_warning_option=yes
   5096 else
   5097   xorg_cv_cc_flag_unknown_warning_option=no
   5098 fi
   5099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5100 fi
   5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5102 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5103 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5104 	CFLAGS="$xorg_testset_save_CFLAGS"
   5105 fi
   5106 
   5107 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5108 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5109 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5110 	fi
   5111 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5112 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5113 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5114 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5115   $as_echo_n "(cached) " >&6
   5116 else
   5117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5118 /* end confdefs.h.  */
   5119 int i;
   5120 _ACEOF
   5121 if ac_fn_c_try_compile "$LINENO"; then :
   5122   xorg_cv_cc_flag_unused_command_line_argument=yes
   5123 else
   5124   xorg_cv_cc_flag_unused_command_line_argument=no
   5125 fi
   5126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5127 fi
   5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5129 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5130 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5131 	CFLAGS="$xorg_testset_save_CFLAGS"
   5132 fi
   5133 
   5134 found="no"
   5135 
   5136 	if test $found = "no" ; then
   5137 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5138 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5139 		fi
   5140 
   5141 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5142 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5143 		fi
   5144 
   5145 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5146 
   5147 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5148 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5149 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5150 		if eval \${$cacheid+:} false; then :
   5151   $as_echo_n "(cached) " >&6
   5152 else
   5153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5154 /* end confdefs.h.  */
   5155 int i;
   5156 int
   5157 main ()
   5158 {
   5159 
   5160   ;
   5161   return 0;
   5162 }
   5163 _ACEOF
   5164 if ac_fn_c_try_link "$LINENO"; then :
   5165   eval $cacheid=yes
   5166 else
   5167   eval $cacheid=no
   5168 fi
   5169 rm -f core conftest.err conftest.$ac_objext \
   5170     conftest$ac_exeext conftest.$ac_ext
   5171 fi
   5172 
   5173 
   5174 		CFLAGS="$xorg_testset_save_CFLAGS"
   5175 
   5176 		eval supported=\$$cacheid
   5177 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5178 $as_echo "$supported" >&6; }
   5179 		if test "$supported" = "yes" ; then
   5180 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5181 			found="yes"
   5182 		fi
   5183 	fi
   5184 
   5185 
   5186 
   5187 
   5188 
   5189 
   5190 
   5191 
   5192 
   5193 
   5194 
   5195 
   5196 
   5197 
   5198 
   5199 xorg_testset_save_CFLAGS="$CFLAGS"
   5200 
   5201 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5202 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5203 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5204 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5205 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5206   $as_echo_n "(cached) " >&6
   5207 else
   5208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5209 /* end confdefs.h.  */
   5210 int i;
   5211 _ACEOF
   5212 if ac_fn_c_try_compile "$LINENO"; then :
   5213   xorg_cv_cc_flag_unknown_warning_option=yes
   5214 else
   5215   xorg_cv_cc_flag_unknown_warning_option=no
   5216 fi
   5217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5218 fi
   5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5220 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5221 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5222 	CFLAGS="$xorg_testset_save_CFLAGS"
   5223 fi
   5224 
   5225 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5226 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5227 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5228 	fi
   5229 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5230 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5231 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5232 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5233   $as_echo_n "(cached) " >&6
   5234 else
   5235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5236 /* end confdefs.h.  */
   5237 int i;
   5238 _ACEOF
   5239 if ac_fn_c_try_compile "$LINENO"; then :
   5240   xorg_cv_cc_flag_unused_command_line_argument=yes
   5241 else
   5242   xorg_cv_cc_flag_unused_command_line_argument=no
   5243 fi
   5244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5245 fi
   5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5247 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5248 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5249 	CFLAGS="$xorg_testset_save_CFLAGS"
   5250 fi
   5251 
   5252 found="no"
   5253 
   5254 	if test $found = "no" ; then
   5255 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5256 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5257 		fi
   5258 
   5259 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5260 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5261 		fi
   5262 
   5263 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5264 
   5265 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5266 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5267 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5268 		if eval \${$cacheid+:} false; then :
   5269   $as_echo_n "(cached) " >&6
   5270 else
   5271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5272 /* end confdefs.h.  */
   5273 int i;
   5274 int
   5275 main ()
   5276 {
   5277 
   5278   ;
   5279   return 0;
   5280 }
   5281 _ACEOF
   5282 if ac_fn_c_try_link "$LINENO"; then :
   5283   eval $cacheid=yes
   5284 else
   5285   eval $cacheid=no
   5286 fi
   5287 rm -f core conftest.err conftest.$ac_objext \
   5288     conftest$ac_exeext conftest.$ac_ext
   5289 fi
   5290 
   5291 
   5292 		CFLAGS="$xorg_testset_save_CFLAGS"
   5293 
   5294 		eval supported=\$$cacheid
   5295 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5296 $as_echo "$supported" >&6; }
   5297 		if test "$supported" = "yes" ; then
   5298 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5299 			found="yes"
   5300 		fi
   5301 	fi
   5302 
   5303 
   5304 
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 xorg_testset_save_CFLAGS="$CFLAGS"
   5318 
   5319 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5320 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5321 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5322 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5323 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5324   $as_echo_n "(cached) " >&6
   5325 else
   5326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5327 /* end confdefs.h.  */
   5328 int i;
   5329 _ACEOF
   5330 if ac_fn_c_try_compile "$LINENO"; then :
   5331   xorg_cv_cc_flag_unknown_warning_option=yes
   5332 else
   5333   xorg_cv_cc_flag_unknown_warning_option=no
   5334 fi
   5335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5336 fi
   5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5338 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5339 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5340 	CFLAGS="$xorg_testset_save_CFLAGS"
   5341 fi
   5342 
   5343 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5344 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5345 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5346 	fi
   5347 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5348 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5349 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5350 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5351   $as_echo_n "(cached) " >&6
   5352 else
   5353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5354 /* end confdefs.h.  */
   5355 int i;
   5356 _ACEOF
   5357 if ac_fn_c_try_compile "$LINENO"; then :
   5358   xorg_cv_cc_flag_unused_command_line_argument=yes
   5359 else
   5360   xorg_cv_cc_flag_unused_command_line_argument=no
   5361 fi
   5362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5363 fi
   5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5365 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5366 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5367 	CFLAGS="$xorg_testset_save_CFLAGS"
   5368 fi
   5369 
   5370 found="no"
   5371 
   5372 	if test $found = "no" ; then
   5373 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5374 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5375 		fi
   5376 
   5377 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5378 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5379 		fi
   5380 
   5381 		CFLAGS="$CFLAGS -Wnested-externs"
   5382 
   5383 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5384 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5385 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5386 		if eval \${$cacheid+:} false; then :
   5387   $as_echo_n "(cached) " >&6
   5388 else
   5389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5390 /* end confdefs.h.  */
   5391 int i;
   5392 int
   5393 main ()
   5394 {
   5395 
   5396   ;
   5397   return 0;
   5398 }
   5399 _ACEOF
   5400 if ac_fn_c_try_link "$LINENO"; then :
   5401   eval $cacheid=yes
   5402 else
   5403   eval $cacheid=no
   5404 fi
   5405 rm -f core conftest.err conftest.$ac_objext \
   5406     conftest$ac_exeext conftest.$ac_ext
   5407 fi
   5408 
   5409 
   5410 		CFLAGS="$xorg_testset_save_CFLAGS"
   5411 
   5412 		eval supported=\$$cacheid
   5413 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5414 $as_echo "$supported" >&6; }
   5415 		if test "$supported" = "yes" ; then
   5416 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5417 			found="yes"
   5418 		fi
   5419 	fi
   5420 
   5421 
   5422 
   5423 
   5424 
   5425 
   5426 
   5427 
   5428 
   5429 
   5430 
   5431 
   5432 
   5433 
   5434 
   5435 xorg_testset_save_CFLAGS="$CFLAGS"
   5436 
   5437 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5438 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5439 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5440 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5441 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5442   $as_echo_n "(cached) " >&6
   5443 else
   5444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5445 /* end confdefs.h.  */
   5446 int i;
   5447 _ACEOF
   5448 if ac_fn_c_try_compile "$LINENO"; then :
   5449   xorg_cv_cc_flag_unknown_warning_option=yes
   5450 else
   5451   xorg_cv_cc_flag_unknown_warning_option=no
   5452 fi
   5453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5454 fi
   5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5456 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5457 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5458 	CFLAGS="$xorg_testset_save_CFLAGS"
   5459 fi
   5460 
   5461 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5462 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5463 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5464 	fi
   5465 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5466 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5467 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5468 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5469   $as_echo_n "(cached) " >&6
   5470 else
   5471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5472 /* end confdefs.h.  */
   5473 int i;
   5474 _ACEOF
   5475 if ac_fn_c_try_compile "$LINENO"; then :
   5476   xorg_cv_cc_flag_unused_command_line_argument=yes
   5477 else
   5478   xorg_cv_cc_flag_unused_command_line_argument=no
   5479 fi
   5480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5481 fi
   5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5483 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5484 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5485 	CFLAGS="$xorg_testset_save_CFLAGS"
   5486 fi
   5487 
   5488 found="no"
   5489 
   5490 	if test $found = "no" ; then
   5491 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5492 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5493 		fi
   5494 
   5495 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5496 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5497 		fi
   5498 
   5499 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5500 
   5501 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5502 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5503 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5504 		if eval \${$cacheid+:} false; then :
   5505   $as_echo_n "(cached) " >&6
   5506 else
   5507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5508 /* end confdefs.h.  */
   5509 int i;
   5510 int
   5511 main ()
   5512 {
   5513 
   5514   ;
   5515   return 0;
   5516 }
   5517 _ACEOF
   5518 if ac_fn_c_try_link "$LINENO"; then :
   5519   eval $cacheid=yes
   5520 else
   5521   eval $cacheid=no
   5522 fi
   5523 rm -f core conftest.err conftest.$ac_objext \
   5524     conftest$ac_exeext conftest.$ac_ext
   5525 fi
   5526 
   5527 
   5528 		CFLAGS="$xorg_testset_save_CFLAGS"
   5529 
   5530 		eval supported=\$$cacheid
   5531 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5532 $as_echo "$supported" >&6; }
   5533 		if test "$supported" = "yes" ; then
   5534 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5535 			found="yes"
   5536 		fi
   5537 	fi
   5538 
   5539 
   5540 
   5541 
   5542 
   5543 
   5544 
   5545 
   5546 
   5547 
   5548 
   5549 
   5550 
   5551 
   5552 
   5553 xorg_testset_save_CFLAGS="$CFLAGS"
   5554 
   5555 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5556 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5557 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5558 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5559 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5560   $as_echo_n "(cached) " >&6
   5561 else
   5562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5563 /* end confdefs.h.  */
   5564 int i;
   5565 _ACEOF
   5566 if ac_fn_c_try_compile "$LINENO"; then :
   5567   xorg_cv_cc_flag_unknown_warning_option=yes
   5568 else
   5569   xorg_cv_cc_flag_unknown_warning_option=no
   5570 fi
   5571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5572 fi
   5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5574 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5575 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5576 	CFLAGS="$xorg_testset_save_CFLAGS"
   5577 fi
   5578 
   5579 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5580 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5581 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5582 	fi
   5583 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5584 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5585 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5586 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5587   $as_echo_n "(cached) " >&6
   5588 else
   5589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5590 /* end confdefs.h.  */
   5591 int i;
   5592 _ACEOF
   5593 if ac_fn_c_try_compile "$LINENO"; then :
   5594   xorg_cv_cc_flag_unused_command_line_argument=yes
   5595 else
   5596   xorg_cv_cc_flag_unused_command_line_argument=no
   5597 fi
   5598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5599 fi
   5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5601 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5602 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5603 	CFLAGS="$xorg_testset_save_CFLAGS"
   5604 fi
   5605 
   5606 found="no"
   5607 
   5608 	if test $found = "no" ; then
   5609 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5610 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5611 		fi
   5612 
   5613 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5614 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5615 		fi
   5616 
   5617 		CFLAGS="$CFLAGS -Wold-style-definition"
   5618 
   5619 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5620 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5621 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5622 		if eval \${$cacheid+:} false; then :
   5623   $as_echo_n "(cached) " >&6
   5624 else
   5625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5626 /* end confdefs.h.  */
   5627 int i;
   5628 int
   5629 main ()
   5630 {
   5631 
   5632   ;
   5633   return 0;
   5634 }
   5635 _ACEOF
   5636 if ac_fn_c_try_link "$LINENO"; then :
   5637   eval $cacheid=yes
   5638 else
   5639   eval $cacheid=no
   5640 fi
   5641 rm -f core conftest.err conftest.$ac_objext \
   5642     conftest$ac_exeext conftest.$ac_ext
   5643 fi
   5644 
   5645 
   5646 		CFLAGS="$xorg_testset_save_CFLAGS"
   5647 
   5648 		eval supported=\$$cacheid
   5649 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5650 $as_echo "$supported" >&6; }
   5651 		if test "$supported" = "yes" ; then
   5652 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5653 			found="yes"
   5654 		fi
   5655 	fi
   5656 
   5657 
   5658 
   5659 
   5660 
   5661 
   5662 
   5663 
   5664 
   5665 
   5666 
   5667 
   5668 
   5669 
   5670 
   5671 xorg_testset_save_CFLAGS="$CFLAGS"
   5672 
   5673 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5674 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5675 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5676 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5677 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5678   $as_echo_n "(cached) " >&6
   5679 else
   5680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5681 /* end confdefs.h.  */
   5682 int i;
   5683 _ACEOF
   5684 if ac_fn_c_try_compile "$LINENO"; then :
   5685   xorg_cv_cc_flag_unknown_warning_option=yes
   5686 else
   5687   xorg_cv_cc_flag_unknown_warning_option=no
   5688 fi
   5689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5690 fi
   5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5692 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5693 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5694 	CFLAGS="$xorg_testset_save_CFLAGS"
   5695 fi
   5696 
   5697 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5698 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5699 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5700 	fi
   5701 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5702 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5703 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5704 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5705   $as_echo_n "(cached) " >&6
   5706 else
   5707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5708 /* end confdefs.h.  */
   5709 int i;
   5710 _ACEOF
   5711 if ac_fn_c_try_compile "$LINENO"; then :
   5712   xorg_cv_cc_flag_unused_command_line_argument=yes
   5713 else
   5714   xorg_cv_cc_flag_unused_command_line_argument=no
   5715 fi
   5716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5717 fi
   5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5719 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5720 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5721 	CFLAGS="$xorg_testset_save_CFLAGS"
   5722 fi
   5723 
   5724 found="no"
   5725 
   5726 	if test $found = "no" ; then
   5727 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5728 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5729 		fi
   5730 
   5731 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5732 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5733 		fi
   5734 
   5735 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5736 
   5737 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5738 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5739 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5740 		if eval \${$cacheid+:} false; then :
   5741   $as_echo_n "(cached) " >&6
   5742 else
   5743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5744 /* end confdefs.h.  */
   5745 int i;
   5746 int
   5747 main ()
   5748 {
   5749 
   5750   ;
   5751   return 0;
   5752 }
   5753 _ACEOF
   5754 if ac_fn_c_try_link "$LINENO"; then :
   5755   eval $cacheid=yes
   5756 else
   5757   eval $cacheid=no
   5758 fi
   5759 rm -f core conftest.err conftest.$ac_objext \
   5760     conftest$ac_exeext conftest.$ac_ext
   5761 fi
   5762 
   5763 
   5764 		CFLAGS="$xorg_testset_save_CFLAGS"
   5765 
   5766 		eval supported=\$$cacheid
   5767 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5768 $as_echo "$supported" >&6; }
   5769 		if test "$supported" = "yes" ; then
   5770 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5771 			found="yes"
   5772 		fi
   5773 	fi
   5774 
   5775 
   5776 
   5777 
   5778 
   5779 # This chunk adds additional warnings that could catch undesired effects.
   5780 
   5781 
   5782 
   5783 
   5784 
   5785 
   5786 
   5787 
   5788 
   5789 
   5790 
   5791 
   5792 
   5793 xorg_testset_save_CFLAGS="$CFLAGS"
   5794 
   5795 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5796 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5797 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5798 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5799 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5800   $as_echo_n "(cached) " >&6
   5801 else
   5802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5803 /* end confdefs.h.  */
   5804 int i;
   5805 _ACEOF
   5806 if ac_fn_c_try_compile "$LINENO"; then :
   5807   xorg_cv_cc_flag_unknown_warning_option=yes
   5808 else
   5809   xorg_cv_cc_flag_unknown_warning_option=no
   5810 fi
   5811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5812 fi
   5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5814 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5815 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5816 	CFLAGS="$xorg_testset_save_CFLAGS"
   5817 fi
   5818 
   5819 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5820 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5821 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5822 	fi
   5823 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5824 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5825 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5826 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5827   $as_echo_n "(cached) " >&6
   5828 else
   5829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5830 /* end confdefs.h.  */
   5831 int i;
   5832 _ACEOF
   5833 if ac_fn_c_try_compile "$LINENO"; then :
   5834   xorg_cv_cc_flag_unused_command_line_argument=yes
   5835 else
   5836   xorg_cv_cc_flag_unused_command_line_argument=no
   5837 fi
   5838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5839 fi
   5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5841 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5842 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5843 	CFLAGS="$xorg_testset_save_CFLAGS"
   5844 fi
   5845 
   5846 found="no"
   5847 
   5848 	if test $found = "no" ; then
   5849 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5850 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5851 		fi
   5852 
   5853 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5854 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5855 		fi
   5856 
   5857 		CFLAGS="$CFLAGS -Wunused"
   5858 
   5859 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   5860 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   5861 		cacheid=xorg_cv_cc_flag__Wunused
   5862 		if eval \${$cacheid+:} false; then :
   5863   $as_echo_n "(cached) " >&6
   5864 else
   5865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5866 /* end confdefs.h.  */
   5867 int i;
   5868 int
   5869 main ()
   5870 {
   5871 
   5872   ;
   5873   return 0;
   5874 }
   5875 _ACEOF
   5876 if ac_fn_c_try_link "$LINENO"; then :
   5877   eval $cacheid=yes
   5878 else
   5879   eval $cacheid=no
   5880 fi
   5881 rm -f core conftest.err conftest.$ac_objext \
   5882     conftest$ac_exeext conftest.$ac_ext
   5883 fi
   5884 
   5885 
   5886 		CFLAGS="$xorg_testset_save_CFLAGS"
   5887 
   5888 		eval supported=\$$cacheid
   5889 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5890 $as_echo "$supported" >&6; }
   5891 		if test "$supported" = "yes" ; then
   5892 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   5893 			found="yes"
   5894 		fi
   5895 	fi
   5896 
   5897 
   5898 
   5899 
   5900 
   5901 
   5902 
   5903 
   5904 
   5905 
   5906 
   5907 
   5908 
   5909 
   5910 
   5911 xorg_testset_save_CFLAGS="$CFLAGS"
   5912 
   5913 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5914 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5915 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5916 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5917 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5918   $as_echo_n "(cached) " >&6
   5919 else
   5920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5921 /* end confdefs.h.  */
   5922 int i;
   5923 _ACEOF
   5924 if ac_fn_c_try_compile "$LINENO"; then :
   5925   xorg_cv_cc_flag_unknown_warning_option=yes
   5926 else
   5927   xorg_cv_cc_flag_unknown_warning_option=no
   5928 fi
   5929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5930 fi
   5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5932 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5933 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5934 	CFLAGS="$xorg_testset_save_CFLAGS"
   5935 fi
   5936 
   5937 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5938 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5939 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5940 	fi
   5941 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5942 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5943 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5944 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5945   $as_echo_n "(cached) " >&6
   5946 else
   5947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5948 /* end confdefs.h.  */
   5949 int i;
   5950 _ACEOF
   5951 if ac_fn_c_try_compile "$LINENO"; then :
   5952   xorg_cv_cc_flag_unused_command_line_argument=yes
   5953 else
   5954   xorg_cv_cc_flag_unused_command_line_argument=no
   5955 fi
   5956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5957 fi
   5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5959 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5960 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5961 	CFLAGS="$xorg_testset_save_CFLAGS"
   5962 fi
   5963 
   5964 found="no"
   5965 
   5966 	if test $found = "no" ; then
   5967 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5968 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5969 		fi
   5970 
   5971 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5972 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5973 		fi
   5974 
   5975 		CFLAGS="$CFLAGS -Wuninitialized"
   5976 
   5977 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   5978 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   5979 		cacheid=xorg_cv_cc_flag__Wuninitialized
   5980 		if eval \${$cacheid+:} false; then :
   5981   $as_echo_n "(cached) " >&6
   5982 else
   5983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5984 /* end confdefs.h.  */
   5985 int i;
   5986 int
   5987 main ()
   5988 {
   5989 
   5990   ;
   5991   return 0;
   5992 }
   5993 _ACEOF
   5994 if ac_fn_c_try_link "$LINENO"; then :
   5995   eval $cacheid=yes
   5996 else
   5997   eval $cacheid=no
   5998 fi
   5999 rm -f core conftest.err conftest.$ac_objext \
   6000     conftest$ac_exeext conftest.$ac_ext
   6001 fi
   6002 
   6003 
   6004 		CFLAGS="$xorg_testset_save_CFLAGS"
   6005 
   6006 		eval supported=\$$cacheid
   6007 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6008 $as_echo "$supported" >&6; }
   6009 		if test "$supported" = "yes" ; then
   6010 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6011 			found="yes"
   6012 		fi
   6013 	fi
   6014 
   6015 
   6016 
   6017 
   6018 
   6019 
   6020 
   6021 
   6022 
   6023 
   6024 
   6025 
   6026 
   6027 
   6028 
   6029 xorg_testset_save_CFLAGS="$CFLAGS"
   6030 
   6031 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6032 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6033 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6034 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6035 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6036   $as_echo_n "(cached) " >&6
   6037 else
   6038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6039 /* end confdefs.h.  */
   6040 int i;
   6041 _ACEOF
   6042 if ac_fn_c_try_compile "$LINENO"; then :
   6043   xorg_cv_cc_flag_unknown_warning_option=yes
   6044 else
   6045   xorg_cv_cc_flag_unknown_warning_option=no
   6046 fi
   6047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6048 fi
   6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6050 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6051 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6052 	CFLAGS="$xorg_testset_save_CFLAGS"
   6053 fi
   6054 
   6055 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6056 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6057 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6058 	fi
   6059 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6060 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6061 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6062 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6063   $as_echo_n "(cached) " >&6
   6064 else
   6065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6066 /* end confdefs.h.  */
   6067 int i;
   6068 _ACEOF
   6069 if ac_fn_c_try_compile "$LINENO"; then :
   6070   xorg_cv_cc_flag_unused_command_line_argument=yes
   6071 else
   6072   xorg_cv_cc_flag_unused_command_line_argument=no
   6073 fi
   6074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6075 fi
   6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6077 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6078 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6079 	CFLAGS="$xorg_testset_save_CFLAGS"
   6080 fi
   6081 
   6082 found="no"
   6083 
   6084 	if test $found = "no" ; then
   6085 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6086 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6087 		fi
   6088 
   6089 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6090 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6091 		fi
   6092 
   6093 		CFLAGS="$CFLAGS -Wshadow"
   6094 
   6095 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6096 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6097 		cacheid=xorg_cv_cc_flag__Wshadow
   6098 		if eval \${$cacheid+:} false; then :
   6099   $as_echo_n "(cached) " >&6
   6100 else
   6101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6102 /* end confdefs.h.  */
   6103 int i;
   6104 int
   6105 main ()
   6106 {
   6107 
   6108   ;
   6109   return 0;
   6110 }
   6111 _ACEOF
   6112 if ac_fn_c_try_link "$LINENO"; then :
   6113   eval $cacheid=yes
   6114 else
   6115   eval $cacheid=no
   6116 fi
   6117 rm -f core conftest.err conftest.$ac_objext \
   6118     conftest$ac_exeext conftest.$ac_ext
   6119 fi
   6120 
   6121 
   6122 		CFLAGS="$xorg_testset_save_CFLAGS"
   6123 
   6124 		eval supported=\$$cacheid
   6125 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6126 $as_echo "$supported" >&6; }
   6127 		if test "$supported" = "yes" ; then
   6128 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6129 			found="yes"
   6130 		fi
   6131 	fi
   6132 
   6133 
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 
   6140 
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 
   6147 xorg_testset_save_CFLAGS="$CFLAGS"
   6148 
   6149 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6150 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6151 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6152 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6153 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6154   $as_echo_n "(cached) " >&6
   6155 else
   6156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6157 /* end confdefs.h.  */
   6158 int i;
   6159 _ACEOF
   6160 if ac_fn_c_try_compile "$LINENO"; then :
   6161   xorg_cv_cc_flag_unknown_warning_option=yes
   6162 else
   6163   xorg_cv_cc_flag_unknown_warning_option=no
   6164 fi
   6165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6166 fi
   6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6168 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6169 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6170 	CFLAGS="$xorg_testset_save_CFLAGS"
   6171 fi
   6172 
   6173 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6174 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6175 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6176 	fi
   6177 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6178 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6179 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6180 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6181   $as_echo_n "(cached) " >&6
   6182 else
   6183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6184 /* end confdefs.h.  */
   6185 int i;
   6186 _ACEOF
   6187 if ac_fn_c_try_compile "$LINENO"; then :
   6188   xorg_cv_cc_flag_unused_command_line_argument=yes
   6189 else
   6190   xorg_cv_cc_flag_unused_command_line_argument=no
   6191 fi
   6192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6193 fi
   6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6195 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6196 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6197 	CFLAGS="$xorg_testset_save_CFLAGS"
   6198 fi
   6199 
   6200 found="no"
   6201 
   6202 	if test $found = "no" ; then
   6203 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6204 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6205 		fi
   6206 
   6207 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6208 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6209 		fi
   6210 
   6211 		CFLAGS="$CFLAGS -Wcast-qual"
   6212 
   6213 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6214 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6215 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6216 		if eval \${$cacheid+:} false; then :
   6217   $as_echo_n "(cached) " >&6
   6218 else
   6219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6220 /* end confdefs.h.  */
   6221 int i;
   6222 int
   6223 main ()
   6224 {
   6225 
   6226   ;
   6227   return 0;
   6228 }
   6229 _ACEOF
   6230 if ac_fn_c_try_link "$LINENO"; then :
   6231   eval $cacheid=yes
   6232 else
   6233   eval $cacheid=no
   6234 fi
   6235 rm -f core conftest.err conftest.$ac_objext \
   6236     conftest$ac_exeext conftest.$ac_ext
   6237 fi
   6238 
   6239 
   6240 		CFLAGS="$xorg_testset_save_CFLAGS"
   6241 
   6242 		eval supported=\$$cacheid
   6243 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6244 $as_echo "$supported" >&6; }
   6245 		if test "$supported" = "yes" ; then
   6246 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6247 			found="yes"
   6248 		fi
   6249 	fi
   6250 
   6251 
   6252 
   6253 
   6254 
   6255 
   6256 
   6257 
   6258 
   6259 
   6260 
   6261 
   6262 
   6263 
   6264 
   6265 xorg_testset_save_CFLAGS="$CFLAGS"
   6266 
   6267 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6268 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6269 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6270 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6271 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6272   $as_echo_n "(cached) " >&6
   6273 else
   6274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6275 /* end confdefs.h.  */
   6276 int i;
   6277 _ACEOF
   6278 if ac_fn_c_try_compile "$LINENO"; then :
   6279   xorg_cv_cc_flag_unknown_warning_option=yes
   6280 else
   6281   xorg_cv_cc_flag_unknown_warning_option=no
   6282 fi
   6283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6284 fi
   6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6286 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6287 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6288 	CFLAGS="$xorg_testset_save_CFLAGS"
   6289 fi
   6290 
   6291 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6292 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6293 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6294 	fi
   6295 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6296 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6297 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6298 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6299   $as_echo_n "(cached) " >&6
   6300 else
   6301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6302 /* end confdefs.h.  */
   6303 int i;
   6304 _ACEOF
   6305 if ac_fn_c_try_compile "$LINENO"; then :
   6306   xorg_cv_cc_flag_unused_command_line_argument=yes
   6307 else
   6308   xorg_cv_cc_flag_unused_command_line_argument=no
   6309 fi
   6310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6311 fi
   6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6313 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6314 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6315 	CFLAGS="$xorg_testset_save_CFLAGS"
   6316 fi
   6317 
   6318 found="no"
   6319 
   6320 	if test $found = "no" ; then
   6321 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6322 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6323 		fi
   6324 
   6325 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6326 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6327 		fi
   6328 
   6329 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6330 
   6331 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6332 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6333 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6334 		if eval \${$cacheid+:} false; then :
   6335   $as_echo_n "(cached) " >&6
   6336 else
   6337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6338 /* end confdefs.h.  */
   6339 int i;
   6340 int
   6341 main ()
   6342 {
   6343 
   6344   ;
   6345   return 0;
   6346 }
   6347 _ACEOF
   6348 if ac_fn_c_try_link "$LINENO"; then :
   6349   eval $cacheid=yes
   6350 else
   6351   eval $cacheid=no
   6352 fi
   6353 rm -f core conftest.err conftest.$ac_objext \
   6354     conftest$ac_exeext conftest.$ac_ext
   6355 fi
   6356 
   6357 
   6358 		CFLAGS="$xorg_testset_save_CFLAGS"
   6359 
   6360 		eval supported=\$$cacheid
   6361 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6362 $as_echo "$supported" >&6; }
   6363 		if test "$supported" = "yes" ; then
   6364 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6365 			found="yes"
   6366 		fi
   6367 	fi
   6368 
   6369 
   6370 
   6371 
   6372 
   6373 
   6374 
   6375 
   6376 
   6377 
   6378 
   6379 
   6380 
   6381 
   6382 
   6383 xorg_testset_save_CFLAGS="$CFLAGS"
   6384 
   6385 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6386 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6387 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6388 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6389 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6390   $as_echo_n "(cached) " >&6
   6391 else
   6392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6393 /* end confdefs.h.  */
   6394 int i;
   6395 _ACEOF
   6396 if ac_fn_c_try_compile "$LINENO"; then :
   6397   xorg_cv_cc_flag_unknown_warning_option=yes
   6398 else
   6399   xorg_cv_cc_flag_unknown_warning_option=no
   6400 fi
   6401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6402 fi
   6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6404 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6405 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6406 	CFLAGS="$xorg_testset_save_CFLAGS"
   6407 fi
   6408 
   6409 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6410 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6411 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6412 	fi
   6413 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6414 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6415 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6416 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6417   $as_echo_n "(cached) " >&6
   6418 else
   6419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6420 /* end confdefs.h.  */
   6421 int i;
   6422 _ACEOF
   6423 if ac_fn_c_try_compile "$LINENO"; then :
   6424   xorg_cv_cc_flag_unused_command_line_argument=yes
   6425 else
   6426   xorg_cv_cc_flag_unused_command_line_argument=no
   6427 fi
   6428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6429 fi
   6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6431 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6432 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6433 	CFLAGS="$xorg_testset_save_CFLAGS"
   6434 fi
   6435 
   6436 found="no"
   6437 
   6438 	if test $found = "no" ; then
   6439 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6440 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6441 		fi
   6442 
   6443 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6444 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6445 		fi
   6446 
   6447 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6448 
   6449 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6450 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6451 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6452 		if eval \${$cacheid+:} false; then :
   6453   $as_echo_n "(cached) " >&6
   6454 else
   6455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6456 /* end confdefs.h.  */
   6457 int i;
   6458 int
   6459 main ()
   6460 {
   6461 
   6462   ;
   6463   return 0;
   6464 }
   6465 _ACEOF
   6466 if ac_fn_c_try_link "$LINENO"; then :
   6467   eval $cacheid=yes
   6468 else
   6469   eval $cacheid=no
   6470 fi
   6471 rm -f core conftest.err conftest.$ac_objext \
   6472     conftest$ac_exeext conftest.$ac_ext
   6473 fi
   6474 
   6475 
   6476 		CFLAGS="$xorg_testset_save_CFLAGS"
   6477 
   6478 		eval supported=\$$cacheid
   6479 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6480 $as_echo "$supported" >&6; }
   6481 		if test "$supported" = "yes" ; then
   6482 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6483 			found="yes"
   6484 		fi
   6485 	fi
   6486 
   6487 
   6488 
   6489 
   6490 
   6491 
   6492 
   6493 
   6494 
   6495 
   6496 
   6497 
   6498 
   6499 
   6500 
   6501 xorg_testset_save_CFLAGS="$CFLAGS"
   6502 
   6503 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6504 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6505 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6506 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6507 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6508   $as_echo_n "(cached) " >&6
   6509 else
   6510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6511 /* end confdefs.h.  */
   6512 int i;
   6513 _ACEOF
   6514 if ac_fn_c_try_compile "$LINENO"; then :
   6515   xorg_cv_cc_flag_unknown_warning_option=yes
   6516 else
   6517   xorg_cv_cc_flag_unknown_warning_option=no
   6518 fi
   6519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6520 fi
   6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6522 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6523 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6524 	CFLAGS="$xorg_testset_save_CFLAGS"
   6525 fi
   6526 
   6527 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6528 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6529 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6530 	fi
   6531 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6532 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6533 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6534 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6535   $as_echo_n "(cached) " >&6
   6536 else
   6537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6538 /* end confdefs.h.  */
   6539 int i;
   6540 _ACEOF
   6541 if ac_fn_c_try_compile "$LINENO"; then :
   6542   xorg_cv_cc_flag_unused_command_line_argument=yes
   6543 else
   6544   xorg_cv_cc_flag_unused_command_line_argument=no
   6545 fi
   6546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6547 fi
   6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6549 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6550 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6551 	CFLAGS="$xorg_testset_save_CFLAGS"
   6552 fi
   6553 
   6554 found="no"
   6555 
   6556 	if test $found = "no" ; then
   6557 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6558 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6559 		fi
   6560 
   6561 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6562 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6563 		fi
   6564 
   6565 		CFLAGS="$CFLAGS -Wredundant-decls"
   6566 
   6567 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6568 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6569 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6570 		if eval \${$cacheid+:} false; then :
   6571   $as_echo_n "(cached) " >&6
   6572 else
   6573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6574 /* end confdefs.h.  */
   6575 int i;
   6576 int
   6577 main ()
   6578 {
   6579 
   6580   ;
   6581   return 0;
   6582 }
   6583 _ACEOF
   6584 if ac_fn_c_try_link "$LINENO"; then :
   6585   eval $cacheid=yes
   6586 else
   6587   eval $cacheid=no
   6588 fi
   6589 rm -f core conftest.err conftest.$ac_objext \
   6590     conftest$ac_exeext conftest.$ac_ext
   6591 fi
   6592 
   6593 
   6594 		CFLAGS="$xorg_testset_save_CFLAGS"
   6595 
   6596 		eval supported=\$$cacheid
   6597 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6598 $as_echo "$supported" >&6; }
   6599 		if test "$supported" = "yes" ; then
   6600 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6601 			found="yes"
   6602 		fi
   6603 	fi
   6604 
   6605 
   6606 
   6607 # These are currently disabled because they are noisy.  They will be enabled
   6608 # in the future once the codebase is sufficiently modernized to silence
   6609 # them.  For now, I don't want them to drown out the other warnings.
   6610 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6611 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6612 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6613 
   6614 # Turn some warnings into errors, so we don't accidently get successful builds
   6615 # when there are problems that should be fixed.
   6616 
   6617 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6618 
   6619 
   6620 
   6621 
   6622 
   6623 
   6624 
   6625 
   6626 
   6627 
   6628 
   6629 
   6630 
   6631 xorg_testset_save_CFLAGS="$CFLAGS"
   6632 
   6633 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6634 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6635 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6636 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6637 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6638   $as_echo_n "(cached) " >&6
   6639 else
   6640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6641 /* end confdefs.h.  */
   6642 int i;
   6643 _ACEOF
   6644 if ac_fn_c_try_compile "$LINENO"; then :
   6645   xorg_cv_cc_flag_unknown_warning_option=yes
   6646 else
   6647   xorg_cv_cc_flag_unknown_warning_option=no
   6648 fi
   6649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6650 fi
   6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6652 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6653 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6654 	CFLAGS="$xorg_testset_save_CFLAGS"
   6655 fi
   6656 
   6657 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6658 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6659 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6660 	fi
   6661 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6662 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6663 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6664 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6665   $as_echo_n "(cached) " >&6
   6666 else
   6667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6668 /* end confdefs.h.  */
   6669 int i;
   6670 _ACEOF
   6671 if ac_fn_c_try_compile "$LINENO"; then :
   6672   xorg_cv_cc_flag_unused_command_line_argument=yes
   6673 else
   6674   xorg_cv_cc_flag_unused_command_line_argument=no
   6675 fi
   6676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6677 fi
   6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6679 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6680 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6681 	CFLAGS="$xorg_testset_save_CFLAGS"
   6682 fi
   6683 
   6684 found="no"
   6685 
   6686 	if test $found = "no" ; then
   6687 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6688 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6689 		fi
   6690 
   6691 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6692 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6693 		fi
   6694 
   6695 		CFLAGS="$CFLAGS -Werror=implicit"
   6696 
   6697 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6698 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6699 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   6700 		if eval \${$cacheid+:} false; then :
   6701   $as_echo_n "(cached) " >&6
   6702 else
   6703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6704 /* end confdefs.h.  */
   6705 int i;
   6706 int
   6707 main ()
   6708 {
   6709 
   6710   ;
   6711   return 0;
   6712 }
   6713 _ACEOF
   6714 if ac_fn_c_try_link "$LINENO"; then :
   6715   eval $cacheid=yes
   6716 else
   6717   eval $cacheid=no
   6718 fi
   6719 rm -f core conftest.err conftest.$ac_objext \
   6720     conftest$ac_exeext conftest.$ac_ext
   6721 fi
   6722 
   6723 
   6724 		CFLAGS="$xorg_testset_save_CFLAGS"
   6725 
   6726 		eval supported=\$$cacheid
   6727 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6728 $as_echo "$supported" >&6; }
   6729 		if test "$supported" = "yes" ; then
   6730 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6731 			found="yes"
   6732 		fi
   6733 	fi
   6734 
   6735 	if test $found = "no" ; then
   6736 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6737 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6738 		fi
   6739 
   6740 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6741 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6742 		fi
   6743 
   6744 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6745 
   6746 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6747 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6748 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   6749 		if eval \${$cacheid+:} false; then :
   6750   $as_echo_n "(cached) " >&6
   6751 else
   6752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6753 /* end confdefs.h.  */
   6754 int i;
   6755 int
   6756 main ()
   6757 {
   6758 
   6759   ;
   6760   return 0;
   6761 }
   6762 _ACEOF
   6763 if ac_fn_c_try_link "$LINENO"; then :
   6764   eval $cacheid=yes
   6765 else
   6766   eval $cacheid=no
   6767 fi
   6768 rm -f core conftest.err conftest.$ac_objext \
   6769     conftest$ac_exeext conftest.$ac_ext
   6770 fi
   6771 
   6772 
   6773 		CFLAGS="$xorg_testset_save_CFLAGS"
   6774 
   6775 		eval supported=\$$cacheid
   6776 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6777 $as_echo "$supported" >&6; }
   6778 		if test "$supported" = "yes" ; then
   6779 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6780 			found="yes"
   6781 		fi
   6782 	fi
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 
   6792 
   6793 
   6794 
   6795 
   6796 
   6797 
   6798 xorg_testset_save_CFLAGS="$CFLAGS"
   6799 
   6800 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6801 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6802 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6803 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6804 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6805   $as_echo_n "(cached) " >&6
   6806 else
   6807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6808 /* end confdefs.h.  */
   6809 int i;
   6810 _ACEOF
   6811 if ac_fn_c_try_compile "$LINENO"; then :
   6812   xorg_cv_cc_flag_unknown_warning_option=yes
   6813 else
   6814   xorg_cv_cc_flag_unknown_warning_option=no
   6815 fi
   6816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6817 fi
   6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6819 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6820 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6821 	CFLAGS="$xorg_testset_save_CFLAGS"
   6822 fi
   6823 
   6824 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6825 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6826 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6827 	fi
   6828 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6829 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6830 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6831 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6832   $as_echo_n "(cached) " >&6
   6833 else
   6834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6835 /* end confdefs.h.  */
   6836 int i;
   6837 _ACEOF
   6838 if ac_fn_c_try_compile "$LINENO"; then :
   6839   xorg_cv_cc_flag_unused_command_line_argument=yes
   6840 else
   6841   xorg_cv_cc_flag_unused_command_line_argument=no
   6842 fi
   6843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6844 fi
   6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6846 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6847 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6848 	CFLAGS="$xorg_testset_save_CFLAGS"
   6849 fi
   6850 
   6851 found="no"
   6852 
   6853 	if test $found = "no" ; then
   6854 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6855 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6856 		fi
   6857 
   6858 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6859 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6860 		fi
   6861 
   6862 		CFLAGS="$CFLAGS -Werror=nonnull"
   6863 
   6864 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   6865 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   6866 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   6867 		if eval \${$cacheid+:} false; then :
   6868   $as_echo_n "(cached) " >&6
   6869 else
   6870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6871 /* end confdefs.h.  */
   6872 int i;
   6873 int
   6874 main ()
   6875 {
   6876 
   6877   ;
   6878   return 0;
   6879 }
   6880 _ACEOF
   6881 if ac_fn_c_try_link "$LINENO"; then :
   6882   eval $cacheid=yes
   6883 else
   6884   eval $cacheid=no
   6885 fi
   6886 rm -f core conftest.err conftest.$ac_objext \
   6887     conftest$ac_exeext conftest.$ac_ext
   6888 fi
   6889 
   6890 
   6891 		CFLAGS="$xorg_testset_save_CFLAGS"
   6892 
   6893 		eval supported=\$$cacheid
   6894 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6895 $as_echo "$supported" >&6; }
   6896 		if test "$supported" = "yes" ; then
   6897 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   6898 			found="yes"
   6899 		fi
   6900 	fi
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 
   6914 
   6915 
   6916 xorg_testset_save_CFLAGS="$CFLAGS"
   6917 
   6918 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6919 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6920 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6921 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6922 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6923   $as_echo_n "(cached) " >&6
   6924 else
   6925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6926 /* end confdefs.h.  */
   6927 int i;
   6928 _ACEOF
   6929 if ac_fn_c_try_compile "$LINENO"; then :
   6930   xorg_cv_cc_flag_unknown_warning_option=yes
   6931 else
   6932   xorg_cv_cc_flag_unknown_warning_option=no
   6933 fi
   6934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6935 fi
   6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6937 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6938 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6939 	CFLAGS="$xorg_testset_save_CFLAGS"
   6940 fi
   6941 
   6942 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6943 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6944 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6945 	fi
   6946 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6947 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6948 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6949 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6950   $as_echo_n "(cached) " >&6
   6951 else
   6952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6953 /* end confdefs.h.  */
   6954 int i;
   6955 _ACEOF
   6956 if ac_fn_c_try_compile "$LINENO"; then :
   6957   xorg_cv_cc_flag_unused_command_line_argument=yes
   6958 else
   6959   xorg_cv_cc_flag_unused_command_line_argument=no
   6960 fi
   6961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6962 fi
   6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6964 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6965 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6966 	CFLAGS="$xorg_testset_save_CFLAGS"
   6967 fi
   6968 
   6969 found="no"
   6970 
   6971 	if test $found = "no" ; then
   6972 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6973 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6974 		fi
   6975 
   6976 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6977 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6978 		fi
   6979 
   6980 		CFLAGS="$CFLAGS -Werror=init-self"
   6981 
   6982 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   6983 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   6984 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   6985 		if eval \${$cacheid+:} false; then :
   6986   $as_echo_n "(cached) " >&6
   6987 else
   6988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6989 /* end confdefs.h.  */
   6990 int i;
   6991 int
   6992 main ()
   6993 {
   6994 
   6995   ;
   6996   return 0;
   6997 }
   6998 _ACEOF
   6999 if ac_fn_c_try_link "$LINENO"; then :
   7000   eval $cacheid=yes
   7001 else
   7002   eval $cacheid=no
   7003 fi
   7004 rm -f core conftest.err conftest.$ac_objext \
   7005     conftest$ac_exeext conftest.$ac_ext
   7006 fi
   7007 
   7008 
   7009 		CFLAGS="$xorg_testset_save_CFLAGS"
   7010 
   7011 		eval supported=\$$cacheid
   7012 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7013 $as_echo "$supported" >&6; }
   7014 		if test "$supported" = "yes" ; then
   7015 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7016 			found="yes"
   7017 		fi
   7018 	fi
   7019 
   7020 
   7021 
   7022 
   7023 
   7024 
   7025 
   7026 
   7027 
   7028 
   7029 
   7030 
   7031 
   7032 
   7033 
   7034 xorg_testset_save_CFLAGS="$CFLAGS"
   7035 
   7036 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7037 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7038 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7039 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7040 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7041   $as_echo_n "(cached) " >&6
   7042 else
   7043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7044 /* end confdefs.h.  */
   7045 int i;
   7046 _ACEOF
   7047 if ac_fn_c_try_compile "$LINENO"; then :
   7048   xorg_cv_cc_flag_unknown_warning_option=yes
   7049 else
   7050   xorg_cv_cc_flag_unknown_warning_option=no
   7051 fi
   7052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7053 fi
   7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7055 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7056 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7057 	CFLAGS="$xorg_testset_save_CFLAGS"
   7058 fi
   7059 
   7060 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7061 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7062 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7063 	fi
   7064 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7065 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7066 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7067 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7068   $as_echo_n "(cached) " >&6
   7069 else
   7070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7071 /* end confdefs.h.  */
   7072 int i;
   7073 _ACEOF
   7074 if ac_fn_c_try_compile "$LINENO"; then :
   7075   xorg_cv_cc_flag_unused_command_line_argument=yes
   7076 else
   7077   xorg_cv_cc_flag_unused_command_line_argument=no
   7078 fi
   7079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7080 fi
   7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7082 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7083 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7084 	CFLAGS="$xorg_testset_save_CFLAGS"
   7085 fi
   7086 
   7087 found="no"
   7088 
   7089 	if test $found = "no" ; then
   7090 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7091 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7092 		fi
   7093 
   7094 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7095 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7096 		fi
   7097 
   7098 		CFLAGS="$CFLAGS -Werror=main"
   7099 
   7100 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7101 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7102 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   7103 		if eval \${$cacheid+:} false; then :
   7104   $as_echo_n "(cached) " >&6
   7105 else
   7106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7107 /* end confdefs.h.  */
   7108 int i;
   7109 int
   7110 main ()
   7111 {
   7112 
   7113   ;
   7114   return 0;
   7115 }
   7116 _ACEOF
   7117 if ac_fn_c_try_link "$LINENO"; then :
   7118   eval $cacheid=yes
   7119 else
   7120   eval $cacheid=no
   7121 fi
   7122 rm -f core conftest.err conftest.$ac_objext \
   7123     conftest$ac_exeext conftest.$ac_ext
   7124 fi
   7125 
   7126 
   7127 		CFLAGS="$xorg_testset_save_CFLAGS"
   7128 
   7129 		eval supported=\$$cacheid
   7130 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7131 $as_echo "$supported" >&6; }
   7132 		if test "$supported" = "yes" ; then
   7133 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7134 			found="yes"
   7135 		fi
   7136 	fi
   7137 
   7138 
   7139 
   7140 
   7141 
   7142 
   7143 
   7144 
   7145 
   7146 
   7147 
   7148 
   7149 
   7150 
   7151 
   7152 xorg_testset_save_CFLAGS="$CFLAGS"
   7153 
   7154 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7155 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7156 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7157 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7158 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7159   $as_echo_n "(cached) " >&6
   7160 else
   7161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7162 /* end confdefs.h.  */
   7163 int i;
   7164 _ACEOF
   7165 if ac_fn_c_try_compile "$LINENO"; then :
   7166   xorg_cv_cc_flag_unknown_warning_option=yes
   7167 else
   7168   xorg_cv_cc_flag_unknown_warning_option=no
   7169 fi
   7170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7171 fi
   7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7173 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7174 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7175 	CFLAGS="$xorg_testset_save_CFLAGS"
   7176 fi
   7177 
   7178 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7179 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7180 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7181 	fi
   7182 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7183 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7184 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7185 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7186   $as_echo_n "(cached) " >&6
   7187 else
   7188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7189 /* end confdefs.h.  */
   7190 int i;
   7191 _ACEOF
   7192 if ac_fn_c_try_compile "$LINENO"; then :
   7193   xorg_cv_cc_flag_unused_command_line_argument=yes
   7194 else
   7195   xorg_cv_cc_flag_unused_command_line_argument=no
   7196 fi
   7197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7198 fi
   7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7200 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7201 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7202 	CFLAGS="$xorg_testset_save_CFLAGS"
   7203 fi
   7204 
   7205 found="no"
   7206 
   7207 	if test $found = "no" ; then
   7208 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7209 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7210 		fi
   7211 
   7212 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7213 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7214 		fi
   7215 
   7216 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7217 
   7218 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7219 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7220 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   7221 		if eval \${$cacheid+:} false; then :
   7222   $as_echo_n "(cached) " >&6
   7223 else
   7224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7225 /* end confdefs.h.  */
   7226 int i;
   7227 int
   7228 main ()
   7229 {
   7230 
   7231   ;
   7232   return 0;
   7233 }
   7234 _ACEOF
   7235 if ac_fn_c_try_link "$LINENO"; then :
   7236   eval $cacheid=yes
   7237 else
   7238   eval $cacheid=no
   7239 fi
   7240 rm -f core conftest.err conftest.$ac_objext \
   7241     conftest$ac_exeext conftest.$ac_ext
   7242 fi
   7243 
   7244 
   7245 		CFLAGS="$xorg_testset_save_CFLAGS"
   7246 
   7247 		eval supported=\$$cacheid
   7248 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7249 $as_echo "$supported" >&6; }
   7250 		if test "$supported" = "yes" ; then
   7251 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7252 			found="yes"
   7253 		fi
   7254 	fi
   7255 
   7256 
   7257 
   7258 
   7259 
   7260 
   7261 
   7262 
   7263 
   7264 
   7265 
   7266 
   7267 
   7268 
   7269 
   7270 xorg_testset_save_CFLAGS="$CFLAGS"
   7271 
   7272 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7273 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7274 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7275 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7276 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7277   $as_echo_n "(cached) " >&6
   7278 else
   7279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7280 /* end confdefs.h.  */
   7281 int i;
   7282 _ACEOF
   7283 if ac_fn_c_try_compile "$LINENO"; then :
   7284   xorg_cv_cc_flag_unknown_warning_option=yes
   7285 else
   7286   xorg_cv_cc_flag_unknown_warning_option=no
   7287 fi
   7288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7289 fi
   7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7291 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7292 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7293 	CFLAGS="$xorg_testset_save_CFLAGS"
   7294 fi
   7295 
   7296 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7297 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7298 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7299 	fi
   7300 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7301 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7302 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7303 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7304   $as_echo_n "(cached) " >&6
   7305 else
   7306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7307 /* end confdefs.h.  */
   7308 int i;
   7309 _ACEOF
   7310 if ac_fn_c_try_compile "$LINENO"; then :
   7311   xorg_cv_cc_flag_unused_command_line_argument=yes
   7312 else
   7313   xorg_cv_cc_flag_unused_command_line_argument=no
   7314 fi
   7315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7316 fi
   7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7318 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7319 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7320 	CFLAGS="$xorg_testset_save_CFLAGS"
   7321 fi
   7322 
   7323 found="no"
   7324 
   7325 	if test $found = "no" ; then
   7326 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7327 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7328 		fi
   7329 
   7330 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7331 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7332 		fi
   7333 
   7334 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7335 
   7336 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7337 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7338 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   7339 		if eval \${$cacheid+:} false; then :
   7340   $as_echo_n "(cached) " >&6
   7341 else
   7342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7343 /* end confdefs.h.  */
   7344 int i;
   7345 int
   7346 main ()
   7347 {
   7348 
   7349   ;
   7350   return 0;
   7351 }
   7352 _ACEOF
   7353 if ac_fn_c_try_link "$LINENO"; then :
   7354   eval $cacheid=yes
   7355 else
   7356   eval $cacheid=no
   7357 fi
   7358 rm -f core conftest.err conftest.$ac_objext \
   7359     conftest$ac_exeext conftest.$ac_ext
   7360 fi
   7361 
   7362 
   7363 		CFLAGS="$xorg_testset_save_CFLAGS"
   7364 
   7365 		eval supported=\$$cacheid
   7366 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7367 $as_echo "$supported" >&6; }
   7368 		if test "$supported" = "yes" ; then
   7369 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7370 			found="yes"
   7371 		fi
   7372 	fi
   7373 
   7374 
   7375 
   7376 
   7377 
   7378 
   7379 
   7380 
   7381 
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 xorg_testset_save_CFLAGS="$CFLAGS"
   7389 
   7390 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7391 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7392 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7393 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7394 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7395   $as_echo_n "(cached) " >&6
   7396 else
   7397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7398 /* end confdefs.h.  */
   7399 int i;
   7400 _ACEOF
   7401 if ac_fn_c_try_compile "$LINENO"; then :
   7402   xorg_cv_cc_flag_unknown_warning_option=yes
   7403 else
   7404   xorg_cv_cc_flag_unknown_warning_option=no
   7405 fi
   7406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7407 fi
   7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7409 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7410 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7411 	CFLAGS="$xorg_testset_save_CFLAGS"
   7412 fi
   7413 
   7414 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7415 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7416 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7417 	fi
   7418 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7419 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7420 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7421 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7422   $as_echo_n "(cached) " >&6
   7423 else
   7424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7425 /* end confdefs.h.  */
   7426 int i;
   7427 _ACEOF
   7428 if ac_fn_c_try_compile "$LINENO"; then :
   7429   xorg_cv_cc_flag_unused_command_line_argument=yes
   7430 else
   7431   xorg_cv_cc_flag_unused_command_line_argument=no
   7432 fi
   7433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7434 fi
   7435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7436 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7437 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7438 	CFLAGS="$xorg_testset_save_CFLAGS"
   7439 fi
   7440 
   7441 found="no"
   7442 
   7443 	if test $found = "no" ; then
   7444 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7445 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7446 		fi
   7447 
   7448 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7449 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7450 		fi
   7451 
   7452 		CFLAGS="$CFLAGS -Werror=return-type"
   7453 
   7454 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7455 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7456 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   7457 		if eval \${$cacheid+:} false; then :
   7458   $as_echo_n "(cached) " >&6
   7459 else
   7460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7461 /* end confdefs.h.  */
   7462 int i;
   7463 int
   7464 main ()
   7465 {
   7466 
   7467   ;
   7468   return 0;
   7469 }
   7470 _ACEOF
   7471 if ac_fn_c_try_link "$LINENO"; then :
   7472   eval $cacheid=yes
   7473 else
   7474   eval $cacheid=no
   7475 fi
   7476 rm -f core conftest.err conftest.$ac_objext \
   7477     conftest$ac_exeext conftest.$ac_ext
   7478 fi
   7479 
   7480 
   7481 		CFLAGS="$xorg_testset_save_CFLAGS"
   7482 
   7483 		eval supported=\$$cacheid
   7484 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7485 $as_echo "$supported" >&6; }
   7486 		if test "$supported" = "yes" ; then
   7487 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7488 			found="yes"
   7489 		fi
   7490 	fi
   7491 
   7492 	if test $found = "no" ; then
   7493 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7494 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7495 		fi
   7496 
   7497 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7498 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7499 		fi
   7500 
   7501 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7502 
   7503 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7504 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7505 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   7506 		if eval \${$cacheid+:} false; then :
   7507   $as_echo_n "(cached) " >&6
   7508 else
   7509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7510 /* end confdefs.h.  */
   7511 int i;
   7512 int
   7513 main ()
   7514 {
   7515 
   7516   ;
   7517   return 0;
   7518 }
   7519 _ACEOF
   7520 if ac_fn_c_try_link "$LINENO"; then :
   7521   eval $cacheid=yes
   7522 else
   7523   eval $cacheid=no
   7524 fi
   7525 rm -f core conftest.err conftest.$ac_objext \
   7526     conftest$ac_exeext conftest.$ac_ext
   7527 fi
   7528 
   7529 
   7530 		CFLAGS="$xorg_testset_save_CFLAGS"
   7531 
   7532 		eval supported=\$$cacheid
   7533 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7534 $as_echo "$supported" >&6; }
   7535 		if test "$supported" = "yes" ; then
   7536 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7537 			found="yes"
   7538 		fi
   7539 	fi
   7540 
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 
   7553 
   7554 
   7555 xorg_testset_save_CFLAGS="$CFLAGS"
   7556 
   7557 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7558 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7559 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7560 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7561 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7562   $as_echo_n "(cached) " >&6
   7563 else
   7564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7565 /* end confdefs.h.  */
   7566 int i;
   7567 _ACEOF
   7568 if ac_fn_c_try_compile "$LINENO"; then :
   7569   xorg_cv_cc_flag_unknown_warning_option=yes
   7570 else
   7571   xorg_cv_cc_flag_unknown_warning_option=no
   7572 fi
   7573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7574 fi
   7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7576 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7577 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7578 	CFLAGS="$xorg_testset_save_CFLAGS"
   7579 fi
   7580 
   7581 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7582 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7583 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7584 	fi
   7585 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7586 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7587 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7588 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7589   $as_echo_n "(cached) " >&6
   7590 else
   7591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7592 /* end confdefs.h.  */
   7593 int i;
   7594 _ACEOF
   7595 if ac_fn_c_try_compile "$LINENO"; then :
   7596   xorg_cv_cc_flag_unused_command_line_argument=yes
   7597 else
   7598   xorg_cv_cc_flag_unused_command_line_argument=no
   7599 fi
   7600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7601 fi
   7602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7603 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7604 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7605 	CFLAGS="$xorg_testset_save_CFLAGS"
   7606 fi
   7607 
   7608 found="no"
   7609 
   7610 	if test $found = "no" ; then
   7611 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7612 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7613 		fi
   7614 
   7615 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7616 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7617 		fi
   7618 
   7619 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7620 
   7621 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7622 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7623 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   7624 		if eval \${$cacheid+:} false; then :
   7625   $as_echo_n "(cached) " >&6
   7626 else
   7627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7628 /* end confdefs.h.  */
   7629 int i;
   7630 int
   7631 main ()
   7632 {
   7633 
   7634   ;
   7635   return 0;
   7636 }
   7637 _ACEOF
   7638 if ac_fn_c_try_link "$LINENO"; then :
   7639   eval $cacheid=yes
   7640 else
   7641   eval $cacheid=no
   7642 fi
   7643 rm -f core conftest.err conftest.$ac_objext \
   7644     conftest$ac_exeext conftest.$ac_ext
   7645 fi
   7646 
   7647 
   7648 		CFLAGS="$xorg_testset_save_CFLAGS"
   7649 
   7650 		eval supported=\$$cacheid
   7651 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7652 $as_echo "$supported" >&6; }
   7653 		if test "$supported" = "yes" ; then
   7654 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7655 			found="yes"
   7656 		fi
   7657 	fi
   7658 
   7659 
   7660 
   7661 
   7662 
   7663 
   7664 
   7665 
   7666 
   7667 
   7668 
   7669 
   7670 
   7671 
   7672 
   7673 xorg_testset_save_CFLAGS="$CFLAGS"
   7674 
   7675 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7676 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7677 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7678 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7679 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7680   $as_echo_n "(cached) " >&6
   7681 else
   7682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7683 /* end confdefs.h.  */
   7684 int i;
   7685 _ACEOF
   7686 if ac_fn_c_try_compile "$LINENO"; then :
   7687   xorg_cv_cc_flag_unknown_warning_option=yes
   7688 else
   7689   xorg_cv_cc_flag_unknown_warning_option=no
   7690 fi
   7691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7692 fi
   7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7694 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7695 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7696 	CFLAGS="$xorg_testset_save_CFLAGS"
   7697 fi
   7698 
   7699 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7700 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7701 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7702 	fi
   7703 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7704 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7705 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7706 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7707   $as_echo_n "(cached) " >&6
   7708 else
   7709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7710 /* end confdefs.h.  */
   7711 int i;
   7712 _ACEOF
   7713 if ac_fn_c_try_compile "$LINENO"; then :
   7714   xorg_cv_cc_flag_unused_command_line_argument=yes
   7715 else
   7716   xorg_cv_cc_flag_unused_command_line_argument=no
   7717 fi
   7718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7719 fi
   7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7721 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7722 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7723 	CFLAGS="$xorg_testset_save_CFLAGS"
   7724 fi
   7725 
   7726 found="no"
   7727 
   7728 	if test $found = "no" ; then
   7729 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7730 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7731 		fi
   7732 
   7733 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7734 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7735 		fi
   7736 
   7737 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7738 
   7739 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7740 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7741 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   7742 		if eval \${$cacheid+:} false; then :
   7743   $as_echo_n "(cached) " >&6
   7744 else
   7745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7746 /* end confdefs.h.  */
   7747 int i;
   7748 int
   7749 main ()
   7750 {
   7751 
   7752   ;
   7753   return 0;
   7754 }
   7755 _ACEOF
   7756 if ac_fn_c_try_link "$LINENO"; then :
   7757   eval $cacheid=yes
   7758 else
   7759   eval $cacheid=no
   7760 fi
   7761 rm -f core conftest.err conftest.$ac_objext \
   7762     conftest$ac_exeext conftest.$ac_ext
   7763 fi
   7764 
   7765 
   7766 		CFLAGS="$xorg_testset_save_CFLAGS"
   7767 
   7768 		eval supported=\$$cacheid
   7769 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7770 $as_echo "$supported" >&6; }
   7771 		if test "$supported" = "yes" ; then
   7772 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7773 			found="yes"
   7774 		fi
   7775 	fi
   7776 
   7777 
   7778 
   7779 
   7780 
   7781 
   7782 
   7783 
   7784 
   7785 
   7786 
   7787 
   7788 
   7789 
   7790 
   7791 xorg_testset_save_CFLAGS="$CFLAGS"
   7792 
   7793 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7794 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7795 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7796 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7797 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7798   $as_echo_n "(cached) " >&6
   7799 else
   7800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7801 /* end confdefs.h.  */
   7802 int i;
   7803 _ACEOF
   7804 if ac_fn_c_try_compile "$LINENO"; then :
   7805   xorg_cv_cc_flag_unknown_warning_option=yes
   7806 else
   7807   xorg_cv_cc_flag_unknown_warning_option=no
   7808 fi
   7809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7810 fi
   7811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7812 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7813 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7814 	CFLAGS="$xorg_testset_save_CFLAGS"
   7815 fi
   7816 
   7817 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7818 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7819 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7820 	fi
   7821 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7822 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7823 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7824 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7825   $as_echo_n "(cached) " >&6
   7826 else
   7827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7828 /* end confdefs.h.  */
   7829 int i;
   7830 _ACEOF
   7831 if ac_fn_c_try_compile "$LINENO"; then :
   7832   xorg_cv_cc_flag_unused_command_line_argument=yes
   7833 else
   7834   xorg_cv_cc_flag_unused_command_line_argument=no
   7835 fi
   7836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7837 fi
   7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7839 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7840 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7841 	CFLAGS="$xorg_testset_save_CFLAGS"
   7842 fi
   7843 
   7844 found="no"
   7845 
   7846 	if test $found = "no" ; then
   7847 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7848 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7849 		fi
   7850 
   7851 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7852 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7853 		fi
   7854 
   7855 		CFLAGS="$CFLAGS -Werror=write-strings"
   7856 
   7857 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   7858 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   7859 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   7860 		if eval \${$cacheid+:} false; then :
   7861   $as_echo_n "(cached) " >&6
   7862 else
   7863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7864 /* end confdefs.h.  */
   7865 int i;
   7866 int
   7867 main ()
   7868 {
   7869 
   7870   ;
   7871   return 0;
   7872 }
   7873 _ACEOF
   7874 if ac_fn_c_try_link "$LINENO"; then :
   7875   eval $cacheid=yes
   7876 else
   7877   eval $cacheid=no
   7878 fi
   7879 rm -f core conftest.err conftest.$ac_objext \
   7880     conftest$ac_exeext conftest.$ac_ext
   7881 fi
   7882 
   7883 
   7884 		CFLAGS="$xorg_testset_save_CFLAGS"
   7885 
   7886 		eval supported=\$$cacheid
   7887 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7888 $as_echo "$supported" >&6; }
   7889 		if test "$supported" = "yes" ; then
   7890 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   7891 			found="yes"
   7892 		fi
   7893 	fi
   7894 
   7895 
   7896 
   7897 
   7898 
   7899 
   7900 
   7901 
   7902 
   7903 
   7904 
   7905 
   7906 
   7907 
   7908 
   7909 xorg_testset_save_CFLAGS="$CFLAGS"
   7910 
   7911 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7912 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7913 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7914 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7915 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7916   $as_echo_n "(cached) " >&6
   7917 else
   7918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7919 /* end confdefs.h.  */
   7920 int i;
   7921 _ACEOF
   7922 if ac_fn_c_try_compile "$LINENO"; then :
   7923   xorg_cv_cc_flag_unknown_warning_option=yes
   7924 else
   7925   xorg_cv_cc_flag_unknown_warning_option=no
   7926 fi
   7927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7928 fi
   7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7930 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7931 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7932 	CFLAGS="$xorg_testset_save_CFLAGS"
   7933 fi
   7934 
   7935 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7936 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7937 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7938 	fi
   7939 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7940 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7941 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7942 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7943   $as_echo_n "(cached) " >&6
   7944 else
   7945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7946 /* end confdefs.h.  */
   7947 int i;
   7948 _ACEOF
   7949 if ac_fn_c_try_compile "$LINENO"; then :
   7950   xorg_cv_cc_flag_unused_command_line_argument=yes
   7951 else
   7952   xorg_cv_cc_flag_unused_command_line_argument=no
   7953 fi
   7954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7955 fi
   7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7957 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7958 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7959 	CFLAGS="$xorg_testset_save_CFLAGS"
   7960 fi
   7961 
   7962 found="no"
   7963 
   7964 	if test $found = "no" ; then
   7965 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7966 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7967 		fi
   7968 
   7969 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7970 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7971 		fi
   7972 
   7973 		CFLAGS="$CFLAGS -Werror=address"
   7974 
   7975 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   7976 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   7977 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   7978 		if eval \${$cacheid+:} false; then :
   7979   $as_echo_n "(cached) " >&6
   7980 else
   7981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7982 /* end confdefs.h.  */
   7983 int i;
   7984 int
   7985 main ()
   7986 {
   7987 
   7988   ;
   7989   return 0;
   7990 }
   7991 _ACEOF
   7992 if ac_fn_c_try_link "$LINENO"; then :
   7993   eval $cacheid=yes
   7994 else
   7995   eval $cacheid=no
   7996 fi
   7997 rm -f core conftest.err conftest.$ac_objext \
   7998     conftest$ac_exeext conftest.$ac_ext
   7999 fi
   8000 
   8001 
   8002 		CFLAGS="$xorg_testset_save_CFLAGS"
   8003 
   8004 		eval supported=\$$cacheid
   8005 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8006 $as_echo "$supported" >&6; }
   8007 		if test "$supported" = "yes" ; then
   8008 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8009 			found="yes"
   8010 		fi
   8011 	fi
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 
   8024 
   8025 
   8026 
   8027 xorg_testset_save_CFLAGS="$CFLAGS"
   8028 
   8029 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8030 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8031 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8032 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8033 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8034   $as_echo_n "(cached) " >&6
   8035 else
   8036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8037 /* end confdefs.h.  */
   8038 int i;
   8039 _ACEOF
   8040 if ac_fn_c_try_compile "$LINENO"; then :
   8041   xorg_cv_cc_flag_unknown_warning_option=yes
   8042 else
   8043   xorg_cv_cc_flag_unknown_warning_option=no
   8044 fi
   8045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8046 fi
   8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8048 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8049 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8050 	CFLAGS="$xorg_testset_save_CFLAGS"
   8051 fi
   8052 
   8053 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8054 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8055 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8056 	fi
   8057 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8058 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8059 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8060 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8061   $as_echo_n "(cached) " >&6
   8062 else
   8063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8064 /* end confdefs.h.  */
   8065 int i;
   8066 _ACEOF
   8067 if ac_fn_c_try_compile "$LINENO"; then :
   8068   xorg_cv_cc_flag_unused_command_line_argument=yes
   8069 else
   8070   xorg_cv_cc_flag_unused_command_line_argument=no
   8071 fi
   8072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8073 fi
   8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8075 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8076 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8077 	CFLAGS="$xorg_testset_save_CFLAGS"
   8078 fi
   8079 
   8080 found="no"
   8081 
   8082 	if test $found = "no" ; then
   8083 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8084 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8085 		fi
   8086 
   8087 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8088 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8089 		fi
   8090 
   8091 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8092 
   8093 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8094 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8095 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   8096 		if eval \${$cacheid+:} false; then :
   8097   $as_echo_n "(cached) " >&6
   8098 else
   8099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8100 /* end confdefs.h.  */
   8101 int i;
   8102 int
   8103 main ()
   8104 {
   8105 
   8106   ;
   8107   return 0;
   8108 }
   8109 _ACEOF
   8110 if ac_fn_c_try_link "$LINENO"; then :
   8111   eval $cacheid=yes
   8112 else
   8113   eval $cacheid=no
   8114 fi
   8115 rm -f core conftest.err conftest.$ac_objext \
   8116     conftest$ac_exeext conftest.$ac_ext
   8117 fi
   8118 
   8119 
   8120 		CFLAGS="$xorg_testset_save_CFLAGS"
   8121 
   8122 		eval supported=\$$cacheid
   8123 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8124 $as_echo "$supported" >&6; }
   8125 		if test "$supported" = "yes" ; then
   8126 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8127 			found="yes"
   8128 		fi
   8129 	fi
   8130 
   8131 	if test $found = "no" ; then
   8132 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8133 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8134 		fi
   8135 
   8136 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8137 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8138 		fi
   8139 
   8140 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8141 
   8142 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8143 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8144 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   8145 		if eval \${$cacheid+:} false; then :
   8146   $as_echo_n "(cached) " >&6
   8147 else
   8148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8149 /* end confdefs.h.  */
   8150 int i;
   8151 int
   8152 main ()
   8153 {
   8154 
   8155   ;
   8156   return 0;
   8157 }
   8158 _ACEOF
   8159 if ac_fn_c_try_link "$LINENO"; then :
   8160   eval $cacheid=yes
   8161 else
   8162   eval $cacheid=no
   8163 fi
   8164 rm -f core conftest.err conftest.$ac_objext \
   8165     conftest$ac_exeext conftest.$ac_ext
   8166 fi
   8167 
   8168 
   8169 		CFLAGS="$xorg_testset_save_CFLAGS"
   8170 
   8171 		eval supported=\$$cacheid
   8172 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8173 $as_echo "$supported" >&6; }
   8174 		if test "$supported" = "yes" ; then
   8175 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8176 			found="yes"
   8177 		fi
   8178 	fi
   8179 
   8180 
   8181 
   8182 
   8183 
   8184 
   8185 
   8186 
   8187 
   8188 
   8189 
   8190 
   8191 
   8192 
   8193 
   8194 xorg_testset_save_CFLAGS="$CFLAGS"
   8195 
   8196 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8197 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8198 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8199 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8200 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8201   $as_echo_n "(cached) " >&6
   8202 else
   8203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8204 /* end confdefs.h.  */
   8205 int i;
   8206 _ACEOF
   8207 if ac_fn_c_try_compile "$LINENO"; then :
   8208   xorg_cv_cc_flag_unknown_warning_option=yes
   8209 else
   8210   xorg_cv_cc_flag_unknown_warning_option=no
   8211 fi
   8212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8213 fi
   8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8215 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8216 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8217 	CFLAGS="$xorg_testset_save_CFLAGS"
   8218 fi
   8219 
   8220 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8221 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8222 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8223 	fi
   8224 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8225 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8226 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8227 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8228   $as_echo_n "(cached) " >&6
   8229 else
   8230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8231 /* end confdefs.h.  */
   8232 int i;
   8233 _ACEOF
   8234 if ac_fn_c_try_compile "$LINENO"; then :
   8235   xorg_cv_cc_flag_unused_command_line_argument=yes
   8236 else
   8237   xorg_cv_cc_flag_unused_command_line_argument=no
   8238 fi
   8239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8240 fi
   8241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8242 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8243 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8244 	CFLAGS="$xorg_testset_save_CFLAGS"
   8245 fi
   8246 
   8247 found="no"
   8248 
   8249 	if test $found = "no" ; then
   8250 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8251 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8252 		fi
   8253 
   8254 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8255 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8256 		fi
   8257 
   8258 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8259 
   8260 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8261 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8262 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   8263 		if eval \${$cacheid+:} false; then :
   8264   $as_echo_n "(cached) " >&6
   8265 else
   8266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8267 /* end confdefs.h.  */
   8268 int i;
   8269 int
   8270 main ()
   8271 {
   8272 
   8273   ;
   8274   return 0;
   8275 }
   8276 _ACEOF
   8277 if ac_fn_c_try_link "$LINENO"; then :
   8278   eval $cacheid=yes
   8279 else
   8280   eval $cacheid=no
   8281 fi
   8282 rm -f core conftest.err conftest.$ac_objext \
   8283     conftest$ac_exeext conftest.$ac_ext
   8284 fi
   8285 
   8286 
   8287 		CFLAGS="$xorg_testset_save_CFLAGS"
   8288 
   8289 		eval supported=\$$cacheid
   8290 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8291 $as_echo "$supported" >&6; }
   8292 		if test "$supported" = "yes" ; then
   8293 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8294 			found="yes"
   8295 		fi
   8296 	fi
   8297 
   8298  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8299 else
   8300 { $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
   8301 $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;}
   8302 
   8303 
   8304 
   8305 
   8306 
   8307 
   8308 
   8309 
   8310 
   8311 
   8312 
   8313 
   8314 
   8315 xorg_testset_save_CFLAGS="$CFLAGS"
   8316 
   8317 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8318 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8319 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8320 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8321 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8322   $as_echo_n "(cached) " >&6
   8323 else
   8324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8325 /* end confdefs.h.  */
   8326 int i;
   8327 _ACEOF
   8328 if ac_fn_c_try_compile "$LINENO"; then :
   8329   xorg_cv_cc_flag_unknown_warning_option=yes
   8330 else
   8331   xorg_cv_cc_flag_unknown_warning_option=no
   8332 fi
   8333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8334 fi
   8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8336 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8337 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8338 	CFLAGS="$xorg_testset_save_CFLAGS"
   8339 fi
   8340 
   8341 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8342 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8343 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8344 	fi
   8345 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8346 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8347 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8348 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8349   $as_echo_n "(cached) " >&6
   8350 else
   8351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8352 /* end confdefs.h.  */
   8353 int i;
   8354 _ACEOF
   8355 if ac_fn_c_try_compile "$LINENO"; then :
   8356   xorg_cv_cc_flag_unused_command_line_argument=yes
   8357 else
   8358   xorg_cv_cc_flag_unused_command_line_argument=no
   8359 fi
   8360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8361 fi
   8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8363 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8364 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8365 	CFLAGS="$xorg_testset_save_CFLAGS"
   8366 fi
   8367 
   8368 found="no"
   8369 
   8370 	if test $found = "no" ; then
   8371 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8372 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8373 		fi
   8374 
   8375 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8376 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8377 		fi
   8378 
   8379 		CFLAGS="$CFLAGS -Wimplicit"
   8380 
   8381 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8382 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8383 		cacheid=xorg_cv_cc_flag__Wimplicit
   8384 		if eval \${$cacheid+:} false; then :
   8385   $as_echo_n "(cached) " >&6
   8386 else
   8387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8388 /* end confdefs.h.  */
   8389 int i;
   8390 int
   8391 main ()
   8392 {
   8393 
   8394   ;
   8395   return 0;
   8396 }
   8397 _ACEOF
   8398 if ac_fn_c_try_link "$LINENO"; then :
   8399   eval $cacheid=yes
   8400 else
   8401   eval $cacheid=no
   8402 fi
   8403 rm -f core conftest.err conftest.$ac_objext \
   8404     conftest$ac_exeext conftest.$ac_ext
   8405 fi
   8406 
   8407 
   8408 		CFLAGS="$xorg_testset_save_CFLAGS"
   8409 
   8410 		eval supported=\$$cacheid
   8411 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8412 $as_echo "$supported" >&6; }
   8413 		if test "$supported" = "yes" ; then
   8414 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8415 			found="yes"
   8416 		fi
   8417 	fi
   8418 
   8419 
   8420 
   8421 
   8422 
   8423 
   8424 
   8425 
   8426 
   8427 
   8428 
   8429 
   8430 
   8431 
   8432 
   8433 xorg_testset_save_CFLAGS="$CFLAGS"
   8434 
   8435 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8436 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8437 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8438 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8439 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8440   $as_echo_n "(cached) " >&6
   8441 else
   8442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8443 /* end confdefs.h.  */
   8444 int i;
   8445 _ACEOF
   8446 if ac_fn_c_try_compile "$LINENO"; then :
   8447   xorg_cv_cc_flag_unknown_warning_option=yes
   8448 else
   8449   xorg_cv_cc_flag_unknown_warning_option=no
   8450 fi
   8451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8452 fi
   8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8454 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8455 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8456 	CFLAGS="$xorg_testset_save_CFLAGS"
   8457 fi
   8458 
   8459 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8460 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8461 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8462 	fi
   8463 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8464 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8465 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8466 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8467   $as_echo_n "(cached) " >&6
   8468 else
   8469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8470 /* end confdefs.h.  */
   8471 int i;
   8472 _ACEOF
   8473 if ac_fn_c_try_compile "$LINENO"; then :
   8474   xorg_cv_cc_flag_unused_command_line_argument=yes
   8475 else
   8476   xorg_cv_cc_flag_unused_command_line_argument=no
   8477 fi
   8478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8479 fi
   8480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8481 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8482 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8483 	CFLAGS="$xorg_testset_save_CFLAGS"
   8484 fi
   8485 
   8486 found="no"
   8487 
   8488 	if test $found = "no" ; then
   8489 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8490 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8491 		fi
   8492 
   8493 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8494 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8495 		fi
   8496 
   8497 		CFLAGS="$CFLAGS -Wnonnull"
   8498 
   8499 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8500 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8501 		cacheid=xorg_cv_cc_flag__Wnonnull
   8502 		if eval \${$cacheid+:} false; then :
   8503   $as_echo_n "(cached) " >&6
   8504 else
   8505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8506 /* end confdefs.h.  */
   8507 int i;
   8508 int
   8509 main ()
   8510 {
   8511 
   8512   ;
   8513   return 0;
   8514 }
   8515 _ACEOF
   8516 if ac_fn_c_try_link "$LINENO"; then :
   8517   eval $cacheid=yes
   8518 else
   8519   eval $cacheid=no
   8520 fi
   8521 rm -f core conftest.err conftest.$ac_objext \
   8522     conftest$ac_exeext conftest.$ac_ext
   8523 fi
   8524 
   8525 
   8526 		CFLAGS="$xorg_testset_save_CFLAGS"
   8527 
   8528 		eval supported=\$$cacheid
   8529 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8530 $as_echo "$supported" >&6; }
   8531 		if test "$supported" = "yes" ; then
   8532 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8533 			found="yes"
   8534 		fi
   8535 	fi
   8536 
   8537 
   8538 
   8539 
   8540 
   8541 
   8542 
   8543 
   8544 
   8545 
   8546 
   8547 
   8548 
   8549 
   8550 
   8551 xorg_testset_save_CFLAGS="$CFLAGS"
   8552 
   8553 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8554 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8555 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8556 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8557 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8558   $as_echo_n "(cached) " >&6
   8559 else
   8560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8561 /* end confdefs.h.  */
   8562 int i;
   8563 _ACEOF
   8564 if ac_fn_c_try_compile "$LINENO"; then :
   8565   xorg_cv_cc_flag_unknown_warning_option=yes
   8566 else
   8567   xorg_cv_cc_flag_unknown_warning_option=no
   8568 fi
   8569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8570 fi
   8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8572 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8573 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8574 	CFLAGS="$xorg_testset_save_CFLAGS"
   8575 fi
   8576 
   8577 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8578 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8579 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8580 	fi
   8581 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8582 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8583 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8584 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8585   $as_echo_n "(cached) " >&6
   8586 else
   8587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8588 /* end confdefs.h.  */
   8589 int i;
   8590 _ACEOF
   8591 if ac_fn_c_try_compile "$LINENO"; then :
   8592   xorg_cv_cc_flag_unused_command_line_argument=yes
   8593 else
   8594   xorg_cv_cc_flag_unused_command_line_argument=no
   8595 fi
   8596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8597 fi
   8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8599 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8600 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8601 	CFLAGS="$xorg_testset_save_CFLAGS"
   8602 fi
   8603 
   8604 found="no"
   8605 
   8606 	if test $found = "no" ; then
   8607 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8608 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8609 		fi
   8610 
   8611 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8612 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8613 		fi
   8614 
   8615 		CFLAGS="$CFLAGS -Winit-self"
   8616 
   8617 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8618 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8619 		cacheid=xorg_cv_cc_flag__Winit_self
   8620 		if eval \${$cacheid+:} false; then :
   8621   $as_echo_n "(cached) " >&6
   8622 else
   8623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8624 /* end confdefs.h.  */
   8625 int i;
   8626 int
   8627 main ()
   8628 {
   8629 
   8630   ;
   8631   return 0;
   8632 }
   8633 _ACEOF
   8634 if ac_fn_c_try_link "$LINENO"; then :
   8635   eval $cacheid=yes
   8636 else
   8637   eval $cacheid=no
   8638 fi
   8639 rm -f core conftest.err conftest.$ac_objext \
   8640     conftest$ac_exeext conftest.$ac_ext
   8641 fi
   8642 
   8643 
   8644 		CFLAGS="$xorg_testset_save_CFLAGS"
   8645 
   8646 		eval supported=\$$cacheid
   8647 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8648 $as_echo "$supported" >&6; }
   8649 		if test "$supported" = "yes" ; then
   8650 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8651 			found="yes"
   8652 		fi
   8653 	fi
   8654 
   8655 
   8656 
   8657 
   8658 
   8659 
   8660 
   8661 
   8662 
   8663 
   8664 
   8665 
   8666 
   8667 
   8668 
   8669 xorg_testset_save_CFLAGS="$CFLAGS"
   8670 
   8671 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8672 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8673 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8674 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8675 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8676   $as_echo_n "(cached) " >&6
   8677 else
   8678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8679 /* end confdefs.h.  */
   8680 int i;
   8681 _ACEOF
   8682 if ac_fn_c_try_compile "$LINENO"; then :
   8683   xorg_cv_cc_flag_unknown_warning_option=yes
   8684 else
   8685   xorg_cv_cc_flag_unknown_warning_option=no
   8686 fi
   8687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8688 fi
   8689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8690 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8691 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8692 	CFLAGS="$xorg_testset_save_CFLAGS"
   8693 fi
   8694 
   8695 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8696 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8697 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8698 	fi
   8699 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8700 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8701 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8702 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8703   $as_echo_n "(cached) " >&6
   8704 else
   8705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8706 /* end confdefs.h.  */
   8707 int i;
   8708 _ACEOF
   8709 if ac_fn_c_try_compile "$LINENO"; then :
   8710   xorg_cv_cc_flag_unused_command_line_argument=yes
   8711 else
   8712   xorg_cv_cc_flag_unused_command_line_argument=no
   8713 fi
   8714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8715 fi
   8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8717 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8718 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8719 	CFLAGS="$xorg_testset_save_CFLAGS"
   8720 fi
   8721 
   8722 found="no"
   8723 
   8724 	if test $found = "no" ; then
   8725 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8726 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8727 		fi
   8728 
   8729 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8730 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8731 		fi
   8732 
   8733 		CFLAGS="$CFLAGS -Wmain"
   8734 
   8735 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8736 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8737 		cacheid=xorg_cv_cc_flag__Wmain
   8738 		if eval \${$cacheid+:} false; then :
   8739   $as_echo_n "(cached) " >&6
   8740 else
   8741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8742 /* end confdefs.h.  */
   8743 int i;
   8744 int
   8745 main ()
   8746 {
   8747 
   8748   ;
   8749   return 0;
   8750 }
   8751 _ACEOF
   8752 if ac_fn_c_try_link "$LINENO"; then :
   8753   eval $cacheid=yes
   8754 else
   8755   eval $cacheid=no
   8756 fi
   8757 rm -f core conftest.err conftest.$ac_objext \
   8758     conftest$ac_exeext conftest.$ac_ext
   8759 fi
   8760 
   8761 
   8762 		CFLAGS="$xorg_testset_save_CFLAGS"
   8763 
   8764 		eval supported=\$$cacheid
   8765 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8766 $as_echo "$supported" >&6; }
   8767 		if test "$supported" = "yes" ; then
   8768 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8769 			found="yes"
   8770 		fi
   8771 	fi
   8772 
   8773 
   8774 
   8775 
   8776 
   8777 
   8778 
   8779 
   8780 
   8781 
   8782 
   8783 
   8784 
   8785 
   8786 
   8787 xorg_testset_save_CFLAGS="$CFLAGS"
   8788 
   8789 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8790 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8791 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8792 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8793 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8794   $as_echo_n "(cached) " >&6
   8795 else
   8796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8797 /* end confdefs.h.  */
   8798 int i;
   8799 _ACEOF
   8800 if ac_fn_c_try_compile "$LINENO"; then :
   8801   xorg_cv_cc_flag_unknown_warning_option=yes
   8802 else
   8803   xorg_cv_cc_flag_unknown_warning_option=no
   8804 fi
   8805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8806 fi
   8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8808 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8809 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8810 	CFLAGS="$xorg_testset_save_CFLAGS"
   8811 fi
   8812 
   8813 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8814 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8815 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8816 	fi
   8817 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8818 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8819 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8820 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8821   $as_echo_n "(cached) " >&6
   8822 else
   8823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8824 /* end confdefs.h.  */
   8825 int i;
   8826 _ACEOF
   8827 if ac_fn_c_try_compile "$LINENO"; then :
   8828   xorg_cv_cc_flag_unused_command_line_argument=yes
   8829 else
   8830   xorg_cv_cc_flag_unused_command_line_argument=no
   8831 fi
   8832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8833 fi
   8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8835 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8836 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8837 	CFLAGS="$xorg_testset_save_CFLAGS"
   8838 fi
   8839 
   8840 found="no"
   8841 
   8842 	if test $found = "no" ; then
   8843 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8844 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8845 		fi
   8846 
   8847 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8848 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8849 		fi
   8850 
   8851 		CFLAGS="$CFLAGS -Wmissing-braces"
   8852 
   8853 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   8854 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   8855 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   8856 		if eval \${$cacheid+:} false; then :
   8857   $as_echo_n "(cached) " >&6
   8858 else
   8859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8860 /* end confdefs.h.  */
   8861 int i;
   8862 int
   8863 main ()
   8864 {
   8865 
   8866   ;
   8867   return 0;
   8868 }
   8869 _ACEOF
   8870 if ac_fn_c_try_link "$LINENO"; then :
   8871   eval $cacheid=yes
   8872 else
   8873   eval $cacheid=no
   8874 fi
   8875 rm -f core conftest.err conftest.$ac_objext \
   8876     conftest$ac_exeext conftest.$ac_ext
   8877 fi
   8878 
   8879 
   8880 		CFLAGS="$xorg_testset_save_CFLAGS"
   8881 
   8882 		eval supported=\$$cacheid
   8883 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8884 $as_echo "$supported" >&6; }
   8885 		if test "$supported" = "yes" ; then
   8886 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   8887 			found="yes"
   8888 		fi
   8889 	fi
   8890 
   8891 
   8892 
   8893 
   8894 
   8895 
   8896 
   8897 
   8898 
   8899 
   8900 
   8901 
   8902 
   8903 
   8904 
   8905 xorg_testset_save_CFLAGS="$CFLAGS"
   8906 
   8907 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8908 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8909 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8910 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8911 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8912   $as_echo_n "(cached) " >&6
   8913 else
   8914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8915 /* end confdefs.h.  */
   8916 int i;
   8917 _ACEOF
   8918 if ac_fn_c_try_compile "$LINENO"; then :
   8919   xorg_cv_cc_flag_unknown_warning_option=yes
   8920 else
   8921   xorg_cv_cc_flag_unknown_warning_option=no
   8922 fi
   8923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8924 fi
   8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8926 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8927 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8928 	CFLAGS="$xorg_testset_save_CFLAGS"
   8929 fi
   8930 
   8931 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8932 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8933 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8934 	fi
   8935 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8936 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8937 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8938 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8939   $as_echo_n "(cached) " >&6
   8940 else
   8941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8942 /* end confdefs.h.  */
   8943 int i;
   8944 _ACEOF
   8945 if ac_fn_c_try_compile "$LINENO"; then :
   8946   xorg_cv_cc_flag_unused_command_line_argument=yes
   8947 else
   8948   xorg_cv_cc_flag_unused_command_line_argument=no
   8949 fi
   8950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8951 fi
   8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8953 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8954 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8955 	CFLAGS="$xorg_testset_save_CFLAGS"
   8956 fi
   8957 
   8958 found="no"
   8959 
   8960 	if test $found = "no" ; then
   8961 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8962 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8963 		fi
   8964 
   8965 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8966 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8967 		fi
   8968 
   8969 		CFLAGS="$CFLAGS -Wsequence-point"
   8970 
   8971 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   8972 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   8973 		cacheid=xorg_cv_cc_flag__Wsequence_point
   8974 		if eval \${$cacheid+:} false; then :
   8975   $as_echo_n "(cached) " >&6
   8976 else
   8977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8978 /* end confdefs.h.  */
   8979 int i;
   8980 int
   8981 main ()
   8982 {
   8983 
   8984   ;
   8985   return 0;
   8986 }
   8987 _ACEOF
   8988 if ac_fn_c_try_link "$LINENO"; then :
   8989   eval $cacheid=yes
   8990 else
   8991   eval $cacheid=no
   8992 fi
   8993 rm -f core conftest.err conftest.$ac_objext \
   8994     conftest$ac_exeext conftest.$ac_ext
   8995 fi
   8996 
   8997 
   8998 		CFLAGS="$xorg_testset_save_CFLAGS"
   8999 
   9000 		eval supported=\$$cacheid
   9001 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9002 $as_echo "$supported" >&6; }
   9003 		if test "$supported" = "yes" ; then
   9004 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9005 			found="yes"
   9006 		fi
   9007 	fi
   9008 
   9009 
   9010 
   9011 
   9012 
   9013 
   9014 
   9015 
   9016 
   9017 
   9018 
   9019 
   9020 
   9021 
   9022 
   9023 xorg_testset_save_CFLAGS="$CFLAGS"
   9024 
   9025 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9026 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9027 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9028 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9029 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9030   $as_echo_n "(cached) " >&6
   9031 else
   9032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9033 /* end confdefs.h.  */
   9034 int i;
   9035 _ACEOF
   9036 if ac_fn_c_try_compile "$LINENO"; then :
   9037   xorg_cv_cc_flag_unknown_warning_option=yes
   9038 else
   9039   xorg_cv_cc_flag_unknown_warning_option=no
   9040 fi
   9041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9042 fi
   9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9044 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9045 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9046 	CFLAGS="$xorg_testset_save_CFLAGS"
   9047 fi
   9048 
   9049 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9050 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9051 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9052 	fi
   9053 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9054 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9055 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9056 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9057   $as_echo_n "(cached) " >&6
   9058 else
   9059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9060 /* end confdefs.h.  */
   9061 int i;
   9062 _ACEOF
   9063 if ac_fn_c_try_compile "$LINENO"; then :
   9064   xorg_cv_cc_flag_unused_command_line_argument=yes
   9065 else
   9066   xorg_cv_cc_flag_unused_command_line_argument=no
   9067 fi
   9068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9069 fi
   9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9071 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9072 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9073 	CFLAGS="$xorg_testset_save_CFLAGS"
   9074 fi
   9075 
   9076 found="no"
   9077 
   9078 	if test $found = "no" ; then
   9079 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9080 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9081 		fi
   9082 
   9083 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9084 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9085 		fi
   9086 
   9087 		CFLAGS="$CFLAGS -Wreturn-type"
   9088 
   9089 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9090 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9091 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9092 		if eval \${$cacheid+:} false; then :
   9093   $as_echo_n "(cached) " >&6
   9094 else
   9095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9096 /* end confdefs.h.  */
   9097 int i;
   9098 int
   9099 main ()
   9100 {
   9101 
   9102   ;
   9103   return 0;
   9104 }
   9105 _ACEOF
   9106 if ac_fn_c_try_link "$LINENO"; then :
   9107   eval $cacheid=yes
   9108 else
   9109   eval $cacheid=no
   9110 fi
   9111 rm -f core conftest.err conftest.$ac_objext \
   9112     conftest$ac_exeext conftest.$ac_ext
   9113 fi
   9114 
   9115 
   9116 		CFLAGS="$xorg_testset_save_CFLAGS"
   9117 
   9118 		eval supported=\$$cacheid
   9119 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9120 $as_echo "$supported" >&6; }
   9121 		if test "$supported" = "yes" ; then
   9122 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9123 			found="yes"
   9124 		fi
   9125 	fi
   9126 
   9127 
   9128 
   9129 
   9130 
   9131 
   9132 
   9133 
   9134 
   9135 
   9136 
   9137 
   9138 
   9139 
   9140 
   9141 xorg_testset_save_CFLAGS="$CFLAGS"
   9142 
   9143 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9144 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9145 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9146 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9147 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9148   $as_echo_n "(cached) " >&6
   9149 else
   9150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9151 /* end confdefs.h.  */
   9152 int i;
   9153 _ACEOF
   9154 if ac_fn_c_try_compile "$LINENO"; then :
   9155   xorg_cv_cc_flag_unknown_warning_option=yes
   9156 else
   9157   xorg_cv_cc_flag_unknown_warning_option=no
   9158 fi
   9159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9160 fi
   9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9162 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9163 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9164 	CFLAGS="$xorg_testset_save_CFLAGS"
   9165 fi
   9166 
   9167 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9168 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9169 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9170 	fi
   9171 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9172 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9173 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9174 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9175   $as_echo_n "(cached) " >&6
   9176 else
   9177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9178 /* end confdefs.h.  */
   9179 int i;
   9180 _ACEOF
   9181 if ac_fn_c_try_compile "$LINENO"; then :
   9182   xorg_cv_cc_flag_unused_command_line_argument=yes
   9183 else
   9184   xorg_cv_cc_flag_unused_command_line_argument=no
   9185 fi
   9186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9187 fi
   9188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9189 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9190 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9191 	CFLAGS="$xorg_testset_save_CFLAGS"
   9192 fi
   9193 
   9194 found="no"
   9195 
   9196 	if test $found = "no" ; then
   9197 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9198 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9199 		fi
   9200 
   9201 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9202 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9203 		fi
   9204 
   9205 		CFLAGS="$CFLAGS -Wtrigraphs"
   9206 
   9207 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9208 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9209 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9210 		if eval \${$cacheid+:} false; then :
   9211   $as_echo_n "(cached) " >&6
   9212 else
   9213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9214 /* end confdefs.h.  */
   9215 int i;
   9216 int
   9217 main ()
   9218 {
   9219 
   9220   ;
   9221   return 0;
   9222 }
   9223 _ACEOF
   9224 if ac_fn_c_try_link "$LINENO"; then :
   9225   eval $cacheid=yes
   9226 else
   9227   eval $cacheid=no
   9228 fi
   9229 rm -f core conftest.err conftest.$ac_objext \
   9230     conftest$ac_exeext conftest.$ac_ext
   9231 fi
   9232 
   9233 
   9234 		CFLAGS="$xorg_testset_save_CFLAGS"
   9235 
   9236 		eval supported=\$$cacheid
   9237 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9238 $as_echo "$supported" >&6; }
   9239 		if test "$supported" = "yes" ; then
   9240 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9241 			found="yes"
   9242 		fi
   9243 	fi
   9244 
   9245 
   9246 
   9247 
   9248 
   9249 
   9250 
   9251 
   9252 
   9253 
   9254 
   9255 
   9256 
   9257 
   9258 
   9259 xorg_testset_save_CFLAGS="$CFLAGS"
   9260 
   9261 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9262 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9263 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9264 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9265 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9266   $as_echo_n "(cached) " >&6
   9267 else
   9268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9269 /* end confdefs.h.  */
   9270 int i;
   9271 _ACEOF
   9272 if ac_fn_c_try_compile "$LINENO"; then :
   9273   xorg_cv_cc_flag_unknown_warning_option=yes
   9274 else
   9275   xorg_cv_cc_flag_unknown_warning_option=no
   9276 fi
   9277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9278 fi
   9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9280 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9281 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9282 	CFLAGS="$xorg_testset_save_CFLAGS"
   9283 fi
   9284 
   9285 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9286 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9287 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9288 	fi
   9289 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9290 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9291 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9292 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9293   $as_echo_n "(cached) " >&6
   9294 else
   9295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9296 /* end confdefs.h.  */
   9297 int i;
   9298 _ACEOF
   9299 if ac_fn_c_try_compile "$LINENO"; then :
   9300   xorg_cv_cc_flag_unused_command_line_argument=yes
   9301 else
   9302   xorg_cv_cc_flag_unused_command_line_argument=no
   9303 fi
   9304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9305 fi
   9306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9307 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9308 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9309 	CFLAGS="$xorg_testset_save_CFLAGS"
   9310 fi
   9311 
   9312 found="no"
   9313 
   9314 	if test $found = "no" ; then
   9315 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9316 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9317 		fi
   9318 
   9319 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9320 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9321 		fi
   9322 
   9323 		CFLAGS="$CFLAGS -Warray-bounds"
   9324 
   9325 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9326 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9327 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9328 		if eval \${$cacheid+:} false; then :
   9329   $as_echo_n "(cached) " >&6
   9330 else
   9331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9332 /* end confdefs.h.  */
   9333 int i;
   9334 int
   9335 main ()
   9336 {
   9337 
   9338   ;
   9339   return 0;
   9340 }
   9341 _ACEOF
   9342 if ac_fn_c_try_link "$LINENO"; then :
   9343   eval $cacheid=yes
   9344 else
   9345   eval $cacheid=no
   9346 fi
   9347 rm -f core conftest.err conftest.$ac_objext \
   9348     conftest$ac_exeext conftest.$ac_ext
   9349 fi
   9350 
   9351 
   9352 		CFLAGS="$xorg_testset_save_CFLAGS"
   9353 
   9354 		eval supported=\$$cacheid
   9355 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9356 $as_echo "$supported" >&6; }
   9357 		if test "$supported" = "yes" ; then
   9358 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9359 			found="yes"
   9360 		fi
   9361 	fi
   9362 
   9363 
   9364 
   9365 
   9366 
   9367 
   9368 
   9369 
   9370 
   9371 
   9372 
   9373 
   9374 
   9375 
   9376 
   9377 xorg_testset_save_CFLAGS="$CFLAGS"
   9378 
   9379 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9380 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9381 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9382 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9383 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9384   $as_echo_n "(cached) " >&6
   9385 else
   9386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9387 /* end confdefs.h.  */
   9388 int i;
   9389 _ACEOF
   9390 if ac_fn_c_try_compile "$LINENO"; then :
   9391   xorg_cv_cc_flag_unknown_warning_option=yes
   9392 else
   9393   xorg_cv_cc_flag_unknown_warning_option=no
   9394 fi
   9395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9396 fi
   9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9398 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9399 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9400 	CFLAGS="$xorg_testset_save_CFLAGS"
   9401 fi
   9402 
   9403 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9404 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9405 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9406 	fi
   9407 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9408 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9409 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9410 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9411   $as_echo_n "(cached) " >&6
   9412 else
   9413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9414 /* end confdefs.h.  */
   9415 int i;
   9416 _ACEOF
   9417 if ac_fn_c_try_compile "$LINENO"; then :
   9418   xorg_cv_cc_flag_unused_command_line_argument=yes
   9419 else
   9420   xorg_cv_cc_flag_unused_command_line_argument=no
   9421 fi
   9422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9423 fi
   9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9425 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9426 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9427 	CFLAGS="$xorg_testset_save_CFLAGS"
   9428 fi
   9429 
   9430 found="no"
   9431 
   9432 	if test $found = "no" ; then
   9433 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9434 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9435 		fi
   9436 
   9437 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9438 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9439 		fi
   9440 
   9441 		CFLAGS="$CFLAGS -Wwrite-strings"
   9442 
   9443 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9444 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9445 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9446 		if eval \${$cacheid+:} false; then :
   9447   $as_echo_n "(cached) " >&6
   9448 else
   9449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9450 /* end confdefs.h.  */
   9451 int i;
   9452 int
   9453 main ()
   9454 {
   9455 
   9456   ;
   9457   return 0;
   9458 }
   9459 _ACEOF
   9460 if ac_fn_c_try_link "$LINENO"; then :
   9461   eval $cacheid=yes
   9462 else
   9463   eval $cacheid=no
   9464 fi
   9465 rm -f core conftest.err conftest.$ac_objext \
   9466     conftest$ac_exeext conftest.$ac_ext
   9467 fi
   9468 
   9469 
   9470 		CFLAGS="$xorg_testset_save_CFLAGS"
   9471 
   9472 		eval supported=\$$cacheid
   9473 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9474 $as_echo "$supported" >&6; }
   9475 		if test "$supported" = "yes" ; then
   9476 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9477 			found="yes"
   9478 		fi
   9479 	fi
   9480 
   9481 
   9482 
   9483 
   9484 
   9485 
   9486 
   9487 
   9488 
   9489 
   9490 
   9491 
   9492 
   9493 
   9494 
   9495 xorg_testset_save_CFLAGS="$CFLAGS"
   9496 
   9497 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9498 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9499 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9500 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9501 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9502   $as_echo_n "(cached) " >&6
   9503 else
   9504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9505 /* end confdefs.h.  */
   9506 int i;
   9507 _ACEOF
   9508 if ac_fn_c_try_compile "$LINENO"; then :
   9509   xorg_cv_cc_flag_unknown_warning_option=yes
   9510 else
   9511   xorg_cv_cc_flag_unknown_warning_option=no
   9512 fi
   9513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9514 fi
   9515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9516 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9517 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9518 	CFLAGS="$xorg_testset_save_CFLAGS"
   9519 fi
   9520 
   9521 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9522 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9523 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9524 	fi
   9525 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9526 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9527 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9528 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9529   $as_echo_n "(cached) " >&6
   9530 else
   9531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9532 /* end confdefs.h.  */
   9533 int i;
   9534 _ACEOF
   9535 if ac_fn_c_try_compile "$LINENO"; then :
   9536   xorg_cv_cc_flag_unused_command_line_argument=yes
   9537 else
   9538   xorg_cv_cc_flag_unused_command_line_argument=no
   9539 fi
   9540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9541 fi
   9542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9543 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9544 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9545 	CFLAGS="$xorg_testset_save_CFLAGS"
   9546 fi
   9547 
   9548 found="no"
   9549 
   9550 	if test $found = "no" ; then
   9551 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9552 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9553 		fi
   9554 
   9555 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9556 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9557 		fi
   9558 
   9559 		CFLAGS="$CFLAGS -Waddress"
   9560 
   9561 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9562 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9563 		cacheid=xorg_cv_cc_flag__Waddress
   9564 		if eval \${$cacheid+:} false; then :
   9565   $as_echo_n "(cached) " >&6
   9566 else
   9567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9568 /* end confdefs.h.  */
   9569 int i;
   9570 int
   9571 main ()
   9572 {
   9573 
   9574   ;
   9575   return 0;
   9576 }
   9577 _ACEOF
   9578 if ac_fn_c_try_link "$LINENO"; then :
   9579   eval $cacheid=yes
   9580 else
   9581   eval $cacheid=no
   9582 fi
   9583 rm -f core conftest.err conftest.$ac_objext \
   9584     conftest$ac_exeext conftest.$ac_ext
   9585 fi
   9586 
   9587 
   9588 		CFLAGS="$xorg_testset_save_CFLAGS"
   9589 
   9590 		eval supported=\$$cacheid
   9591 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9592 $as_echo "$supported" >&6; }
   9593 		if test "$supported" = "yes" ; then
   9594 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9595 			found="yes"
   9596 		fi
   9597 	fi
   9598 
   9599 
   9600 
   9601 
   9602 
   9603 
   9604 
   9605 
   9606 
   9607 
   9608 
   9609 
   9610 
   9611 
   9612 
   9613 xorg_testset_save_CFLAGS="$CFLAGS"
   9614 
   9615 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9616 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9617 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9618 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9619 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9620   $as_echo_n "(cached) " >&6
   9621 else
   9622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9623 /* end confdefs.h.  */
   9624 int i;
   9625 _ACEOF
   9626 if ac_fn_c_try_compile "$LINENO"; then :
   9627   xorg_cv_cc_flag_unknown_warning_option=yes
   9628 else
   9629   xorg_cv_cc_flag_unknown_warning_option=no
   9630 fi
   9631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9632 fi
   9633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9634 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9635 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9636 	CFLAGS="$xorg_testset_save_CFLAGS"
   9637 fi
   9638 
   9639 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9640 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9641 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9642 	fi
   9643 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9644 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9645 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9646 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9647   $as_echo_n "(cached) " >&6
   9648 else
   9649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9650 /* end confdefs.h.  */
   9651 int i;
   9652 _ACEOF
   9653 if ac_fn_c_try_compile "$LINENO"; then :
   9654   xorg_cv_cc_flag_unused_command_line_argument=yes
   9655 else
   9656   xorg_cv_cc_flag_unused_command_line_argument=no
   9657 fi
   9658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9659 fi
   9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9661 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9662 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9663 	CFLAGS="$xorg_testset_save_CFLAGS"
   9664 fi
   9665 
   9666 found="no"
   9667 
   9668 	if test $found = "no" ; then
   9669 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9670 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9671 		fi
   9672 
   9673 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9674 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9675 		fi
   9676 
   9677 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9678 
   9679 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9680 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9681 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9682 		if eval \${$cacheid+:} false; then :
   9683   $as_echo_n "(cached) " >&6
   9684 else
   9685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9686 /* end confdefs.h.  */
   9687 int i;
   9688 int
   9689 main ()
   9690 {
   9691 
   9692   ;
   9693   return 0;
   9694 }
   9695 _ACEOF
   9696 if ac_fn_c_try_link "$LINENO"; then :
   9697   eval $cacheid=yes
   9698 else
   9699   eval $cacheid=no
   9700 fi
   9701 rm -f core conftest.err conftest.$ac_objext \
   9702     conftest$ac_exeext conftest.$ac_ext
   9703 fi
   9704 
   9705 
   9706 		CFLAGS="$xorg_testset_save_CFLAGS"
   9707 
   9708 		eval supported=\$$cacheid
   9709 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9710 $as_echo "$supported" >&6; }
   9711 		if test "$supported" = "yes" ; then
   9712 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9713 			found="yes"
   9714 		fi
   9715 	fi
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 xorg_testset_save_CFLAGS="$CFLAGS"
   9732 
   9733 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9734 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9735 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9736 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9737 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9738   $as_echo_n "(cached) " >&6
   9739 else
   9740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9741 /* end confdefs.h.  */
   9742 int i;
   9743 _ACEOF
   9744 if ac_fn_c_try_compile "$LINENO"; then :
   9745   xorg_cv_cc_flag_unknown_warning_option=yes
   9746 else
   9747   xorg_cv_cc_flag_unknown_warning_option=no
   9748 fi
   9749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9750 fi
   9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9752 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9753 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9754 	CFLAGS="$xorg_testset_save_CFLAGS"
   9755 fi
   9756 
   9757 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9758 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9759 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9760 	fi
   9761 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9762 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9763 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9764 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9765   $as_echo_n "(cached) " >&6
   9766 else
   9767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9768 /* end confdefs.h.  */
   9769 int i;
   9770 _ACEOF
   9771 if ac_fn_c_try_compile "$LINENO"; then :
   9772   xorg_cv_cc_flag_unused_command_line_argument=yes
   9773 else
   9774   xorg_cv_cc_flag_unused_command_line_argument=no
   9775 fi
   9776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9777 fi
   9778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9779 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9780 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9781 	CFLAGS="$xorg_testset_save_CFLAGS"
   9782 fi
   9783 
   9784 found="no"
   9785 
   9786 	if test $found = "no" ; then
   9787 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9788 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9789 		fi
   9790 
   9791 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9792 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9793 		fi
   9794 
   9795 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9796 
   9797 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9798 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9799 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9800 		if eval \${$cacheid+:} false; then :
   9801   $as_echo_n "(cached) " >&6
   9802 else
   9803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9804 /* end confdefs.h.  */
   9805 int i;
   9806 int
   9807 main ()
   9808 {
   9809 
   9810   ;
   9811   return 0;
   9812 }
   9813 _ACEOF
   9814 if ac_fn_c_try_link "$LINENO"; then :
   9815   eval $cacheid=yes
   9816 else
   9817   eval $cacheid=no
   9818 fi
   9819 rm -f core conftest.err conftest.$ac_objext \
   9820     conftest$ac_exeext conftest.$ac_ext
   9821 fi
   9822 
   9823 
   9824 		CFLAGS="$xorg_testset_save_CFLAGS"
   9825 
   9826 		eval supported=\$$cacheid
   9827 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9828 $as_echo "$supported" >&6; }
   9829 		if test "$supported" = "yes" ; then
   9830 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9831 			found="yes"
   9832 		fi
   9833 	fi
   9834 
   9835 
   9836 fi
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 		CWARNFLAGS="$BASE_CFLAGS"
   9845 		if  test "x$GCC" = xyes ; then
   9846 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9847 		fi
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 # Check whether --enable-strict-compilation was given.
   9857 if test "${enable_strict_compilation+set}" = set; then :
   9858   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   9859 else
   9860   STRICT_COMPILE=no
   9861 fi
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 STRICT_CFLAGS=""
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 xorg_testset_save_CFLAGS="$CFLAGS"
   9883 
   9884 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9885 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9886 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9887 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9888 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9889   $as_echo_n "(cached) " >&6
   9890 else
   9891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9892 /* end confdefs.h.  */
   9893 int i;
   9894 _ACEOF
   9895 if ac_fn_c_try_compile "$LINENO"; then :
   9896   xorg_cv_cc_flag_unknown_warning_option=yes
   9897 else
   9898   xorg_cv_cc_flag_unknown_warning_option=no
   9899 fi
   9900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9901 fi
   9902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9903 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9904 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9905 	CFLAGS="$xorg_testset_save_CFLAGS"
   9906 fi
   9907 
   9908 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9909 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9910 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9911 	fi
   9912 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9913 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9914 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9915 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9916   $as_echo_n "(cached) " >&6
   9917 else
   9918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9919 /* end confdefs.h.  */
   9920 int i;
   9921 _ACEOF
   9922 if ac_fn_c_try_compile "$LINENO"; then :
   9923   xorg_cv_cc_flag_unused_command_line_argument=yes
   9924 else
   9925   xorg_cv_cc_flag_unused_command_line_argument=no
   9926 fi
   9927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9928 fi
   9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9930 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9931 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9932 	CFLAGS="$xorg_testset_save_CFLAGS"
   9933 fi
   9934 
   9935 found="no"
   9936 
   9937 	if test $found = "no" ; then
   9938 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9939 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9940 		fi
   9941 
   9942 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9943 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9944 		fi
   9945 
   9946 		CFLAGS="$CFLAGS -pedantic"
   9947 
   9948 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   9949 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   9950 		cacheid=xorg_cv_cc_flag__pedantic
   9951 		if eval \${$cacheid+:} false; then :
   9952   $as_echo_n "(cached) " >&6
   9953 else
   9954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9955 /* end confdefs.h.  */
   9956 int i;
   9957 int
   9958 main ()
   9959 {
   9960 
   9961   ;
   9962   return 0;
   9963 }
   9964 _ACEOF
   9965 if ac_fn_c_try_link "$LINENO"; then :
   9966   eval $cacheid=yes
   9967 else
   9968   eval $cacheid=no
   9969 fi
   9970 rm -f core conftest.err conftest.$ac_objext \
   9971     conftest$ac_exeext conftest.$ac_ext
   9972 fi
   9973 
   9974 
   9975 		CFLAGS="$xorg_testset_save_CFLAGS"
   9976 
   9977 		eval supported=\$$cacheid
   9978 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9979 $as_echo "$supported" >&6; }
   9980 		if test "$supported" = "yes" ; then
   9981 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   9982 			found="yes"
   9983 		fi
   9984 	fi
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 
   9999 
   10000 xorg_testset_save_CFLAGS="$CFLAGS"
   10001 
   10002 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10003 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10004 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10005 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10006 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10007   $as_echo_n "(cached) " >&6
   10008 else
   10009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10010 /* end confdefs.h.  */
   10011 int i;
   10012 _ACEOF
   10013 if ac_fn_c_try_compile "$LINENO"; then :
   10014   xorg_cv_cc_flag_unknown_warning_option=yes
   10015 else
   10016   xorg_cv_cc_flag_unknown_warning_option=no
   10017 fi
   10018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10019 fi
   10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10021 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10022 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10023 	CFLAGS="$xorg_testset_save_CFLAGS"
   10024 fi
   10025 
   10026 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10027 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10028 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10029 	fi
   10030 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10031 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10032 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10033 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10034   $as_echo_n "(cached) " >&6
   10035 else
   10036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10037 /* end confdefs.h.  */
   10038 int i;
   10039 _ACEOF
   10040 if ac_fn_c_try_compile "$LINENO"; then :
   10041   xorg_cv_cc_flag_unused_command_line_argument=yes
   10042 else
   10043   xorg_cv_cc_flag_unused_command_line_argument=no
   10044 fi
   10045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10046 fi
   10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10048 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10049 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10050 	CFLAGS="$xorg_testset_save_CFLAGS"
   10051 fi
   10052 
   10053 found="no"
   10054 
   10055 	if test $found = "no" ; then
   10056 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10057 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10058 		fi
   10059 
   10060 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10061 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10062 		fi
   10063 
   10064 		CFLAGS="$CFLAGS -Werror"
   10065 
   10066 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10067 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10068 		cacheid=xorg_cv_cc_flag__Werror
   10069 		if eval \${$cacheid+:} false; then :
   10070   $as_echo_n "(cached) " >&6
   10071 else
   10072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10073 /* end confdefs.h.  */
   10074 int i;
   10075 int
   10076 main ()
   10077 {
   10078 
   10079   ;
   10080   return 0;
   10081 }
   10082 _ACEOF
   10083 if ac_fn_c_try_link "$LINENO"; then :
   10084   eval $cacheid=yes
   10085 else
   10086   eval $cacheid=no
   10087 fi
   10088 rm -f core conftest.err conftest.$ac_objext \
   10089     conftest$ac_exeext conftest.$ac_ext
   10090 fi
   10091 
   10092 
   10093 		CFLAGS="$xorg_testset_save_CFLAGS"
   10094 
   10095 		eval supported=\$$cacheid
   10096 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10097 $as_echo "$supported" >&6; }
   10098 		if test "$supported" = "yes" ; then
   10099 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10100 			found="yes"
   10101 		fi
   10102 	fi
   10103 
   10104 	if test $found = "no" ; then
   10105 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10106 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10107 		fi
   10108 
   10109 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10110 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10111 		fi
   10112 
   10113 		CFLAGS="$CFLAGS -errwarn"
   10114 
   10115 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10116 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10117 		cacheid=xorg_cv_cc_flag__errwarn
   10118 		if eval \${$cacheid+:} false; then :
   10119   $as_echo_n "(cached) " >&6
   10120 else
   10121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10122 /* end confdefs.h.  */
   10123 int i;
   10124 int
   10125 main ()
   10126 {
   10127 
   10128   ;
   10129   return 0;
   10130 }
   10131 _ACEOF
   10132 if ac_fn_c_try_link "$LINENO"; then :
   10133   eval $cacheid=yes
   10134 else
   10135   eval $cacheid=no
   10136 fi
   10137 rm -f core conftest.err conftest.$ac_objext \
   10138     conftest$ac_exeext conftest.$ac_ext
   10139 fi
   10140 
   10141 
   10142 		CFLAGS="$xorg_testset_save_CFLAGS"
   10143 
   10144 		eval supported=\$$cacheid
   10145 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10146 $as_echo "$supported" >&6; }
   10147 		if test "$supported" = "yes" ; then
   10148 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10149 			found="yes"
   10150 		fi
   10151 	fi
   10152 
   10153 
   10154 
   10155 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10156 # activate it with -Werror, so we add it here explicitly.
   10157 
   10158 
   10159 
   10160 
   10161 
   10162 
   10163 
   10164 
   10165 
   10166 
   10167 
   10168 
   10169 
   10170 xorg_testset_save_CFLAGS="$CFLAGS"
   10171 
   10172 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10173 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10174 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10175 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10176 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10177   $as_echo_n "(cached) " >&6
   10178 else
   10179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10180 /* end confdefs.h.  */
   10181 int i;
   10182 _ACEOF
   10183 if ac_fn_c_try_compile "$LINENO"; then :
   10184   xorg_cv_cc_flag_unknown_warning_option=yes
   10185 else
   10186   xorg_cv_cc_flag_unknown_warning_option=no
   10187 fi
   10188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10189 fi
   10190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10191 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10192 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10193 	CFLAGS="$xorg_testset_save_CFLAGS"
   10194 fi
   10195 
   10196 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10197 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10198 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10199 	fi
   10200 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10201 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10202 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10203 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10204   $as_echo_n "(cached) " >&6
   10205 else
   10206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10207 /* end confdefs.h.  */
   10208 int i;
   10209 _ACEOF
   10210 if ac_fn_c_try_compile "$LINENO"; then :
   10211   xorg_cv_cc_flag_unused_command_line_argument=yes
   10212 else
   10213   xorg_cv_cc_flag_unused_command_line_argument=no
   10214 fi
   10215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10216 fi
   10217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10218 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10219 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10220 	CFLAGS="$xorg_testset_save_CFLAGS"
   10221 fi
   10222 
   10223 found="no"
   10224 
   10225 	if test $found = "no" ; then
   10226 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10227 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10228 		fi
   10229 
   10230 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10231 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10232 		fi
   10233 
   10234 		CFLAGS="$CFLAGS -Werror=attributes"
   10235 
   10236 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10237 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10238 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   10239 		if eval \${$cacheid+:} false; then :
   10240   $as_echo_n "(cached) " >&6
   10241 else
   10242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10243 /* end confdefs.h.  */
   10244 int i;
   10245 int
   10246 main ()
   10247 {
   10248 
   10249   ;
   10250   return 0;
   10251 }
   10252 _ACEOF
   10253 if ac_fn_c_try_link "$LINENO"; then :
   10254   eval $cacheid=yes
   10255 else
   10256   eval $cacheid=no
   10257 fi
   10258 rm -f core conftest.err conftest.$ac_objext \
   10259     conftest$ac_exeext conftest.$ac_ext
   10260 fi
   10261 
   10262 
   10263 		CFLAGS="$xorg_testset_save_CFLAGS"
   10264 
   10265 		eval supported=\$$cacheid
   10266 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10267 $as_echo "$supported" >&6; }
   10268 		if test "$supported" = "yes" ; then
   10269 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10270 			found="yes"
   10271 		fi
   10272 	fi
   10273 
   10274 
   10275 
   10276 if test "x$STRICT_COMPILE" = "xyes"; then
   10277     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10278     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10279 fi
   10280 
   10281 
   10282 
   10283 
   10284 
   10285 
   10286 cat >>confdefs.h <<_ACEOF
   10287 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10288 _ACEOF
   10289 
   10290 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10291 	if test "x$PVM" = "x"; then
   10292 		PVM="0"
   10293 	fi
   10294 
   10295 cat >>confdefs.h <<_ACEOF
   10296 #define PACKAGE_VERSION_MINOR $PVM
   10297 _ACEOF
   10298 
   10299 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10300 	if test "x$PVP" = "x"; then
   10301 		PVP="0"
   10302 	fi
   10303 
   10304 cat >>confdefs.h <<_ACEOF
   10305 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10306 _ACEOF
   10307 
   10308 
   10309 
   10310 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10311 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10312 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10313 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10314 
   10315 
   10316 
   10317 
   10318 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10319 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10320 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10321 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10322 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 
   10329 if test x$APP_MAN_SUFFIX = x    ; then
   10330     APP_MAN_SUFFIX=1
   10331 fi
   10332 if test x$APP_MAN_DIR = x    ; then
   10333     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10334 fi
   10335 
   10336 if test x$LIB_MAN_SUFFIX = x    ; then
   10337     LIB_MAN_SUFFIX=3
   10338 fi
   10339 if test x$LIB_MAN_DIR = x    ; then
   10340     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10341 fi
   10342 
   10343 if test x$FILE_MAN_SUFFIX = x    ; then
   10344     case $host_os in
   10345 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10346 	*)		FILE_MAN_SUFFIX=5  ;;
   10347     esac
   10348 fi
   10349 if test x$FILE_MAN_DIR = x    ; then
   10350     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10351 fi
   10352 
   10353 if test x$MISC_MAN_SUFFIX = x    ; then
   10354     case $host_os in
   10355 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10356 	*)		MISC_MAN_SUFFIX=7  ;;
   10357     esac
   10358 fi
   10359 if test x$MISC_MAN_DIR = x    ; then
   10360     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10361 fi
   10362 
   10363 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10364     case $host_os in
   10365 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10366 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10367     esac
   10368 fi
   10369 if test x$DRIVER_MAN_DIR = x    ; then
   10370     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10371 fi
   10372 
   10373 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10374     case $host_os in
   10375 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10376 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10377     esac
   10378 fi
   10379 if test x$ADMIN_MAN_DIR = x    ; then
   10380     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10381 fi
   10382 
   10383 
   10384 
   10385 
   10386 
   10387 
   10388 
   10389 
   10390 
   10391 
   10392 
   10393 
   10394 
   10395 
   10396 
   10397 XORG_MAN_PAGE="X Version 11"
   10398 
   10399 MAN_SUBSTS="\
   10400 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10401 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10402 	-e 's|__xservername__|Xorg|g' \
   10403 	-e 's|__xconfigfile__|xorg.conf|g' \
   10404 	-e 's|__projectroot__|\$(prefix)|g' \
   10405 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10406 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10407 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10408 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10409 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10410 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10411 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10412 
   10413 
   10414 
   10415 # Check whether --enable-silent-rules was given.
   10416 if test "${enable_silent_rules+set}" = set; then :
   10417   enableval=$enable_silent_rules;
   10418 fi
   10419 
   10420 case $enable_silent_rules in
   10421 yes) AM_DEFAULT_VERBOSITY=0;;
   10422 no)  AM_DEFAULT_VERBOSITY=1;;
   10423 *)   AM_DEFAULT_VERBOSITY=0;;
   10424 esac
   10425 AM_BACKSLASH='\'
   10426 
   10427 
   10428 
   10429 ac_config_headers="$ac_config_headers config.h"
   10430 
   10431 
   10432 for ac_func in nanosleep poll select
   10433 do :
   10434   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   10435 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   10436 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   10437   cat >>confdefs.h <<_ACEOF
   10438 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   10439 _ACEOF
   10440 
   10441 fi
   10442 done
   10443 
   10444 
   10445 # Math libraries & functions
   10446 # - some compilers use builtin inlines for floor
   10447 # - lrint() is a C99 addition not found on some older systems
   10448 # - must do the libm check first so that the lrint check will have it in $LIBS
   10449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5
   10450 $as_echo_n "checking for library containing floor... " >&6; }
   10451 if ${ac_cv_search_floor+:} false; then :
   10452   $as_echo_n "(cached) " >&6
   10453 else
   10454   ac_func_search_save_LIBS=$LIBS
   10455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10456 /* end confdefs.h.  */
   10457 
   10458 /* Override any GCC internal prototype to avoid an error.
   10459    Use char because int might match the return type of a GCC
   10460    builtin and then its argument prototype would still apply.  */
   10461 #ifdef __cplusplus
   10462 extern "C"
   10463 #endif
   10464 char floor ();
   10465 int
   10466 main ()
   10467 {
   10468 return floor ();
   10469   ;
   10470   return 0;
   10471 }
   10472 _ACEOF
   10473 for ac_lib in '' m; do
   10474   if test -z "$ac_lib"; then
   10475     ac_res="none required"
   10476   else
   10477     ac_res=-l$ac_lib
   10478     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   10479   fi
   10480   if ac_fn_c_try_link "$LINENO"; then :
   10481   ac_cv_search_floor=$ac_res
   10482 fi
   10483 rm -f core conftest.err conftest.$ac_objext \
   10484     conftest$ac_exeext
   10485   if ${ac_cv_search_floor+:} false; then :
   10486   break
   10487 fi
   10488 done
   10489 if ${ac_cv_search_floor+:} false; then :
   10490 
   10491 else
   10492   ac_cv_search_floor=no
   10493 fi
   10494 rm conftest.$ac_ext
   10495 LIBS=$ac_func_search_save_LIBS
   10496 fi
   10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floor" >&5
   10498 $as_echo "$ac_cv_search_floor" >&6; }
   10499 ac_res=$ac_cv_search_floor
   10500 if test "$ac_res" != no; then :
   10501   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   10502 
   10503 fi
   10504 
   10505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing lrint" >&5
   10506 $as_echo_n "checking for library containing lrint... " >&6; }
   10507 if ${ac_cv_search_lrint+:} false; then :
   10508   $as_echo_n "(cached) " >&6
   10509 else
   10510   ac_func_search_save_LIBS=$LIBS
   10511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10512 /* end confdefs.h.  */
   10513 
   10514 /* Override any GCC internal prototype to avoid an error.
   10515    Use char because int might match the return type of a GCC
   10516    builtin and then its argument prototype would still apply.  */
   10517 #ifdef __cplusplus
   10518 extern "C"
   10519 #endif
   10520 char lrint ();
   10521 int
   10522 main ()
   10523 {
   10524 return lrint ();
   10525   ;
   10526   return 0;
   10527 }
   10528 _ACEOF
   10529 for ac_lib in '' m; do
   10530   if test -z "$ac_lib"; then
   10531     ac_res="none required"
   10532   else
   10533     ac_res=-l$ac_lib
   10534     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   10535   fi
   10536   if ac_fn_c_try_link "$LINENO"; then :
   10537   ac_cv_search_lrint=$ac_res
   10538 fi
   10539 rm -f core conftest.err conftest.$ac_objext \
   10540     conftest$ac_exeext
   10541   if ${ac_cv_search_lrint+:} false; then :
   10542   break
   10543 fi
   10544 done
   10545 if ${ac_cv_search_lrint+:} false; then :
   10546 
   10547 else
   10548   ac_cv_search_lrint=no
   10549 fi
   10550 rm conftest.$ac_ext
   10551 LIBS=$ac_func_search_save_LIBS
   10552 fi
   10553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_lrint" >&5
   10554 $as_echo "$ac_cv_search_lrint" >&6; }
   10555 ac_res=$ac_cv_search_lrint
   10556 if test "$ac_res" != no; then :
   10557   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   10558 
   10559 fi
   10560 
   10561 for ac_func in lrint
   10562 do :
   10563   ac_fn_c_check_func "$LINENO" "lrint" "ac_cv_func_lrint"
   10564 if test "x$ac_cv_func_lrint" = xyes; then :
   10565   cat >>confdefs.h <<_ACEOF
   10566 #define HAVE_LRINT 1
   10567 _ACEOF
   10568 
   10569 fi
   10570 done
   10571 
   10572 
   10573 # Checks for pkg-config packages
   10574 
   10575 pkg_failed=no
   10576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XMAG" >&5
   10577 $as_echo_n "checking for XMAG... " >&6; }
   10578 
   10579 if test -n "$XMAG_CFLAGS"; then
   10580     pkg_cv_XMAG_CFLAGS="$XMAG_CFLAGS"
   10581  elif test -n "$PKG_CONFIG"; then
   10582     if test -n "$PKG_CONFIG" && \
   10583     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt x11\""; } >&5
   10584   ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt x11") 2>&5
   10585   ac_status=$?
   10586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10587   test $ac_status = 0; }; then
   10588   pkg_cv_XMAG_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xmu xt x11" 2>/dev/null`
   10589 else
   10590   pkg_failed=yes
   10591 fi
   10592  else
   10593     pkg_failed=untried
   10594 fi
   10595 if test -n "$XMAG_LIBS"; then
   10596     pkg_cv_XMAG_LIBS="$XMAG_LIBS"
   10597  elif test -n "$PKG_CONFIG"; then
   10598     if test -n "$PKG_CONFIG" && \
   10599     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt x11\""; } >&5
   10600   ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt x11") 2>&5
   10601   ac_status=$?
   10602   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10603   test $ac_status = 0; }; then
   10604   pkg_cv_XMAG_LIBS=`$PKG_CONFIG --libs "xaw7 xmu xt x11" 2>/dev/null`
   10605 else
   10606   pkg_failed=yes
   10607 fi
   10608  else
   10609     pkg_failed=untried
   10610 fi
   10611 
   10612 
   10613 
   10614 if test $pkg_failed = yes; then
   10615 
   10616 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10617         _pkg_short_errors_supported=yes
   10618 else
   10619         _pkg_short_errors_supported=no
   10620 fi
   10621         if test $_pkg_short_errors_supported = yes; then
   10622 	        XMAG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xaw7 xmu xt x11" 2>&1`
   10623         else
   10624 	        XMAG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xaw7 xmu xt x11" 2>&1`
   10625         fi
   10626 	# Put the nasty error message in config.log where it belongs
   10627 	echo "$XMAG_PKG_ERRORS" >&5
   10628 
   10629 	as_fn_error $? "Package requirements (xaw7 xmu xt x11) were not met:
   10630 
   10631 $XMAG_PKG_ERRORS
   10632 
   10633 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10634 installed software in a non-standard prefix.
   10635 
   10636 Alternatively, you may set the environment variables XMAG_CFLAGS
   10637 and XMAG_LIBS to avoid the need to call pkg-config.
   10638 See the pkg-config man page for more details.
   10639 " "$LINENO" 5
   10640 elif test $pkg_failed = untried; then
   10641 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10642 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10643 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10644 is in your PATH or set the PKG_CONFIG environment variable to the full
   10645 path to pkg-config.
   10646 
   10647 Alternatively, you may set the environment variables XMAG_CFLAGS
   10648 and XMAG_LIBS to avoid the need to call pkg-config.
   10649 See the pkg-config man page for more details.
   10650 
   10651 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10652 See \`config.log' for more details" "$LINENO" 5; }
   10653 else
   10654 	XMAG_CFLAGS=$pkg_cv_XMAG_CFLAGS
   10655 	XMAG_LIBS=$pkg_cv_XMAG_LIBS
   10656         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10657 $as_echo "yes" >&6; }
   10658 	:
   10659 fi
   10660 
   10661 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   10662 
   10663 # Check whether --with-appdefaultdir was given.
   10664 if test "${with_appdefaultdir+set}" = set; then :
   10665   withval=$with_appdefaultdir; appdefaultdir="$withval"
   10666 else
   10667   appdefaultdir="${xt_appdefaultdir}"
   10668 fi
   10669 
   10670 
   10671 
   10672 
   10673 ac_config_files="$ac_config_files Makefile man/Makefile"
   10674 
   10675 cat >confcache <<\_ACEOF
   10676 # This file is a shell script that caches the results of configure
   10677 # tests run on this system so they can be shared between configure
   10678 # scripts and configure runs, see configure's option --config-cache.
   10679 # It is not useful on other systems.  If it contains results you don't
   10680 # want to keep, you may remove or edit it.
   10681 #
   10682 # config.status only pays attention to the cache file if you give it
   10683 # the --recheck option to rerun configure.
   10684 #
   10685 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10686 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10687 # following values.
   10688 
   10689 _ACEOF
   10690 
   10691 # The following way of writing the cache mishandles newlines in values,
   10692 # but we know of no workaround that is simple, portable, and efficient.
   10693 # So, we kill variables containing newlines.
   10694 # Ultrix sh set writes to stderr and can't be redirected directly,
   10695 # and sets the high bit in the cache file unless we assign to the vars.
   10696 (
   10697   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10698     eval ac_val=\$$ac_var
   10699     case $ac_val in #(
   10700     *${as_nl}*)
   10701       case $ac_var in #(
   10702       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10703 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10704       esac
   10705       case $ac_var in #(
   10706       _ | IFS | as_nl) ;; #(
   10707       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10708       *) { eval $ac_var=; unset $ac_var;} ;;
   10709       esac ;;
   10710     esac
   10711   done
   10712 
   10713   (set) 2>&1 |
   10714     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10715     *${as_nl}ac_space=\ *)
   10716       # `set' does not quote correctly, so add quotes: double-quote
   10717       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10718       sed -n \
   10719 	"s/'/'\\\\''/g;
   10720 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10721       ;; #(
   10722     *)
   10723       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10724       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10725       ;;
   10726     esac |
   10727     sort
   10728 ) |
   10729   sed '
   10730      /^ac_cv_env_/b end
   10731      t clear
   10732      :clear
   10733      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10734      t end
   10735      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10736      :end' >>confcache
   10737 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10738   if test -w "$cache_file"; then
   10739     if test "x$cache_file" != "x/dev/null"; then
   10740       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10741 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10742       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10743 	cat confcache >"$cache_file"
   10744       else
   10745         case $cache_file in #(
   10746         */* | ?:*)
   10747 	  mv -f confcache "$cache_file"$$ &&
   10748 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10749         *)
   10750 	  mv -f confcache "$cache_file" ;;
   10751 	esac
   10752       fi
   10753     fi
   10754   else
   10755     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10756 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10757   fi
   10758 fi
   10759 rm -f confcache
   10760 
   10761 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10762 # Let make expand exec_prefix.
   10763 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10764 
   10765 DEFS=-DHAVE_CONFIG_H
   10766 
   10767 ac_libobjs=
   10768 ac_ltlibobjs=
   10769 U=
   10770 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10771   # 1. Remove the extension, and $U if already installed.
   10772   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10773   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10774   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10775   #    will be set to the directory where LIBOBJS objects are built.
   10776   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   10777   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   10778 done
   10779 LIBOBJS=$ac_libobjs
   10780 
   10781 LTLIBOBJS=$ac_ltlibobjs
   10782 
   10783 
   10784  if test -n "$EXEEXT"; then
   10785   am__EXEEXT_TRUE=
   10786   am__EXEEXT_FALSE='#'
   10787 else
   10788   am__EXEEXT_TRUE='#'
   10789   am__EXEEXT_FALSE=
   10790 fi
   10791 
   10792 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   10793   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   10794 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10795 fi
   10796 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   10797   as_fn_error $? "conditional \"AMDEP\" was never defined.
   10798 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10799 fi
   10800 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   10801   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   10802 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10803 fi
   10804 
   10805 : "${CONFIG_STATUS=./config.status}"
   10806 ac_write_fail=0
   10807 ac_clean_files_save=$ac_clean_files
   10808 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   10809 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   10810 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   10811 as_write_fail=0
   10812 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   10813 #! $SHELL
   10814 # Generated by $as_me.
   10815 # Run this file to recreate the current configuration.
   10816 # Compiler output produced by configure, useful for debugging
   10817 # configure, is in config.log if it exists.
   10818 
   10819 debug=false
   10820 ac_cs_recheck=false
   10821 ac_cs_silent=false
   10822 
   10823 SHELL=\${CONFIG_SHELL-$SHELL}
   10824 export SHELL
   10825 _ASEOF
   10826 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   10827 ## -------------------- ##
   10828 ## M4sh Initialization. ##
   10829 ## -------------------- ##
   10830 
   10831 # Be more Bourne compatible
   10832 DUALCASE=1; export DUALCASE # for MKS sh
   10833 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   10834   emulate sh
   10835   NULLCMD=:
   10836   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   10837   # is contrary to our usage.  Disable this feature.
   10838   alias -g '${1+"$@"}'='"$@"'
   10839   setopt NO_GLOB_SUBST
   10840 else
   10841   case `(set -o) 2>/dev/null` in #(
   10842   *posix*) :
   10843     set -o posix ;; #(
   10844   *) :
   10845      ;;
   10846 esac
   10847 fi
   10848 
   10849 
   10850 as_nl='
   10851 '
   10852 export as_nl
   10853 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   10854 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10855 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   10856 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   10857 # Prefer a ksh shell builtin over an external printf program on Solaris,
   10858 # but without wasting forks for bash or zsh.
   10859 if test -z "$BASH_VERSION$ZSH_VERSION" \
   10860     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   10861   as_echo='print -r --'
   10862   as_echo_n='print -rn --'
   10863 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   10864   as_echo='printf %s\n'
   10865   as_echo_n='printf %s'
   10866 else
   10867   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   10868     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   10869     as_echo_n='/usr/ucb/echo -n'
   10870   else
   10871     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   10872     as_echo_n_body='eval
   10873       arg=$1;
   10874       case $arg in #(
   10875       *"$as_nl"*)
   10876 	expr "X$arg" : "X\\(.*\\)$as_nl";
   10877 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   10878       esac;
   10879       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   10880     '
   10881     export as_echo_n_body
   10882     as_echo_n='sh -c $as_echo_n_body as_echo'
   10883   fi
   10884   export as_echo_body
   10885   as_echo='sh -c $as_echo_body as_echo'
   10886 fi
   10887 
   10888 # The user is always right.
   10889 if test "${PATH_SEPARATOR+set}" != set; then
   10890   PATH_SEPARATOR=:
   10891   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   10892     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   10893       PATH_SEPARATOR=';'
   10894   }
   10895 fi
   10896 
   10897 
   10898 # IFS
   10899 # We need space, tab and new line, in precisely that order.  Quoting is
   10900 # there to prevent editors from complaining about space-tab.
   10901 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   10902 # splitting by setting IFS to empty value.)
   10903 IFS=" ""	$as_nl"
   10904 
   10905 # Find who we are.  Look in the path if we contain no directory separator.
   10906 as_myself=
   10907 case $0 in #((
   10908   *[\\/]* ) as_myself=$0 ;;
   10909   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10910 for as_dir in $PATH
   10911 do
   10912   IFS=$as_save_IFS
   10913   test -z "$as_dir" && as_dir=.
   10914     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   10915   done
   10916 IFS=$as_save_IFS
   10917 
   10918      ;;
   10919 esac
   10920 # We did not find ourselves, most probably we were run as `sh COMMAND'
   10921 # in which case we are not to be found in the path.
   10922 if test "x$as_myself" = x; then
   10923   as_myself=$0
   10924 fi
   10925 if test ! -f "$as_myself"; then
   10926   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   10927   exit 1
   10928 fi
   10929 
   10930 # Unset variables that we do not need and which cause bugs (e.g. in
   10931 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   10932 # suppresses any "Segmentation fault" message there.  '((' could
   10933 # trigger a bug in pdksh 5.2.14.
   10934 for as_var in BASH_ENV ENV MAIL MAILPATH
   10935 do eval test x\${$as_var+set} = xset \
   10936   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   10937 done
   10938 PS1='$ '
   10939 PS2='> '
   10940 PS4='+ '
   10941 
   10942 # NLS nuisances.
   10943 LC_ALL=C
   10944 export LC_ALL
   10945 LANGUAGE=C
   10946 export LANGUAGE
   10947 
   10948 # CDPATH.
   10949 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10950 
   10951 
   10952 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   10953 # ----------------------------------------
   10954 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   10955 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   10956 # script with STATUS, using 1 if that was 0.
   10957 as_fn_error ()
   10958 {
   10959   as_status=$1; test $as_status -eq 0 && as_status=1
   10960   if test "$4"; then
   10961     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   10962     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   10963   fi
   10964   $as_echo "$as_me: error: $2" >&2
   10965   as_fn_exit $as_status
   10966 } # as_fn_error
   10967 
   10968 
   10969 # as_fn_set_status STATUS
   10970 # -----------------------
   10971 # Set $? to STATUS, without forking.
   10972 as_fn_set_status ()
   10973 {
   10974   return $1
   10975 } # as_fn_set_status
   10976 
   10977 # as_fn_exit STATUS
   10978 # -----------------
   10979 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   10980 as_fn_exit ()
   10981 {
   10982   set +e
   10983   as_fn_set_status $1
   10984   exit $1
   10985 } # as_fn_exit
   10986 
   10987 # as_fn_unset VAR
   10988 # ---------------
   10989 # Portably unset VAR.
   10990 as_fn_unset ()
   10991 {
   10992   { eval $1=; unset $1;}
   10993 }
   10994 as_unset=as_fn_unset
   10995 # as_fn_append VAR VALUE
   10996 # ----------------------
   10997 # Append the text in VALUE to the end of the definition contained in VAR. Take
   10998 # advantage of any shell optimizations that allow amortized linear growth over
   10999 # repeated appends, instead of the typical quadratic growth present in naive
   11000 # implementations.
   11001 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11002   eval 'as_fn_append ()
   11003   {
   11004     eval $1+=\$2
   11005   }'
   11006 else
   11007   as_fn_append ()
   11008   {
   11009     eval $1=\$$1\$2
   11010   }
   11011 fi # as_fn_append
   11012 
   11013 # as_fn_arith ARG...
   11014 # ------------------
   11015 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11016 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11017 # must be portable across $(()) and expr.
   11018 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11019   eval 'as_fn_arith ()
   11020   {
   11021     as_val=$(( $* ))
   11022   }'
   11023 else
   11024   as_fn_arith ()
   11025   {
   11026     as_val=`expr "$@" || test $? -eq 1`
   11027   }
   11028 fi # as_fn_arith
   11029 
   11030 
   11031 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11032    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11033   as_expr=expr
   11034 else
   11035   as_expr=false
   11036 fi
   11037 
   11038 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11039   as_basename=basename
   11040 else
   11041   as_basename=false
   11042 fi
   11043 
   11044 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11045   as_dirname=dirname
   11046 else
   11047   as_dirname=false
   11048 fi
   11049 
   11050 as_me=`$as_basename -- "$0" ||
   11051 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11052 	 X"$0" : 'X\(//\)$' \| \
   11053 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11054 $as_echo X/"$0" |
   11055     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11056 	    s//\1/
   11057 	    q
   11058 	  }
   11059 	  /^X\/\(\/\/\)$/{
   11060 	    s//\1/
   11061 	    q
   11062 	  }
   11063 	  /^X\/\(\/\).*/{
   11064 	    s//\1/
   11065 	    q
   11066 	  }
   11067 	  s/.*/./; q'`
   11068 
   11069 # Avoid depending upon Character Ranges.
   11070 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11071 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11072 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11073 as_cr_digits='0123456789'
   11074 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11075 
   11076 ECHO_C= ECHO_N= ECHO_T=
   11077 case `echo -n x` in #(((((
   11078 -n*)
   11079   case `echo 'xy\c'` in
   11080   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11081   xy)  ECHO_C='\c';;
   11082   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11083        ECHO_T='	';;
   11084   esac;;
   11085 *)
   11086   ECHO_N='-n';;
   11087 esac
   11088 
   11089 rm -f conf$$ conf$$.exe conf$$.file
   11090 if test -d conf$$.dir; then
   11091   rm -f conf$$.dir/conf$$.file
   11092 else
   11093   rm -f conf$$.dir
   11094   mkdir conf$$.dir 2>/dev/null
   11095 fi
   11096 if (echo >conf$$.file) 2>/dev/null; then
   11097   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11098     as_ln_s='ln -s'
   11099     # ... but there are two gotchas:
   11100     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11101     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11102     # In both cases, we have to default to `cp -p'.
   11103     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11104       as_ln_s='cp -p'
   11105   elif ln conf$$.file conf$$ 2>/dev/null; then
   11106     as_ln_s=ln
   11107   else
   11108     as_ln_s='cp -p'
   11109   fi
   11110 else
   11111   as_ln_s='cp -p'
   11112 fi
   11113 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11114 rmdir conf$$.dir 2>/dev/null
   11115 
   11116 
   11117 # as_fn_mkdir_p
   11118 # -------------
   11119 # Create "$as_dir" as a directory, including parents if necessary.
   11120 as_fn_mkdir_p ()
   11121 {
   11122 
   11123   case $as_dir in #(
   11124   -*) as_dir=./$as_dir;;
   11125   esac
   11126   test -d "$as_dir" || eval $as_mkdir_p || {
   11127     as_dirs=
   11128     while :; do
   11129       case $as_dir in #(
   11130       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11131       *) as_qdir=$as_dir;;
   11132       esac
   11133       as_dirs="'$as_qdir' $as_dirs"
   11134       as_dir=`$as_dirname -- "$as_dir" ||
   11135 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11136 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11137 	 X"$as_dir" : 'X\(//\)$' \| \
   11138 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11139 $as_echo X"$as_dir" |
   11140     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11141 	    s//\1/
   11142 	    q
   11143 	  }
   11144 	  /^X\(\/\/\)[^/].*/{
   11145 	    s//\1/
   11146 	    q
   11147 	  }
   11148 	  /^X\(\/\/\)$/{
   11149 	    s//\1/
   11150 	    q
   11151 	  }
   11152 	  /^X\(\/\).*/{
   11153 	    s//\1/
   11154 	    q
   11155 	  }
   11156 	  s/.*/./; q'`
   11157       test -d "$as_dir" && break
   11158     done
   11159     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11160   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11161 
   11162 
   11163 } # as_fn_mkdir_p
   11164 if mkdir -p . 2>/dev/null; then
   11165   as_mkdir_p='mkdir -p "$as_dir"'
   11166 else
   11167   test -d ./-p && rmdir ./-p
   11168   as_mkdir_p=false
   11169 fi
   11170 
   11171 if test -x / >/dev/null 2>&1; then
   11172   as_test_x='test -x'
   11173 else
   11174   if ls -dL / >/dev/null 2>&1; then
   11175     as_ls_L_option=L
   11176   else
   11177     as_ls_L_option=
   11178   fi
   11179   as_test_x='
   11180     eval sh -c '\''
   11181       if test -d "$1"; then
   11182 	test -d "$1/.";
   11183       else
   11184 	case $1 in #(
   11185 	-*)set "./$1";;
   11186 	esac;
   11187 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   11188 	???[sx]*):;;*)false;;esac;fi
   11189     '\'' sh
   11190   '
   11191 fi
   11192 as_executable_p=$as_test_x
   11193 
   11194 # Sed expression to map a string onto a valid CPP name.
   11195 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11196 
   11197 # Sed expression to map a string onto a valid variable name.
   11198 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11199 
   11200 
   11201 exec 6>&1
   11202 ## ----------------------------------- ##
   11203 ## Main body of $CONFIG_STATUS script. ##
   11204 ## ----------------------------------- ##
   11205 _ASEOF
   11206 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11207 
   11208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11209 # Save the log message, to keep $0 and so on meaningful, and to
   11210 # report actual input values of CONFIG_FILES etc. instead of their
   11211 # values after options handling.
   11212 ac_log="
   11213 This file was extended by xmag $as_me 1.0.5, which was
   11214 generated by GNU Autoconf 2.68.  Invocation command line was
   11215 
   11216   CONFIG_FILES    = $CONFIG_FILES
   11217   CONFIG_HEADERS  = $CONFIG_HEADERS
   11218   CONFIG_LINKS    = $CONFIG_LINKS
   11219   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11220   $ $0 $@
   11221 
   11222 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11223 "
   11224 
   11225 _ACEOF
   11226 
   11227 case $ac_config_files in *"
   11228 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11229 esac
   11230 
   11231 case $ac_config_headers in *"
   11232 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11233 esac
   11234 
   11235 
   11236 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11237 # Files that config.status was made for.
   11238 config_files="$ac_config_files"
   11239 config_headers="$ac_config_headers"
   11240 config_commands="$ac_config_commands"
   11241 
   11242 _ACEOF
   11243 
   11244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11245 ac_cs_usage="\
   11246 \`$as_me' instantiates files and other configuration actions
   11247 from templates according to the current configuration.  Unless the files
   11248 and actions are specified as TAGs, all are instantiated by default.
   11249 
   11250 Usage: $0 [OPTION]... [TAG]...
   11251 
   11252   -h, --help       print this help, then exit
   11253   -V, --version    print version number and configuration settings, then exit
   11254       --config     print configuration, then exit
   11255   -q, --quiet, --silent
   11256                    do not print progress messages
   11257   -d, --debug      don't remove temporary files
   11258       --recheck    update $as_me by reconfiguring in the same conditions
   11259       --file=FILE[:TEMPLATE]
   11260                    instantiate the configuration file FILE
   11261       --header=FILE[:TEMPLATE]
   11262                    instantiate the configuration header FILE
   11263 
   11264 Configuration files:
   11265 $config_files
   11266 
   11267 Configuration headers:
   11268 $config_headers
   11269 
   11270 Configuration commands:
   11271 $config_commands
   11272 
   11273 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11274 
   11275 _ACEOF
   11276 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11277 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11278 ac_cs_version="\\
   11279 xmag config.status 1.0.5
   11280 configured by $0, generated by GNU Autoconf 2.68,
   11281   with options \\"\$ac_cs_config\\"
   11282 
   11283 Copyright (C) 2010 Free Software Foundation, Inc.
   11284 This config.status script is free software; the Free Software Foundation
   11285 gives unlimited permission to copy, distribute and modify it."
   11286 
   11287 ac_pwd='$ac_pwd'
   11288 srcdir='$srcdir'
   11289 INSTALL='$INSTALL'
   11290 MKDIR_P='$MKDIR_P'
   11291 AWK='$AWK'
   11292 test -n "\$AWK" || AWK=awk
   11293 _ACEOF
   11294 
   11295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11296 # The default lists apply if the user does not specify any file.
   11297 ac_need_defaults=:
   11298 while test $# != 0
   11299 do
   11300   case $1 in
   11301   --*=?*)
   11302     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11303     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11304     ac_shift=:
   11305     ;;
   11306   --*=)
   11307     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11308     ac_optarg=
   11309     ac_shift=:
   11310     ;;
   11311   *)
   11312     ac_option=$1
   11313     ac_optarg=$2
   11314     ac_shift=shift
   11315     ;;
   11316   esac
   11317 
   11318   case $ac_option in
   11319   # Handling of the options.
   11320   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11321     ac_cs_recheck=: ;;
   11322   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11323     $as_echo "$ac_cs_version"; exit ;;
   11324   --config | --confi | --conf | --con | --co | --c )
   11325     $as_echo "$ac_cs_config"; exit ;;
   11326   --debug | --debu | --deb | --de | --d | -d )
   11327     debug=: ;;
   11328   --file | --fil | --fi | --f )
   11329     $ac_shift
   11330     case $ac_optarg in
   11331     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11332     '') as_fn_error $? "missing file argument" ;;
   11333     esac
   11334     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11335     ac_need_defaults=false;;
   11336   --header | --heade | --head | --hea )
   11337     $ac_shift
   11338     case $ac_optarg in
   11339     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11340     esac
   11341     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11342     ac_need_defaults=false;;
   11343   --he | --h)
   11344     # Conflict between --help and --header
   11345     as_fn_error $? "ambiguous option: \`$1'
   11346 Try \`$0 --help' for more information.";;
   11347   --help | --hel | -h )
   11348     $as_echo "$ac_cs_usage"; exit ;;
   11349   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11350   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11351     ac_cs_silent=: ;;
   11352 
   11353   # This is an error.
   11354   -*) as_fn_error $? "unrecognized option: \`$1'
   11355 Try \`$0 --help' for more information." ;;
   11356 
   11357   *) as_fn_append ac_config_targets " $1"
   11358      ac_need_defaults=false ;;
   11359 
   11360   esac
   11361   shift
   11362 done
   11363 
   11364 ac_configure_extra_args=
   11365 
   11366 if $ac_cs_silent; then
   11367   exec 6>/dev/null
   11368   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11369 fi
   11370 
   11371 _ACEOF
   11372 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11373 if \$ac_cs_recheck; then
   11374   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11375   shift
   11376   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11377   CONFIG_SHELL='$SHELL'
   11378   export CONFIG_SHELL
   11379   exec "\$@"
   11380 fi
   11381 
   11382 _ACEOF
   11383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11384 exec 5>>config.log
   11385 {
   11386   echo
   11387   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11388 ## Running $as_me. ##
   11389 _ASBOX
   11390   $as_echo "$ac_log"
   11391 } >&5
   11392 
   11393 _ACEOF
   11394 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11395 #
   11396 # INIT-COMMANDS
   11397 #
   11398 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11399 
   11400 _ACEOF
   11401 
   11402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11403 
   11404 # Handling of arguments.
   11405 for ac_config_target in $ac_config_targets
   11406 do
   11407   case $ac_config_target in
   11408     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11409     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11410     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11411     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11412 
   11413   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11414   esac
   11415 done
   11416 
   11417 
   11418 # If the user did not use the arguments to specify the items to instantiate,
   11419 # then the envvar interface is used.  Set only those that are not.
   11420 # We use the long form for the default assignment because of an extremely
   11421 # bizarre bug on SunOS 4.1.3.
   11422 if $ac_need_defaults; then
   11423   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11424   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11425   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11426 fi
   11427 
   11428 # Have a temporary directory for convenience.  Make it in the build tree
   11429 # simply because there is no reason against having it here, and in addition,
   11430 # creating and moving files from /tmp can sometimes cause problems.
   11431 # Hook for its removal unless debugging.
   11432 # Note that there is a small window in which the directory will not be cleaned:
   11433 # after its creation but before its name has been assigned to `$tmp'.
   11434 $debug ||
   11435 {
   11436   tmp= ac_tmp=
   11437   trap 'exit_status=$?
   11438   : "${ac_tmp:=$tmp}"
   11439   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11440 ' 0
   11441   trap 'as_fn_exit 1' 1 2 13 15
   11442 }
   11443 # Create a (secure) tmp directory for tmp files.
   11444 
   11445 {
   11446   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11447   test -d "$tmp"
   11448 }  ||
   11449 {
   11450   tmp=./conf$$-$RANDOM
   11451   (umask 077 && mkdir "$tmp")
   11452 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11453 ac_tmp=$tmp
   11454 
   11455 # Set up the scripts for CONFIG_FILES section.
   11456 # No need to generate them if there are no CONFIG_FILES.
   11457 # This happens for instance with `./config.status config.h'.
   11458 if test -n "$CONFIG_FILES"; then
   11459 
   11460 
   11461 ac_cr=`echo X | tr X '\015'`
   11462 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11463 # But we know of no other shell where ac_cr would be empty at this
   11464 # point, so we can use a bashism as a fallback.
   11465 if test "x$ac_cr" = x; then
   11466   eval ac_cr=\$\'\\r\'
   11467 fi
   11468 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11469 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11470   ac_cs_awk_cr='\\r'
   11471 else
   11472   ac_cs_awk_cr=$ac_cr
   11473 fi
   11474 
   11475 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11476 _ACEOF
   11477 
   11478 
   11479 {
   11480   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11481   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11482   echo "_ACEOF"
   11483 } >conf$$subs.sh ||
   11484   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11485 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11486 ac_delim='%!_!# '
   11487 for ac_last_try in false false false false false :; do
   11488   . ./conf$$subs.sh ||
   11489     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11490 
   11491   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11492   if test $ac_delim_n = $ac_delim_num; then
   11493     break
   11494   elif $ac_last_try; then
   11495     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11496   else
   11497     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11498   fi
   11499 done
   11500 rm -f conf$$subs.sh
   11501 
   11502 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11503 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11504 _ACEOF
   11505 sed -n '
   11506 h
   11507 s/^/S["/; s/!.*/"]=/
   11508 p
   11509 g
   11510 s/^[^!]*!//
   11511 :repl
   11512 t repl
   11513 s/'"$ac_delim"'$//
   11514 t delim
   11515 :nl
   11516 h
   11517 s/\(.\{148\}\)..*/\1/
   11518 t more1
   11519 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11520 p
   11521 n
   11522 b repl
   11523 :more1
   11524 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11525 p
   11526 g
   11527 s/.\{148\}//
   11528 t nl
   11529 :delim
   11530 h
   11531 s/\(.\{148\}\)..*/\1/
   11532 t more2
   11533 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11534 p
   11535 b
   11536 :more2
   11537 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11538 p
   11539 g
   11540 s/.\{148\}//
   11541 t delim
   11542 ' <conf$$subs.awk | sed '
   11543 /^[^""]/{
   11544   N
   11545   s/\n//
   11546 }
   11547 ' >>$CONFIG_STATUS || ac_write_fail=1
   11548 rm -f conf$$subs.awk
   11549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11550 _ACAWK
   11551 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11552   for (key in S) S_is_set[key] = 1
   11553   FS = ""
   11554 
   11555 }
   11556 {
   11557   line = $ 0
   11558   nfields = split(line, field, "@")
   11559   substed = 0
   11560   len = length(field[1])
   11561   for (i = 2; i < nfields; i++) {
   11562     key = field[i]
   11563     keylen = length(key)
   11564     if (S_is_set[key]) {
   11565       value = S[key]
   11566       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11567       len += length(value) + length(field[++i])
   11568       substed = 1
   11569     } else
   11570       len += 1 + keylen
   11571   }
   11572 
   11573   print line
   11574 }
   11575 
   11576 _ACAWK
   11577 _ACEOF
   11578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11579 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11580   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11581 else
   11582   cat
   11583 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11584   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11585 _ACEOF
   11586 
   11587 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11588 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11589 # trailing colons and then remove the whole line if VPATH becomes empty
   11590 # (actually we leave an empty line to preserve line numbers).
   11591 if test "x$srcdir" = x.; then
   11592   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11593 h
   11594 s///
   11595 s/^/:/
   11596 s/[	 ]*$/:/
   11597 s/:\$(srcdir):/:/g
   11598 s/:\${srcdir}:/:/g
   11599 s/:@srcdir@:/:/g
   11600 s/^:*//
   11601 s/:*$//
   11602 x
   11603 s/\(=[	 ]*\).*/\1/
   11604 G
   11605 s/\n//
   11606 s/^[^=]*=[	 ]*$//
   11607 }'
   11608 fi
   11609 
   11610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11611 fi # test -n "$CONFIG_FILES"
   11612 
   11613 # Set up the scripts for CONFIG_HEADERS section.
   11614 # No need to generate them if there are no CONFIG_HEADERS.
   11615 # This happens for instance with `./config.status Makefile'.
   11616 if test -n "$CONFIG_HEADERS"; then
   11617 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11618 BEGIN {
   11619 _ACEOF
   11620 
   11621 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11622 # here-document in config.status, that substitutes the proper values into
   11623 # config.h.in to produce config.h.
   11624 
   11625 # Create a delimiter string that does not exist in confdefs.h, to ease
   11626 # handling of long lines.
   11627 ac_delim='%!_!# '
   11628 for ac_last_try in false false :; do
   11629   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11630   if test -z "$ac_tt"; then
   11631     break
   11632   elif $ac_last_try; then
   11633     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11634   else
   11635     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11636   fi
   11637 done
   11638 
   11639 # For the awk script, D is an array of macro values keyed by name,
   11640 # likewise P contains macro parameters if any.  Preserve backslash
   11641 # newline sequences.
   11642 
   11643 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11644 sed -n '
   11645 s/.\{148\}/&'"$ac_delim"'/g
   11646 t rset
   11647 :rset
   11648 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11649 t def
   11650 d
   11651 :def
   11652 s/\\$//
   11653 t bsnl
   11654 s/["\\]/\\&/g
   11655 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11656 D["\1"]=" \3"/p
   11657 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11658 d
   11659 :bsnl
   11660 s/["\\]/\\&/g
   11661 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11662 D["\1"]=" \3\\\\\\n"\\/p
   11663 t cont
   11664 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11665 t cont
   11666 d
   11667 :cont
   11668 n
   11669 s/.\{148\}/&'"$ac_delim"'/g
   11670 t clear
   11671 :clear
   11672 s/\\$//
   11673 t bsnlc
   11674 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11675 d
   11676 :bsnlc
   11677 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11678 b cont
   11679 ' <confdefs.h | sed '
   11680 s/'"$ac_delim"'/"\\\
   11681 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11682 
   11683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11684   for (key in D) D_is_set[key] = 1
   11685   FS = ""
   11686 }
   11687 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11688   line = \$ 0
   11689   split(line, arg, " ")
   11690   if (arg[1] == "#") {
   11691     defundef = arg[2]
   11692     mac1 = arg[3]
   11693   } else {
   11694     defundef = substr(arg[1], 2)
   11695     mac1 = arg[2]
   11696   }
   11697   split(mac1, mac2, "(") #)
   11698   macro = mac2[1]
   11699   prefix = substr(line, 1, index(line, defundef) - 1)
   11700   if (D_is_set[macro]) {
   11701     # Preserve the white space surrounding the "#".
   11702     print prefix "define", macro P[macro] D[macro]
   11703     next
   11704   } else {
   11705     # Replace #undef with comments.  This is necessary, for example,
   11706     # in the case of _POSIX_SOURCE, which is predefined and required
   11707     # on some systems where configure will not decide to define it.
   11708     if (defundef == "undef") {
   11709       print "/*", prefix defundef, macro, "*/"
   11710       next
   11711     }
   11712   }
   11713 }
   11714 { print }
   11715 _ACAWK
   11716 _ACEOF
   11717 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11718   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11719 fi # test -n "$CONFIG_HEADERS"
   11720 
   11721 
   11722 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11723 shift
   11724 for ac_tag
   11725 do
   11726   case $ac_tag in
   11727   :[FHLC]) ac_mode=$ac_tag; continue;;
   11728   esac
   11729   case $ac_mode$ac_tag in
   11730   :[FHL]*:*);;
   11731   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11732   :[FH]-) ac_tag=-:-;;
   11733   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11734   esac
   11735   ac_save_IFS=$IFS
   11736   IFS=:
   11737   set x $ac_tag
   11738   IFS=$ac_save_IFS
   11739   shift
   11740   ac_file=$1
   11741   shift
   11742 
   11743   case $ac_mode in
   11744   :L) ac_source=$1;;
   11745   :[FH])
   11746     ac_file_inputs=
   11747     for ac_f
   11748     do
   11749       case $ac_f in
   11750       -) ac_f="$ac_tmp/stdin";;
   11751       *) # Look for the file first in the build tree, then in the source tree
   11752 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11753 	 # because $ac_f cannot contain `:'.
   11754 	 test -f "$ac_f" ||
   11755 	   case $ac_f in
   11756 	   [\\/$]*) false;;
   11757 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11758 	   esac ||
   11759 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11760       esac
   11761       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11762       as_fn_append ac_file_inputs " '$ac_f'"
   11763     done
   11764 
   11765     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11766     # use $as_me), people would be surprised to read:
   11767     #    /* config.h.  Generated by config.status.  */
   11768     configure_input='Generated from '`
   11769 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11770 	`' by configure.'
   11771     if test x"$ac_file" != x-; then
   11772       configure_input="$ac_file.  $configure_input"
   11773       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11774 $as_echo "$as_me: creating $ac_file" >&6;}
   11775     fi
   11776     # Neutralize special characters interpreted by sed in replacement strings.
   11777     case $configure_input in #(
   11778     *\&* | *\|* | *\\* )
   11779        ac_sed_conf_input=`$as_echo "$configure_input" |
   11780        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11781     *) ac_sed_conf_input=$configure_input;;
   11782     esac
   11783 
   11784     case $ac_tag in
   11785     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   11786       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   11787     esac
   11788     ;;
   11789   esac
   11790 
   11791   ac_dir=`$as_dirname -- "$ac_file" ||
   11792 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11793 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   11794 	 X"$ac_file" : 'X\(//\)$' \| \
   11795 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   11796 $as_echo X"$ac_file" |
   11797     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11798 	    s//\1/
   11799 	    q
   11800 	  }
   11801 	  /^X\(\/\/\)[^/].*/{
   11802 	    s//\1/
   11803 	    q
   11804 	  }
   11805 	  /^X\(\/\/\)$/{
   11806 	    s//\1/
   11807 	    q
   11808 	  }
   11809 	  /^X\(\/\).*/{
   11810 	    s//\1/
   11811 	    q
   11812 	  }
   11813 	  s/.*/./; q'`
   11814   as_dir="$ac_dir"; as_fn_mkdir_p
   11815   ac_builddir=.
   11816 
   11817 case "$ac_dir" in
   11818 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11819 *)
   11820   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   11821   # A ".." for each directory in $ac_dir_suffix.
   11822   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   11823   case $ac_top_builddir_sub in
   11824   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11825   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   11826   esac ;;
   11827 esac
   11828 ac_abs_top_builddir=$ac_pwd
   11829 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   11830 # for backward compatibility:
   11831 ac_top_builddir=$ac_top_build_prefix
   11832 
   11833 case $srcdir in
   11834   .)  # We are building in place.
   11835     ac_srcdir=.
   11836     ac_top_srcdir=$ac_top_builddir_sub
   11837     ac_abs_top_srcdir=$ac_pwd ;;
   11838   [\\/]* | ?:[\\/]* )  # Absolute name.
   11839     ac_srcdir=$srcdir$ac_dir_suffix;
   11840     ac_top_srcdir=$srcdir
   11841     ac_abs_top_srcdir=$srcdir ;;
   11842   *) # Relative name.
   11843     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   11844     ac_top_srcdir=$ac_top_build_prefix$srcdir
   11845     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   11846 esac
   11847 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   11848 
   11849 
   11850   case $ac_mode in
   11851   :F)
   11852   #
   11853   # CONFIG_FILE
   11854   #
   11855 
   11856   case $INSTALL in
   11857   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   11858   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   11859   esac
   11860   ac_MKDIR_P=$MKDIR_P
   11861   case $MKDIR_P in
   11862   [\\/$]* | ?:[\\/]* ) ;;
   11863   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   11864   esac
   11865 _ACEOF
   11866 
   11867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11868 # If the template does not know about datarootdir, expand it.
   11869 # FIXME: This hack should be removed a few years after 2.60.
   11870 ac_datarootdir_hack=; ac_datarootdir_seen=
   11871 ac_sed_dataroot='
   11872 /datarootdir/ {
   11873   p
   11874   q
   11875 }
   11876 /@datadir@/p
   11877 /@docdir@/p
   11878 /@infodir@/p
   11879 /@localedir@/p
   11880 /@mandir@/p'
   11881 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   11882 *datarootdir*) ac_datarootdir_seen=yes;;
   11883 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   11884   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   11885 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   11886 _ACEOF
   11887 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11888   ac_datarootdir_hack='
   11889   s&@datadir@&$datadir&g
   11890   s&@docdir@&$docdir&g
   11891   s&@infodir@&$infodir&g
   11892   s&@localedir@&$localedir&g
   11893   s&@mandir@&$mandir&g
   11894   s&\\\${datarootdir}&$datarootdir&g' ;;
   11895 esac
   11896 _ACEOF
   11897 
   11898 # Neutralize VPATH when `$srcdir' = `.'.
   11899 # Shell code in configure.ac might set extrasub.
   11900 # FIXME: do we really want to maintain this feature?
   11901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11902 ac_sed_extra="$ac_vpsub
   11903 $extrasub
   11904 _ACEOF
   11905 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11906 :t
   11907 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   11908 s|@configure_input@|$ac_sed_conf_input|;t t
   11909 s&@top_builddir@&$ac_top_builddir_sub&;t t
   11910 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   11911 s&@srcdir@&$ac_srcdir&;t t
   11912 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   11913 s&@top_srcdir@&$ac_top_srcdir&;t t
   11914 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   11915 s&@builddir@&$ac_builddir&;t t
   11916 s&@abs_builddir@&$ac_abs_builddir&;t t
   11917 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   11918 s&@INSTALL@&$ac_INSTALL&;t t
   11919 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   11920 $ac_datarootdir_hack
   11921 "
   11922 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   11923   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11924 
   11925 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   11926   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   11927   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   11928       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   11929   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11930 which seems to be undefined.  Please make sure it is defined" >&5
   11931 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11932 which seems to be undefined.  Please make sure it is defined" >&2;}
   11933 
   11934   rm -f "$ac_tmp/stdin"
   11935   case $ac_file in
   11936   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   11937   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   11938   esac \
   11939   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11940  ;;
   11941   :H)
   11942   #
   11943   # CONFIG_HEADER
   11944   #
   11945   if test x"$ac_file" != x-; then
   11946     {
   11947       $as_echo "/* $configure_input  */" \
   11948       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   11949     } >"$ac_tmp/config.h" \
   11950       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11951     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   11952       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   11953 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   11954     else
   11955       rm -f "$ac_file"
   11956       mv "$ac_tmp/config.h" "$ac_file" \
   11957 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11958     fi
   11959   else
   11960     $as_echo "/* $configure_input  */" \
   11961       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   11962       || as_fn_error $? "could not create -" "$LINENO" 5
   11963   fi
   11964 # Compute "$ac_file"'s index in $config_headers.
   11965 _am_arg="$ac_file"
   11966 _am_stamp_count=1
   11967 for _am_header in $config_headers :; do
   11968   case $_am_header in
   11969     $_am_arg | $_am_arg:* )
   11970       break ;;
   11971     * )
   11972       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   11973   esac
   11974 done
   11975 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   11976 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11977 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   11978 	 X"$_am_arg" : 'X\(//\)$' \| \
   11979 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   11980 $as_echo X"$_am_arg" |
   11981     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11982 	    s//\1/
   11983 	    q
   11984 	  }
   11985 	  /^X\(\/\/\)[^/].*/{
   11986 	    s//\1/
   11987 	    q
   11988 	  }
   11989 	  /^X\(\/\/\)$/{
   11990 	    s//\1/
   11991 	    q
   11992 	  }
   11993 	  /^X\(\/\).*/{
   11994 	    s//\1/
   11995 	    q
   11996 	  }
   11997 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   11998  ;;
   11999 
   12000   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12001 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12002  ;;
   12003   esac
   12004 
   12005 
   12006   case $ac_file$ac_mode in
   12007     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12008   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   12009   # are listed without --file.  Let's play safe and only enable the eval
   12010   # if we detect the quoting.
   12011   case $CONFIG_FILES in
   12012   *\'*) eval set x "$CONFIG_FILES" ;;
   12013   *)   set x $CONFIG_FILES ;;
   12014   esac
   12015   shift
   12016   for mf
   12017   do
   12018     # Strip MF so we end up with the name of the file.
   12019     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12020     # Check whether this is an Automake generated Makefile or not.
   12021     # We used to match only the files named `Makefile.in', but
   12022     # some people rename them; so instead we look at the file content.
   12023     # Grep'ing the first line is not enough: some people post-process
   12024     # each Makefile.in and add a new line on top of each file to say so.
   12025     # Grep'ing the whole file is not good either: AIX grep has a line
   12026     # limit of 2048, but all sed's we know have understand at least 4000.
   12027     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12028       dirpart=`$as_dirname -- "$mf" ||
   12029 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12030 	 X"$mf" : 'X\(//\)[^/]' \| \
   12031 	 X"$mf" : 'X\(//\)$' \| \
   12032 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12033 $as_echo X"$mf" |
   12034     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12035 	    s//\1/
   12036 	    q
   12037 	  }
   12038 	  /^X\(\/\/\)[^/].*/{
   12039 	    s//\1/
   12040 	    q
   12041 	  }
   12042 	  /^X\(\/\/\)$/{
   12043 	    s//\1/
   12044 	    q
   12045 	  }
   12046 	  /^X\(\/\).*/{
   12047 	    s//\1/
   12048 	    q
   12049 	  }
   12050 	  s/.*/./; q'`
   12051     else
   12052       continue
   12053     fi
   12054     # Extract the definition of DEPDIR, am__include, and am__quote
   12055     # from the Makefile without running `make'.
   12056     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12057     test -z "$DEPDIR" && continue
   12058     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12059     test -z "am__include" && continue
   12060     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12061     # When using ansi2knr, U may be empty or an underscore; expand it
   12062     U=`sed -n 's/^U = //p' < "$mf"`
   12063     # Find all dependency output files, they are included files with
   12064     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12065     # simplest approach to changing $(DEPDIR) to its actual value in the
   12066     # expansion.
   12067     for file in `sed -n "
   12068       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12069 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   12070       # Make sure the directory exists.
   12071       test -f "$dirpart/$file" && continue
   12072       fdir=`$as_dirname -- "$file" ||
   12073 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12074 	 X"$file" : 'X\(//\)[^/]' \| \
   12075 	 X"$file" : 'X\(//\)$' \| \
   12076 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12077 $as_echo X"$file" |
   12078     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12079 	    s//\1/
   12080 	    q
   12081 	  }
   12082 	  /^X\(\/\/\)[^/].*/{
   12083 	    s//\1/
   12084 	    q
   12085 	  }
   12086 	  /^X\(\/\/\)$/{
   12087 	    s//\1/
   12088 	    q
   12089 	  }
   12090 	  /^X\(\/\).*/{
   12091 	    s//\1/
   12092 	    q
   12093 	  }
   12094 	  s/.*/./; q'`
   12095       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12096       # echo "creating $dirpart/$file"
   12097       echo '# dummy' > "$dirpart/$file"
   12098     done
   12099   done
   12100 }
   12101  ;;
   12102 
   12103   esac
   12104 done # for ac_tag
   12105 
   12106 
   12107 as_fn_exit 0
   12108 _ACEOF
   12109 ac_clean_files=$ac_clean_files_save
   12110 
   12111 test $ac_write_fail = 0 ||
   12112   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12113 
   12114 
   12115 # configure is writing to config.log, and then calls config.status.
   12116 # config.status does its own redirection, appending to config.log.
   12117 # Unfortunately, on DOS this fails, as config.log is still kept open
   12118 # by configure, so config.status won't be able to write to it; its
   12119 # output is simply discarded.  So we exec the FD to /dev/null,
   12120 # effectively closing config.log, so it can be properly (re)opened and
   12121 # appended to by config.status.  When coming back to configure, we
   12122 # need to make the FD available again.
   12123 if test "$no_create" != yes; then
   12124   ac_cs_success=:
   12125   ac_config_status_args=
   12126   test "$silent" = yes &&
   12127     ac_config_status_args="$ac_config_status_args --quiet"
   12128   exec 5>/dev/null
   12129   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12130   exec 5>>config.log
   12131   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12132   # would make configure fail if this is the last instruction.
   12133   $ac_cs_success || as_fn_exit 1
   12134 fi
   12135 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12136   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12137 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12138 fi
   12139 
   12140