Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xgc 1.0.5.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1"
    202   if (eval "$as_required") 2>/dev/null; then :
    203   as_have_required=yes
    204 else
    205   as_have_required=no
    206 fi
    207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    208 
    209 else
    210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   test -z "$as_dir" && as_dir=.
    216   as_found=:
    217   case $as_dir in #(
    218 	 /*)
    219 	   for as_base in sh bash ksh sh5; do
    220 	     # Try only shells that exist, to save several forks.
    221 	     as_shell=$as_dir/$as_base
    222 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    223 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    226   break 2
    227 fi
    228 fi
    229 	   done;;
    230        esac
    231   as_found=false
    232 done
    233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    235   CONFIG_SHELL=$SHELL as_have_required=yes
    236 fi; }
    237 IFS=$as_save_IFS
    238 
    239 
    240       if test "x$CONFIG_SHELL" != x; then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno; then :
    263   $as_echo "$0: This script requires a shell more modern than all"
    264   $as_echo "$0: the shells that I found on your system."
    265   if test x${ZSH_VERSION+set} = xset ; then
    266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    268   else
    269     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    270 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    271 $0: about your system, including any error possibly output
    272 $0: before this message. Then install a modern shell, or
    273 $0: manually run the script under such a shell if you do
    274 $0: have one."
    275   fi
    276   exit 1
    277 fi
    278 fi
    279 fi
    280 SHELL=${CONFIG_SHELL-/bin/sh}
    281 export SHELL
    282 # Unset more variables known to interfere with behavior of common tools.
    283 CLICOLOR_FORCE= GREP_OPTIONS=
    284 unset CLICOLOR_FORCE GREP_OPTIONS
    285 
    286 ## --------------------- ##
    287 ## M4sh Shell Functions. ##
    288 ## --------------------- ##
    289 # as_fn_unset VAR
    290 # ---------------
    291 # Portably unset VAR.
    292 as_fn_unset ()
    293 {
    294   { eval $1=; unset $1;}
    295 }
    296 as_unset=as_fn_unset
    297 
    298 # as_fn_set_status STATUS
    299 # -----------------------
    300 # Set $? to STATUS, without forking.
    301 as_fn_set_status ()
    302 {
    303   return $1
    304 } # as_fn_set_status
    305 
    306 # as_fn_exit STATUS
    307 # -----------------
    308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    309 as_fn_exit ()
    310 {
    311   set +e
    312   as_fn_set_status $1
    313   exit $1
    314 } # as_fn_exit
    315 
    316 # as_fn_mkdir_p
    317 # -------------
    318 # Create "$as_dir" as a directory, including parents if necessary.
    319 as_fn_mkdir_p ()
    320 {
    321 
    322   case $as_dir in #(
    323   -*) as_dir=./$as_dir;;
    324   esac
    325   test -d "$as_dir" || eval $as_mkdir_p || {
    326     as_dirs=
    327     while :; do
    328       case $as_dir in #(
    329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    330       *) as_qdir=$as_dir;;
    331       esac
    332       as_dirs="'$as_qdir' $as_dirs"
    333       as_dir=`$as_dirname -- "$as_dir" ||
    334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    335 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    336 	 X"$as_dir" : 'X\(//\)$' \| \
    337 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    338 $as_echo X"$as_dir" |
    339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    340 	    s//\1/
    341 	    q
    342 	  }
    343 	  /^X\(\/\/\)[^/].*/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\).*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  s/.*/./; q'`
    356       test -d "$as_dir" && break
    357     done
    358     test -z "$as_dirs" || eval "mkdir $as_dirs"
    359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    360 
    361 
    362 } # as_fn_mkdir_p
    363 
    364 # as_fn_executable_p FILE
    365 # -----------------------
    366 # Test if FILE is an executable regular file.
    367 as_fn_executable_p ()
    368 {
    369   test -f "$1" && test -x "$1"
    370 } # as_fn_executable_p
    371 # as_fn_append VAR VALUE
    372 # ----------------------
    373 # Append the text in VALUE to the end of the definition contained in VAR. Take
    374 # advantage of any shell optimizations that allow amortized linear growth over
    375 # repeated appends, instead of the typical quadratic growth present in naive
    376 # implementations.
    377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    378   eval 'as_fn_append ()
    379   {
    380     eval $1+=\$2
    381   }'
    382 else
    383   as_fn_append ()
    384   {
    385     eval $1=\$$1\$2
    386   }
    387 fi # as_fn_append
    388 
    389 # as_fn_arith ARG...
    390 # ------------------
    391 # Perform arithmetic evaluation on the ARGs, and store the result in the
    392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    393 # must be portable across $(()) and expr.
    394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    395   eval 'as_fn_arith ()
    396   {
    397     as_val=$(( $* ))
    398   }'
    399 else
    400   as_fn_arith ()
    401   {
    402     as_val=`expr "$@" || test $? -eq 1`
    403   }
    404 fi # as_fn_arith
    405 
    406 
    407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    408 # ----------------------------------------
    409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    411 # script with STATUS, using 1 if that was 0.
    412 as_fn_error ()
    413 {
    414   as_status=$1; test $as_status -eq 0 && as_status=1
    415   if test "$4"; then
    416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    418   fi
    419   $as_echo "$as_me: error: $2" >&2
    420   as_fn_exit $as_status
    421 } # as_fn_error
    422 
    423 if expr a : '\(a\)' >/dev/null 2>&1 &&
    424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    425   as_expr=expr
    426 else
    427   as_expr=false
    428 fi
    429 
    430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    431   as_basename=basename
    432 else
    433   as_basename=false
    434 fi
    435 
    436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    437   as_dirname=dirname
    438 else
    439   as_dirname=false
    440 fi
    441 
    442 as_me=`$as_basename -- "$0" ||
    443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    444 	 X"$0" : 'X\(//\)$' \| \
    445 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    446 $as_echo X/"$0" |
    447     sed '/^.*\/\([^/][^/]*\)\/*$/{
    448 	    s//\1/
    449 	    q
    450 	  }
    451 	  /^X\/\(\/\/\)$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\).*/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  s/.*/./; q'`
    460 
    461 # Avoid depending upon Character Ranges.
    462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    465 as_cr_digits='0123456789'
    466 as_cr_alnum=$as_cr_Letters$as_cr_digits
    467 
    468 
    469   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    470   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    471   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    472   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    473   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    474   sed -n '
    475     p
    476     /[$]LINENO/=
    477   ' <$as_myself |
    478     sed '
    479       s/[$]LINENO.*/&-/
    480       t lineno
    481       b
    482       :lineno
    483       N
    484       :loop
    485       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    486       t loop
    487       s/-\n.*//
    488     ' >$as_me.lineno &&
    489   chmod +x "$as_me.lineno" ||
    490     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    491 
    492   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    493   # already done that, so ensure we don't try to do so again and fall
    494   # in an infinite loop.  This has already happened in practice.
    495   _as_can_reexec=no; export _as_can_reexec
    496   # Don't try to exec as it changes $[0], causing all sort of problems
    497   # (the dirname of $[0] is not the place where we might find the
    498   # original and so on.  Autoconf is especially sensitive to this).
    499   . "./$as_me.lineno"
    500   # Exit status is that of the last command.
    501   exit
    502 }
    503 
    504 ECHO_C= ECHO_N= ECHO_T=
    505 case `echo -n x` in #(((((
    506 -n*)
    507   case `echo 'xy\c'` in
    508   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    509   xy)  ECHO_C='\c';;
    510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    511        ECHO_T='	';;
    512   esac;;
    513 *)
    514   ECHO_N='-n';;
    515 esac
    516 
    517 rm -f conf$$ conf$$.exe conf$$.file
    518 if test -d conf$$.dir; then
    519   rm -f conf$$.dir/conf$$.file
    520 else
    521   rm -f conf$$.dir
    522   mkdir conf$$.dir 2>/dev/null
    523 fi
    524 if (echo >conf$$.file) 2>/dev/null; then
    525   if ln -s conf$$.file conf$$ 2>/dev/null; then
    526     as_ln_s='ln -s'
    527     # ... but there are two gotchas:
    528     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    529     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    530     # In both cases, we have to default to `cp -pR'.
    531     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    532       as_ln_s='cp -pR'
    533   elif ln conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s=ln
    535   else
    536     as_ln_s='cp -pR'
    537   fi
    538 else
    539   as_ln_s='cp -pR'
    540 fi
    541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    542 rmdir conf$$.dir 2>/dev/null
    543 
    544 if mkdir -p . 2>/dev/null; then
    545   as_mkdir_p='mkdir -p "$as_dir"'
    546 else
    547   test -d ./-p && rmdir ./-p
    548   as_mkdir_p=false
    549 fi
    550 
    551 as_test_x='test -x'
    552 as_executable_p=as_fn_executable_p
    553 
    554 # Sed expression to map a string onto a valid CPP name.
    555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    556 
    557 # Sed expression to map a string onto a valid variable name.
    558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    559 
    560 
    561 test -n "$DJDIR" || exec 7<&0 </dev/null
    562 exec 6>&1
    563 
    564 # Name of the host.
    565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    566 # so uname gets run too.
    567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    568 
    569 #
    570 # Initializations.
    571 #
    572 ac_default_prefix=/usr/local
    573 ac_clean_files=
    574 ac_config_libobj_dir=.
    575 LIBOBJS=
    576 cross_compiling=no
    577 subdirs=
    578 MFLAGS=
    579 MAKEFLAGS=
    580 
    581 # Identity of this package.
    582 PACKAGE_NAME='xgc'
    583 PACKAGE_TARNAME='xgc'
    584 PACKAGE_VERSION='1.0.5'
    585 PACKAGE_STRING='xgc 1.0.5'
    586 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    587 PACKAGE_URL=''
    588 
    589 ac_unique_file="Makefile.am"
    590 # Factoring default headers for most tests.
    591 ac_includes_default="\
    592 #include <stdio.h>
    593 #ifdef HAVE_SYS_TYPES_H
    594 # include <sys/types.h>
    595 #endif
    596 #ifdef HAVE_SYS_STAT_H
    597 # include <sys/stat.h>
    598 #endif
    599 #ifdef STDC_HEADERS
    600 # include <stdlib.h>
    601 # include <stddef.h>
    602 #else
    603 # ifdef HAVE_STDLIB_H
    604 #  include <stdlib.h>
    605 # endif
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    609 #  include <memory.h>
    610 # endif
    611 # include <string.h>
    612 #endif
    613 #ifdef HAVE_STRINGS_H
    614 # include <strings.h>
    615 #endif
    616 #ifdef HAVE_INTTYPES_H
    617 # include <inttypes.h>
    618 #endif
    619 #ifdef HAVE_STDINT_H
    620 # include <stdint.h>
    621 #endif
    622 #ifdef HAVE_UNISTD_H
    623 # include <unistd.h>
    624 #endif"
    625 
    626 ac_subst_vars='am__EXEEXT_FALSE
    627 am__EXEEXT_TRUE
    628 LTLIBOBJS
    629 LIBOBJS
    630 appdefaultdir
    631 XGC_LIBS
    632 XGC_CFLAGS
    633 YACC_INST
    634 YFLAGS
    635 YACC
    636 LEXLIB
    637 LEX_OUTPUT_ROOT
    638 LEX
    639 MAN_SUBSTS
    640 XORG_MAN_PAGE
    641 ADMIN_MAN_DIR
    642 DRIVER_MAN_DIR
    643 MISC_MAN_DIR
    644 FILE_MAN_DIR
    645 LIB_MAN_DIR
    646 APP_MAN_DIR
    647 ADMIN_MAN_SUFFIX
    648 DRIVER_MAN_SUFFIX
    649 MISC_MAN_SUFFIX
    650 FILE_MAN_SUFFIX
    651 LIB_MAN_SUFFIX
    652 APP_MAN_SUFFIX
    653 SED
    654 host_os
    655 host_vendor
    656 host_cpu
    657 host
    658 build_os
    659 build_vendor
    660 build_cpu
    661 build
    662 INSTALL_CMD
    663 PKG_CONFIG
    664 CHANGELOG_CMD
    665 STRICT_CFLAGS
    666 CWARNFLAGS
    667 BASE_CFLAGS
    668 EGREP
    669 GREP
    670 CPP
    671 am__fastdepCC_FALSE
    672 am__fastdepCC_TRUE
    673 CCDEPMODE
    674 am__nodep
    675 AMDEPBACKSLASH
    676 AMDEP_FALSE
    677 AMDEP_TRUE
    678 am__quote
    679 am__include
    680 DEPDIR
    681 OBJEXT
    682 EXEEXT
    683 ac_ct_CC
    684 CPPFLAGS
    685 LDFLAGS
    686 CFLAGS
    687 CC
    688 AM_BACKSLASH
    689 AM_DEFAULT_VERBOSITY
    690 AM_DEFAULT_V
    691 AM_V
    692 am__untar
    693 am__tar
    694 AMTAR
    695 am__leading_dot
    696 SET_MAKE
    697 AWK
    698 mkdir_p
    699 MKDIR_P
    700 INSTALL_STRIP_PROGRAM
    701 STRIP
    702 install_sh
    703 MAKEINFO
    704 AUTOHEADER
    705 AUTOMAKE
    706 AUTOCONF
    707 ACLOCAL
    708 VERSION
    709 PACKAGE
    710 CYGPATH_W
    711 am__isrc
    712 INSTALL_DATA
    713 INSTALL_SCRIPT
    714 INSTALL_PROGRAM
    715 target_alias
    716 host_alias
    717 build_alias
    718 LIBS
    719 ECHO_T
    720 ECHO_N
    721 ECHO_C
    722 DEFS
    723 mandir
    724 localedir
    725 libdir
    726 psdir
    727 pdfdir
    728 dvidir
    729 htmldir
    730 infodir
    731 docdir
    732 oldincludedir
    733 includedir
    734 localstatedir
    735 sharedstatedir
    736 sysconfdir
    737 datadir
    738 datarootdir
    739 libexecdir
    740 sbindir
    741 bindir
    742 program_transform_name
    743 prefix
    744 exec_prefix
    745 PACKAGE_URL
    746 PACKAGE_BUGREPORT
    747 PACKAGE_STRING
    748 PACKAGE_VERSION
    749 PACKAGE_TARNAME
    750 PACKAGE_NAME
    751 PATH_SEPARATOR
    752 SHELL'
    753 ac_subst_files=''
    754 ac_user_opts='
    755 enable_option_checking
    756 enable_silent_rules
    757 enable_dependency_tracking
    758 enable_selective_werror
    759 enable_strict_compilation
    760 with_appdefaultdir
    761 '
    762       ac_precious_vars='build_alias
    763 host_alias
    764 target_alias
    765 CC
    766 CFLAGS
    767 LDFLAGS
    768 LIBS
    769 CPPFLAGS
    770 CPP
    771 PKG_CONFIG
    772 YACC
    773 YFLAGS
    774 XGC_CFLAGS
    775 XGC_LIBS'
    776 
    777 
    778 # Initialize some variables set by options.
    779 ac_init_help=
    780 ac_init_version=false
    781 ac_unrecognized_opts=
    782 ac_unrecognized_sep=
    783 # The variables have the same names as the options, with
    784 # dashes changed to underlines.
    785 cache_file=/dev/null
    786 exec_prefix=NONE
    787 no_create=
    788 no_recursion=
    789 prefix=NONE
    790 program_prefix=NONE
    791 program_suffix=NONE
    792 program_transform_name=s,x,x,
    793 silent=
    794 site=
    795 srcdir=
    796 verbose=
    797 x_includes=NONE
    798 x_libraries=NONE
    799 
    800 # Installation directory options.
    801 # These are left unexpanded so users can "make install exec_prefix=/foo"
    802 # and all the variables that are supposed to be based on exec_prefix
    803 # by default will actually change.
    804 # Use braces instead of parens because sh, perl, etc. also accept them.
    805 # (The list follows the same order as the GNU Coding Standards.)
    806 bindir='${exec_prefix}/bin'
    807 sbindir='${exec_prefix}/sbin'
    808 libexecdir='${exec_prefix}/libexec'
    809 datarootdir='${prefix}/share'
    810 datadir='${datarootdir}'
    811 sysconfdir='${prefix}/etc'
    812 sharedstatedir='${prefix}/com'
    813 localstatedir='${prefix}/var'
    814 includedir='${prefix}/include'
    815 oldincludedir='/usr/include'
    816 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    817 infodir='${datarootdir}/info'
    818 htmldir='${docdir}'
    819 dvidir='${docdir}'
    820 pdfdir='${docdir}'
    821 psdir='${docdir}'
    822 libdir='${exec_prefix}/lib'
    823 localedir='${datarootdir}/locale'
    824 mandir='${datarootdir}/man'
    825 
    826 ac_prev=
    827 ac_dashdash=
    828 for ac_option
    829 do
    830   # If the previous option needs an argument, assign it.
    831   if test -n "$ac_prev"; then
    832     eval $ac_prev=\$ac_option
    833     ac_prev=
    834     continue
    835   fi
    836 
    837   case $ac_option in
    838   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    839   *=)   ac_optarg= ;;
    840   *)    ac_optarg=yes ;;
    841   esac
    842 
    843   # Accept the important Cygnus configure options, so we can diagnose typos.
    844 
    845   case $ac_dashdash$ac_option in
    846   --)
    847     ac_dashdash=yes ;;
    848 
    849   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    850     ac_prev=bindir ;;
    851   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    852     bindir=$ac_optarg ;;
    853 
    854   -build | --build | --buil | --bui | --bu)
    855     ac_prev=build_alias ;;
    856   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    857     build_alias=$ac_optarg ;;
    858 
    859   -cache-file | --cache-file | --cache-fil | --cache-fi \
    860   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    861     ac_prev=cache_file ;;
    862   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    863   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    864     cache_file=$ac_optarg ;;
    865 
    866   --config-cache | -C)
    867     cache_file=config.cache ;;
    868 
    869   -datadir | --datadir | --datadi | --datad)
    870     ac_prev=datadir ;;
    871   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    872     datadir=$ac_optarg ;;
    873 
    874   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    875   | --dataroo | --dataro | --datar)
    876     ac_prev=datarootdir ;;
    877   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    878   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    879     datarootdir=$ac_optarg ;;
    880 
    881   -disable-* | --disable-*)
    882     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    883     # Reject names that are not valid shell variable names.
    884     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    885       as_fn_error $? "invalid feature name: $ac_useropt"
    886     ac_useropt_orig=$ac_useropt
    887     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    888     case $ac_user_opts in
    889       *"
    890 "enable_$ac_useropt"
    891 "*) ;;
    892       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    893 	 ac_unrecognized_sep=', ';;
    894     esac
    895     eval enable_$ac_useropt=no ;;
    896 
    897   -docdir | --docdir | --docdi | --doc | --do)
    898     ac_prev=docdir ;;
    899   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    900     docdir=$ac_optarg ;;
    901 
    902   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    903     ac_prev=dvidir ;;
    904   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    905     dvidir=$ac_optarg ;;
    906 
    907   -enable-* | --enable-*)
    908     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    909     # Reject names that are not valid shell variable names.
    910     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    911       as_fn_error $? "invalid feature name: $ac_useropt"
    912     ac_useropt_orig=$ac_useropt
    913     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    914     case $ac_user_opts in
    915       *"
    916 "enable_$ac_useropt"
    917 "*) ;;
    918       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    919 	 ac_unrecognized_sep=', ';;
    920     esac
    921     eval enable_$ac_useropt=\$ac_optarg ;;
    922 
    923   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    924   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    925   | --exec | --exe | --ex)
    926     ac_prev=exec_prefix ;;
    927   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    928   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    929   | --exec=* | --exe=* | --ex=*)
    930     exec_prefix=$ac_optarg ;;
    931 
    932   -gas | --gas | --ga | --g)
    933     # Obsolete; use --with-gas.
    934     with_gas=yes ;;
    935 
    936   -help | --help | --hel | --he | -h)
    937     ac_init_help=long ;;
    938   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    939     ac_init_help=recursive ;;
    940   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    941     ac_init_help=short ;;
    942 
    943   -host | --host | --hos | --ho)
    944     ac_prev=host_alias ;;
    945   -host=* | --host=* | --hos=* | --ho=*)
    946     host_alias=$ac_optarg ;;
    947 
    948   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    949     ac_prev=htmldir ;;
    950   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    951   | --ht=*)
    952     htmldir=$ac_optarg ;;
    953 
    954   -includedir | --includedir | --includedi | --included | --include \
    955   | --includ | --inclu | --incl | --inc)
    956     ac_prev=includedir ;;
    957   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    958   | --includ=* | --inclu=* | --incl=* | --inc=*)
    959     includedir=$ac_optarg ;;
    960 
    961   -infodir | --infodir | --infodi | --infod | --info | --inf)
    962     ac_prev=infodir ;;
    963   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    964     infodir=$ac_optarg ;;
    965 
    966   -libdir | --libdir | --libdi | --libd)
    967     ac_prev=libdir ;;
    968   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    969     libdir=$ac_optarg ;;
    970 
    971   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    972   | --libexe | --libex | --libe)
    973     ac_prev=libexecdir ;;
    974   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    975   | --libexe=* | --libex=* | --libe=*)
    976     libexecdir=$ac_optarg ;;
    977 
    978   -localedir | --localedir | --localedi | --localed | --locale)
    979     ac_prev=localedir ;;
    980   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    981     localedir=$ac_optarg ;;
    982 
    983   -localstatedir | --localstatedir | --localstatedi | --localstated \
    984   | --localstate | --localstat | --localsta | --localst | --locals)
    985     ac_prev=localstatedir ;;
    986   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    987   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    988     localstatedir=$ac_optarg ;;
    989 
    990   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    991     ac_prev=mandir ;;
    992   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    993     mandir=$ac_optarg ;;
    994 
    995   -nfp | --nfp | --nf)
    996     # Obsolete; use --without-fp.
    997     with_fp=no ;;
    998 
    999   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1000   | --no-cr | --no-c | -n)
   1001     no_create=yes ;;
   1002 
   1003   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1004   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1005     no_recursion=yes ;;
   1006 
   1007   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1008   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1009   | --oldin | --oldi | --old | --ol | --o)
   1010     ac_prev=oldincludedir ;;
   1011   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1012   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1013   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1014     oldincludedir=$ac_optarg ;;
   1015 
   1016   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1017     ac_prev=prefix ;;
   1018   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1019     prefix=$ac_optarg ;;
   1020 
   1021   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1022   | --program-pre | --program-pr | --program-p)
   1023     ac_prev=program_prefix ;;
   1024   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1025   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1026     program_prefix=$ac_optarg ;;
   1027 
   1028   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1029   | --program-suf | --program-su | --program-s)
   1030     ac_prev=program_suffix ;;
   1031   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1032   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1033     program_suffix=$ac_optarg ;;
   1034 
   1035   -program-transform-name | --program-transform-name \
   1036   | --program-transform-nam | --program-transform-na \
   1037   | --program-transform-n | --program-transform- \
   1038   | --program-transform | --program-transfor \
   1039   | --program-transfo | --program-transf \
   1040   | --program-trans | --program-tran \
   1041   | --progr-tra | --program-tr | --program-t)
   1042     ac_prev=program_transform_name ;;
   1043   -program-transform-name=* | --program-transform-name=* \
   1044   | --program-transform-nam=* | --program-transform-na=* \
   1045   | --program-transform-n=* | --program-transform-=* \
   1046   | --program-transform=* | --program-transfor=* \
   1047   | --program-transfo=* | --program-transf=* \
   1048   | --program-trans=* | --program-tran=* \
   1049   | --progr-tra=* | --program-tr=* | --program-t=*)
   1050     program_transform_name=$ac_optarg ;;
   1051 
   1052   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1053     ac_prev=pdfdir ;;
   1054   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1055     pdfdir=$ac_optarg ;;
   1056 
   1057   -psdir | --psdir | --psdi | --psd | --ps)
   1058     ac_prev=psdir ;;
   1059   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1060     psdir=$ac_optarg ;;
   1061 
   1062   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1063   | -silent | --silent | --silen | --sile | --sil)
   1064     silent=yes ;;
   1065 
   1066   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1067     ac_prev=sbindir ;;
   1068   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1069   | --sbi=* | --sb=*)
   1070     sbindir=$ac_optarg ;;
   1071 
   1072   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1073   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1074   | --sharedst | --shareds | --shared | --share | --shar \
   1075   | --sha | --sh)
   1076     ac_prev=sharedstatedir ;;
   1077   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1078   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1079   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1080   | --sha=* | --sh=*)
   1081     sharedstatedir=$ac_optarg ;;
   1082 
   1083   -site | --site | --sit)
   1084     ac_prev=site ;;
   1085   -site=* | --site=* | --sit=*)
   1086     site=$ac_optarg ;;
   1087 
   1088   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1089     ac_prev=srcdir ;;
   1090   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1091     srcdir=$ac_optarg ;;
   1092 
   1093   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1094   | --syscon | --sysco | --sysc | --sys | --sy)
   1095     ac_prev=sysconfdir ;;
   1096   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1097   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1098     sysconfdir=$ac_optarg ;;
   1099 
   1100   -target | --target | --targe | --targ | --tar | --ta | --t)
   1101     ac_prev=target_alias ;;
   1102   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1103     target_alias=$ac_optarg ;;
   1104 
   1105   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1106     verbose=yes ;;
   1107 
   1108   -version | --version | --versio | --versi | --vers | -V)
   1109     ac_init_version=: ;;
   1110 
   1111   -with-* | --with-*)
   1112     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1113     # Reject names that are not valid shell variable names.
   1114     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1115       as_fn_error $? "invalid package name: $ac_useropt"
   1116     ac_useropt_orig=$ac_useropt
   1117     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1118     case $ac_user_opts in
   1119       *"
   1120 "with_$ac_useropt"
   1121 "*) ;;
   1122       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1123 	 ac_unrecognized_sep=', ';;
   1124     esac
   1125     eval with_$ac_useropt=\$ac_optarg ;;
   1126 
   1127   -without-* | --without-*)
   1128     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1129     # Reject names that are not valid shell variable names.
   1130     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1131       as_fn_error $? "invalid package name: $ac_useropt"
   1132     ac_useropt_orig=$ac_useropt
   1133     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1134     case $ac_user_opts in
   1135       *"
   1136 "with_$ac_useropt"
   1137 "*) ;;
   1138       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1139 	 ac_unrecognized_sep=', ';;
   1140     esac
   1141     eval with_$ac_useropt=no ;;
   1142 
   1143   --x)
   1144     # Obsolete; use --with-x.
   1145     with_x=yes ;;
   1146 
   1147   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1148   | --x-incl | --x-inc | --x-in | --x-i)
   1149     ac_prev=x_includes ;;
   1150   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1151   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1152     x_includes=$ac_optarg ;;
   1153 
   1154   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1155   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1156     ac_prev=x_libraries ;;
   1157   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1158   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1159     x_libraries=$ac_optarg ;;
   1160 
   1161   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1162 Try \`$0 --help' for more information"
   1163     ;;
   1164 
   1165   *=*)
   1166     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1167     # Reject names that are not valid shell variable names.
   1168     case $ac_envvar in #(
   1169       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1170       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1171     esac
   1172     eval $ac_envvar=\$ac_optarg
   1173     export $ac_envvar ;;
   1174 
   1175   *)
   1176     # FIXME: should be removed in autoconf 3.0.
   1177     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1178     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1179       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1180     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1181     ;;
   1182 
   1183   esac
   1184 done
   1185 
   1186 if test -n "$ac_prev"; then
   1187   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1188   as_fn_error $? "missing argument to $ac_option"
   1189 fi
   1190 
   1191 if test -n "$ac_unrecognized_opts"; then
   1192   case $enable_option_checking in
   1193     no) ;;
   1194     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1195     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1196   esac
   1197 fi
   1198 
   1199 # Check all directory arguments for consistency.
   1200 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1201 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1202 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1203 		libdir localedir mandir
   1204 do
   1205   eval ac_val=\$$ac_var
   1206   # Remove trailing slashes.
   1207   case $ac_val in
   1208     */ )
   1209       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1210       eval $ac_var=\$ac_val;;
   1211   esac
   1212   # Be sure to have absolute directory names.
   1213   case $ac_val in
   1214     [\\/$]* | ?:[\\/]* )  continue;;
   1215     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1216   esac
   1217   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1218 done
   1219 
   1220 # There might be people who depend on the old broken behavior: `$host'
   1221 # used to hold the argument of --host etc.
   1222 # FIXME: To remove some day.
   1223 build=$build_alias
   1224 host=$host_alias
   1225 target=$target_alias
   1226 
   1227 # FIXME: To remove some day.
   1228 if test "x$host_alias" != x; then
   1229   if test "x$build_alias" = x; then
   1230     cross_compiling=maybe
   1231   elif test "x$build_alias" != "x$host_alias"; then
   1232     cross_compiling=yes
   1233   fi
   1234 fi
   1235 
   1236 ac_tool_prefix=
   1237 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1238 
   1239 test "$silent" = yes && exec 6>/dev/null
   1240 
   1241 
   1242 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1243 ac_ls_di=`ls -di .` &&
   1244 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1245   as_fn_error $? "working directory cannot be determined"
   1246 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1247   as_fn_error $? "pwd does not report name of working directory"
   1248 
   1249 
   1250 # Find the source files, if location was not specified.
   1251 if test -z "$srcdir"; then
   1252   ac_srcdir_defaulted=yes
   1253   # Try the directory containing this script, then the parent directory.
   1254   ac_confdir=`$as_dirname -- "$as_myself" ||
   1255 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1256 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1257 	 X"$as_myself" : 'X\(//\)$' \| \
   1258 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1259 $as_echo X"$as_myself" |
   1260     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1261 	    s//\1/
   1262 	    q
   1263 	  }
   1264 	  /^X\(\/\/\)[^/].*/{
   1265 	    s//\1/
   1266 	    q
   1267 	  }
   1268 	  /^X\(\/\/\)$/{
   1269 	    s//\1/
   1270 	    q
   1271 	  }
   1272 	  /^X\(\/\).*/{
   1273 	    s//\1/
   1274 	    q
   1275 	  }
   1276 	  s/.*/./; q'`
   1277   srcdir=$ac_confdir
   1278   if test ! -r "$srcdir/$ac_unique_file"; then
   1279     srcdir=..
   1280   fi
   1281 else
   1282   ac_srcdir_defaulted=no
   1283 fi
   1284 if test ! -r "$srcdir/$ac_unique_file"; then
   1285   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1286   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1287 fi
   1288 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1289 ac_abs_confdir=`(
   1290 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1291 	pwd)`
   1292 # When building in place, set srcdir=.
   1293 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1294   srcdir=.
   1295 fi
   1296 # Remove unnecessary trailing slashes from srcdir.
   1297 # Double slashes in file names in object file debugging info
   1298 # mess up M-x gdb in Emacs.
   1299 case $srcdir in
   1300 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1301 esac
   1302 for ac_var in $ac_precious_vars; do
   1303   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1304   eval ac_env_${ac_var}_value=\$${ac_var}
   1305   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1306   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1307 done
   1308 
   1309 #
   1310 # Report the --help message.
   1311 #
   1312 if test "$ac_init_help" = "long"; then
   1313   # Omit some internal or obsolete options to make the list less imposing.
   1314   # This message is too long to be a string in the A/UX 3.1 sh.
   1315   cat <<_ACEOF
   1316 \`configure' configures xgc 1.0.5 to adapt to many kinds of systems.
   1317 
   1318 Usage: $0 [OPTION]... [VAR=VALUE]...
   1319 
   1320 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1321 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1322 
   1323 Defaults for the options are specified in brackets.
   1324 
   1325 Configuration:
   1326   -h, --help              display this help and exit
   1327       --help=short        display options specific to this package
   1328       --help=recursive    display the short help of all the included packages
   1329   -V, --version           display version information and exit
   1330   -q, --quiet, --silent   do not print \`checking ...' messages
   1331       --cache-file=FILE   cache test results in FILE [disabled]
   1332   -C, --config-cache      alias for \`--cache-file=config.cache'
   1333   -n, --no-create         do not create output files
   1334       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1335 
   1336 Installation directories:
   1337   --prefix=PREFIX         install architecture-independent files in PREFIX
   1338                           [$ac_default_prefix]
   1339   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1340                           [PREFIX]
   1341 
   1342 By default, \`make install' will install all the files in
   1343 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1344 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1345 for instance \`--prefix=\$HOME'.
   1346 
   1347 For better control, use the options below.
   1348 
   1349 Fine tuning of the installation directories:
   1350   --bindir=DIR            user executables [EPREFIX/bin]
   1351   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1352   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1353   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1354   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1355   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1356   --libdir=DIR            object code libraries [EPREFIX/lib]
   1357   --includedir=DIR        C header files [PREFIX/include]
   1358   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1359   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1360   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1361   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1362   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1363   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1364   --docdir=DIR            documentation root [DATAROOTDIR/doc/xgc]
   1365   --htmldir=DIR           html documentation [DOCDIR]
   1366   --dvidir=DIR            dvi documentation [DOCDIR]
   1367   --pdfdir=DIR            pdf documentation [DOCDIR]
   1368   --psdir=DIR             ps documentation [DOCDIR]
   1369 _ACEOF
   1370 
   1371   cat <<\_ACEOF
   1372 
   1373 Program names:
   1374   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1375   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1376   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1377 
   1378 System types:
   1379   --build=BUILD     configure for building on BUILD [guessed]
   1380   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1381 _ACEOF
   1382 fi
   1383 
   1384 if test -n "$ac_init_help"; then
   1385   case $ac_init_help in
   1386      short | recursive ) echo "Configuration of xgc 1.0.5:";;
   1387    esac
   1388   cat <<\_ACEOF
   1389 
   1390 Optional Features:
   1391   --disable-option-checking  ignore unrecognized --enable/--with options
   1392   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1393   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1394   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1395   --disable-silent-rules  verbose build output (undo: "make V=0")
   1396   --enable-dependency-tracking
   1397                           do not reject slow dependency extractors
   1398   --disable-dependency-tracking
   1399                           speeds up one-time build
   1400   --disable-selective-werror
   1401                           Turn off selective compiler errors. (default:
   1402                           enabled)
   1403   --enable-strict-compilation
   1404                           Enable all warnings from compiler and make them
   1405                           errors (default: disabled)
   1406 
   1407 Optional Packages:
   1408   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1409   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1410   --with-appdefaultdir=<pathname>
   1411                           specify directory for app-defaults files (default is
   1412                           autodetected)
   1413 
   1414 Some influential environment variables:
   1415   CC          C compiler command
   1416   CFLAGS      C compiler flags
   1417   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1418               nonstandard directory <lib dir>
   1419   LIBS        libraries to pass to the linker, e.g. -l<library>
   1420   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1421               you have headers in a nonstandard directory <include dir>
   1422   CPP         C preprocessor
   1423   PKG_CONFIG  path to pkg-config utility
   1424   YACC        The `Yet Another Compiler Compiler' implementation to use.
   1425               Defaults to the first program found out of: `bison -y', `byacc',
   1426               `yacc'.
   1427   YFLAGS      The list of arguments that will be passed by default to $YACC.
   1428               This script will default YFLAGS to the empty string to avoid a
   1429               default value of `-d' given by some make applications.
   1430   XGC_CFLAGS  C compiler flags for XGC, overriding pkg-config
   1431   XGC_LIBS    linker flags for XGC, overriding pkg-config
   1432 
   1433 Use these variables to override the choices made by `configure' or to help
   1434 it to find libraries and programs with nonstandard names/locations.
   1435 
   1436 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1437 _ACEOF
   1438 ac_status=$?
   1439 fi
   1440 
   1441 if test "$ac_init_help" = "recursive"; then
   1442   # If there are subdirs, report their specific --help.
   1443   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1444     test -d "$ac_dir" ||
   1445       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1446       continue
   1447     ac_builddir=.
   1448 
   1449 case "$ac_dir" in
   1450 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1451 *)
   1452   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1453   # A ".." for each directory in $ac_dir_suffix.
   1454   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1455   case $ac_top_builddir_sub in
   1456   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1457   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1458   esac ;;
   1459 esac
   1460 ac_abs_top_builddir=$ac_pwd
   1461 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1462 # for backward compatibility:
   1463 ac_top_builddir=$ac_top_build_prefix
   1464 
   1465 case $srcdir in
   1466   .)  # We are building in place.
   1467     ac_srcdir=.
   1468     ac_top_srcdir=$ac_top_builddir_sub
   1469     ac_abs_top_srcdir=$ac_pwd ;;
   1470   [\\/]* | ?:[\\/]* )  # Absolute name.
   1471     ac_srcdir=$srcdir$ac_dir_suffix;
   1472     ac_top_srcdir=$srcdir
   1473     ac_abs_top_srcdir=$srcdir ;;
   1474   *) # Relative name.
   1475     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1476     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1477     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1478 esac
   1479 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1480 
   1481     cd "$ac_dir" || { ac_status=$?; continue; }
   1482     # Check for guested configure.
   1483     if test -f "$ac_srcdir/configure.gnu"; then
   1484       echo &&
   1485       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1486     elif test -f "$ac_srcdir/configure"; then
   1487       echo &&
   1488       $SHELL "$ac_srcdir/configure" --help=recursive
   1489     else
   1490       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1491     fi || ac_status=$?
   1492     cd "$ac_pwd" || { ac_status=$?; break; }
   1493   done
   1494 fi
   1495 
   1496 test -n "$ac_init_help" && exit $ac_status
   1497 if $ac_init_version; then
   1498   cat <<\_ACEOF
   1499 xgc configure 1.0.5
   1500 generated by GNU Autoconf 2.69
   1501 
   1502 Copyright (C) 2012 Free Software Foundation, Inc.
   1503 This configure script is free software; the Free Software Foundation
   1504 gives unlimited permission to copy, distribute and modify it.
   1505 _ACEOF
   1506   exit
   1507 fi
   1508 
   1509 ## ------------------------ ##
   1510 ## Autoconf initialization. ##
   1511 ## ------------------------ ##
   1512 
   1513 # ac_fn_c_try_compile LINENO
   1514 # --------------------------
   1515 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1516 ac_fn_c_try_compile ()
   1517 {
   1518   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1519   rm -f conftest.$ac_objext
   1520   if { { ac_try="$ac_compile"
   1521 case "(($ac_try" in
   1522   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1523   *) ac_try_echo=$ac_try;;
   1524 esac
   1525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1526 $as_echo "$ac_try_echo"; } >&5
   1527   (eval "$ac_compile") 2>conftest.err
   1528   ac_status=$?
   1529   if test -s conftest.err; then
   1530     grep -v '^ *+' conftest.err >conftest.er1
   1531     cat conftest.er1 >&5
   1532     mv -f conftest.er1 conftest.err
   1533   fi
   1534   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1535   test $ac_status = 0; } && {
   1536 	 test -z "$ac_c_werror_flag" ||
   1537 	 test ! -s conftest.err
   1538        } && test -s conftest.$ac_objext; then :
   1539   ac_retval=0
   1540 else
   1541   $as_echo "$as_me: failed program was:" >&5
   1542 sed 's/^/| /' conftest.$ac_ext >&5
   1543 
   1544 	ac_retval=1
   1545 fi
   1546   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1547   as_fn_set_status $ac_retval
   1548 
   1549 } # ac_fn_c_try_compile
   1550 
   1551 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1552 # ---------------------------------------------
   1553 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1554 # accordingly.
   1555 ac_fn_c_check_decl ()
   1556 {
   1557   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1558   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1559   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1561 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1562 if eval \${$3+:} false; then :
   1563   $as_echo_n "(cached) " >&6
   1564 else
   1565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1566 /* end confdefs.h.  */
   1567 $4
   1568 int
   1569 main ()
   1570 {
   1571 #ifndef $as_decl_name
   1572 #ifdef __cplusplus
   1573   (void) $as_decl_use;
   1574 #else
   1575   (void) $as_decl_name;
   1576 #endif
   1577 #endif
   1578 
   1579   ;
   1580   return 0;
   1581 }
   1582 _ACEOF
   1583 if ac_fn_c_try_compile "$LINENO"; then :
   1584   eval "$3=yes"
   1585 else
   1586   eval "$3=no"
   1587 fi
   1588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1589 fi
   1590 eval ac_res=\$$3
   1591 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1592 $as_echo "$ac_res" >&6; }
   1593   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1594 
   1595 } # ac_fn_c_check_decl
   1596 
   1597 # ac_fn_c_try_cpp LINENO
   1598 # ----------------------
   1599 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1600 ac_fn_c_try_cpp ()
   1601 {
   1602   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1603   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1604 case "(($ac_try" in
   1605   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1606   *) ac_try_echo=$ac_try;;
   1607 esac
   1608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1609 $as_echo "$ac_try_echo"; } >&5
   1610   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1611   ac_status=$?
   1612   if test -s conftest.err; then
   1613     grep -v '^ *+' conftest.err >conftest.er1
   1614     cat conftest.er1 >&5
   1615     mv -f conftest.er1 conftest.err
   1616   fi
   1617   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1618   test $ac_status = 0; } > conftest.i && {
   1619 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1620 	 test ! -s conftest.err
   1621        }; then :
   1622   ac_retval=0
   1623 else
   1624   $as_echo "$as_me: failed program was:" >&5
   1625 sed 's/^/| /' conftest.$ac_ext >&5
   1626 
   1627     ac_retval=1
   1628 fi
   1629   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1630   as_fn_set_status $ac_retval
   1631 
   1632 } # ac_fn_c_try_cpp
   1633 
   1634 # ac_fn_c_try_run LINENO
   1635 # ----------------------
   1636 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1637 # that executables *can* be run.
   1638 ac_fn_c_try_run ()
   1639 {
   1640   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1641   if { { ac_try="$ac_link"
   1642 case "(($ac_try" in
   1643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1644   *) ac_try_echo=$ac_try;;
   1645 esac
   1646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1647 $as_echo "$ac_try_echo"; } >&5
   1648   (eval "$ac_link") 2>&5
   1649   ac_status=$?
   1650   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1651   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1652   { { case "(($ac_try" in
   1653   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1654   *) ac_try_echo=$ac_try;;
   1655 esac
   1656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1657 $as_echo "$ac_try_echo"; } >&5
   1658   (eval "$ac_try") 2>&5
   1659   ac_status=$?
   1660   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1661   test $ac_status = 0; }; }; then :
   1662   ac_retval=0
   1663 else
   1664   $as_echo "$as_me: program exited with status $ac_status" >&5
   1665        $as_echo "$as_me: failed program was:" >&5
   1666 sed 's/^/| /' conftest.$ac_ext >&5
   1667 
   1668        ac_retval=$ac_status
   1669 fi
   1670   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1671   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1672   as_fn_set_status $ac_retval
   1673 
   1674 } # ac_fn_c_try_run
   1675 
   1676 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1677 # -------------------------------------------------------
   1678 # Tests whether HEADER exists and can be compiled using the include files in
   1679 # INCLUDES, setting the cache variable VAR accordingly.
   1680 ac_fn_c_check_header_compile ()
   1681 {
   1682   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1684 $as_echo_n "checking for $2... " >&6; }
   1685 if eval \${$3+:} false; then :
   1686   $as_echo_n "(cached) " >&6
   1687 else
   1688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1689 /* end confdefs.h.  */
   1690 $4
   1691 #include <$2>
   1692 _ACEOF
   1693 if ac_fn_c_try_compile "$LINENO"; then :
   1694   eval "$3=yes"
   1695 else
   1696   eval "$3=no"
   1697 fi
   1698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1699 fi
   1700 eval ac_res=\$$3
   1701 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1702 $as_echo "$ac_res" >&6; }
   1703   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1704 
   1705 } # ac_fn_c_check_header_compile
   1706 
   1707 # ac_fn_c_try_link LINENO
   1708 # -----------------------
   1709 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1710 ac_fn_c_try_link ()
   1711 {
   1712   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1713   rm -f conftest.$ac_objext conftest$ac_exeext
   1714   if { { ac_try="$ac_link"
   1715 case "(($ac_try" in
   1716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1717   *) ac_try_echo=$ac_try;;
   1718 esac
   1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1720 $as_echo "$ac_try_echo"; } >&5
   1721   (eval "$ac_link") 2>conftest.err
   1722   ac_status=$?
   1723   if test -s conftest.err; then
   1724     grep -v '^ *+' conftest.err >conftest.er1
   1725     cat conftest.er1 >&5
   1726     mv -f conftest.er1 conftest.err
   1727   fi
   1728   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1729   test $ac_status = 0; } && {
   1730 	 test -z "$ac_c_werror_flag" ||
   1731 	 test ! -s conftest.err
   1732        } && test -s conftest$ac_exeext && {
   1733 	 test "$cross_compiling" = yes ||
   1734 	 test -x conftest$ac_exeext
   1735        }; then :
   1736   ac_retval=0
   1737 else
   1738   $as_echo "$as_me: failed program was:" >&5
   1739 sed 's/^/| /' conftest.$ac_ext >&5
   1740 
   1741 	ac_retval=1
   1742 fi
   1743   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1744   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1745   # interfere with the next link command; also delete a directory that is
   1746   # left behind by Apple's compiler.  We do this before executing the actions.
   1747   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1748   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1749   as_fn_set_status $ac_retval
   1750 
   1751 } # ac_fn_c_try_link
   1752 cat >config.log <<_ACEOF
   1753 This file contains any messages produced by compilers while
   1754 running configure, to aid debugging if configure makes a mistake.
   1755 
   1756 It was created by xgc $as_me 1.0.5, which was
   1757 generated by GNU Autoconf 2.69.  Invocation command line was
   1758 
   1759   $ $0 $@
   1760 
   1761 _ACEOF
   1762 exec 5>>config.log
   1763 {
   1764 cat <<_ASUNAME
   1765 ## --------- ##
   1766 ## Platform. ##
   1767 ## --------- ##
   1768 
   1769 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1770 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1771 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1772 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1773 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1774 
   1775 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1776 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1777 
   1778 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1779 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1780 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1781 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1782 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1783 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1784 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1785 
   1786 _ASUNAME
   1787 
   1788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1789 for as_dir in $PATH
   1790 do
   1791   IFS=$as_save_IFS
   1792   test -z "$as_dir" && as_dir=.
   1793     $as_echo "PATH: $as_dir"
   1794   done
   1795 IFS=$as_save_IFS
   1796 
   1797 } >&5
   1798 
   1799 cat >&5 <<_ACEOF
   1800 
   1801 
   1802 ## ----------- ##
   1803 ## Core tests. ##
   1804 ## ----------- ##
   1805 
   1806 _ACEOF
   1807 
   1808 
   1809 # Keep a trace of the command line.
   1810 # Strip out --no-create and --no-recursion so they do not pile up.
   1811 # Strip out --silent because we don't want to record it for future runs.
   1812 # Also quote any args containing shell meta-characters.
   1813 # Make two passes to allow for proper duplicate-argument suppression.
   1814 ac_configure_args=
   1815 ac_configure_args0=
   1816 ac_configure_args1=
   1817 ac_must_keep_next=false
   1818 for ac_pass in 1 2
   1819 do
   1820   for ac_arg
   1821   do
   1822     case $ac_arg in
   1823     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1824     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1825     | -silent | --silent | --silen | --sile | --sil)
   1826       continue ;;
   1827     *\'*)
   1828       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1829     esac
   1830     case $ac_pass in
   1831     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1832     2)
   1833       as_fn_append ac_configure_args1 " '$ac_arg'"
   1834       if test $ac_must_keep_next = true; then
   1835 	ac_must_keep_next=false # Got value, back to normal.
   1836       else
   1837 	case $ac_arg in
   1838 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1839 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1840 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1841 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1842 	    case "$ac_configure_args0 " in
   1843 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1844 	    esac
   1845 	    ;;
   1846 	  -* ) ac_must_keep_next=true ;;
   1847 	esac
   1848       fi
   1849       as_fn_append ac_configure_args " '$ac_arg'"
   1850       ;;
   1851     esac
   1852   done
   1853 done
   1854 { ac_configure_args0=; unset ac_configure_args0;}
   1855 { ac_configure_args1=; unset ac_configure_args1;}
   1856 
   1857 # When interrupted or exit'd, cleanup temporary files, and complete
   1858 # config.log.  We remove comments because anyway the quotes in there
   1859 # would cause problems or look ugly.
   1860 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1861 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1862 trap 'exit_status=$?
   1863   # Save into config.log some information that might help in debugging.
   1864   {
   1865     echo
   1866 
   1867     $as_echo "## ---------------- ##
   1868 ## Cache variables. ##
   1869 ## ---------------- ##"
   1870     echo
   1871     # The following way of writing the cache mishandles newlines in values,
   1872 (
   1873   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1874     eval ac_val=\$$ac_var
   1875     case $ac_val in #(
   1876     *${as_nl}*)
   1877       case $ac_var in #(
   1878       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1879 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1880       esac
   1881       case $ac_var in #(
   1882       _ | IFS | as_nl) ;; #(
   1883       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1884       *) { eval $ac_var=; unset $ac_var;} ;;
   1885       esac ;;
   1886     esac
   1887   done
   1888   (set) 2>&1 |
   1889     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1890     *${as_nl}ac_space=\ *)
   1891       sed -n \
   1892 	"s/'\''/'\''\\\\'\'''\''/g;
   1893 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1894       ;; #(
   1895     *)
   1896       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1897       ;;
   1898     esac |
   1899     sort
   1900 )
   1901     echo
   1902 
   1903     $as_echo "## ----------------- ##
   1904 ## Output variables. ##
   1905 ## ----------------- ##"
   1906     echo
   1907     for ac_var in $ac_subst_vars
   1908     do
   1909       eval ac_val=\$$ac_var
   1910       case $ac_val in
   1911       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1912       esac
   1913       $as_echo "$ac_var='\''$ac_val'\''"
   1914     done | sort
   1915     echo
   1916 
   1917     if test -n "$ac_subst_files"; then
   1918       $as_echo "## ------------------- ##
   1919 ## File substitutions. ##
   1920 ## ------------------- ##"
   1921       echo
   1922       for ac_var in $ac_subst_files
   1923       do
   1924 	eval ac_val=\$$ac_var
   1925 	case $ac_val in
   1926 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1927 	esac
   1928 	$as_echo "$ac_var='\''$ac_val'\''"
   1929       done | sort
   1930       echo
   1931     fi
   1932 
   1933     if test -s confdefs.h; then
   1934       $as_echo "## ----------- ##
   1935 ## confdefs.h. ##
   1936 ## ----------- ##"
   1937       echo
   1938       cat confdefs.h
   1939       echo
   1940     fi
   1941     test "$ac_signal" != 0 &&
   1942       $as_echo "$as_me: caught signal $ac_signal"
   1943     $as_echo "$as_me: exit $exit_status"
   1944   } >&5
   1945   rm -f core *.core core.conftest.* &&
   1946     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1947     exit $exit_status
   1948 ' 0
   1949 for ac_signal in 1 2 13 15; do
   1950   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1951 done
   1952 ac_signal=0
   1953 
   1954 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1955 rm -f -r conftest* confdefs.h
   1956 
   1957 $as_echo "/* confdefs.h */" > confdefs.h
   1958 
   1959 # Predefined preprocessor variables.
   1960 
   1961 cat >>confdefs.h <<_ACEOF
   1962 #define PACKAGE_NAME "$PACKAGE_NAME"
   1963 _ACEOF
   1964 
   1965 cat >>confdefs.h <<_ACEOF
   1966 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1967 _ACEOF
   1968 
   1969 cat >>confdefs.h <<_ACEOF
   1970 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1971 _ACEOF
   1972 
   1973 cat >>confdefs.h <<_ACEOF
   1974 #define PACKAGE_STRING "$PACKAGE_STRING"
   1975 _ACEOF
   1976 
   1977 cat >>confdefs.h <<_ACEOF
   1978 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1979 _ACEOF
   1980 
   1981 cat >>confdefs.h <<_ACEOF
   1982 #define PACKAGE_URL "$PACKAGE_URL"
   1983 _ACEOF
   1984 
   1985 
   1986 # Let the site file select an alternate cache file if it wants to.
   1987 # Prefer an explicitly selected file to automatically selected ones.
   1988 ac_site_file1=NONE
   1989 ac_site_file2=NONE
   1990 if test -n "$CONFIG_SITE"; then
   1991   # We do not want a PATH search for config.site.
   1992   case $CONFIG_SITE in #((
   1993     -*)  ac_site_file1=./$CONFIG_SITE;;
   1994     */*) ac_site_file1=$CONFIG_SITE;;
   1995     *)   ac_site_file1=./$CONFIG_SITE;;
   1996   esac
   1997 elif test "x$prefix" != xNONE; then
   1998   ac_site_file1=$prefix/share/config.site
   1999   ac_site_file2=$prefix/etc/config.site
   2000 else
   2001   ac_site_file1=$ac_default_prefix/share/config.site
   2002   ac_site_file2=$ac_default_prefix/etc/config.site
   2003 fi
   2004 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2005 do
   2006   test "x$ac_site_file" = xNONE && continue
   2007   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2008     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2009 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2010     sed 's/^/| /' "$ac_site_file" >&5
   2011     . "$ac_site_file" \
   2012       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2014 as_fn_error $? "failed to load site script $ac_site_file
   2015 See \`config.log' for more details" "$LINENO" 5; }
   2016   fi
   2017 done
   2018 
   2019 if test -r "$cache_file"; then
   2020   # Some versions of bash will fail to source /dev/null (special files
   2021   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2022   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2023     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2024 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2025     case $cache_file in
   2026       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2027       *)                      . "./$cache_file";;
   2028     esac
   2029   fi
   2030 else
   2031   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2032 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2033   >$cache_file
   2034 fi
   2035 
   2036 # Check that the precious variables saved in the cache have kept the same
   2037 # value.
   2038 ac_cache_corrupted=false
   2039 for ac_var in $ac_precious_vars; do
   2040   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2041   eval ac_new_set=\$ac_env_${ac_var}_set
   2042   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2043   eval ac_new_val=\$ac_env_${ac_var}_value
   2044   case $ac_old_set,$ac_new_set in
   2045     set,)
   2046       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2047 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2048       ac_cache_corrupted=: ;;
   2049     ,set)
   2050       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2051 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2052       ac_cache_corrupted=: ;;
   2053     ,);;
   2054     *)
   2055       if test "x$ac_old_val" != "x$ac_new_val"; then
   2056 	# differences in whitespace do not lead to failure.
   2057 	ac_old_val_w=`echo x $ac_old_val`
   2058 	ac_new_val_w=`echo x $ac_new_val`
   2059 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2060 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2061 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2062 	  ac_cache_corrupted=:
   2063 	else
   2064 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2065 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2066 	  eval $ac_var=\$ac_old_val
   2067 	fi
   2068 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2069 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2070 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2071 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2072       fi;;
   2073   esac
   2074   # Pass precious variables to config.status.
   2075   if test "$ac_new_set" = set; then
   2076     case $ac_new_val in
   2077     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2078     *) ac_arg=$ac_var=$ac_new_val ;;
   2079     esac
   2080     case " $ac_configure_args " in
   2081       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2082       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2083     esac
   2084   fi
   2085 done
   2086 if $ac_cache_corrupted; then
   2087   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2089   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2090 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2091   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2092 fi
   2093 ## -------------------- ##
   2094 ## Main body of script. ##
   2095 ## -------------------- ##
   2096 
   2097 ac_ext=c
   2098 ac_cpp='$CPP $CPPFLAGS'
   2099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2102 
   2103 
   2104 
   2105 ac_config_headers="$ac_config_headers config.h"
   2106 
   2107 
   2108 # Initialize Automake
   2109 am__api_version='1.15'
   2110 
   2111 ac_aux_dir=
   2112 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2113   if test -f "$ac_dir/install-sh"; then
   2114     ac_aux_dir=$ac_dir
   2115     ac_install_sh="$ac_aux_dir/install-sh -c"
   2116     break
   2117   elif test -f "$ac_dir/install.sh"; then
   2118     ac_aux_dir=$ac_dir
   2119     ac_install_sh="$ac_aux_dir/install.sh -c"
   2120     break
   2121   elif test -f "$ac_dir/shtool"; then
   2122     ac_aux_dir=$ac_dir
   2123     ac_install_sh="$ac_aux_dir/shtool install -c"
   2124     break
   2125   fi
   2126 done
   2127 if test -z "$ac_aux_dir"; then
   2128   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2129 fi
   2130 
   2131 # These three variables are undocumented and unsupported,
   2132 # and are intended to be withdrawn in a future Autoconf release.
   2133 # They can cause serious problems if a builder's source tree is in a directory
   2134 # whose full name contains unusual characters.
   2135 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2136 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2137 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2138 
   2139 
   2140 # Find a good install program.  We prefer a C program (faster),
   2141 # so one script is as good as another.  But avoid the broken or
   2142 # incompatible versions:
   2143 # SysV /etc/install, /usr/sbin/install
   2144 # SunOS /usr/etc/install
   2145 # IRIX /sbin/install
   2146 # AIX /bin/install
   2147 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2148 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2149 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2150 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2151 # OS/2's system install, which has a completely different semantic
   2152 # ./install, which can be erroneously created by make from ./install.sh.
   2153 # Reject install programs that cannot install multiple files.
   2154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2155 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2156 if test -z "$INSTALL"; then
   2157 if ${ac_cv_path_install+:} false; then :
   2158   $as_echo_n "(cached) " >&6
   2159 else
   2160   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2161 for as_dir in $PATH
   2162 do
   2163   IFS=$as_save_IFS
   2164   test -z "$as_dir" && as_dir=.
   2165     # Account for people who put trailing slashes in PATH elements.
   2166 case $as_dir/ in #((
   2167   ./ | .// | /[cC]/* | \
   2168   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2169   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2170   /usr/ucb/* ) ;;
   2171   *)
   2172     # OSF1 and SCO ODT 3.0 have their own names for install.
   2173     # Don't use installbsd from OSF since it installs stuff as root
   2174     # by default.
   2175     for ac_prog in ginstall scoinst install; do
   2176       for ac_exec_ext in '' $ac_executable_extensions; do
   2177 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2178 	  if test $ac_prog = install &&
   2179 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2180 	    # AIX install.  It has an incompatible calling convention.
   2181 	    :
   2182 	  elif test $ac_prog = install &&
   2183 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2184 	    # program-specific install script used by HP pwplus--don't use.
   2185 	    :
   2186 	  else
   2187 	    rm -rf conftest.one conftest.two conftest.dir
   2188 	    echo one > conftest.one
   2189 	    echo two > conftest.two
   2190 	    mkdir conftest.dir
   2191 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2192 	      test -s conftest.one && test -s conftest.two &&
   2193 	      test -s conftest.dir/conftest.one &&
   2194 	      test -s conftest.dir/conftest.two
   2195 	    then
   2196 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2197 	      break 3
   2198 	    fi
   2199 	  fi
   2200 	fi
   2201       done
   2202     done
   2203     ;;
   2204 esac
   2205 
   2206   done
   2207 IFS=$as_save_IFS
   2208 
   2209 rm -rf conftest.one conftest.two conftest.dir
   2210 
   2211 fi
   2212   if test "${ac_cv_path_install+set}" = set; then
   2213     INSTALL=$ac_cv_path_install
   2214   else
   2215     # As a last resort, use the slow shell script.  Don't cache a
   2216     # value for INSTALL within a source directory, because that will
   2217     # break other packages using the cache if that directory is
   2218     # removed, or if the value is a relative name.
   2219     INSTALL=$ac_install_sh
   2220   fi
   2221 fi
   2222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2223 $as_echo "$INSTALL" >&6; }
   2224 
   2225 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2226 # It thinks the first close brace ends the variable substitution.
   2227 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2228 
   2229 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2230 
   2231 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2232 
   2233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2234 $as_echo_n "checking whether build environment is sane... " >&6; }
   2235 # Reject unsafe characters in $srcdir or the absolute working directory
   2236 # name.  Accept space and tab only in the latter.
   2237 am_lf='
   2238 '
   2239 case `pwd` in
   2240   *[\\\"\#\$\&\'\`$am_lf]*)
   2241     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2242 esac
   2243 case $srcdir in
   2244   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2245     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2246 esac
   2247 
   2248 # Do 'set' in a subshell so we don't clobber the current shell's
   2249 # arguments.  Must try -L first in case configure is actually a
   2250 # symlink; some systems play weird games with the mod time of symlinks
   2251 # (eg FreeBSD returns the mod time of the symlink's containing
   2252 # directory).
   2253 if (
   2254    am_has_slept=no
   2255    for am_try in 1 2; do
   2256      echo "timestamp, slept: $am_has_slept" > conftest.file
   2257      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2258      if test "$*" = "X"; then
   2259 	# -L didn't work.
   2260 	set X `ls -t "$srcdir/configure" conftest.file`
   2261      fi
   2262      if test "$*" != "X $srcdir/configure conftest.file" \
   2263 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2264 
   2265 	# If neither matched, then we have a broken ls.  This can happen
   2266 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2267 	# broken ls alias from the environment.  This has actually
   2268 	# happened.  Such a system could not be considered "sane".
   2269 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2270   alias in your environment" "$LINENO" 5
   2271      fi
   2272      if test "$2" = conftest.file || test $am_try -eq 2; then
   2273        break
   2274      fi
   2275      # Just in case.
   2276      sleep 1
   2277      am_has_slept=yes
   2278    done
   2279    test "$2" = conftest.file
   2280    )
   2281 then
   2282    # Ok.
   2283    :
   2284 else
   2285    as_fn_error $? "newly created file is older than distributed files!
   2286 Check your system clock" "$LINENO" 5
   2287 fi
   2288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2289 $as_echo "yes" >&6; }
   2290 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2291 # generated files are strictly newer.
   2292 am_sleep_pid=
   2293 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2294   ( sleep 1 ) &
   2295   am_sleep_pid=$!
   2296 fi
   2297 
   2298 rm -f conftest.file
   2299 
   2300 test "$program_prefix" != NONE &&
   2301   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2302 # Use a double $ so make ignores it.
   2303 test "$program_suffix" != NONE &&
   2304   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2305 # Double any \ or $.
   2306 # By default was `s,x,x', remove it if useless.
   2307 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2308 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2309 
   2310 # Expand $ac_aux_dir to an absolute path.
   2311 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2312 
   2313 if test x"${MISSING+set}" != xset; then
   2314   case $am_aux_dir in
   2315   *\ * | *\	*)
   2316     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2317   *)
   2318     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2319   esac
   2320 fi
   2321 # Use eval to expand $SHELL
   2322 if eval "$MISSING --is-lightweight"; then
   2323   am_missing_run="$MISSING "
   2324 else
   2325   am_missing_run=
   2326   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2327 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2328 fi
   2329 
   2330 if test x"${install_sh+set}" != xset; then
   2331   case $am_aux_dir in
   2332   *\ * | *\	*)
   2333     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2334   *)
   2335     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2336   esac
   2337 fi
   2338 
   2339 # Installed binaries are usually stripped using 'strip' when the user
   2340 # run "make install-strip".  However 'strip' might not be the right
   2341 # tool to use in cross-compilation environments, therefore Automake
   2342 # will honor the 'STRIP' environment variable to overrule this program.
   2343 if test "$cross_compiling" != no; then
   2344   if test -n "$ac_tool_prefix"; then
   2345   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2346 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2348 $as_echo_n "checking for $ac_word... " >&6; }
   2349 if ${ac_cv_prog_STRIP+:} false; then :
   2350   $as_echo_n "(cached) " >&6
   2351 else
   2352   if test -n "$STRIP"; then
   2353   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2354 else
   2355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2356 for as_dir in $PATH
   2357 do
   2358   IFS=$as_save_IFS
   2359   test -z "$as_dir" && as_dir=.
   2360     for ac_exec_ext in '' $ac_executable_extensions; do
   2361   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2362     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2363     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2364     break 2
   2365   fi
   2366 done
   2367   done
   2368 IFS=$as_save_IFS
   2369 
   2370 fi
   2371 fi
   2372 STRIP=$ac_cv_prog_STRIP
   2373 if test -n "$STRIP"; then
   2374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2375 $as_echo "$STRIP" >&6; }
   2376 else
   2377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2378 $as_echo "no" >&6; }
   2379 fi
   2380 
   2381 
   2382 fi
   2383 if test -z "$ac_cv_prog_STRIP"; then
   2384   ac_ct_STRIP=$STRIP
   2385   # Extract the first word of "strip", so it can be a program name with args.
   2386 set dummy strip; ac_word=$2
   2387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2388 $as_echo_n "checking for $ac_word... " >&6; }
   2389 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2390   $as_echo_n "(cached) " >&6
   2391 else
   2392   if test -n "$ac_ct_STRIP"; then
   2393   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2394 else
   2395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2396 for as_dir in $PATH
   2397 do
   2398   IFS=$as_save_IFS
   2399   test -z "$as_dir" && as_dir=.
   2400     for ac_exec_ext in '' $ac_executable_extensions; do
   2401   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2402     ac_cv_prog_ac_ct_STRIP="strip"
   2403     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2404     break 2
   2405   fi
   2406 done
   2407   done
   2408 IFS=$as_save_IFS
   2409 
   2410 fi
   2411 fi
   2412 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2413 if test -n "$ac_ct_STRIP"; then
   2414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2415 $as_echo "$ac_ct_STRIP" >&6; }
   2416 else
   2417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2418 $as_echo "no" >&6; }
   2419 fi
   2420 
   2421   if test "x$ac_ct_STRIP" = x; then
   2422     STRIP=":"
   2423   else
   2424     case $cross_compiling:$ac_tool_warned in
   2425 yes:)
   2426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2428 ac_tool_warned=yes ;;
   2429 esac
   2430     STRIP=$ac_ct_STRIP
   2431   fi
   2432 else
   2433   STRIP="$ac_cv_prog_STRIP"
   2434 fi
   2435 
   2436 fi
   2437 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2438 
   2439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2440 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2441 if test -z "$MKDIR_P"; then
   2442   if ${ac_cv_path_mkdir+:} false; then :
   2443   $as_echo_n "(cached) " >&6
   2444 else
   2445   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2446 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2447 do
   2448   IFS=$as_save_IFS
   2449   test -z "$as_dir" && as_dir=.
   2450     for ac_prog in mkdir gmkdir; do
   2451 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2452 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2453 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2454 	     'mkdir (GNU coreutils) '* | \
   2455 	     'mkdir (coreutils) '* | \
   2456 	     'mkdir (fileutils) '4.1*)
   2457 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2458 	       break 3;;
   2459 	   esac
   2460 	 done
   2461        done
   2462   done
   2463 IFS=$as_save_IFS
   2464 
   2465 fi
   2466 
   2467   test -d ./--version && rmdir ./--version
   2468   if test "${ac_cv_path_mkdir+set}" = set; then
   2469     MKDIR_P="$ac_cv_path_mkdir -p"
   2470   else
   2471     # As a last resort, use the slow shell script.  Don't cache a
   2472     # value for MKDIR_P within a source directory, because that will
   2473     # break other packages using the cache if that directory is
   2474     # removed, or if the value is a relative name.
   2475     MKDIR_P="$ac_install_sh -d"
   2476   fi
   2477 fi
   2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2479 $as_echo "$MKDIR_P" >&6; }
   2480 
   2481 for ac_prog in gawk mawk nawk awk
   2482 do
   2483   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2484 set dummy $ac_prog; ac_word=$2
   2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2486 $as_echo_n "checking for $ac_word... " >&6; }
   2487 if ${ac_cv_prog_AWK+:} false; then :
   2488   $as_echo_n "(cached) " >&6
   2489 else
   2490   if test -n "$AWK"; then
   2491   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2492 else
   2493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2494 for as_dir in $PATH
   2495 do
   2496   IFS=$as_save_IFS
   2497   test -z "$as_dir" && as_dir=.
   2498     for ac_exec_ext in '' $ac_executable_extensions; do
   2499   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2500     ac_cv_prog_AWK="$ac_prog"
   2501     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2502     break 2
   2503   fi
   2504 done
   2505   done
   2506 IFS=$as_save_IFS
   2507 
   2508 fi
   2509 fi
   2510 AWK=$ac_cv_prog_AWK
   2511 if test -n "$AWK"; then
   2512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2513 $as_echo "$AWK" >&6; }
   2514 else
   2515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2516 $as_echo "no" >&6; }
   2517 fi
   2518 
   2519 
   2520   test -n "$AWK" && break
   2521 done
   2522 
   2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2524 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2525 set x ${MAKE-make}
   2526 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2527 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2528   $as_echo_n "(cached) " >&6
   2529 else
   2530   cat >conftest.make <<\_ACEOF
   2531 SHELL = /bin/sh
   2532 all:
   2533 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2534 _ACEOF
   2535 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2536 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2537   *@@@%%%=?*=@@@%%%*)
   2538     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2539   *)
   2540     eval ac_cv_prog_make_${ac_make}_set=no;;
   2541 esac
   2542 rm -f conftest.make
   2543 fi
   2544 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2546 $as_echo "yes" >&6; }
   2547   SET_MAKE=
   2548 else
   2549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2550 $as_echo "no" >&6; }
   2551   SET_MAKE="MAKE=${MAKE-make}"
   2552 fi
   2553 
   2554 rm -rf .tst 2>/dev/null
   2555 mkdir .tst 2>/dev/null
   2556 if test -d .tst; then
   2557   am__leading_dot=.
   2558 else
   2559   am__leading_dot=_
   2560 fi
   2561 rmdir .tst 2>/dev/null
   2562 
   2563 # Check whether --enable-silent-rules was given.
   2564 if test "${enable_silent_rules+set}" = set; then :
   2565   enableval=$enable_silent_rules;
   2566 fi
   2567 
   2568 case $enable_silent_rules in # (((
   2569   yes) AM_DEFAULT_VERBOSITY=0;;
   2570    no) AM_DEFAULT_VERBOSITY=1;;
   2571     *) AM_DEFAULT_VERBOSITY=1;;
   2572 esac
   2573 am_make=${MAKE-make}
   2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2575 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2576 if ${am_cv_make_support_nested_variables+:} false; then :
   2577   $as_echo_n "(cached) " >&6
   2578 else
   2579   if $as_echo 'TRUE=$(BAR$(V))
   2580 BAR0=false
   2581 BAR1=true
   2582 V=1
   2583 am__doit:
   2584 	@$(TRUE)
   2585 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2586   am_cv_make_support_nested_variables=yes
   2587 else
   2588   am_cv_make_support_nested_variables=no
   2589 fi
   2590 fi
   2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2592 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2593 if test $am_cv_make_support_nested_variables = yes; then
   2594     AM_V='$(V)'
   2595   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2596 else
   2597   AM_V=$AM_DEFAULT_VERBOSITY
   2598   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2599 fi
   2600 AM_BACKSLASH='\'
   2601 
   2602 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2603   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2604   # is not polluted with repeated "-I."
   2605   am__isrc=' -I$(srcdir)'
   2606   # test to see if srcdir already configured
   2607   if test -f $srcdir/config.status; then
   2608     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2609   fi
   2610 fi
   2611 
   2612 # test whether we have cygpath
   2613 if test -z "$CYGPATH_W"; then
   2614   if (cygpath --version) >/dev/null 2>/dev/null; then
   2615     CYGPATH_W='cygpath -w'
   2616   else
   2617     CYGPATH_W=echo
   2618   fi
   2619 fi
   2620 
   2621 
   2622 # Define the identity of the package.
   2623  PACKAGE='xgc'
   2624  VERSION='1.0.5'
   2625 
   2626 
   2627 cat >>confdefs.h <<_ACEOF
   2628 #define PACKAGE "$PACKAGE"
   2629 _ACEOF
   2630 
   2631 
   2632 cat >>confdefs.h <<_ACEOF
   2633 #define VERSION "$VERSION"
   2634 _ACEOF
   2635 
   2636 # Some tools Automake needs.
   2637 
   2638 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2639 
   2640 
   2641 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2642 
   2643 
   2644 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2645 
   2646 
   2647 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2648 
   2649 
   2650 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2651 
   2652 # For better backward compatibility.  To be removed once Automake 1.9.x
   2653 # dies out for good.  For more background, see:
   2654 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2655 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2656 mkdir_p='$(MKDIR_P)'
   2657 
   2658 # We need awk for the "check" target (and possibly the TAP driver).  The
   2659 # system "awk" is bad on some platforms.
   2660 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2661 # in the wild :-(  We should find a proper way to deprecate it ...
   2662 AMTAR='$${TAR-tar}'
   2663 
   2664 
   2665 # We'll loop over all known methods to create a tar archive until one works.
   2666 _am_tools='gnutar  pax cpio none'
   2667 
   2668 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2669 
   2670 
   2671 
   2672 
   2673 
   2674 
   2675 # POSIX will say in a future version that running "rm -f" with no argument
   2676 # is OK; and we want to be able to make that assumption in our Makefile
   2677 # recipes.  So use an aggressive probe to check that the usage we want is
   2678 # actually supported "in the wild" to an acceptable degree.
   2679 # See automake bug#10828.
   2680 # To make any issue more visible, cause the running configure to be aborted
   2681 # by default if the 'rm' program in use doesn't match our expectations; the
   2682 # user can still override this though.
   2683 if rm -f && rm -fr && rm -rf; then : OK; else
   2684   cat >&2 <<'END'
   2685 Oops!
   2686 
   2687 Your 'rm' program seems unable to run without file operands specified
   2688 on the command line, even when the '-f' option is present.  This is contrary
   2689 to the behaviour of most rm programs out there, and not conforming with
   2690 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2691 
   2692 Please tell bug-automake@gnu.org about your system, including the value
   2693 of your $PATH and any error possibly output before this message.  This
   2694 can help us improve future automake versions.
   2695 
   2696 END
   2697   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2698     echo 'Configuration will proceed anyway, since you have set the' >&2
   2699     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2700     echo >&2
   2701   else
   2702     cat >&2 <<'END'
   2703 Aborting the configuration process, to ensure you take notice of the issue.
   2704 
   2705 You can download and install GNU coreutils to get an 'rm' implementation
   2706 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2707 
   2708 If you want to complete the configuration process using your problematic
   2709 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2710 to "yes", and re-run configure.
   2711 
   2712 END
   2713     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2714   fi
   2715 fi
   2716 
   2717 
   2718 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2719 
   2720 
   2721 
   2722 
   2723 
   2724 
   2725 
   2726 
   2727 
   2728 
   2729 
   2730 DEPDIR="${am__leading_dot}deps"
   2731 
   2732 ac_config_commands="$ac_config_commands depfiles"
   2733 
   2734 
   2735 am_make=${MAKE-make}
   2736 cat > confinc << 'END'
   2737 am__doit:
   2738 	@echo this is the am__doit target
   2739 .PHONY: am__doit
   2740 END
   2741 # If we don't find an include directive, just comment out the code.
   2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2743 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2744 am__include="#"
   2745 am__quote=
   2746 _am_result=none
   2747 # First try GNU make style include.
   2748 echo "include confinc" > confmf
   2749 # Ignore all kinds of additional output from 'make'.
   2750 case `$am_make -s -f confmf 2> /dev/null` in #(
   2751 *the\ am__doit\ target*)
   2752   am__include=include
   2753   am__quote=
   2754   _am_result=GNU
   2755   ;;
   2756 esac
   2757 # Now try BSD make style include.
   2758 if test "$am__include" = "#"; then
   2759    echo '.include "confinc"' > confmf
   2760    case `$am_make -s -f confmf 2> /dev/null` in #(
   2761    *the\ am__doit\ target*)
   2762      am__include=.include
   2763      am__quote="\""
   2764      _am_result=BSD
   2765      ;;
   2766    esac
   2767 fi
   2768 
   2769 
   2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2771 $as_echo "$_am_result" >&6; }
   2772 rm -f confinc confmf
   2773 
   2774 # Check whether --enable-dependency-tracking was given.
   2775 if test "${enable_dependency_tracking+set}" = set; then :
   2776   enableval=$enable_dependency_tracking;
   2777 fi
   2778 
   2779 if test "x$enable_dependency_tracking" != xno; then
   2780   am_depcomp="$ac_aux_dir/depcomp"
   2781   AMDEPBACKSLASH='\'
   2782   am__nodep='_no'
   2783 fi
   2784  if test "x$enable_dependency_tracking" != xno; then
   2785   AMDEP_TRUE=
   2786   AMDEP_FALSE='#'
   2787 else
   2788   AMDEP_TRUE='#'
   2789   AMDEP_FALSE=
   2790 fi
   2791 
   2792 
   2793 ac_ext=c
   2794 ac_cpp='$CPP $CPPFLAGS'
   2795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2798 if test -n "$ac_tool_prefix"; then
   2799   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2800 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2802 $as_echo_n "checking for $ac_word... " >&6; }
   2803 if ${ac_cv_prog_CC+:} false; then :
   2804   $as_echo_n "(cached) " >&6
   2805 else
   2806   if test -n "$CC"; then
   2807   ac_cv_prog_CC="$CC" # Let the user override the test.
   2808 else
   2809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2810 for as_dir in $PATH
   2811 do
   2812   IFS=$as_save_IFS
   2813   test -z "$as_dir" && as_dir=.
   2814     for ac_exec_ext in '' $ac_executable_extensions; do
   2815   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2816     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2817     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2818     break 2
   2819   fi
   2820 done
   2821   done
   2822 IFS=$as_save_IFS
   2823 
   2824 fi
   2825 fi
   2826 CC=$ac_cv_prog_CC
   2827 if test -n "$CC"; then
   2828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2829 $as_echo "$CC" >&6; }
   2830 else
   2831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2832 $as_echo "no" >&6; }
   2833 fi
   2834 
   2835 
   2836 fi
   2837 if test -z "$ac_cv_prog_CC"; then
   2838   ac_ct_CC=$CC
   2839   # Extract the first word of "gcc", so it can be a program name with args.
   2840 set dummy gcc; ac_word=$2
   2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2842 $as_echo_n "checking for $ac_word... " >&6; }
   2843 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2844   $as_echo_n "(cached) " >&6
   2845 else
   2846   if test -n "$ac_ct_CC"; then
   2847   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2848 else
   2849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2850 for as_dir in $PATH
   2851 do
   2852   IFS=$as_save_IFS
   2853   test -z "$as_dir" && as_dir=.
   2854     for ac_exec_ext in '' $ac_executable_extensions; do
   2855   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2856     ac_cv_prog_ac_ct_CC="gcc"
   2857     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2858     break 2
   2859   fi
   2860 done
   2861   done
   2862 IFS=$as_save_IFS
   2863 
   2864 fi
   2865 fi
   2866 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2867 if test -n "$ac_ct_CC"; then
   2868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2869 $as_echo "$ac_ct_CC" >&6; }
   2870 else
   2871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2872 $as_echo "no" >&6; }
   2873 fi
   2874 
   2875   if test "x$ac_ct_CC" = x; then
   2876     CC=""
   2877   else
   2878     case $cross_compiling:$ac_tool_warned in
   2879 yes:)
   2880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2882 ac_tool_warned=yes ;;
   2883 esac
   2884     CC=$ac_ct_CC
   2885   fi
   2886 else
   2887   CC="$ac_cv_prog_CC"
   2888 fi
   2889 
   2890 if test -z "$CC"; then
   2891           if test -n "$ac_tool_prefix"; then
   2892     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2893 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2895 $as_echo_n "checking for $ac_word... " >&6; }
   2896 if ${ac_cv_prog_CC+:} false; then :
   2897   $as_echo_n "(cached) " >&6
   2898 else
   2899   if test -n "$CC"; then
   2900   ac_cv_prog_CC="$CC" # Let the user override the test.
   2901 else
   2902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2903 for as_dir in $PATH
   2904 do
   2905   IFS=$as_save_IFS
   2906   test -z "$as_dir" && as_dir=.
   2907     for ac_exec_ext in '' $ac_executable_extensions; do
   2908   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2909     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2910     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2911     break 2
   2912   fi
   2913 done
   2914   done
   2915 IFS=$as_save_IFS
   2916 
   2917 fi
   2918 fi
   2919 CC=$ac_cv_prog_CC
   2920 if test -n "$CC"; then
   2921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2922 $as_echo "$CC" >&6; }
   2923 else
   2924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2925 $as_echo "no" >&6; }
   2926 fi
   2927 
   2928 
   2929   fi
   2930 fi
   2931 if test -z "$CC"; then
   2932   # Extract the first word of "cc", so it can be a program name with args.
   2933 set dummy cc; ac_word=$2
   2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2935 $as_echo_n "checking for $ac_word... " >&6; }
   2936 if ${ac_cv_prog_CC+:} false; then :
   2937   $as_echo_n "(cached) " >&6
   2938 else
   2939   if test -n "$CC"; then
   2940   ac_cv_prog_CC="$CC" # Let the user override the test.
   2941 else
   2942   ac_prog_rejected=no
   2943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2944 for as_dir in $PATH
   2945 do
   2946   IFS=$as_save_IFS
   2947   test -z "$as_dir" && as_dir=.
   2948     for ac_exec_ext in '' $ac_executable_extensions; do
   2949   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2950     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2951        ac_prog_rejected=yes
   2952        continue
   2953      fi
   2954     ac_cv_prog_CC="cc"
   2955     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2956     break 2
   2957   fi
   2958 done
   2959   done
   2960 IFS=$as_save_IFS
   2961 
   2962 if test $ac_prog_rejected = yes; then
   2963   # We found a bogon in the path, so make sure we never use it.
   2964   set dummy $ac_cv_prog_CC
   2965   shift
   2966   if test $# != 0; then
   2967     # We chose a different compiler from the bogus one.
   2968     # However, it has the same basename, so the bogon will be chosen
   2969     # first if we set CC to just the basename; use the full file name.
   2970     shift
   2971     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2972   fi
   2973 fi
   2974 fi
   2975 fi
   2976 CC=$ac_cv_prog_CC
   2977 if test -n "$CC"; then
   2978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2979 $as_echo "$CC" >&6; }
   2980 else
   2981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2982 $as_echo "no" >&6; }
   2983 fi
   2984 
   2985 
   2986 fi
   2987 if test -z "$CC"; then
   2988   if test -n "$ac_tool_prefix"; then
   2989   for ac_prog in cl.exe
   2990   do
   2991     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2992 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2994 $as_echo_n "checking for $ac_word... " >&6; }
   2995 if ${ac_cv_prog_CC+:} false; then :
   2996   $as_echo_n "(cached) " >&6
   2997 else
   2998   if test -n "$CC"; then
   2999   ac_cv_prog_CC="$CC" # Let the user override the test.
   3000 else
   3001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3002 for as_dir in $PATH
   3003 do
   3004   IFS=$as_save_IFS
   3005   test -z "$as_dir" && as_dir=.
   3006     for ac_exec_ext in '' $ac_executable_extensions; do
   3007   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3008     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3009     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3010     break 2
   3011   fi
   3012 done
   3013   done
   3014 IFS=$as_save_IFS
   3015 
   3016 fi
   3017 fi
   3018 CC=$ac_cv_prog_CC
   3019 if test -n "$CC"; then
   3020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3021 $as_echo "$CC" >&6; }
   3022 else
   3023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3024 $as_echo "no" >&6; }
   3025 fi
   3026 
   3027 
   3028     test -n "$CC" && break
   3029   done
   3030 fi
   3031 if test -z "$CC"; then
   3032   ac_ct_CC=$CC
   3033   for ac_prog in cl.exe
   3034 do
   3035   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3036 set dummy $ac_prog; ac_word=$2
   3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3038 $as_echo_n "checking for $ac_word... " >&6; }
   3039 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3040   $as_echo_n "(cached) " >&6
   3041 else
   3042   if test -n "$ac_ct_CC"; then
   3043   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3044 else
   3045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3046 for as_dir in $PATH
   3047 do
   3048   IFS=$as_save_IFS
   3049   test -z "$as_dir" && as_dir=.
   3050     for ac_exec_ext in '' $ac_executable_extensions; do
   3051   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3052     ac_cv_prog_ac_ct_CC="$ac_prog"
   3053     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3054     break 2
   3055   fi
   3056 done
   3057   done
   3058 IFS=$as_save_IFS
   3059 
   3060 fi
   3061 fi
   3062 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3063 if test -n "$ac_ct_CC"; then
   3064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3065 $as_echo "$ac_ct_CC" >&6; }
   3066 else
   3067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3068 $as_echo "no" >&6; }
   3069 fi
   3070 
   3071 
   3072   test -n "$ac_ct_CC" && break
   3073 done
   3074 
   3075   if test "x$ac_ct_CC" = x; then
   3076     CC=""
   3077   else
   3078     case $cross_compiling:$ac_tool_warned in
   3079 yes:)
   3080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3082 ac_tool_warned=yes ;;
   3083 esac
   3084     CC=$ac_ct_CC
   3085   fi
   3086 fi
   3087 
   3088 fi
   3089 
   3090 
   3091 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3093 as_fn_error $? "no acceptable C compiler found in \$PATH
   3094 See \`config.log' for more details" "$LINENO" 5; }
   3095 
   3096 # Provide some information about the compiler.
   3097 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3098 set X $ac_compile
   3099 ac_compiler=$2
   3100 for ac_option in --version -v -V -qversion; do
   3101   { { ac_try="$ac_compiler $ac_option >&5"
   3102 case "(($ac_try" in
   3103   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3104   *) ac_try_echo=$ac_try;;
   3105 esac
   3106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3107 $as_echo "$ac_try_echo"; } >&5
   3108   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3109   ac_status=$?
   3110   if test -s conftest.err; then
   3111     sed '10a\
   3112 ... rest of stderr output deleted ...
   3113          10q' conftest.err >conftest.er1
   3114     cat conftest.er1 >&5
   3115   fi
   3116   rm -f conftest.er1 conftest.err
   3117   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3118   test $ac_status = 0; }
   3119 done
   3120 
   3121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3122 /* end confdefs.h.  */
   3123 
   3124 int
   3125 main ()
   3126 {
   3127 
   3128   ;
   3129   return 0;
   3130 }
   3131 _ACEOF
   3132 ac_clean_files_save=$ac_clean_files
   3133 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3134 # Try to create an executable without -o first, disregard a.out.
   3135 # It will help us diagnose broken compilers, and finding out an intuition
   3136 # of exeext.
   3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3138 $as_echo_n "checking whether the C compiler works... " >&6; }
   3139 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3140 
   3141 # The possible output files:
   3142 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3143 
   3144 ac_rmfiles=
   3145 for ac_file in $ac_files
   3146 do
   3147   case $ac_file in
   3148     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3149     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3150   esac
   3151 done
   3152 rm -f $ac_rmfiles
   3153 
   3154 if { { ac_try="$ac_link_default"
   3155 case "(($ac_try" in
   3156   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3157   *) ac_try_echo=$ac_try;;
   3158 esac
   3159 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3160 $as_echo "$ac_try_echo"; } >&5
   3161   (eval "$ac_link_default") 2>&5
   3162   ac_status=$?
   3163   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3164   test $ac_status = 0; }; then :
   3165   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3166 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3167 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3168 # so that the user can short-circuit this test for compilers unknown to
   3169 # Autoconf.
   3170 for ac_file in $ac_files ''
   3171 do
   3172   test -f "$ac_file" || continue
   3173   case $ac_file in
   3174     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3175 	;;
   3176     [ab].out )
   3177 	# We found the default executable, but exeext='' is most
   3178 	# certainly right.
   3179 	break;;
   3180     *.* )
   3181 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3182 	then :; else
   3183 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3184 	fi
   3185 	# We set ac_cv_exeext here because the later test for it is not
   3186 	# safe: cross compilers may not add the suffix if given an `-o'
   3187 	# argument, so we may need to know it at that point already.
   3188 	# Even if this section looks crufty: it has the advantage of
   3189 	# actually working.
   3190 	break;;
   3191     * )
   3192 	break;;
   3193   esac
   3194 done
   3195 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3196 
   3197 else
   3198   ac_file=''
   3199 fi
   3200 if test -z "$ac_file"; then :
   3201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3202 $as_echo "no" >&6; }
   3203 $as_echo "$as_me: failed program was:" >&5
   3204 sed 's/^/| /' conftest.$ac_ext >&5
   3205 
   3206 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3208 as_fn_error 77 "C compiler cannot create executables
   3209 See \`config.log' for more details" "$LINENO" 5; }
   3210 else
   3211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3212 $as_echo "yes" >&6; }
   3213 fi
   3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3215 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3217 $as_echo "$ac_file" >&6; }
   3218 ac_exeext=$ac_cv_exeext
   3219 
   3220 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3221 ac_clean_files=$ac_clean_files_save
   3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3223 $as_echo_n "checking for suffix of executables... " >&6; }
   3224 if { { ac_try="$ac_link"
   3225 case "(($ac_try" in
   3226   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3227   *) ac_try_echo=$ac_try;;
   3228 esac
   3229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3230 $as_echo "$ac_try_echo"; } >&5
   3231   (eval "$ac_link") 2>&5
   3232   ac_status=$?
   3233   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3234   test $ac_status = 0; }; then :
   3235   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3236 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3237 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3238 # `rm'.
   3239 for ac_file in conftest.exe conftest conftest.*; do
   3240   test -f "$ac_file" || continue
   3241   case $ac_file in
   3242     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3243     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3244 	  break;;
   3245     * ) break;;
   3246   esac
   3247 done
   3248 else
   3249   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3251 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3252 See \`config.log' for more details" "$LINENO" 5; }
   3253 fi
   3254 rm -f conftest conftest$ac_cv_exeext
   3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3256 $as_echo "$ac_cv_exeext" >&6; }
   3257 
   3258 rm -f conftest.$ac_ext
   3259 EXEEXT=$ac_cv_exeext
   3260 ac_exeext=$EXEEXT
   3261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3262 /* end confdefs.h.  */
   3263 #include <stdio.h>
   3264 int
   3265 main ()
   3266 {
   3267 FILE *f = fopen ("conftest.out", "w");
   3268  return ferror (f) || fclose (f) != 0;
   3269 
   3270   ;
   3271   return 0;
   3272 }
   3273 _ACEOF
   3274 ac_clean_files="$ac_clean_files conftest.out"
   3275 # Check that the compiler produces executables we can run.  If not, either
   3276 # the compiler is broken, or we cross compile.
   3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3278 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3279 if test "$cross_compiling" != yes; then
   3280   { { ac_try="$ac_link"
   3281 case "(($ac_try" in
   3282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3283   *) ac_try_echo=$ac_try;;
   3284 esac
   3285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3286 $as_echo "$ac_try_echo"; } >&5
   3287   (eval "$ac_link") 2>&5
   3288   ac_status=$?
   3289   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3290   test $ac_status = 0; }
   3291   if { ac_try='./conftest$ac_cv_exeext'
   3292   { { case "(($ac_try" in
   3293   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3294   *) ac_try_echo=$ac_try;;
   3295 esac
   3296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3297 $as_echo "$ac_try_echo"; } >&5
   3298   (eval "$ac_try") 2>&5
   3299   ac_status=$?
   3300   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3301   test $ac_status = 0; }; }; then
   3302     cross_compiling=no
   3303   else
   3304     if test "$cross_compiling" = maybe; then
   3305 	cross_compiling=yes
   3306     else
   3307 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3309 as_fn_error $? "cannot run C compiled programs.
   3310 If you meant to cross compile, use \`--host'.
   3311 See \`config.log' for more details" "$LINENO" 5; }
   3312     fi
   3313   fi
   3314 fi
   3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3316 $as_echo "$cross_compiling" >&6; }
   3317 
   3318 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3319 ac_clean_files=$ac_clean_files_save
   3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3321 $as_echo_n "checking for suffix of object files... " >&6; }
   3322 if ${ac_cv_objext+:} false; then :
   3323   $as_echo_n "(cached) " >&6
   3324 else
   3325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3326 /* end confdefs.h.  */
   3327 
   3328 int
   3329 main ()
   3330 {
   3331 
   3332   ;
   3333   return 0;
   3334 }
   3335 _ACEOF
   3336 rm -f conftest.o conftest.obj
   3337 if { { ac_try="$ac_compile"
   3338 case "(($ac_try" in
   3339   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3340   *) ac_try_echo=$ac_try;;
   3341 esac
   3342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3343 $as_echo "$ac_try_echo"; } >&5
   3344   (eval "$ac_compile") 2>&5
   3345   ac_status=$?
   3346   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3347   test $ac_status = 0; }; then :
   3348   for ac_file in conftest.o conftest.obj conftest.*; do
   3349   test -f "$ac_file" || continue;
   3350   case $ac_file in
   3351     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3352     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3353        break;;
   3354   esac
   3355 done
   3356 else
   3357   $as_echo "$as_me: failed program was:" >&5
   3358 sed 's/^/| /' conftest.$ac_ext >&5
   3359 
   3360 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3362 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3363 See \`config.log' for more details" "$LINENO" 5; }
   3364 fi
   3365 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3366 fi
   3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3368 $as_echo "$ac_cv_objext" >&6; }
   3369 OBJEXT=$ac_cv_objext
   3370 ac_objext=$OBJEXT
   3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3372 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3373 if ${ac_cv_c_compiler_gnu+:} false; then :
   3374   $as_echo_n "(cached) " >&6
   3375 else
   3376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3377 /* end confdefs.h.  */
   3378 
   3379 int
   3380 main ()
   3381 {
   3382 #ifndef __GNUC__
   3383        choke me
   3384 #endif
   3385 
   3386   ;
   3387   return 0;
   3388 }
   3389 _ACEOF
   3390 if ac_fn_c_try_compile "$LINENO"; then :
   3391   ac_compiler_gnu=yes
   3392 else
   3393   ac_compiler_gnu=no
   3394 fi
   3395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3396 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3397 
   3398 fi
   3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3400 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3401 if test $ac_compiler_gnu = yes; then
   3402   GCC=yes
   3403 else
   3404   GCC=
   3405 fi
   3406 ac_test_CFLAGS=${CFLAGS+set}
   3407 ac_save_CFLAGS=$CFLAGS
   3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3409 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3410 if ${ac_cv_prog_cc_g+:} false; then :
   3411   $as_echo_n "(cached) " >&6
   3412 else
   3413   ac_save_c_werror_flag=$ac_c_werror_flag
   3414    ac_c_werror_flag=yes
   3415    ac_cv_prog_cc_g=no
   3416    CFLAGS="-g"
   3417    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3418 /* end confdefs.h.  */
   3419 
   3420 int
   3421 main ()
   3422 {
   3423 
   3424   ;
   3425   return 0;
   3426 }
   3427 _ACEOF
   3428 if ac_fn_c_try_compile "$LINENO"; then :
   3429   ac_cv_prog_cc_g=yes
   3430 else
   3431   CFLAGS=""
   3432       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3433 /* end confdefs.h.  */
   3434 
   3435 int
   3436 main ()
   3437 {
   3438 
   3439   ;
   3440   return 0;
   3441 }
   3442 _ACEOF
   3443 if ac_fn_c_try_compile "$LINENO"; then :
   3444 
   3445 else
   3446   ac_c_werror_flag=$ac_save_c_werror_flag
   3447 	 CFLAGS="-g"
   3448 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3449 /* end confdefs.h.  */
   3450 
   3451 int
   3452 main ()
   3453 {
   3454 
   3455   ;
   3456   return 0;
   3457 }
   3458 _ACEOF
   3459 if ac_fn_c_try_compile "$LINENO"; then :
   3460   ac_cv_prog_cc_g=yes
   3461 fi
   3462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3463 fi
   3464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3465 fi
   3466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3467    ac_c_werror_flag=$ac_save_c_werror_flag
   3468 fi
   3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3470 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3471 if test "$ac_test_CFLAGS" = set; then
   3472   CFLAGS=$ac_save_CFLAGS
   3473 elif test $ac_cv_prog_cc_g = yes; then
   3474   if test "$GCC" = yes; then
   3475     CFLAGS="-g -O2"
   3476   else
   3477     CFLAGS="-g"
   3478   fi
   3479 else
   3480   if test "$GCC" = yes; then
   3481     CFLAGS="-O2"
   3482   else
   3483     CFLAGS=
   3484   fi
   3485 fi
   3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3487 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3488 if ${ac_cv_prog_cc_c89+:} false; then :
   3489   $as_echo_n "(cached) " >&6
   3490 else
   3491   ac_cv_prog_cc_c89=no
   3492 ac_save_CC=$CC
   3493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3494 /* end confdefs.h.  */
   3495 #include <stdarg.h>
   3496 #include <stdio.h>
   3497 struct stat;
   3498 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3499 struct buf { int x; };
   3500 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3501 static char *e (p, i)
   3502      char **p;
   3503      int i;
   3504 {
   3505   return p[i];
   3506 }
   3507 static char *f (char * (*g) (char **, int), char **p, ...)
   3508 {
   3509   char *s;
   3510   va_list v;
   3511   va_start (v,p);
   3512   s = g (p, va_arg (v,int));
   3513   va_end (v);
   3514   return s;
   3515 }
   3516 
   3517 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3518    function prototypes and stuff, but not '\xHH' hex character constants.
   3519    These don't provoke an error unfortunately, instead are silently treated
   3520    as 'x'.  The following induces an error, until -std is added to get
   3521    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3522    array size at least.  It's necessary to write '\x00'==0 to get something
   3523    that's true only with -std.  */
   3524 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3525 
   3526 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3527    inside strings and character constants.  */
   3528 #define FOO(x) 'x'
   3529 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3530 
   3531 int test (int i, double x);
   3532 struct s1 {int (*f) (int a);};
   3533 struct s2 {int (*f) (double a);};
   3534 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3535 int argc;
   3536 char **argv;
   3537 int
   3538 main ()
   3539 {
   3540 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3541   ;
   3542   return 0;
   3543 }
   3544 _ACEOF
   3545 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3546 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3547 do
   3548   CC="$ac_save_CC $ac_arg"
   3549   if ac_fn_c_try_compile "$LINENO"; then :
   3550   ac_cv_prog_cc_c89=$ac_arg
   3551 fi
   3552 rm -f core conftest.err conftest.$ac_objext
   3553   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3554 done
   3555 rm -f conftest.$ac_ext
   3556 CC=$ac_save_CC
   3557 
   3558 fi
   3559 # AC_CACHE_VAL
   3560 case "x$ac_cv_prog_cc_c89" in
   3561   x)
   3562     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3563 $as_echo "none needed" >&6; } ;;
   3564   xno)
   3565     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3566 $as_echo "unsupported" >&6; } ;;
   3567   *)
   3568     CC="$CC $ac_cv_prog_cc_c89"
   3569     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3570 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3571 esac
   3572 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3573 
   3574 fi
   3575 
   3576 ac_ext=c
   3577 ac_cpp='$CPP $CPPFLAGS'
   3578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3581 
   3582 ac_ext=c
   3583 ac_cpp='$CPP $CPPFLAGS'
   3584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3588 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3589 if ${am_cv_prog_cc_c_o+:} false; then :
   3590   $as_echo_n "(cached) " >&6
   3591 else
   3592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3593 /* end confdefs.h.  */
   3594 
   3595 int
   3596 main ()
   3597 {
   3598 
   3599   ;
   3600   return 0;
   3601 }
   3602 _ACEOF
   3603   # Make sure it works both with $CC and with simple cc.
   3604   # Following AC_PROG_CC_C_O, we do the test twice because some
   3605   # compilers refuse to overwrite an existing .o file with -o,
   3606   # though they will create one.
   3607   am_cv_prog_cc_c_o=yes
   3608   for am_i in 1 2; do
   3609     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3610    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3611    ac_status=$?
   3612    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3613    (exit $ac_status); } \
   3614          && test -f conftest2.$ac_objext; then
   3615       : OK
   3616     else
   3617       am_cv_prog_cc_c_o=no
   3618       break
   3619     fi
   3620   done
   3621   rm -f core conftest*
   3622   unset am_i
   3623 fi
   3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3625 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3626 if test "$am_cv_prog_cc_c_o" != yes; then
   3627    # Losing compiler, so override with the script.
   3628    # FIXME: It is wrong to rewrite CC.
   3629    # But if we don't then we get into trouble of one sort or another.
   3630    # A longer-term fix would be to have automake use am__CC in this case,
   3631    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3632    CC="$am_aux_dir/compile $CC"
   3633 fi
   3634 ac_ext=c
   3635 ac_cpp='$CPP $CPPFLAGS'
   3636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3639 
   3640 
   3641 depcc="$CC"   am_compiler_list=
   3642 
   3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3644 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3645 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3646   $as_echo_n "(cached) " >&6
   3647 else
   3648   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3649   # We make a subdir and do the tests there.  Otherwise we can end up
   3650   # making bogus files that we don't know about and never remove.  For
   3651   # instance it was reported that on HP-UX the gcc test will end up
   3652   # making a dummy file named 'D' -- because '-MD' means "put the output
   3653   # in D".
   3654   rm -rf conftest.dir
   3655   mkdir conftest.dir
   3656   # Copy depcomp to subdir because otherwise we won't find it if we're
   3657   # using a relative directory.
   3658   cp "$am_depcomp" conftest.dir
   3659   cd conftest.dir
   3660   # We will build objects and dependencies in a subdirectory because
   3661   # it helps to detect inapplicable dependency modes.  For instance
   3662   # both Tru64's cc and ICC support -MD to output dependencies as a
   3663   # side effect of compilation, but ICC will put the dependencies in
   3664   # the current directory while Tru64 will put them in the object
   3665   # directory.
   3666   mkdir sub
   3667 
   3668   am_cv_CC_dependencies_compiler_type=none
   3669   if test "$am_compiler_list" = ""; then
   3670      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3671   fi
   3672   am__universal=false
   3673   case " $depcc " in #(
   3674      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3675      esac
   3676 
   3677   for depmode in $am_compiler_list; do
   3678     # Setup a source with many dependencies, because some compilers
   3679     # like to wrap large dependency lists on column 80 (with \), and
   3680     # we should not choose a depcomp mode which is confused by this.
   3681     #
   3682     # We need to recreate these files for each test, as the compiler may
   3683     # overwrite some of them when testing with obscure command lines.
   3684     # This happens at least with the AIX C compiler.
   3685     : > sub/conftest.c
   3686     for i in 1 2 3 4 5 6; do
   3687       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3688       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3689       # Solaris 10 /bin/sh.
   3690       echo '/* dummy */' > sub/conftst$i.h
   3691     done
   3692     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3693 
   3694     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3695     # mode.  It turns out that the SunPro C++ compiler does not properly
   3696     # handle '-M -o', and we need to detect this.  Also, some Intel
   3697     # versions had trouble with output in subdirs.
   3698     am__obj=sub/conftest.${OBJEXT-o}
   3699     am__minus_obj="-o $am__obj"
   3700     case $depmode in
   3701     gcc)
   3702       # This depmode causes a compiler race in universal mode.
   3703       test "$am__universal" = false || continue
   3704       ;;
   3705     nosideeffect)
   3706       # After this tag, mechanisms are not by side-effect, so they'll
   3707       # only be used when explicitly requested.
   3708       if test "x$enable_dependency_tracking" = xyes; then
   3709 	continue
   3710       else
   3711 	break
   3712       fi
   3713       ;;
   3714     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3715       # This compiler won't grok '-c -o', but also, the minuso test has
   3716       # not run yet.  These depmodes are late enough in the game, and
   3717       # so weak that their functioning should not be impacted.
   3718       am__obj=conftest.${OBJEXT-o}
   3719       am__minus_obj=
   3720       ;;
   3721     none) break ;;
   3722     esac
   3723     if depmode=$depmode \
   3724        source=sub/conftest.c object=$am__obj \
   3725        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3726        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3727          >/dev/null 2>conftest.err &&
   3728        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3729        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3730        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3731        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3732       # icc doesn't choke on unknown options, it will just issue warnings
   3733       # or remarks (even with -Werror).  So we grep stderr for any message
   3734       # that says an option was ignored or not supported.
   3735       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3736       #   icc: Command line warning: ignoring option '-M'; no argument required
   3737       # The diagnosis changed in icc 8.0:
   3738       #   icc: Command line remark: option '-MP' not supported
   3739       if (grep 'ignoring option' conftest.err ||
   3740           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3741         am_cv_CC_dependencies_compiler_type=$depmode
   3742         break
   3743       fi
   3744     fi
   3745   done
   3746 
   3747   cd ..
   3748   rm -rf conftest.dir
   3749 else
   3750   am_cv_CC_dependencies_compiler_type=none
   3751 fi
   3752 
   3753 fi
   3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3755 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3756 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3757 
   3758  if
   3759   test "x$enable_dependency_tracking" != xno \
   3760   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3761   am__fastdepCC_TRUE=
   3762   am__fastdepCC_FALSE='#'
   3763 else
   3764   am__fastdepCC_TRUE='#'
   3765   am__fastdepCC_FALSE=
   3766 fi
   3767 
   3768 
   3769    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3770 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3771 if ${ac_cv_prog_cc_c99+:} false; then :
   3772   $as_echo_n "(cached) " >&6
   3773 else
   3774   ac_cv_prog_cc_c99=no
   3775 ac_save_CC=$CC
   3776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3777 /* end confdefs.h.  */
   3778 #include <stdarg.h>
   3779 #include <stdbool.h>
   3780 #include <stdlib.h>
   3781 #include <wchar.h>
   3782 #include <stdio.h>
   3783 
   3784 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3785 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3786 #define showlist(...) puts (#__VA_ARGS__)
   3787 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3788 static void
   3789 test_varargs_macros (void)
   3790 {
   3791   int x = 1234;
   3792   int y = 5678;
   3793   debug ("Flag");
   3794   debug ("X = %d\n", x);
   3795   showlist (The first, second, and third items.);
   3796   report (x>y, "x is %d but y is %d", x, y);
   3797 }
   3798 
   3799 // Check long long types.
   3800 #define BIG64 18446744073709551615ull
   3801 #define BIG32 4294967295ul
   3802 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3803 #if !BIG_OK
   3804   your preprocessor is broken;
   3805 #endif
   3806 #if BIG_OK
   3807 #else
   3808   your preprocessor is broken;
   3809 #endif
   3810 static long long int bignum = -9223372036854775807LL;
   3811 static unsigned long long int ubignum = BIG64;
   3812 
   3813 struct incomplete_array
   3814 {
   3815   int datasize;
   3816   double data[];
   3817 };
   3818 
   3819 struct named_init {
   3820   int number;
   3821   const wchar_t *name;
   3822   double average;
   3823 };
   3824 
   3825 typedef const char *ccp;
   3826 
   3827 static inline int
   3828 test_restrict (ccp restrict text)
   3829 {
   3830   // See if C++-style comments work.
   3831   // Iterate through items via the restricted pointer.
   3832   // Also check for declarations in for loops.
   3833   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3834     continue;
   3835   return 0;
   3836 }
   3837 
   3838 // Check varargs and va_copy.
   3839 static void
   3840 test_varargs (const char *format, ...)
   3841 {
   3842   va_list args;
   3843   va_start (args, format);
   3844   va_list args_copy;
   3845   va_copy (args_copy, args);
   3846 
   3847   const char *str;
   3848   int number;
   3849   float fnumber;
   3850 
   3851   while (*format)
   3852     {
   3853       switch (*format++)
   3854 	{
   3855 	case 's': // string
   3856 	  str = va_arg (args_copy, const char *);
   3857 	  break;
   3858 	case 'd': // int
   3859 	  number = va_arg (args_copy, int);
   3860 	  break;
   3861 	case 'f': // float
   3862 	  fnumber = va_arg (args_copy, double);
   3863 	  break;
   3864 	default:
   3865 	  break;
   3866 	}
   3867     }
   3868   va_end (args_copy);
   3869   va_end (args);
   3870 }
   3871 
   3872 int
   3873 main ()
   3874 {
   3875 
   3876   // Check bool.
   3877   _Bool success = false;
   3878 
   3879   // Check restrict.
   3880   if (test_restrict ("String literal") == 0)
   3881     success = true;
   3882   char *restrict newvar = "Another string";
   3883 
   3884   // Check varargs.
   3885   test_varargs ("s, d' f .", "string", 65, 34.234);
   3886   test_varargs_macros ();
   3887 
   3888   // Check flexible array members.
   3889   struct incomplete_array *ia =
   3890     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3891   ia->datasize = 10;
   3892   for (int i = 0; i < ia->datasize; ++i)
   3893     ia->data[i] = i * 1.234;
   3894 
   3895   // Check named initializers.
   3896   struct named_init ni = {
   3897     .number = 34,
   3898     .name = L"Test wide string",
   3899     .average = 543.34343,
   3900   };
   3901 
   3902   ni.number = 58;
   3903 
   3904   int dynamic_array[ni.number];
   3905   dynamic_array[ni.number - 1] = 543;
   3906 
   3907   // work around unused variable warnings
   3908   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3909 	  || dynamic_array[ni.number - 1] != 543);
   3910 
   3911   ;
   3912   return 0;
   3913 }
   3914 _ACEOF
   3915 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   3916 do
   3917   CC="$ac_save_CC $ac_arg"
   3918   if ac_fn_c_try_compile "$LINENO"; then :
   3919   ac_cv_prog_cc_c99=$ac_arg
   3920 fi
   3921 rm -f core conftest.err conftest.$ac_objext
   3922   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3923 done
   3924 rm -f conftest.$ac_ext
   3925 CC=$ac_save_CC
   3926 
   3927 fi
   3928 # AC_CACHE_VAL
   3929 case "x$ac_cv_prog_cc_c99" in
   3930   x)
   3931     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3932 $as_echo "none needed" >&6; } ;;
   3933   xno)
   3934     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3935 $as_echo "unsupported" >&6; } ;;
   3936   *)
   3937     CC="$CC $ac_cv_prog_cc_c99"
   3938     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3939 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3940 esac
   3941 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3942 
   3943 fi
   3944 
   3945 
   3946 
   3947 ac_ext=c
   3948 ac_cpp='$CPP $CPPFLAGS'
   3949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3953 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3954 # On Suns, sometimes $CPP names a directory.
   3955 if test -n "$CPP" && test -d "$CPP"; then
   3956   CPP=
   3957 fi
   3958 if test -z "$CPP"; then
   3959   if ${ac_cv_prog_CPP+:} false; then :
   3960   $as_echo_n "(cached) " >&6
   3961 else
   3962       # Double quotes because CPP needs to be expanded
   3963     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3964     do
   3965       ac_preproc_ok=false
   3966 for ac_c_preproc_warn_flag in '' yes
   3967 do
   3968   # Use a header file that comes with gcc, so configuring glibc
   3969   # with a fresh cross-compiler works.
   3970   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3971   # <limits.h> exists even on freestanding compilers.
   3972   # On the NeXT, cc -E runs the code through the compiler's parser,
   3973   # not just through cpp. "Syntax error" is here to catch this case.
   3974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3975 /* end confdefs.h.  */
   3976 #ifdef __STDC__
   3977 # include <limits.h>
   3978 #else
   3979 # include <assert.h>
   3980 #endif
   3981 		     Syntax error
   3982 _ACEOF
   3983 if ac_fn_c_try_cpp "$LINENO"; then :
   3984 
   3985 else
   3986   # Broken: fails on valid input.
   3987 continue
   3988 fi
   3989 rm -f conftest.err conftest.i conftest.$ac_ext
   3990 
   3991   # OK, works on sane cases.  Now check whether nonexistent headers
   3992   # can be detected and how.
   3993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3994 /* end confdefs.h.  */
   3995 #include <ac_nonexistent.h>
   3996 _ACEOF
   3997 if ac_fn_c_try_cpp "$LINENO"; then :
   3998   # Broken: success on invalid input.
   3999 continue
   4000 else
   4001   # Passes both tests.
   4002 ac_preproc_ok=:
   4003 break
   4004 fi
   4005 rm -f conftest.err conftest.i conftest.$ac_ext
   4006 
   4007 done
   4008 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4009 rm -f conftest.i conftest.err conftest.$ac_ext
   4010 if $ac_preproc_ok; then :
   4011   break
   4012 fi
   4013 
   4014     done
   4015     ac_cv_prog_CPP=$CPP
   4016 
   4017 fi
   4018   CPP=$ac_cv_prog_CPP
   4019 else
   4020   ac_cv_prog_CPP=$CPP
   4021 fi
   4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4023 $as_echo "$CPP" >&6; }
   4024 ac_preproc_ok=false
   4025 for ac_c_preproc_warn_flag in '' yes
   4026 do
   4027   # Use a header file that comes with gcc, so configuring glibc
   4028   # with a fresh cross-compiler works.
   4029   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4030   # <limits.h> exists even on freestanding compilers.
   4031   # On the NeXT, cc -E runs the code through the compiler's parser,
   4032   # not just through cpp. "Syntax error" is here to catch this case.
   4033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4034 /* end confdefs.h.  */
   4035 #ifdef __STDC__
   4036 # include <limits.h>
   4037 #else
   4038 # include <assert.h>
   4039 #endif
   4040 		     Syntax error
   4041 _ACEOF
   4042 if ac_fn_c_try_cpp "$LINENO"; then :
   4043 
   4044 else
   4045   # Broken: fails on valid input.
   4046 continue
   4047 fi
   4048 rm -f conftest.err conftest.i conftest.$ac_ext
   4049 
   4050   # OK, works on sane cases.  Now check whether nonexistent headers
   4051   # can be detected and how.
   4052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4053 /* end confdefs.h.  */
   4054 #include <ac_nonexistent.h>
   4055 _ACEOF
   4056 if ac_fn_c_try_cpp "$LINENO"; then :
   4057   # Broken: success on invalid input.
   4058 continue
   4059 else
   4060   # Passes both tests.
   4061 ac_preproc_ok=:
   4062 break
   4063 fi
   4064 rm -f conftest.err conftest.i conftest.$ac_ext
   4065 
   4066 done
   4067 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4068 rm -f conftest.i conftest.err conftest.$ac_ext
   4069 if $ac_preproc_ok; then :
   4070 
   4071 else
   4072   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4074 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4075 See \`config.log' for more details" "$LINENO" 5; }
   4076 fi
   4077 
   4078 ac_ext=c
   4079 ac_cpp='$CPP $CPPFLAGS'
   4080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4083 
   4084 
   4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4086 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4087 if ${ac_cv_path_GREP+:} false; then :
   4088   $as_echo_n "(cached) " >&6
   4089 else
   4090   if test -z "$GREP"; then
   4091   ac_path_GREP_found=false
   4092   # Loop through the user's path and test for each of PROGNAME-LIST
   4093   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4094 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4095 do
   4096   IFS=$as_save_IFS
   4097   test -z "$as_dir" && as_dir=.
   4098     for ac_prog in grep ggrep; do
   4099     for ac_exec_ext in '' $ac_executable_extensions; do
   4100       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4101       as_fn_executable_p "$ac_path_GREP" || continue
   4102 # Check for GNU ac_path_GREP and select it if it is found.
   4103   # Check for GNU $ac_path_GREP
   4104 case `"$ac_path_GREP" --version 2>&1` in
   4105 *GNU*)
   4106   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4107 *)
   4108   ac_count=0
   4109   $as_echo_n 0123456789 >"conftest.in"
   4110   while :
   4111   do
   4112     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4113     mv "conftest.tmp" "conftest.in"
   4114     cp "conftest.in" "conftest.nl"
   4115     $as_echo 'GREP' >> "conftest.nl"
   4116     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4117     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4118     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4119     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4120       # Best one so far, save it but keep looking for a better one
   4121       ac_cv_path_GREP="$ac_path_GREP"
   4122       ac_path_GREP_max=$ac_count
   4123     fi
   4124     # 10*(2^10) chars as input seems more than enough
   4125     test $ac_count -gt 10 && break
   4126   done
   4127   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4128 esac
   4129 
   4130       $ac_path_GREP_found && break 3
   4131     done
   4132   done
   4133   done
   4134 IFS=$as_save_IFS
   4135   if test -z "$ac_cv_path_GREP"; then
   4136     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4137   fi
   4138 else
   4139   ac_cv_path_GREP=$GREP
   4140 fi
   4141 
   4142 fi
   4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4144 $as_echo "$ac_cv_path_GREP" >&6; }
   4145  GREP="$ac_cv_path_GREP"
   4146 
   4147 
   4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4149 $as_echo_n "checking for egrep... " >&6; }
   4150 if ${ac_cv_path_EGREP+:} false; then :
   4151   $as_echo_n "(cached) " >&6
   4152 else
   4153   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4154    then ac_cv_path_EGREP="$GREP -E"
   4155    else
   4156      if test -z "$EGREP"; then
   4157   ac_path_EGREP_found=false
   4158   # Loop through the user's path and test for each of PROGNAME-LIST
   4159   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4160 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4161 do
   4162   IFS=$as_save_IFS
   4163   test -z "$as_dir" && as_dir=.
   4164     for ac_prog in egrep; do
   4165     for ac_exec_ext in '' $ac_executable_extensions; do
   4166       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4167       as_fn_executable_p "$ac_path_EGREP" || continue
   4168 # Check for GNU ac_path_EGREP and select it if it is found.
   4169   # Check for GNU $ac_path_EGREP
   4170 case `"$ac_path_EGREP" --version 2>&1` in
   4171 *GNU*)
   4172   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4173 *)
   4174   ac_count=0
   4175   $as_echo_n 0123456789 >"conftest.in"
   4176   while :
   4177   do
   4178     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4179     mv "conftest.tmp" "conftest.in"
   4180     cp "conftest.in" "conftest.nl"
   4181     $as_echo 'EGREP' >> "conftest.nl"
   4182     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4183     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4184     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4185     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4186       # Best one so far, save it but keep looking for a better one
   4187       ac_cv_path_EGREP="$ac_path_EGREP"
   4188       ac_path_EGREP_max=$ac_count
   4189     fi
   4190     # 10*(2^10) chars as input seems more than enough
   4191     test $ac_count -gt 10 && break
   4192   done
   4193   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4194 esac
   4195 
   4196       $ac_path_EGREP_found && break 3
   4197     done
   4198   done
   4199   done
   4200 IFS=$as_save_IFS
   4201   if test -z "$ac_cv_path_EGREP"; then
   4202     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4203   fi
   4204 else
   4205   ac_cv_path_EGREP=$EGREP
   4206 fi
   4207 
   4208    fi
   4209 fi
   4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4211 $as_echo "$ac_cv_path_EGREP" >&6; }
   4212  EGREP="$ac_cv_path_EGREP"
   4213 
   4214 
   4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4216 $as_echo_n "checking for ANSI C header files... " >&6; }
   4217 if ${ac_cv_header_stdc+:} false; then :
   4218   $as_echo_n "(cached) " >&6
   4219 else
   4220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4221 /* end confdefs.h.  */
   4222 #include <stdlib.h>
   4223 #include <stdarg.h>
   4224 #include <string.h>
   4225 #include <float.h>
   4226 
   4227 int
   4228 main ()
   4229 {
   4230 
   4231   ;
   4232   return 0;
   4233 }
   4234 _ACEOF
   4235 if ac_fn_c_try_compile "$LINENO"; then :
   4236   ac_cv_header_stdc=yes
   4237 else
   4238   ac_cv_header_stdc=no
   4239 fi
   4240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4241 
   4242 if test $ac_cv_header_stdc = yes; then
   4243   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4245 /* end confdefs.h.  */
   4246 #include <string.h>
   4247 
   4248 _ACEOF
   4249 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4250   $EGREP "memchr" >/dev/null 2>&1; then :
   4251 
   4252 else
   4253   ac_cv_header_stdc=no
   4254 fi
   4255 rm -f conftest*
   4256 
   4257 fi
   4258 
   4259 if test $ac_cv_header_stdc = yes; then
   4260   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4262 /* end confdefs.h.  */
   4263 #include <stdlib.h>
   4264 
   4265 _ACEOF
   4266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4267   $EGREP "free" >/dev/null 2>&1; then :
   4268 
   4269 else
   4270   ac_cv_header_stdc=no
   4271 fi
   4272 rm -f conftest*
   4273 
   4274 fi
   4275 
   4276 if test $ac_cv_header_stdc = yes; then
   4277   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4278   if test "$cross_compiling" = yes; then :
   4279   :
   4280 else
   4281   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4282 /* end confdefs.h.  */
   4283 #include <ctype.h>
   4284 #include <stdlib.h>
   4285 #if ((' ' & 0x0FF) == 0x020)
   4286 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4287 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4288 #else
   4289 # define ISLOWER(c) \
   4290 		   (('a' <= (c) && (c) <= 'i') \
   4291 		     || ('j' <= (c) && (c) <= 'r') \
   4292 		     || ('s' <= (c) && (c) <= 'z'))
   4293 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4294 #endif
   4295 
   4296 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4297 int
   4298 main ()
   4299 {
   4300   int i;
   4301   for (i = 0; i < 256; i++)
   4302     if (XOR (islower (i), ISLOWER (i))
   4303 	|| toupper (i) != TOUPPER (i))
   4304       return 2;
   4305   return 0;
   4306 }
   4307 _ACEOF
   4308 if ac_fn_c_try_run "$LINENO"; then :
   4309 
   4310 else
   4311   ac_cv_header_stdc=no
   4312 fi
   4313 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4314   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4315 fi
   4316 
   4317 fi
   4318 fi
   4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4320 $as_echo "$ac_cv_header_stdc" >&6; }
   4321 if test $ac_cv_header_stdc = yes; then
   4322 
   4323 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4324 
   4325 fi
   4326 
   4327 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4328 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4329 		  inttypes.h stdint.h unistd.h
   4330 do :
   4331   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4332 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4333 "
   4334 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4335   cat >>confdefs.h <<_ACEOF
   4336 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4337 _ACEOF
   4338 
   4339 fi
   4340 
   4341 done
   4342 
   4343 
   4344 
   4345 
   4346 
   4347 
   4348 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4349 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4350   CLANGCC="yes"
   4351 else
   4352   CLANGCC="no"
   4353 fi
   4354 
   4355 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4356 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4357   INTELCC="yes"
   4358 else
   4359   INTELCC="no"
   4360 fi
   4361 
   4362 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4363 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4364   SUNCC="yes"
   4365 else
   4366   SUNCC="no"
   4367 fi
   4368 
   4369 
   4370 
   4371 
   4372 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4373 	if test -n "$ac_tool_prefix"; then
   4374   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4375 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4377 $as_echo_n "checking for $ac_word... " >&6; }
   4378 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4379   $as_echo_n "(cached) " >&6
   4380 else
   4381   case $PKG_CONFIG in
   4382   [\\/]* | ?:[\\/]*)
   4383   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4384   ;;
   4385   *)
   4386   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4387 for as_dir in $PATH
   4388 do
   4389   IFS=$as_save_IFS
   4390   test -z "$as_dir" && as_dir=.
   4391     for ac_exec_ext in '' $ac_executable_extensions; do
   4392   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4393     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4394     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4395     break 2
   4396   fi
   4397 done
   4398   done
   4399 IFS=$as_save_IFS
   4400 
   4401   ;;
   4402 esac
   4403 fi
   4404 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4405 if test -n "$PKG_CONFIG"; then
   4406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4407 $as_echo "$PKG_CONFIG" >&6; }
   4408 else
   4409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4410 $as_echo "no" >&6; }
   4411 fi
   4412 
   4413 
   4414 fi
   4415 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4416   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4417   # Extract the first word of "pkg-config", so it can be a program name with args.
   4418 set dummy pkg-config; ac_word=$2
   4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4420 $as_echo_n "checking for $ac_word... " >&6; }
   4421 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4422   $as_echo_n "(cached) " >&6
   4423 else
   4424   case $ac_pt_PKG_CONFIG in
   4425   [\\/]* | ?:[\\/]*)
   4426   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4427   ;;
   4428   *)
   4429   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4430 for as_dir in $PATH
   4431 do
   4432   IFS=$as_save_IFS
   4433   test -z "$as_dir" && as_dir=.
   4434     for ac_exec_ext in '' $ac_executable_extensions; do
   4435   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4436     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4437     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4438     break 2
   4439   fi
   4440 done
   4441   done
   4442 IFS=$as_save_IFS
   4443 
   4444   ;;
   4445 esac
   4446 fi
   4447 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4448 if test -n "$ac_pt_PKG_CONFIG"; then
   4449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4450 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4451 else
   4452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4453 $as_echo "no" >&6; }
   4454 fi
   4455 
   4456   if test "x$ac_pt_PKG_CONFIG" = x; then
   4457     PKG_CONFIG=""
   4458   else
   4459     case $cross_compiling:$ac_tool_warned in
   4460 yes:)
   4461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4463 ac_tool_warned=yes ;;
   4464 esac
   4465     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4466   fi
   4467 else
   4468   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4469 fi
   4470 
   4471 fi
   4472 if test -n "$PKG_CONFIG"; then
   4473 	_pkg_min_version=0.9.0
   4474 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4475 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4476 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4477 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4478 $as_echo "yes" >&6; }
   4479 	else
   4480 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4481 $as_echo "no" >&6; }
   4482 		PKG_CONFIG=""
   4483 	fi
   4484 
   4485 fi
   4486 # Make sure we can run config.sub.
   4487 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4488   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4489 
   4490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4491 $as_echo_n "checking build system type... " >&6; }
   4492 if ${ac_cv_build+:} false; then :
   4493   $as_echo_n "(cached) " >&6
   4494 else
   4495   ac_build_alias=$build_alias
   4496 test "x$ac_build_alias" = x &&
   4497   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4498 test "x$ac_build_alias" = x &&
   4499   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4500 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4501   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4502 
   4503 fi
   4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4505 $as_echo "$ac_cv_build" >&6; }
   4506 case $ac_cv_build in
   4507 *-*-*) ;;
   4508 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4509 esac
   4510 build=$ac_cv_build
   4511 ac_save_IFS=$IFS; IFS='-'
   4512 set x $ac_cv_build
   4513 shift
   4514 build_cpu=$1
   4515 build_vendor=$2
   4516 shift; shift
   4517 # Remember, the first character of IFS is used to create $*,
   4518 # except with old shells:
   4519 build_os=$*
   4520 IFS=$ac_save_IFS
   4521 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4522 
   4523 
   4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4525 $as_echo_n "checking host system type... " >&6; }
   4526 if ${ac_cv_host+:} false; then :
   4527   $as_echo_n "(cached) " >&6
   4528 else
   4529   if test "x$host_alias" = x; then
   4530   ac_cv_host=$ac_cv_build
   4531 else
   4532   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4533     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4534 fi
   4535 
   4536 fi
   4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4538 $as_echo "$ac_cv_host" >&6; }
   4539 case $ac_cv_host in
   4540 *-*-*) ;;
   4541 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4542 esac
   4543 host=$ac_cv_host
   4544 ac_save_IFS=$IFS; IFS='-'
   4545 set x $ac_cv_host
   4546 shift
   4547 host_cpu=$1
   4548 host_vendor=$2
   4549 shift; shift
   4550 # Remember, the first character of IFS is used to create $*,
   4551 # except with old shells:
   4552 host_os=$*
   4553 IFS=$ac_save_IFS
   4554 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4555 
   4556 
   4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4558 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4559 if ${ac_cv_path_SED+:} false; then :
   4560   $as_echo_n "(cached) " >&6
   4561 else
   4562             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4563      for ac_i in 1 2 3 4 5 6 7; do
   4564        ac_script="$ac_script$as_nl$ac_script"
   4565      done
   4566      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4567      { ac_script=; unset ac_script;}
   4568      if test -z "$SED"; then
   4569   ac_path_SED_found=false
   4570   # Loop through the user's path and test for each of PROGNAME-LIST
   4571   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4572 for as_dir in $PATH
   4573 do
   4574   IFS=$as_save_IFS
   4575   test -z "$as_dir" && as_dir=.
   4576     for ac_prog in sed gsed; do
   4577     for ac_exec_ext in '' $ac_executable_extensions; do
   4578       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4579       as_fn_executable_p "$ac_path_SED" || continue
   4580 # Check for GNU ac_path_SED and select it if it is found.
   4581   # Check for GNU $ac_path_SED
   4582 case `"$ac_path_SED" --version 2>&1` in
   4583 *GNU*)
   4584   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4585 *)
   4586   ac_count=0
   4587   $as_echo_n 0123456789 >"conftest.in"
   4588   while :
   4589   do
   4590     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4591     mv "conftest.tmp" "conftest.in"
   4592     cp "conftest.in" "conftest.nl"
   4593     $as_echo '' >> "conftest.nl"
   4594     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4595     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4596     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4597     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4598       # Best one so far, save it but keep looking for a better one
   4599       ac_cv_path_SED="$ac_path_SED"
   4600       ac_path_SED_max=$ac_count
   4601     fi
   4602     # 10*(2^10) chars as input seems more than enough
   4603     test $ac_count -gt 10 && break
   4604   done
   4605   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4606 esac
   4607 
   4608       $ac_path_SED_found && break 3
   4609     done
   4610   done
   4611   done
   4612 IFS=$as_save_IFS
   4613   if test -z "$ac_cv_path_SED"; then
   4614     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4615   fi
   4616 else
   4617   ac_cv_path_SED=$SED
   4618 fi
   4619 
   4620 fi
   4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4622 $as_echo "$ac_cv_path_SED" >&6; }
   4623  SED="$ac_cv_path_SED"
   4624   rm -f conftest.sed
   4625 
   4626 
   4627 
   4628 
   4629 
   4630 
   4631 # Check whether --enable-selective-werror was given.
   4632 if test "${enable_selective_werror+set}" = set; then :
   4633   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4634 else
   4635   SELECTIVE_WERROR=yes
   4636 fi
   4637 
   4638 
   4639 
   4640 
   4641 
   4642 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4643 if test "x$SUNCC" = "xyes"; then
   4644     BASE_CFLAGS="-v"
   4645 else
   4646     BASE_CFLAGS=""
   4647 fi
   4648 
   4649 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4650 
   4651 
   4652 
   4653 
   4654 
   4655 
   4656 
   4657 
   4658 
   4659 
   4660 
   4661 
   4662 
   4663 xorg_testset_save_CFLAGS="$CFLAGS"
   4664 
   4665 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4666 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4667 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4668 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4669 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4670   $as_echo_n "(cached) " >&6
   4671 else
   4672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4673 /* end confdefs.h.  */
   4674 int i;
   4675 _ACEOF
   4676 if ac_fn_c_try_compile "$LINENO"; then :
   4677   xorg_cv_cc_flag_unknown_warning_option=yes
   4678 else
   4679   xorg_cv_cc_flag_unknown_warning_option=no
   4680 fi
   4681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4682 fi
   4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4684 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4685 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4686 	CFLAGS="$xorg_testset_save_CFLAGS"
   4687 fi
   4688 
   4689 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4690 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4691 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4692 	fi
   4693 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4694 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4695 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4696 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4697   $as_echo_n "(cached) " >&6
   4698 else
   4699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4700 /* end confdefs.h.  */
   4701 int i;
   4702 _ACEOF
   4703 if ac_fn_c_try_compile "$LINENO"; then :
   4704   xorg_cv_cc_flag_unused_command_line_argument=yes
   4705 else
   4706   xorg_cv_cc_flag_unused_command_line_argument=no
   4707 fi
   4708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4709 fi
   4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4711 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4712 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4713 	CFLAGS="$xorg_testset_save_CFLAGS"
   4714 fi
   4715 
   4716 found="no"
   4717 
   4718 	if test $found = "no" ; then
   4719 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4720 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4721 		fi
   4722 
   4723 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4724 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4725 		fi
   4726 
   4727 		CFLAGS="$CFLAGS -Wall"
   4728 
   4729 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4730 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4731 		cacheid=xorg_cv_cc_flag__Wall
   4732 		if eval \${$cacheid+:} false; then :
   4733   $as_echo_n "(cached) " >&6
   4734 else
   4735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4736 /* end confdefs.h.  */
   4737 int i;
   4738 int
   4739 main ()
   4740 {
   4741 
   4742   ;
   4743   return 0;
   4744 }
   4745 _ACEOF
   4746 if ac_fn_c_try_link "$LINENO"; then :
   4747   eval $cacheid=yes
   4748 else
   4749   eval $cacheid=no
   4750 fi
   4751 rm -f core conftest.err conftest.$ac_objext \
   4752     conftest$ac_exeext conftest.$ac_ext
   4753 fi
   4754 
   4755 
   4756 		CFLAGS="$xorg_testset_save_CFLAGS"
   4757 
   4758 		eval supported=\$$cacheid
   4759 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4760 $as_echo "$supported" >&6; }
   4761 		if test "$supported" = "yes" ; then
   4762 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4763 			found="yes"
   4764 		fi
   4765 	fi
   4766 
   4767 
   4768 
   4769 
   4770 
   4771 
   4772 
   4773 
   4774 
   4775 
   4776 
   4777 
   4778 
   4779 
   4780 
   4781 xorg_testset_save_CFLAGS="$CFLAGS"
   4782 
   4783 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4784 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4785 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4786 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4787 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4788   $as_echo_n "(cached) " >&6
   4789 else
   4790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4791 /* end confdefs.h.  */
   4792 int i;
   4793 _ACEOF
   4794 if ac_fn_c_try_compile "$LINENO"; then :
   4795   xorg_cv_cc_flag_unknown_warning_option=yes
   4796 else
   4797   xorg_cv_cc_flag_unknown_warning_option=no
   4798 fi
   4799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4800 fi
   4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4802 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4803 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4804 	CFLAGS="$xorg_testset_save_CFLAGS"
   4805 fi
   4806 
   4807 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4808 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4809 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4810 	fi
   4811 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4812 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4813 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4814 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4815   $as_echo_n "(cached) " >&6
   4816 else
   4817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4818 /* end confdefs.h.  */
   4819 int i;
   4820 _ACEOF
   4821 if ac_fn_c_try_compile "$LINENO"; then :
   4822   xorg_cv_cc_flag_unused_command_line_argument=yes
   4823 else
   4824   xorg_cv_cc_flag_unused_command_line_argument=no
   4825 fi
   4826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4827 fi
   4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4829 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4830 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4831 	CFLAGS="$xorg_testset_save_CFLAGS"
   4832 fi
   4833 
   4834 found="no"
   4835 
   4836 	if test $found = "no" ; then
   4837 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4838 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4839 		fi
   4840 
   4841 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4842 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4843 		fi
   4844 
   4845 		CFLAGS="$CFLAGS -Wpointer-arith"
   4846 
   4847 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4848 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4849 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4850 		if eval \${$cacheid+:} false; then :
   4851   $as_echo_n "(cached) " >&6
   4852 else
   4853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4854 /* end confdefs.h.  */
   4855 int i;
   4856 int
   4857 main ()
   4858 {
   4859 
   4860   ;
   4861   return 0;
   4862 }
   4863 _ACEOF
   4864 if ac_fn_c_try_link "$LINENO"; then :
   4865   eval $cacheid=yes
   4866 else
   4867   eval $cacheid=no
   4868 fi
   4869 rm -f core conftest.err conftest.$ac_objext \
   4870     conftest$ac_exeext conftest.$ac_ext
   4871 fi
   4872 
   4873 
   4874 		CFLAGS="$xorg_testset_save_CFLAGS"
   4875 
   4876 		eval supported=\$$cacheid
   4877 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4878 $as_echo "$supported" >&6; }
   4879 		if test "$supported" = "yes" ; then
   4880 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4881 			found="yes"
   4882 		fi
   4883 	fi
   4884 
   4885 
   4886 
   4887 
   4888 
   4889 
   4890 
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 
   4897 
   4898 
   4899 xorg_testset_save_CFLAGS="$CFLAGS"
   4900 
   4901 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4902 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4903 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4904 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4905 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4906   $as_echo_n "(cached) " >&6
   4907 else
   4908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4909 /* end confdefs.h.  */
   4910 int i;
   4911 _ACEOF
   4912 if ac_fn_c_try_compile "$LINENO"; then :
   4913   xorg_cv_cc_flag_unknown_warning_option=yes
   4914 else
   4915   xorg_cv_cc_flag_unknown_warning_option=no
   4916 fi
   4917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4918 fi
   4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4920 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4921 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4922 	CFLAGS="$xorg_testset_save_CFLAGS"
   4923 fi
   4924 
   4925 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4926 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4927 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4928 	fi
   4929 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4930 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4931 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4932 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4933   $as_echo_n "(cached) " >&6
   4934 else
   4935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4936 /* end confdefs.h.  */
   4937 int i;
   4938 _ACEOF
   4939 if ac_fn_c_try_compile "$LINENO"; then :
   4940   xorg_cv_cc_flag_unused_command_line_argument=yes
   4941 else
   4942   xorg_cv_cc_flag_unused_command_line_argument=no
   4943 fi
   4944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4945 fi
   4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4947 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4948 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4949 	CFLAGS="$xorg_testset_save_CFLAGS"
   4950 fi
   4951 
   4952 found="no"
   4953 
   4954 	if test $found = "no" ; then
   4955 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4956 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4957 		fi
   4958 
   4959 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4960 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4961 		fi
   4962 
   4963 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4964 
   4965 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4966 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4967 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   4968 		if eval \${$cacheid+:} false; then :
   4969   $as_echo_n "(cached) " >&6
   4970 else
   4971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4972 /* end confdefs.h.  */
   4973 int i;
   4974 int
   4975 main ()
   4976 {
   4977 
   4978   ;
   4979   return 0;
   4980 }
   4981 _ACEOF
   4982 if ac_fn_c_try_link "$LINENO"; then :
   4983   eval $cacheid=yes
   4984 else
   4985   eval $cacheid=no
   4986 fi
   4987 rm -f core conftest.err conftest.$ac_objext \
   4988     conftest$ac_exeext conftest.$ac_ext
   4989 fi
   4990 
   4991 
   4992 		CFLAGS="$xorg_testset_save_CFLAGS"
   4993 
   4994 		eval supported=\$$cacheid
   4995 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4996 $as_echo "$supported" >&6; }
   4997 		if test "$supported" = "yes" ; then
   4998 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   4999 			found="yes"
   5000 		fi
   5001 	fi
   5002 
   5003 
   5004 
   5005 
   5006 
   5007 
   5008 
   5009 
   5010 
   5011 
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 xorg_testset_save_CFLAGS="$CFLAGS"
   5018 
   5019 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5020 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5021 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5022 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5023 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5024   $as_echo_n "(cached) " >&6
   5025 else
   5026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5027 /* end confdefs.h.  */
   5028 int i;
   5029 _ACEOF
   5030 if ac_fn_c_try_compile "$LINENO"; then :
   5031   xorg_cv_cc_flag_unknown_warning_option=yes
   5032 else
   5033   xorg_cv_cc_flag_unknown_warning_option=no
   5034 fi
   5035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5036 fi
   5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5038 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5039 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5040 	CFLAGS="$xorg_testset_save_CFLAGS"
   5041 fi
   5042 
   5043 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5044 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5045 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5046 	fi
   5047 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5048 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5049 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5050 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5051   $as_echo_n "(cached) " >&6
   5052 else
   5053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5054 /* end confdefs.h.  */
   5055 int i;
   5056 _ACEOF
   5057 if ac_fn_c_try_compile "$LINENO"; then :
   5058   xorg_cv_cc_flag_unused_command_line_argument=yes
   5059 else
   5060   xorg_cv_cc_flag_unused_command_line_argument=no
   5061 fi
   5062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5063 fi
   5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5065 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5066 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5067 	CFLAGS="$xorg_testset_save_CFLAGS"
   5068 fi
   5069 
   5070 found="no"
   5071 
   5072 	if test $found = "no" ; then
   5073 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5074 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5075 		fi
   5076 
   5077 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5078 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5079 		fi
   5080 
   5081 		CFLAGS="$CFLAGS -Wformat=2"
   5082 
   5083 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5084 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5085 		cacheid=xorg_cv_cc_flag__Wformat_2
   5086 		if eval \${$cacheid+:} false; then :
   5087   $as_echo_n "(cached) " >&6
   5088 else
   5089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5090 /* end confdefs.h.  */
   5091 int i;
   5092 int
   5093 main ()
   5094 {
   5095 
   5096   ;
   5097   return 0;
   5098 }
   5099 _ACEOF
   5100 if ac_fn_c_try_link "$LINENO"; then :
   5101   eval $cacheid=yes
   5102 else
   5103   eval $cacheid=no
   5104 fi
   5105 rm -f core conftest.err conftest.$ac_objext \
   5106     conftest$ac_exeext conftest.$ac_ext
   5107 fi
   5108 
   5109 
   5110 		CFLAGS="$xorg_testset_save_CFLAGS"
   5111 
   5112 		eval supported=\$$cacheid
   5113 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5114 $as_echo "$supported" >&6; }
   5115 		if test "$supported" = "yes" ; then
   5116 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5117 			found="yes"
   5118 		fi
   5119 	fi
   5120 
   5121 	if test $found = "no" ; then
   5122 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5123 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5124 		fi
   5125 
   5126 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5127 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5128 		fi
   5129 
   5130 		CFLAGS="$CFLAGS -Wformat"
   5131 
   5132 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5133 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5134 		cacheid=xorg_cv_cc_flag__Wformat
   5135 		if eval \${$cacheid+:} false; then :
   5136   $as_echo_n "(cached) " >&6
   5137 else
   5138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5139 /* end confdefs.h.  */
   5140 int i;
   5141 int
   5142 main ()
   5143 {
   5144 
   5145   ;
   5146   return 0;
   5147 }
   5148 _ACEOF
   5149 if ac_fn_c_try_link "$LINENO"; then :
   5150   eval $cacheid=yes
   5151 else
   5152   eval $cacheid=no
   5153 fi
   5154 rm -f core conftest.err conftest.$ac_objext \
   5155     conftest$ac_exeext conftest.$ac_ext
   5156 fi
   5157 
   5158 
   5159 		CFLAGS="$xorg_testset_save_CFLAGS"
   5160 
   5161 		eval supported=\$$cacheid
   5162 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5163 $as_echo "$supported" >&6; }
   5164 		if test "$supported" = "yes" ; then
   5165 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5166 			found="yes"
   5167 		fi
   5168 	fi
   5169 
   5170 
   5171 
   5172 
   5173 
   5174 
   5175 
   5176 
   5177 
   5178 
   5179 
   5180 
   5181 
   5182 
   5183 
   5184 
   5185 
   5186 xorg_testset_save_CFLAGS="$CFLAGS"
   5187 
   5188 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5189 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5190 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5191 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5192 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5193   $as_echo_n "(cached) " >&6
   5194 else
   5195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5196 /* end confdefs.h.  */
   5197 int i;
   5198 _ACEOF
   5199 if ac_fn_c_try_compile "$LINENO"; then :
   5200   xorg_cv_cc_flag_unknown_warning_option=yes
   5201 else
   5202   xorg_cv_cc_flag_unknown_warning_option=no
   5203 fi
   5204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5205 fi
   5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5207 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5208 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5209 	CFLAGS="$xorg_testset_save_CFLAGS"
   5210 fi
   5211 
   5212 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5213 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5214 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5215 	fi
   5216 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5217 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5218 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5219 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5220   $as_echo_n "(cached) " >&6
   5221 else
   5222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5223 /* end confdefs.h.  */
   5224 int i;
   5225 _ACEOF
   5226 if ac_fn_c_try_compile "$LINENO"; then :
   5227   xorg_cv_cc_flag_unused_command_line_argument=yes
   5228 else
   5229   xorg_cv_cc_flag_unused_command_line_argument=no
   5230 fi
   5231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5232 fi
   5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5234 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5235 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5236 	CFLAGS="$xorg_testset_save_CFLAGS"
   5237 fi
   5238 
   5239 found="no"
   5240 
   5241 	if test $found = "no" ; then
   5242 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5243 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5244 		fi
   5245 
   5246 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5247 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5248 		fi
   5249 
   5250 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5251 
   5252 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5253 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5254 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5255 		if eval \${$cacheid+:} false; then :
   5256   $as_echo_n "(cached) " >&6
   5257 else
   5258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5259 /* end confdefs.h.  */
   5260 int i;
   5261 int
   5262 main ()
   5263 {
   5264 
   5265   ;
   5266   return 0;
   5267 }
   5268 _ACEOF
   5269 if ac_fn_c_try_link "$LINENO"; then :
   5270   eval $cacheid=yes
   5271 else
   5272   eval $cacheid=no
   5273 fi
   5274 rm -f core conftest.err conftest.$ac_objext \
   5275     conftest$ac_exeext conftest.$ac_ext
   5276 fi
   5277 
   5278 
   5279 		CFLAGS="$xorg_testset_save_CFLAGS"
   5280 
   5281 		eval supported=\$$cacheid
   5282 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5283 $as_echo "$supported" >&6; }
   5284 		if test "$supported" = "yes" ; then
   5285 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5286 			found="yes"
   5287 		fi
   5288 	fi
   5289 
   5290 
   5291 
   5292 
   5293 
   5294 
   5295 
   5296 
   5297 
   5298 
   5299 
   5300 
   5301 
   5302 
   5303 
   5304 xorg_testset_save_CFLAGS="$CFLAGS"
   5305 
   5306 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5307 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5308 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5309 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5310 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5311   $as_echo_n "(cached) " >&6
   5312 else
   5313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5314 /* end confdefs.h.  */
   5315 int i;
   5316 _ACEOF
   5317 if ac_fn_c_try_compile "$LINENO"; then :
   5318   xorg_cv_cc_flag_unknown_warning_option=yes
   5319 else
   5320   xorg_cv_cc_flag_unknown_warning_option=no
   5321 fi
   5322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5323 fi
   5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5325 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5326 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5327 	CFLAGS="$xorg_testset_save_CFLAGS"
   5328 fi
   5329 
   5330 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5331 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5332 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5333 	fi
   5334 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5335 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5336 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5337 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5338   $as_echo_n "(cached) " >&6
   5339 else
   5340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5341 /* end confdefs.h.  */
   5342 int i;
   5343 _ACEOF
   5344 if ac_fn_c_try_compile "$LINENO"; then :
   5345   xorg_cv_cc_flag_unused_command_line_argument=yes
   5346 else
   5347   xorg_cv_cc_flag_unused_command_line_argument=no
   5348 fi
   5349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5350 fi
   5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5352 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5353 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5354 	CFLAGS="$xorg_testset_save_CFLAGS"
   5355 fi
   5356 
   5357 found="no"
   5358 
   5359 	if test $found = "no" ; then
   5360 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5361 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5362 		fi
   5363 
   5364 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5365 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5366 		fi
   5367 
   5368 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5369 
   5370 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5371 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5372 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5373 		if eval \${$cacheid+:} false; then :
   5374   $as_echo_n "(cached) " >&6
   5375 else
   5376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5377 /* end confdefs.h.  */
   5378 int i;
   5379 int
   5380 main ()
   5381 {
   5382 
   5383   ;
   5384   return 0;
   5385 }
   5386 _ACEOF
   5387 if ac_fn_c_try_link "$LINENO"; then :
   5388   eval $cacheid=yes
   5389 else
   5390   eval $cacheid=no
   5391 fi
   5392 rm -f core conftest.err conftest.$ac_objext \
   5393     conftest$ac_exeext conftest.$ac_ext
   5394 fi
   5395 
   5396 
   5397 		CFLAGS="$xorg_testset_save_CFLAGS"
   5398 
   5399 		eval supported=\$$cacheid
   5400 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5401 $as_echo "$supported" >&6; }
   5402 		if test "$supported" = "yes" ; then
   5403 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5404 			found="yes"
   5405 		fi
   5406 	fi
   5407 
   5408 
   5409 
   5410 
   5411 
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 
   5420 
   5421 
   5422 xorg_testset_save_CFLAGS="$CFLAGS"
   5423 
   5424 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5425 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5426 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5427 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5428 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5429   $as_echo_n "(cached) " >&6
   5430 else
   5431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5432 /* end confdefs.h.  */
   5433 int i;
   5434 _ACEOF
   5435 if ac_fn_c_try_compile "$LINENO"; then :
   5436   xorg_cv_cc_flag_unknown_warning_option=yes
   5437 else
   5438   xorg_cv_cc_flag_unknown_warning_option=no
   5439 fi
   5440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5441 fi
   5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5443 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5444 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5445 	CFLAGS="$xorg_testset_save_CFLAGS"
   5446 fi
   5447 
   5448 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5449 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5450 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5451 	fi
   5452 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5453 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5454 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5455 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5456   $as_echo_n "(cached) " >&6
   5457 else
   5458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5459 /* end confdefs.h.  */
   5460 int i;
   5461 _ACEOF
   5462 if ac_fn_c_try_compile "$LINENO"; then :
   5463   xorg_cv_cc_flag_unused_command_line_argument=yes
   5464 else
   5465   xorg_cv_cc_flag_unused_command_line_argument=no
   5466 fi
   5467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5468 fi
   5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5470 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5471 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5472 	CFLAGS="$xorg_testset_save_CFLAGS"
   5473 fi
   5474 
   5475 found="no"
   5476 
   5477 	if test $found = "no" ; then
   5478 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5479 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5480 		fi
   5481 
   5482 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5483 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5484 		fi
   5485 
   5486 		CFLAGS="$CFLAGS -Wnested-externs"
   5487 
   5488 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5489 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5490 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5491 		if eval \${$cacheid+:} false; then :
   5492   $as_echo_n "(cached) " >&6
   5493 else
   5494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5495 /* end confdefs.h.  */
   5496 int i;
   5497 int
   5498 main ()
   5499 {
   5500 
   5501   ;
   5502   return 0;
   5503 }
   5504 _ACEOF
   5505 if ac_fn_c_try_link "$LINENO"; then :
   5506   eval $cacheid=yes
   5507 else
   5508   eval $cacheid=no
   5509 fi
   5510 rm -f core conftest.err conftest.$ac_objext \
   5511     conftest$ac_exeext conftest.$ac_ext
   5512 fi
   5513 
   5514 
   5515 		CFLAGS="$xorg_testset_save_CFLAGS"
   5516 
   5517 		eval supported=\$$cacheid
   5518 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5519 $as_echo "$supported" >&6; }
   5520 		if test "$supported" = "yes" ; then
   5521 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5522 			found="yes"
   5523 		fi
   5524 	fi
   5525 
   5526 
   5527 
   5528 
   5529 
   5530 
   5531 
   5532 
   5533 
   5534 
   5535 
   5536 
   5537 
   5538 
   5539 
   5540 xorg_testset_save_CFLAGS="$CFLAGS"
   5541 
   5542 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5543 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5544 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5545 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5546 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5547   $as_echo_n "(cached) " >&6
   5548 else
   5549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5550 /* end confdefs.h.  */
   5551 int i;
   5552 _ACEOF
   5553 if ac_fn_c_try_compile "$LINENO"; then :
   5554   xorg_cv_cc_flag_unknown_warning_option=yes
   5555 else
   5556   xorg_cv_cc_flag_unknown_warning_option=no
   5557 fi
   5558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5559 fi
   5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5561 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5562 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5563 	CFLAGS="$xorg_testset_save_CFLAGS"
   5564 fi
   5565 
   5566 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5567 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5568 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5569 	fi
   5570 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5571 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5572 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5573 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5574   $as_echo_n "(cached) " >&6
   5575 else
   5576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5577 /* end confdefs.h.  */
   5578 int i;
   5579 _ACEOF
   5580 if ac_fn_c_try_compile "$LINENO"; then :
   5581   xorg_cv_cc_flag_unused_command_line_argument=yes
   5582 else
   5583   xorg_cv_cc_flag_unused_command_line_argument=no
   5584 fi
   5585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5586 fi
   5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5588 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5589 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5590 	CFLAGS="$xorg_testset_save_CFLAGS"
   5591 fi
   5592 
   5593 found="no"
   5594 
   5595 	if test $found = "no" ; then
   5596 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5597 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5598 		fi
   5599 
   5600 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5601 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5602 		fi
   5603 
   5604 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5605 
   5606 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5607 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5608 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5609 		if eval \${$cacheid+:} false; then :
   5610   $as_echo_n "(cached) " >&6
   5611 else
   5612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5613 /* end confdefs.h.  */
   5614 int i;
   5615 int
   5616 main ()
   5617 {
   5618 
   5619   ;
   5620   return 0;
   5621 }
   5622 _ACEOF
   5623 if ac_fn_c_try_link "$LINENO"; then :
   5624   eval $cacheid=yes
   5625 else
   5626   eval $cacheid=no
   5627 fi
   5628 rm -f core conftest.err conftest.$ac_objext \
   5629     conftest$ac_exeext conftest.$ac_ext
   5630 fi
   5631 
   5632 
   5633 		CFLAGS="$xorg_testset_save_CFLAGS"
   5634 
   5635 		eval supported=\$$cacheid
   5636 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5637 $as_echo "$supported" >&6; }
   5638 		if test "$supported" = "yes" ; then
   5639 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5640 			found="yes"
   5641 		fi
   5642 	fi
   5643 
   5644 
   5645 
   5646 
   5647 
   5648 
   5649 
   5650 
   5651 
   5652 
   5653 
   5654 
   5655 
   5656 
   5657 
   5658 xorg_testset_save_CFLAGS="$CFLAGS"
   5659 
   5660 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5661 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5662 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5663 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5664 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5665   $as_echo_n "(cached) " >&6
   5666 else
   5667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5668 /* end confdefs.h.  */
   5669 int i;
   5670 _ACEOF
   5671 if ac_fn_c_try_compile "$LINENO"; then :
   5672   xorg_cv_cc_flag_unknown_warning_option=yes
   5673 else
   5674   xorg_cv_cc_flag_unknown_warning_option=no
   5675 fi
   5676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5677 fi
   5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5679 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5680 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5681 	CFLAGS="$xorg_testset_save_CFLAGS"
   5682 fi
   5683 
   5684 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5685 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5686 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5687 	fi
   5688 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5689 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5690 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5691 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5692   $as_echo_n "(cached) " >&6
   5693 else
   5694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5695 /* end confdefs.h.  */
   5696 int i;
   5697 _ACEOF
   5698 if ac_fn_c_try_compile "$LINENO"; then :
   5699   xorg_cv_cc_flag_unused_command_line_argument=yes
   5700 else
   5701   xorg_cv_cc_flag_unused_command_line_argument=no
   5702 fi
   5703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5704 fi
   5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5706 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5707 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5708 	CFLAGS="$xorg_testset_save_CFLAGS"
   5709 fi
   5710 
   5711 found="no"
   5712 
   5713 	if test $found = "no" ; then
   5714 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5715 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5716 		fi
   5717 
   5718 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5719 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5720 		fi
   5721 
   5722 		CFLAGS="$CFLAGS -Wold-style-definition"
   5723 
   5724 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5725 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5726 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5727 		if eval \${$cacheid+:} false; then :
   5728   $as_echo_n "(cached) " >&6
   5729 else
   5730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5731 /* end confdefs.h.  */
   5732 int i;
   5733 int
   5734 main ()
   5735 {
   5736 
   5737   ;
   5738   return 0;
   5739 }
   5740 _ACEOF
   5741 if ac_fn_c_try_link "$LINENO"; then :
   5742   eval $cacheid=yes
   5743 else
   5744   eval $cacheid=no
   5745 fi
   5746 rm -f core conftest.err conftest.$ac_objext \
   5747     conftest$ac_exeext conftest.$ac_ext
   5748 fi
   5749 
   5750 
   5751 		CFLAGS="$xorg_testset_save_CFLAGS"
   5752 
   5753 		eval supported=\$$cacheid
   5754 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5755 $as_echo "$supported" >&6; }
   5756 		if test "$supported" = "yes" ; then
   5757 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5758 			found="yes"
   5759 		fi
   5760 	fi
   5761 
   5762 	if test $found = "no" ; then
   5763 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5764 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5765 		fi
   5766 
   5767 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5768 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5769 		fi
   5770 
   5771 		CFLAGS="$CFLAGS -fd"
   5772 
   5773 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5774 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5775 		cacheid=xorg_cv_cc_flag__fd
   5776 		if eval \${$cacheid+:} false; then :
   5777   $as_echo_n "(cached) " >&6
   5778 else
   5779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5780 /* end confdefs.h.  */
   5781 int i;
   5782 int
   5783 main ()
   5784 {
   5785 
   5786   ;
   5787   return 0;
   5788 }
   5789 _ACEOF
   5790 if ac_fn_c_try_link "$LINENO"; then :
   5791   eval $cacheid=yes
   5792 else
   5793   eval $cacheid=no
   5794 fi
   5795 rm -f core conftest.err conftest.$ac_objext \
   5796     conftest$ac_exeext conftest.$ac_ext
   5797 fi
   5798 
   5799 
   5800 		CFLAGS="$xorg_testset_save_CFLAGS"
   5801 
   5802 		eval supported=\$$cacheid
   5803 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5804 $as_echo "$supported" >&6; }
   5805 		if test "$supported" = "yes" ; then
   5806 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5807 			found="yes"
   5808 		fi
   5809 	fi
   5810 
   5811 
   5812 
   5813 
   5814 
   5815 
   5816 
   5817 
   5818 
   5819 
   5820 
   5821 
   5822 
   5823 
   5824 
   5825 xorg_testset_save_CFLAGS="$CFLAGS"
   5826 
   5827 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5828 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5829 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5830 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5831 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5832   $as_echo_n "(cached) " >&6
   5833 else
   5834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5835 /* end confdefs.h.  */
   5836 int i;
   5837 _ACEOF
   5838 if ac_fn_c_try_compile "$LINENO"; then :
   5839   xorg_cv_cc_flag_unknown_warning_option=yes
   5840 else
   5841   xorg_cv_cc_flag_unknown_warning_option=no
   5842 fi
   5843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5844 fi
   5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5846 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5847 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5848 	CFLAGS="$xorg_testset_save_CFLAGS"
   5849 fi
   5850 
   5851 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5852 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5853 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5854 	fi
   5855 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5856 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5857 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5858 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5859   $as_echo_n "(cached) " >&6
   5860 else
   5861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5862 /* end confdefs.h.  */
   5863 int i;
   5864 _ACEOF
   5865 if ac_fn_c_try_compile "$LINENO"; then :
   5866   xorg_cv_cc_flag_unused_command_line_argument=yes
   5867 else
   5868   xorg_cv_cc_flag_unused_command_line_argument=no
   5869 fi
   5870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5871 fi
   5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5873 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5874 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5875 	CFLAGS="$xorg_testset_save_CFLAGS"
   5876 fi
   5877 
   5878 found="no"
   5879 
   5880 	if test $found = "no" ; then
   5881 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5882 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5883 		fi
   5884 
   5885 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5886 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5887 		fi
   5888 
   5889 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5890 
   5891 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5892 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5893 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5894 		if eval \${$cacheid+:} false; then :
   5895   $as_echo_n "(cached) " >&6
   5896 else
   5897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5898 /* end confdefs.h.  */
   5899 int i;
   5900 int
   5901 main ()
   5902 {
   5903 
   5904   ;
   5905   return 0;
   5906 }
   5907 _ACEOF
   5908 if ac_fn_c_try_link "$LINENO"; then :
   5909   eval $cacheid=yes
   5910 else
   5911   eval $cacheid=no
   5912 fi
   5913 rm -f core conftest.err conftest.$ac_objext \
   5914     conftest$ac_exeext conftest.$ac_ext
   5915 fi
   5916 
   5917 
   5918 		CFLAGS="$xorg_testset_save_CFLAGS"
   5919 
   5920 		eval supported=\$$cacheid
   5921 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5922 $as_echo "$supported" >&6; }
   5923 		if test "$supported" = "yes" ; then
   5924 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5925 			found="yes"
   5926 		fi
   5927 	fi
   5928 
   5929 
   5930 
   5931 
   5932 
   5933 # This chunk adds additional warnings that could catch undesired effects.
   5934 
   5935 
   5936 
   5937 
   5938 
   5939 
   5940 
   5941 
   5942 
   5943 
   5944 
   5945 
   5946 
   5947 xorg_testset_save_CFLAGS="$CFLAGS"
   5948 
   5949 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5950 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5951 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5952 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5953 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5954   $as_echo_n "(cached) " >&6
   5955 else
   5956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5957 /* end confdefs.h.  */
   5958 int i;
   5959 _ACEOF
   5960 if ac_fn_c_try_compile "$LINENO"; then :
   5961   xorg_cv_cc_flag_unknown_warning_option=yes
   5962 else
   5963   xorg_cv_cc_flag_unknown_warning_option=no
   5964 fi
   5965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5966 fi
   5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5968 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5969 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5970 	CFLAGS="$xorg_testset_save_CFLAGS"
   5971 fi
   5972 
   5973 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5974 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5975 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5976 	fi
   5977 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5978 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5979 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5980 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   5987 if ac_fn_c_try_compile "$LINENO"; then :
   5988   xorg_cv_cc_flag_unused_command_line_argument=yes
   5989 else
   5990   xorg_cv_cc_flag_unused_command_line_argument=no
   5991 fi
   5992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5993 fi
   5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5995 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5996 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5997 	CFLAGS="$xorg_testset_save_CFLAGS"
   5998 fi
   5999 
   6000 found="no"
   6001 
   6002 	if test $found = "no" ; then
   6003 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6004 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6005 		fi
   6006 
   6007 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6008 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6009 		fi
   6010 
   6011 		CFLAGS="$CFLAGS -Wunused"
   6012 
   6013 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6014 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6015 		cacheid=xorg_cv_cc_flag__Wunused
   6016 		if eval \${$cacheid+:} false; then :
   6017   $as_echo_n "(cached) " >&6
   6018 else
   6019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6020 /* end confdefs.h.  */
   6021 int i;
   6022 int
   6023 main ()
   6024 {
   6025 
   6026   ;
   6027   return 0;
   6028 }
   6029 _ACEOF
   6030 if ac_fn_c_try_link "$LINENO"; then :
   6031   eval $cacheid=yes
   6032 else
   6033   eval $cacheid=no
   6034 fi
   6035 rm -f core conftest.err conftest.$ac_objext \
   6036     conftest$ac_exeext conftest.$ac_ext
   6037 fi
   6038 
   6039 
   6040 		CFLAGS="$xorg_testset_save_CFLAGS"
   6041 
   6042 		eval supported=\$$cacheid
   6043 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6044 $as_echo "$supported" >&6; }
   6045 		if test "$supported" = "yes" ; then
   6046 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6047 			found="yes"
   6048 		fi
   6049 	fi
   6050 
   6051 
   6052 
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 
   6065 xorg_testset_save_CFLAGS="$CFLAGS"
   6066 
   6067 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6068 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6069 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6070 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6071 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6072   $as_echo_n "(cached) " >&6
   6073 else
   6074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6075 /* end confdefs.h.  */
   6076 int i;
   6077 _ACEOF
   6078 if ac_fn_c_try_compile "$LINENO"; then :
   6079   xorg_cv_cc_flag_unknown_warning_option=yes
   6080 else
   6081   xorg_cv_cc_flag_unknown_warning_option=no
   6082 fi
   6083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6084 fi
   6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6086 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6087 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6088 	CFLAGS="$xorg_testset_save_CFLAGS"
   6089 fi
   6090 
   6091 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6092 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6093 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6094 	fi
   6095 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6096 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6097 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6098 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   6105 if ac_fn_c_try_compile "$LINENO"; then :
   6106   xorg_cv_cc_flag_unused_command_line_argument=yes
   6107 else
   6108   xorg_cv_cc_flag_unused_command_line_argument=no
   6109 fi
   6110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6111 fi
   6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6113 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6114 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6115 	CFLAGS="$xorg_testset_save_CFLAGS"
   6116 fi
   6117 
   6118 found="no"
   6119 
   6120 	if test $found = "no" ; then
   6121 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6122 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6123 		fi
   6124 
   6125 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6126 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6127 		fi
   6128 
   6129 		CFLAGS="$CFLAGS -Wuninitialized"
   6130 
   6131 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6132 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6133 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6134 		if eval \${$cacheid+:} false; then :
   6135   $as_echo_n "(cached) " >&6
   6136 else
   6137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6138 /* end confdefs.h.  */
   6139 int i;
   6140 int
   6141 main ()
   6142 {
   6143 
   6144   ;
   6145   return 0;
   6146 }
   6147 _ACEOF
   6148 if ac_fn_c_try_link "$LINENO"; then :
   6149   eval $cacheid=yes
   6150 else
   6151   eval $cacheid=no
   6152 fi
   6153 rm -f core conftest.err conftest.$ac_objext \
   6154     conftest$ac_exeext conftest.$ac_ext
   6155 fi
   6156 
   6157 
   6158 		CFLAGS="$xorg_testset_save_CFLAGS"
   6159 
   6160 		eval supported=\$$cacheid
   6161 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6162 $as_echo "$supported" >&6; }
   6163 		if test "$supported" = "yes" ; then
   6164 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6165 			found="yes"
   6166 		fi
   6167 	fi
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 
   6175 
   6176 
   6177 
   6178 
   6179 
   6180 
   6181 
   6182 
   6183 xorg_testset_save_CFLAGS="$CFLAGS"
   6184 
   6185 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6186 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6187 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6188 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6189 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6190   $as_echo_n "(cached) " >&6
   6191 else
   6192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6193 /* end confdefs.h.  */
   6194 int i;
   6195 _ACEOF
   6196 if ac_fn_c_try_compile "$LINENO"; then :
   6197   xorg_cv_cc_flag_unknown_warning_option=yes
   6198 else
   6199   xorg_cv_cc_flag_unknown_warning_option=no
   6200 fi
   6201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6202 fi
   6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6204 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6205 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6206 	CFLAGS="$xorg_testset_save_CFLAGS"
   6207 fi
   6208 
   6209 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6210 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6211 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6212 	fi
   6213 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6214 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6215 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6216 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   6223 if ac_fn_c_try_compile "$LINENO"; then :
   6224   xorg_cv_cc_flag_unused_command_line_argument=yes
   6225 else
   6226   xorg_cv_cc_flag_unused_command_line_argument=no
   6227 fi
   6228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6229 fi
   6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6231 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6232 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6233 	CFLAGS="$xorg_testset_save_CFLAGS"
   6234 fi
   6235 
   6236 found="no"
   6237 
   6238 	if test $found = "no" ; then
   6239 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6240 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6241 		fi
   6242 
   6243 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6244 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6245 		fi
   6246 
   6247 		CFLAGS="$CFLAGS -Wshadow"
   6248 
   6249 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6250 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6251 		cacheid=xorg_cv_cc_flag__Wshadow
   6252 		if eval \${$cacheid+:} false; then :
   6253   $as_echo_n "(cached) " >&6
   6254 else
   6255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6256 /* end confdefs.h.  */
   6257 int i;
   6258 int
   6259 main ()
   6260 {
   6261 
   6262   ;
   6263   return 0;
   6264 }
   6265 _ACEOF
   6266 if ac_fn_c_try_link "$LINENO"; then :
   6267   eval $cacheid=yes
   6268 else
   6269   eval $cacheid=no
   6270 fi
   6271 rm -f core conftest.err conftest.$ac_objext \
   6272     conftest$ac_exeext conftest.$ac_ext
   6273 fi
   6274 
   6275 
   6276 		CFLAGS="$xorg_testset_save_CFLAGS"
   6277 
   6278 		eval supported=\$$cacheid
   6279 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6280 $as_echo "$supported" >&6; }
   6281 		if test "$supported" = "yes" ; then
   6282 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6283 			found="yes"
   6284 		fi
   6285 	fi
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 
   6301 xorg_testset_save_CFLAGS="$CFLAGS"
   6302 
   6303 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6304 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6305 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6306 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6307 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6308   $as_echo_n "(cached) " >&6
   6309 else
   6310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6311 /* end confdefs.h.  */
   6312 int i;
   6313 _ACEOF
   6314 if ac_fn_c_try_compile "$LINENO"; then :
   6315   xorg_cv_cc_flag_unknown_warning_option=yes
   6316 else
   6317   xorg_cv_cc_flag_unknown_warning_option=no
   6318 fi
   6319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6320 fi
   6321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6322 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6323 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6324 	CFLAGS="$xorg_testset_save_CFLAGS"
   6325 fi
   6326 
   6327 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6328 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6329 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6330 	fi
   6331 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6332 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6333 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6334 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   6341 if ac_fn_c_try_compile "$LINENO"; then :
   6342   xorg_cv_cc_flag_unused_command_line_argument=yes
   6343 else
   6344   xorg_cv_cc_flag_unused_command_line_argument=no
   6345 fi
   6346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6347 fi
   6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6349 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6350 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6351 	CFLAGS="$xorg_testset_save_CFLAGS"
   6352 fi
   6353 
   6354 found="no"
   6355 
   6356 	if test $found = "no" ; then
   6357 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6358 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6359 		fi
   6360 
   6361 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6362 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6363 		fi
   6364 
   6365 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6366 
   6367 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6368 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6369 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6370 		if eval \${$cacheid+:} false; then :
   6371   $as_echo_n "(cached) " >&6
   6372 else
   6373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6374 /* end confdefs.h.  */
   6375 int i;
   6376 int
   6377 main ()
   6378 {
   6379 
   6380   ;
   6381   return 0;
   6382 }
   6383 _ACEOF
   6384 if ac_fn_c_try_link "$LINENO"; then :
   6385   eval $cacheid=yes
   6386 else
   6387   eval $cacheid=no
   6388 fi
   6389 rm -f core conftest.err conftest.$ac_objext \
   6390     conftest$ac_exeext conftest.$ac_ext
   6391 fi
   6392 
   6393 
   6394 		CFLAGS="$xorg_testset_save_CFLAGS"
   6395 
   6396 		eval supported=\$$cacheid
   6397 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6398 $as_echo "$supported" >&6; }
   6399 		if test "$supported" = "yes" ; then
   6400 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6401 			found="yes"
   6402 		fi
   6403 	fi
   6404 
   6405 
   6406 
   6407 
   6408 
   6409 
   6410 
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 
   6418 
   6419 xorg_testset_save_CFLAGS="$CFLAGS"
   6420 
   6421 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6422 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6423 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6424 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6425 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6426   $as_echo_n "(cached) " >&6
   6427 else
   6428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6429 /* end confdefs.h.  */
   6430 int i;
   6431 _ACEOF
   6432 if ac_fn_c_try_compile "$LINENO"; then :
   6433   xorg_cv_cc_flag_unknown_warning_option=yes
   6434 else
   6435   xorg_cv_cc_flag_unknown_warning_option=no
   6436 fi
   6437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6438 fi
   6439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6440 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6441 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6442 	CFLAGS="$xorg_testset_save_CFLAGS"
   6443 fi
   6444 
   6445 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6446 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6447 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6448 	fi
   6449 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6450 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6451 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6452 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   6459 if ac_fn_c_try_compile "$LINENO"; then :
   6460   xorg_cv_cc_flag_unused_command_line_argument=yes
   6461 else
   6462   xorg_cv_cc_flag_unused_command_line_argument=no
   6463 fi
   6464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6465 fi
   6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6467 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6468 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6469 	CFLAGS="$xorg_testset_save_CFLAGS"
   6470 fi
   6471 
   6472 found="no"
   6473 
   6474 	if test $found = "no" ; then
   6475 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6476 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6477 		fi
   6478 
   6479 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6480 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6481 		fi
   6482 
   6483 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6484 
   6485 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6486 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6487 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6488 		if eval \${$cacheid+:} false; then :
   6489   $as_echo_n "(cached) " >&6
   6490 else
   6491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6492 /* end confdefs.h.  */
   6493 int i;
   6494 int
   6495 main ()
   6496 {
   6497 
   6498   ;
   6499   return 0;
   6500 }
   6501 _ACEOF
   6502 if ac_fn_c_try_link "$LINENO"; then :
   6503   eval $cacheid=yes
   6504 else
   6505   eval $cacheid=no
   6506 fi
   6507 rm -f core conftest.err conftest.$ac_objext \
   6508     conftest$ac_exeext conftest.$ac_ext
   6509 fi
   6510 
   6511 
   6512 		CFLAGS="$xorg_testset_save_CFLAGS"
   6513 
   6514 		eval supported=\$$cacheid
   6515 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6516 $as_echo "$supported" >&6; }
   6517 		if test "$supported" = "yes" ; then
   6518 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6519 			found="yes"
   6520 		fi
   6521 	fi
   6522 
   6523 
   6524 
   6525 
   6526 
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 
   6537 xorg_testset_save_CFLAGS="$CFLAGS"
   6538 
   6539 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6540 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6541 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6542 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6543 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6544   $as_echo_n "(cached) " >&6
   6545 else
   6546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6547 /* end confdefs.h.  */
   6548 int i;
   6549 _ACEOF
   6550 if ac_fn_c_try_compile "$LINENO"; then :
   6551   xorg_cv_cc_flag_unknown_warning_option=yes
   6552 else
   6553   xorg_cv_cc_flag_unknown_warning_option=no
   6554 fi
   6555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6556 fi
   6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6558 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6559 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6560 	CFLAGS="$xorg_testset_save_CFLAGS"
   6561 fi
   6562 
   6563 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6564 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6565 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6566 	fi
   6567 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6568 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6569 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6570 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   6577 if ac_fn_c_try_compile "$LINENO"; then :
   6578   xorg_cv_cc_flag_unused_command_line_argument=yes
   6579 else
   6580   xorg_cv_cc_flag_unused_command_line_argument=no
   6581 fi
   6582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6583 fi
   6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6585 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6586 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6587 	CFLAGS="$xorg_testset_save_CFLAGS"
   6588 fi
   6589 
   6590 found="no"
   6591 
   6592 	if test $found = "no" ; then
   6593 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6594 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6595 		fi
   6596 
   6597 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6598 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6599 		fi
   6600 
   6601 		CFLAGS="$CFLAGS -Wredundant-decls"
   6602 
   6603 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6604 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6605 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6606 		if eval \${$cacheid+:} false; then :
   6607   $as_echo_n "(cached) " >&6
   6608 else
   6609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6610 /* end confdefs.h.  */
   6611 int i;
   6612 int
   6613 main ()
   6614 {
   6615 
   6616   ;
   6617   return 0;
   6618 }
   6619 _ACEOF
   6620 if ac_fn_c_try_link "$LINENO"; then :
   6621   eval $cacheid=yes
   6622 else
   6623   eval $cacheid=no
   6624 fi
   6625 rm -f core conftest.err conftest.$ac_objext \
   6626     conftest$ac_exeext conftest.$ac_ext
   6627 fi
   6628 
   6629 
   6630 		CFLAGS="$xorg_testset_save_CFLAGS"
   6631 
   6632 		eval supported=\$$cacheid
   6633 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6634 $as_echo "$supported" >&6; }
   6635 		if test "$supported" = "yes" ; then
   6636 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6637 			found="yes"
   6638 		fi
   6639 	fi
   6640 
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 
   6647 
   6648 
   6649 
   6650 
   6651 
   6652 
   6653 
   6654 
   6655 xorg_testset_save_CFLAGS="$CFLAGS"
   6656 
   6657 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6658 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6659 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6660 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6661 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6662   $as_echo_n "(cached) " >&6
   6663 else
   6664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6665 /* end confdefs.h.  */
   6666 int i;
   6667 _ACEOF
   6668 if ac_fn_c_try_compile "$LINENO"; then :
   6669   xorg_cv_cc_flag_unknown_warning_option=yes
   6670 else
   6671   xorg_cv_cc_flag_unknown_warning_option=no
   6672 fi
   6673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6674 fi
   6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6676 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6677 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6678 	CFLAGS="$xorg_testset_save_CFLAGS"
   6679 fi
   6680 
   6681 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6682 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6683 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6684 	fi
   6685 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6686 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6687 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6688 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6689   $as_echo_n "(cached) " >&6
   6690 else
   6691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6692 /* end confdefs.h.  */
   6693 int i;
   6694 _ACEOF
   6695 if ac_fn_c_try_compile "$LINENO"; then :
   6696   xorg_cv_cc_flag_unused_command_line_argument=yes
   6697 else
   6698   xorg_cv_cc_flag_unused_command_line_argument=no
   6699 fi
   6700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6701 fi
   6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6703 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6704 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6705 	CFLAGS="$xorg_testset_save_CFLAGS"
   6706 fi
   6707 
   6708 found="no"
   6709 
   6710 	if test $found = "no" ; then
   6711 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6712 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6713 		fi
   6714 
   6715 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6716 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6717 		fi
   6718 
   6719 		CFLAGS="$CFLAGS -Wlogical-op"
   6720 
   6721 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6722 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6723 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6724 		if eval \${$cacheid+:} false; then :
   6725   $as_echo_n "(cached) " >&6
   6726 else
   6727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6728 /* end confdefs.h.  */
   6729 int i;
   6730 int
   6731 main ()
   6732 {
   6733 
   6734   ;
   6735   return 0;
   6736 }
   6737 _ACEOF
   6738 if ac_fn_c_try_link "$LINENO"; then :
   6739   eval $cacheid=yes
   6740 else
   6741   eval $cacheid=no
   6742 fi
   6743 rm -f core conftest.err conftest.$ac_objext \
   6744     conftest$ac_exeext conftest.$ac_ext
   6745 fi
   6746 
   6747 
   6748 		CFLAGS="$xorg_testset_save_CFLAGS"
   6749 
   6750 		eval supported=\$$cacheid
   6751 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6752 $as_echo "$supported" >&6; }
   6753 		if test "$supported" = "yes" ; then
   6754 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6755 			found="yes"
   6756 		fi
   6757 	fi
   6758 
   6759 
   6760 
   6761 # These are currently disabled because they are noisy.  They will be enabled
   6762 # in the future once the codebase is sufficiently modernized to silence
   6763 # them.  For now, I don't want them to drown out the other warnings.
   6764 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6765 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6766 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6767 
   6768 # Turn some warnings into errors, so we don't accidently get successful builds
   6769 # when there are problems that should be fixed.
   6770 
   6771 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6772 
   6773 
   6774 
   6775 
   6776 
   6777 
   6778 
   6779 
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 xorg_testset_save_CFLAGS="$CFLAGS"
   6786 
   6787 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6788 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6789 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6790 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6791 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6792   $as_echo_n "(cached) " >&6
   6793 else
   6794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6795 /* end confdefs.h.  */
   6796 int i;
   6797 _ACEOF
   6798 if ac_fn_c_try_compile "$LINENO"; then :
   6799   xorg_cv_cc_flag_unknown_warning_option=yes
   6800 else
   6801   xorg_cv_cc_flag_unknown_warning_option=no
   6802 fi
   6803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6804 fi
   6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6806 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6807 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6808 	CFLAGS="$xorg_testset_save_CFLAGS"
   6809 fi
   6810 
   6811 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6812 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6813 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6814 	fi
   6815 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6816 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6817 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6818 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6819   $as_echo_n "(cached) " >&6
   6820 else
   6821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6822 /* end confdefs.h.  */
   6823 int i;
   6824 _ACEOF
   6825 if ac_fn_c_try_compile "$LINENO"; then :
   6826   xorg_cv_cc_flag_unused_command_line_argument=yes
   6827 else
   6828   xorg_cv_cc_flag_unused_command_line_argument=no
   6829 fi
   6830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6831 fi
   6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6833 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6834 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6835 	CFLAGS="$xorg_testset_save_CFLAGS"
   6836 fi
   6837 
   6838 found="no"
   6839 
   6840 	if test $found = "no" ; then
   6841 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6842 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6843 		fi
   6844 
   6845 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6846 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6847 		fi
   6848 
   6849 		CFLAGS="$CFLAGS -Werror=implicit"
   6850 
   6851 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6852 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6853 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6854 		if eval \${$cacheid+:} false; then :
   6855   $as_echo_n "(cached) " >&6
   6856 else
   6857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6858 /* end confdefs.h.  */
   6859 int i;
   6860 int
   6861 main ()
   6862 {
   6863 
   6864   ;
   6865   return 0;
   6866 }
   6867 _ACEOF
   6868 if ac_fn_c_try_link "$LINENO"; then :
   6869   eval $cacheid=yes
   6870 else
   6871   eval $cacheid=no
   6872 fi
   6873 rm -f core conftest.err conftest.$ac_objext \
   6874     conftest$ac_exeext conftest.$ac_ext
   6875 fi
   6876 
   6877 
   6878 		CFLAGS="$xorg_testset_save_CFLAGS"
   6879 
   6880 		eval supported=\$$cacheid
   6881 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6882 $as_echo "$supported" >&6; }
   6883 		if test "$supported" = "yes" ; then
   6884 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6885 			found="yes"
   6886 		fi
   6887 	fi
   6888 
   6889 	if test $found = "no" ; then
   6890 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6891 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6892 		fi
   6893 
   6894 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6895 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6896 		fi
   6897 
   6898 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6899 
   6900 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6901 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6902 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   6903 		if eval \${$cacheid+:} false; then :
   6904   $as_echo_n "(cached) " >&6
   6905 else
   6906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6907 /* end confdefs.h.  */
   6908 int i;
   6909 int
   6910 main ()
   6911 {
   6912 
   6913   ;
   6914   return 0;
   6915 }
   6916 _ACEOF
   6917 if ac_fn_c_try_link "$LINENO"; then :
   6918   eval $cacheid=yes
   6919 else
   6920   eval $cacheid=no
   6921 fi
   6922 rm -f core conftest.err conftest.$ac_objext \
   6923     conftest$ac_exeext conftest.$ac_ext
   6924 fi
   6925 
   6926 
   6927 		CFLAGS="$xorg_testset_save_CFLAGS"
   6928 
   6929 		eval supported=\$$cacheid
   6930 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6931 $as_echo "$supported" >&6; }
   6932 		if test "$supported" = "yes" ; then
   6933 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6934 			found="yes"
   6935 		fi
   6936 	fi
   6937 
   6938 
   6939 
   6940 
   6941 
   6942 
   6943 
   6944 
   6945 
   6946 
   6947 
   6948 
   6949 
   6950 
   6951 
   6952 xorg_testset_save_CFLAGS="$CFLAGS"
   6953 
   6954 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6955 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6956 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6957 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6958 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6959   $as_echo_n "(cached) " >&6
   6960 else
   6961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6962 /* end confdefs.h.  */
   6963 int i;
   6964 _ACEOF
   6965 if ac_fn_c_try_compile "$LINENO"; then :
   6966   xorg_cv_cc_flag_unknown_warning_option=yes
   6967 else
   6968   xorg_cv_cc_flag_unknown_warning_option=no
   6969 fi
   6970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6971 fi
   6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6973 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6974 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6975 	CFLAGS="$xorg_testset_save_CFLAGS"
   6976 fi
   6977 
   6978 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6979 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6980 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6981 	fi
   6982 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6983 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6984 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6985 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   6992 if ac_fn_c_try_compile "$LINENO"; then :
   6993   xorg_cv_cc_flag_unused_command_line_argument=yes
   6994 else
   6995   xorg_cv_cc_flag_unused_command_line_argument=no
   6996 fi
   6997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6998 fi
   6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7000 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7001 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7002 	CFLAGS="$xorg_testset_save_CFLAGS"
   7003 fi
   7004 
   7005 found="no"
   7006 
   7007 	if test $found = "no" ; then
   7008 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7009 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7010 		fi
   7011 
   7012 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7013 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7014 		fi
   7015 
   7016 		CFLAGS="$CFLAGS -Werror=nonnull"
   7017 
   7018 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7019 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7020 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7021 		if eval \${$cacheid+:} false; then :
   7022   $as_echo_n "(cached) " >&6
   7023 else
   7024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7025 /* end confdefs.h.  */
   7026 int i;
   7027 int
   7028 main ()
   7029 {
   7030 
   7031   ;
   7032   return 0;
   7033 }
   7034 _ACEOF
   7035 if ac_fn_c_try_link "$LINENO"; then :
   7036   eval $cacheid=yes
   7037 else
   7038   eval $cacheid=no
   7039 fi
   7040 rm -f core conftest.err conftest.$ac_objext \
   7041     conftest$ac_exeext conftest.$ac_ext
   7042 fi
   7043 
   7044 
   7045 		CFLAGS="$xorg_testset_save_CFLAGS"
   7046 
   7047 		eval supported=\$$cacheid
   7048 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7049 $as_echo "$supported" >&6; }
   7050 		if test "$supported" = "yes" ; then
   7051 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7052 			found="yes"
   7053 		fi
   7054 	fi
   7055 
   7056 
   7057 
   7058 
   7059 
   7060 
   7061 
   7062 
   7063 
   7064 
   7065 
   7066 
   7067 
   7068 
   7069 
   7070 xorg_testset_save_CFLAGS="$CFLAGS"
   7071 
   7072 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7073 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7074 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7075 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7076 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7077   $as_echo_n "(cached) " >&6
   7078 else
   7079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7080 /* end confdefs.h.  */
   7081 int i;
   7082 _ACEOF
   7083 if ac_fn_c_try_compile "$LINENO"; then :
   7084   xorg_cv_cc_flag_unknown_warning_option=yes
   7085 else
   7086   xorg_cv_cc_flag_unknown_warning_option=no
   7087 fi
   7088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7089 fi
   7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7091 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7092 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7093 	CFLAGS="$xorg_testset_save_CFLAGS"
   7094 fi
   7095 
   7096 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7097 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7098 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7099 	fi
   7100 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7101 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7102 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7103 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   7110 if ac_fn_c_try_compile "$LINENO"; then :
   7111   xorg_cv_cc_flag_unused_command_line_argument=yes
   7112 else
   7113   xorg_cv_cc_flag_unused_command_line_argument=no
   7114 fi
   7115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7116 fi
   7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7118 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7119 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7120 	CFLAGS="$xorg_testset_save_CFLAGS"
   7121 fi
   7122 
   7123 found="no"
   7124 
   7125 	if test $found = "no" ; then
   7126 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7127 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7128 		fi
   7129 
   7130 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7131 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7132 		fi
   7133 
   7134 		CFLAGS="$CFLAGS -Werror=init-self"
   7135 
   7136 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7137 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7138 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7139 		if eval \${$cacheid+:} false; then :
   7140   $as_echo_n "(cached) " >&6
   7141 else
   7142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7143 /* end confdefs.h.  */
   7144 int i;
   7145 int
   7146 main ()
   7147 {
   7148 
   7149   ;
   7150   return 0;
   7151 }
   7152 _ACEOF
   7153 if ac_fn_c_try_link "$LINENO"; then :
   7154   eval $cacheid=yes
   7155 else
   7156   eval $cacheid=no
   7157 fi
   7158 rm -f core conftest.err conftest.$ac_objext \
   7159     conftest$ac_exeext conftest.$ac_ext
   7160 fi
   7161 
   7162 
   7163 		CFLAGS="$xorg_testset_save_CFLAGS"
   7164 
   7165 		eval supported=\$$cacheid
   7166 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7167 $as_echo "$supported" >&6; }
   7168 		if test "$supported" = "yes" ; then
   7169 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7170 			found="yes"
   7171 		fi
   7172 	fi
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 
   7187 
   7188 xorg_testset_save_CFLAGS="$CFLAGS"
   7189 
   7190 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7191 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7192 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7193 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7194 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7195   $as_echo_n "(cached) " >&6
   7196 else
   7197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7198 /* end confdefs.h.  */
   7199 int i;
   7200 _ACEOF
   7201 if ac_fn_c_try_compile "$LINENO"; then :
   7202   xorg_cv_cc_flag_unknown_warning_option=yes
   7203 else
   7204   xorg_cv_cc_flag_unknown_warning_option=no
   7205 fi
   7206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7207 fi
   7208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7209 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7210 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7211 	CFLAGS="$xorg_testset_save_CFLAGS"
   7212 fi
   7213 
   7214 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7215 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7216 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7217 	fi
   7218 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7219 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7220 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7221 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   7228 if ac_fn_c_try_compile "$LINENO"; then :
   7229   xorg_cv_cc_flag_unused_command_line_argument=yes
   7230 else
   7231   xorg_cv_cc_flag_unused_command_line_argument=no
   7232 fi
   7233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7234 fi
   7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7236 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7237 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7238 	CFLAGS="$xorg_testset_save_CFLAGS"
   7239 fi
   7240 
   7241 found="no"
   7242 
   7243 	if test $found = "no" ; then
   7244 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7245 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7246 		fi
   7247 
   7248 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7249 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7250 		fi
   7251 
   7252 		CFLAGS="$CFLAGS -Werror=main"
   7253 
   7254 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7255 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7256 		cacheid=xorg_cv_cc_flag__Werror_main
   7257 		if eval \${$cacheid+:} false; then :
   7258   $as_echo_n "(cached) " >&6
   7259 else
   7260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7261 /* end confdefs.h.  */
   7262 int i;
   7263 int
   7264 main ()
   7265 {
   7266 
   7267   ;
   7268   return 0;
   7269 }
   7270 _ACEOF
   7271 if ac_fn_c_try_link "$LINENO"; then :
   7272   eval $cacheid=yes
   7273 else
   7274   eval $cacheid=no
   7275 fi
   7276 rm -f core conftest.err conftest.$ac_objext \
   7277     conftest$ac_exeext conftest.$ac_ext
   7278 fi
   7279 
   7280 
   7281 		CFLAGS="$xorg_testset_save_CFLAGS"
   7282 
   7283 		eval supported=\$$cacheid
   7284 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7285 $as_echo "$supported" >&6; }
   7286 		if test "$supported" = "yes" ; then
   7287 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7288 			found="yes"
   7289 		fi
   7290 	fi
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 
   7298 
   7299 
   7300 
   7301 
   7302 
   7303 
   7304 
   7305 
   7306 xorg_testset_save_CFLAGS="$CFLAGS"
   7307 
   7308 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7309 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7310 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7311 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7312 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7313   $as_echo_n "(cached) " >&6
   7314 else
   7315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7316 /* end confdefs.h.  */
   7317 int i;
   7318 _ACEOF
   7319 if ac_fn_c_try_compile "$LINENO"; then :
   7320   xorg_cv_cc_flag_unknown_warning_option=yes
   7321 else
   7322   xorg_cv_cc_flag_unknown_warning_option=no
   7323 fi
   7324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7325 fi
   7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7327 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7328 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7329 	CFLAGS="$xorg_testset_save_CFLAGS"
   7330 fi
   7331 
   7332 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7333 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7334 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7335 	fi
   7336 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7337 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7338 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7339 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   7346 if ac_fn_c_try_compile "$LINENO"; then :
   7347   xorg_cv_cc_flag_unused_command_line_argument=yes
   7348 else
   7349   xorg_cv_cc_flag_unused_command_line_argument=no
   7350 fi
   7351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7352 fi
   7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7354 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7355 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7356 	CFLAGS="$xorg_testset_save_CFLAGS"
   7357 fi
   7358 
   7359 found="no"
   7360 
   7361 	if test $found = "no" ; then
   7362 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7363 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7364 		fi
   7365 
   7366 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7367 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7368 		fi
   7369 
   7370 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7371 
   7372 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7373 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7374 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7375 		if eval \${$cacheid+:} false; then :
   7376   $as_echo_n "(cached) " >&6
   7377 else
   7378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7379 /* end confdefs.h.  */
   7380 int i;
   7381 int
   7382 main ()
   7383 {
   7384 
   7385   ;
   7386   return 0;
   7387 }
   7388 _ACEOF
   7389 if ac_fn_c_try_link "$LINENO"; then :
   7390   eval $cacheid=yes
   7391 else
   7392   eval $cacheid=no
   7393 fi
   7394 rm -f core conftest.err conftest.$ac_objext \
   7395     conftest$ac_exeext conftest.$ac_ext
   7396 fi
   7397 
   7398 
   7399 		CFLAGS="$xorg_testset_save_CFLAGS"
   7400 
   7401 		eval supported=\$$cacheid
   7402 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7403 $as_echo "$supported" >&6; }
   7404 		if test "$supported" = "yes" ; then
   7405 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7406 			found="yes"
   7407 		fi
   7408 	fi
   7409 
   7410 
   7411 
   7412 
   7413 
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 
   7423 
   7424 xorg_testset_save_CFLAGS="$CFLAGS"
   7425 
   7426 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7427 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7428 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7429 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7430 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7431   $as_echo_n "(cached) " >&6
   7432 else
   7433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7434 /* end confdefs.h.  */
   7435 int i;
   7436 _ACEOF
   7437 if ac_fn_c_try_compile "$LINENO"; then :
   7438   xorg_cv_cc_flag_unknown_warning_option=yes
   7439 else
   7440   xorg_cv_cc_flag_unknown_warning_option=no
   7441 fi
   7442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7443 fi
   7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7445 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7446 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7447 	CFLAGS="$xorg_testset_save_CFLAGS"
   7448 fi
   7449 
   7450 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7451 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7452 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7453 	fi
   7454 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7455 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7456 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7457 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   7464 if ac_fn_c_try_compile "$LINENO"; then :
   7465   xorg_cv_cc_flag_unused_command_line_argument=yes
   7466 else
   7467   xorg_cv_cc_flag_unused_command_line_argument=no
   7468 fi
   7469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7470 fi
   7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7472 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7473 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7474 	CFLAGS="$xorg_testset_save_CFLAGS"
   7475 fi
   7476 
   7477 found="no"
   7478 
   7479 	if test $found = "no" ; then
   7480 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7481 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7482 		fi
   7483 
   7484 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7485 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7486 		fi
   7487 
   7488 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7489 
   7490 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7491 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7492 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7493 		if eval \${$cacheid+:} false; then :
   7494   $as_echo_n "(cached) " >&6
   7495 else
   7496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7497 /* end confdefs.h.  */
   7498 int i;
   7499 int
   7500 main ()
   7501 {
   7502 
   7503   ;
   7504   return 0;
   7505 }
   7506 _ACEOF
   7507 if ac_fn_c_try_link "$LINENO"; then :
   7508   eval $cacheid=yes
   7509 else
   7510   eval $cacheid=no
   7511 fi
   7512 rm -f core conftest.err conftest.$ac_objext \
   7513     conftest$ac_exeext conftest.$ac_ext
   7514 fi
   7515 
   7516 
   7517 		CFLAGS="$xorg_testset_save_CFLAGS"
   7518 
   7519 		eval supported=\$$cacheid
   7520 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7521 $as_echo "$supported" >&6; }
   7522 		if test "$supported" = "yes" ; then
   7523 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7524 			found="yes"
   7525 		fi
   7526 	fi
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 
   7534 
   7535 
   7536 
   7537 
   7538 
   7539 
   7540 
   7541 
   7542 xorg_testset_save_CFLAGS="$CFLAGS"
   7543 
   7544 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7545 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7546 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7547 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7548 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7549   $as_echo_n "(cached) " >&6
   7550 else
   7551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7552 /* end confdefs.h.  */
   7553 int i;
   7554 _ACEOF
   7555 if ac_fn_c_try_compile "$LINENO"; then :
   7556   xorg_cv_cc_flag_unknown_warning_option=yes
   7557 else
   7558   xorg_cv_cc_flag_unknown_warning_option=no
   7559 fi
   7560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7561 fi
   7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7563 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7564 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7565 	CFLAGS="$xorg_testset_save_CFLAGS"
   7566 fi
   7567 
   7568 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7569 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7570 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7571 	fi
   7572 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7573 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7574 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7575 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7576   $as_echo_n "(cached) " >&6
   7577 else
   7578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7579 /* end confdefs.h.  */
   7580 int i;
   7581 _ACEOF
   7582 if ac_fn_c_try_compile "$LINENO"; then :
   7583   xorg_cv_cc_flag_unused_command_line_argument=yes
   7584 else
   7585   xorg_cv_cc_flag_unused_command_line_argument=no
   7586 fi
   7587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7588 fi
   7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7590 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7591 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7592 	CFLAGS="$xorg_testset_save_CFLAGS"
   7593 fi
   7594 
   7595 found="no"
   7596 
   7597 	if test $found = "no" ; then
   7598 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7599 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7600 		fi
   7601 
   7602 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7603 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7604 		fi
   7605 
   7606 		CFLAGS="$CFLAGS -Werror=return-type"
   7607 
   7608 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7609 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7610 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7611 		if eval \${$cacheid+:} false; then :
   7612   $as_echo_n "(cached) " >&6
   7613 else
   7614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7615 /* end confdefs.h.  */
   7616 int i;
   7617 int
   7618 main ()
   7619 {
   7620 
   7621   ;
   7622   return 0;
   7623 }
   7624 _ACEOF
   7625 if ac_fn_c_try_link "$LINENO"; then :
   7626   eval $cacheid=yes
   7627 else
   7628   eval $cacheid=no
   7629 fi
   7630 rm -f core conftest.err conftest.$ac_objext \
   7631     conftest$ac_exeext conftest.$ac_ext
   7632 fi
   7633 
   7634 
   7635 		CFLAGS="$xorg_testset_save_CFLAGS"
   7636 
   7637 		eval supported=\$$cacheid
   7638 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7639 $as_echo "$supported" >&6; }
   7640 		if test "$supported" = "yes" ; then
   7641 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7642 			found="yes"
   7643 		fi
   7644 	fi
   7645 
   7646 	if test $found = "no" ; then
   7647 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7648 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7649 		fi
   7650 
   7651 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7652 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7653 		fi
   7654 
   7655 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7656 
   7657 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7658 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7659 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7660 		if eval \${$cacheid+:} false; then :
   7661   $as_echo_n "(cached) " >&6
   7662 else
   7663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7664 /* end confdefs.h.  */
   7665 int i;
   7666 int
   7667 main ()
   7668 {
   7669 
   7670   ;
   7671   return 0;
   7672 }
   7673 _ACEOF
   7674 if ac_fn_c_try_link "$LINENO"; then :
   7675   eval $cacheid=yes
   7676 else
   7677   eval $cacheid=no
   7678 fi
   7679 rm -f core conftest.err conftest.$ac_objext \
   7680     conftest$ac_exeext conftest.$ac_ext
   7681 fi
   7682 
   7683 
   7684 		CFLAGS="$xorg_testset_save_CFLAGS"
   7685 
   7686 		eval supported=\$$cacheid
   7687 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7688 $as_echo "$supported" >&6; }
   7689 		if test "$supported" = "yes" ; then
   7690 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7691 			found="yes"
   7692 		fi
   7693 	fi
   7694 
   7695 
   7696 
   7697 
   7698 
   7699 
   7700 
   7701 
   7702 
   7703 
   7704 
   7705 
   7706 
   7707 
   7708 
   7709 xorg_testset_save_CFLAGS="$CFLAGS"
   7710 
   7711 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7712 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7713 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7714 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7715 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7716   $as_echo_n "(cached) " >&6
   7717 else
   7718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7719 /* end confdefs.h.  */
   7720 int i;
   7721 _ACEOF
   7722 if ac_fn_c_try_compile "$LINENO"; then :
   7723   xorg_cv_cc_flag_unknown_warning_option=yes
   7724 else
   7725   xorg_cv_cc_flag_unknown_warning_option=no
   7726 fi
   7727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7728 fi
   7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7730 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7731 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7732 	CFLAGS="$xorg_testset_save_CFLAGS"
   7733 fi
   7734 
   7735 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7736 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7737 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7738 	fi
   7739 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7740 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7741 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7742 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   7749 if ac_fn_c_try_compile "$LINENO"; then :
   7750   xorg_cv_cc_flag_unused_command_line_argument=yes
   7751 else
   7752   xorg_cv_cc_flag_unused_command_line_argument=no
   7753 fi
   7754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7755 fi
   7756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7757 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7758 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7759 	CFLAGS="$xorg_testset_save_CFLAGS"
   7760 fi
   7761 
   7762 found="no"
   7763 
   7764 	if test $found = "no" ; then
   7765 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7766 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7767 		fi
   7768 
   7769 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7770 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7771 		fi
   7772 
   7773 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7774 
   7775 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7776 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7777 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7778 		if eval \${$cacheid+:} false; then :
   7779   $as_echo_n "(cached) " >&6
   7780 else
   7781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7782 /* end confdefs.h.  */
   7783 int i;
   7784 int
   7785 main ()
   7786 {
   7787 
   7788   ;
   7789   return 0;
   7790 }
   7791 _ACEOF
   7792 if ac_fn_c_try_link "$LINENO"; then :
   7793   eval $cacheid=yes
   7794 else
   7795   eval $cacheid=no
   7796 fi
   7797 rm -f core conftest.err conftest.$ac_objext \
   7798     conftest$ac_exeext conftest.$ac_ext
   7799 fi
   7800 
   7801 
   7802 		CFLAGS="$xorg_testset_save_CFLAGS"
   7803 
   7804 		eval supported=\$$cacheid
   7805 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7806 $as_echo "$supported" >&6; }
   7807 		if test "$supported" = "yes" ; then
   7808 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7809 			found="yes"
   7810 		fi
   7811 	fi
   7812 
   7813 
   7814 
   7815 
   7816 
   7817 
   7818 
   7819 
   7820 
   7821 
   7822 
   7823 
   7824 
   7825 
   7826 
   7827 xorg_testset_save_CFLAGS="$CFLAGS"
   7828 
   7829 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7830 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7831 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7832 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7833 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7834   $as_echo_n "(cached) " >&6
   7835 else
   7836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7837 /* end confdefs.h.  */
   7838 int i;
   7839 _ACEOF
   7840 if ac_fn_c_try_compile "$LINENO"; then :
   7841   xorg_cv_cc_flag_unknown_warning_option=yes
   7842 else
   7843   xorg_cv_cc_flag_unknown_warning_option=no
   7844 fi
   7845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7846 fi
   7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7848 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7849 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7850 	CFLAGS="$xorg_testset_save_CFLAGS"
   7851 fi
   7852 
   7853 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7854 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7855 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7856 	fi
   7857 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7858 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7859 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7860 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   7867 if ac_fn_c_try_compile "$LINENO"; then :
   7868   xorg_cv_cc_flag_unused_command_line_argument=yes
   7869 else
   7870   xorg_cv_cc_flag_unused_command_line_argument=no
   7871 fi
   7872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7873 fi
   7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7875 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7876 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7877 	CFLAGS="$xorg_testset_save_CFLAGS"
   7878 fi
   7879 
   7880 found="no"
   7881 
   7882 	if test $found = "no" ; then
   7883 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7884 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7885 		fi
   7886 
   7887 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7888 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7889 		fi
   7890 
   7891 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7892 
   7893 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7894 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7895 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   7896 		if eval \${$cacheid+:} false; then :
   7897   $as_echo_n "(cached) " >&6
   7898 else
   7899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7900 /* end confdefs.h.  */
   7901 int i;
   7902 int
   7903 main ()
   7904 {
   7905 
   7906   ;
   7907   return 0;
   7908 }
   7909 _ACEOF
   7910 if ac_fn_c_try_link "$LINENO"; then :
   7911   eval $cacheid=yes
   7912 else
   7913   eval $cacheid=no
   7914 fi
   7915 rm -f core conftest.err conftest.$ac_objext \
   7916     conftest$ac_exeext conftest.$ac_ext
   7917 fi
   7918 
   7919 
   7920 		CFLAGS="$xorg_testset_save_CFLAGS"
   7921 
   7922 		eval supported=\$$cacheid
   7923 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7924 $as_echo "$supported" >&6; }
   7925 		if test "$supported" = "yes" ; then
   7926 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7927 			found="yes"
   7928 		fi
   7929 	fi
   7930 
   7931 
   7932 
   7933 
   7934 
   7935 
   7936 
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943 
   7944 
   7945 xorg_testset_save_CFLAGS="$CFLAGS"
   7946 
   7947 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7948 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7949 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7950 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7951 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7952   $as_echo_n "(cached) " >&6
   7953 else
   7954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7955 /* end confdefs.h.  */
   7956 int i;
   7957 _ACEOF
   7958 if ac_fn_c_try_compile "$LINENO"; then :
   7959   xorg_cv_cc_flag_unknown_warning_option=yes
   7960 else
   7961   xorg_cv_cc_flag_unknown_warning_option=no
   7962 fi
   7963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7964 fi
   7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7966 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7967 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7968 	CFLAGS="$xorg_testset_save_CFLAGS"
   7969 fi
   7970 
   7971 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7972 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7973 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7974 	fi
   7975 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7976 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7977 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7978 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   7985 if ac_fn_c_try_compile "$LINENO"; then :
   7986   xorg_cv_cc_flag_unused_command_line_argument=yes
   7987 else
   7988   xorg_cv_cc_flag_unused_command_line_argument=no
   7989 fi
   7990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7991 fi
   7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7993 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7994 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7995 	CFLAGS="$xorg_testset_save_CFLAGS"
   7996 fi
   7997 
   7998 found="no"
   7999 
   8000 	if test $found = "no" ; then
   8001 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8002 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8003 		fi
   8004 
   8005 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8006 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8007 		fi
   8008 
   8009 		CFLAGS="$CFLAGS -Werror=write-strings"
   8010 
   8011 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8012 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8013 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8014 		if eval \${$cacheid+:} false; then :
   8015   $as_echo_n "(cached) " >&6
   8016 else
   8017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8018 /* end confdefs.h.  */
   8019 int i;
   8020 int
   8021 main ()
   8022 {
   8023 
   8024   ;
   8025   return 0;
   8026 }
   8027 _ACEOF
   8028 if ac_fn_c_try_link "$LINENO"; then :
   8029   eval $cacheid=yes
   8030 else
   8031   eval $cacheid=no
   8032 fi
   8033 rm -f core conftest.err conftest.$ac_objext \
   8034     conftest$ac_exeext conftest.$ac_ext
   8035 fi
   8036 
   8037 
   8038 		CFLAGS="$xorg_testset_save_CFLAGS"
   8039 
   8040 		eval supported=\$$cacheid
   8041 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8042 $as_echo "$supported" >&6; }
   8043 		if test "$supported" = "yes" ; then
   8044 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8045 			found="yes"
   8046 		fi
   8047 	fi
   8048 
   8049 
   8050 
   8051 
   8052 
   8053 
   8054 
   8055 
   8056 
   8057 
   8058 
   8059 
   8060 
   8061 
   8062 
   8063 xorg_testset_save_CFLAGS="$CFLAGS"
   8064 
   8065 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8066 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8067 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8068 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8069 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8070   $as_echo_n "(cached) " >&6
   8071 else
   8072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8073 /* end confdefs.h.  */
   8074 int i;
   8075 _ACEOF
   8076 if ac_fn_c_try_compile "$LINENO"; then :
   8077   xorg_cv_cc_flag_unknown_warning_option=yes
   8078 else
   8079   xorg_cv_cc_flag_unknown_warning_option=no
   8080 fi
   8081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8082 fi
   8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8084 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8085 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8086 	CFLAGS="$xorg_testset_save_CFLAGS"
   8087 fi
   8088 
   8089 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8090 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8091 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8092 	fi
   8093 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8094 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8095 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8096 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   8103 if ac_fn_c_try_compile "$LINENO"; then :
   8104   xorg_cv_cc_flag_unused_command_line_argument=yes
   8105 else
   8106   xorg_cv_cc_flag_unused_command_line_argument=no
   8107 fi
   8108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8109 fi
   8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8111 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8112 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8113 	CFLAGS="$xorg_testset_save_CFLAGS"
   8114 fi
   8115 
   8116 found="no"
   8117 
   8118 	if test $found = "no" ; then
   8119 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8120 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8121 		fi
   8122 
   8123 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8124 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8125 		fi
   8126 
   8127 		CFLAGS="$CFLAGS -Werror=address"
   8128 
   8129 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8130 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8131 		cacheid=xorg_cv_cc_flag__Werror_address
   8132 		if eval \${$cacheid+:} false; then :
   8133   $as_echo_n "(cached) " >&6
   8134 else
   8135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8136 /* end confdefs.h.  */
   8137 int i;
   8138 int
   8139 main ()
   8140 {
   8141 
   8142   ;
   8143   return 0;
   8144 }
   8145 _ACEOF
   8146 if ac_fn_c_try_link "$LINENO"; then :
   8147   eval $cacheid=yes
   8148 else
   8149   eval $cacheid=no
   8150 fi
   8151 rm -f core conftest.err conftest.$ac_objext \
   8152     conftest$ac_exeext conftest.$ac_ext
   8153 fi
   8154 
   8155 
   8156 		CFLAGS="$xorg_testset_save_CFLAGS"
   8157 
   8158 		eval supported=\$$cacheid
   8159 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8160 $as_echo "$supported" >&6; }
   8161 		if test "$supported" = "yes" ; then
   8162 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8163 			found="yes"
   8164 		fi
   8165 	fi
   8166 
   8167 
   8168 
   8169 
   8170 
   8171 
   8172 
   8173 
   8174 
   8175 
   8176 
   8177 
   8178 
   8179 
   8180 
   8181 xorg_testset_save_CFLAGS="$CFLAGS"
   8182 
   8183 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8184 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8185 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8186 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8187 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8188   $as_echo_n "(cached) " >&6
   8189 else
   8190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8191 /* end confdefs.h.  */
   8192 int i;
   8193 _ACEOF
   8194 if ac_fn_c_try_compile "$LINENO"; then :
   8195   xorg_cv_cc_flag_unknown_warning_option=yes
   8196 else
   8197   xorg_cv_cc_flag_unknown_warning_option=no
   8198 fi
   8199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8200 fi
   8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8202 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8203 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8204 	CFLAGS="$xorg_testset_save_CFLAGS"
   8205 fi
   8206 
   8207 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8208 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8209 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8210 	fi
   8211 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8212 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8213 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8214 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8215   $as_echo_n "(cached) " >&6
   8216 else
   8217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8218 /* end confdefs.h.  */
   8219 int i;
   8220 _ACEOF
   8221 if ac_fn_c_try_compile "$LINENO"; then :
   8222   xorg_cv_cc_flag_unused_command_line_argument=yes
   8223 else
   8224   xorg_cv_cc_flag_unused_command_line_argument=no
   8225 fi
   8226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8227 fi
   8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8229 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8230 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8231 	CFLAGS="$xorg_testset_save_CFLAGS"
   8232 fi
   8233 
   8234 found="no"
   8235 
   8236 	if test $found = "no" ; then
   8237 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8238 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8239 		fi
   8240 
   8241 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8242 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8243 		fi
   8244 
   8245 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8246 
   8247 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8248 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8249 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8250 		if eval \${$cacheid+:} false; then :
   8251   $as_echo_n "(cached) " >&6
   8252 else
   8253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8254 /* end confdefs.h.  */
   8255 int i;
   8256 int
   8257 main ()
   8258 {
   8259 
   8260   ;
   8261   return 0;
   8262 }
   8263 _ACEOF
   8264 if ac_fn_c_try_link "$LINENO"; then :
   8265   eval $cacheid=yes
   8266 else
   8267   eval $cacheid=no
   8268 fi
   8269 rm -f core conftest.err conftest.$ac_objext \
   8270     conftest$ac_exeext conftest.$ac_ext
   8271 fi
   8272 
   8273 
   8274 		CFLAGS="$xorg_testset_save_CFLAGS"
   8275 
   8276 		eval supported=\$$cacheid
   8277 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8278 $as_echo "$supported" >&6; }
   8279 		if test "$supported" = "yes" ; then
   8280 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8281 			found="yes"
   8282 		fi
   8283 	fi
   8284 
   8285 	if test $found = "no" ; then
   8286 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8287 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8288 		fi
   8289 
   8290 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8291 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8292 		fi
   8293 
   8294 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8295 
   8296 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8297 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8298 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8299 		if eval \${$cacheid+:} false; then :
   8300   $as_echo_n "(cached) " >&6
   8301 else
   8302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8303 /* end confdefs.h.  */
   8304 int i;
   8305 int
   8306 main ()
   8307 {
   8308 
   8309   ;
   8310   return 0;
   8311 }
   8312 _ACEOF
   8313 if ac_fn_c_try_link "$LINENO"; then :
   8314   eval $cacheid=yes
   8315 else
   8316   eval $cacheid=no
   8317 fi
   8318 rm -f core conftest.err conftest.$ac_objext \
   8319     conftest$ac_exeext conftest.$ac_ext
   8320 fi
   8321 
   8322 
   8323 		CFLAGS="$xorg_testset_save_CFLAGS"
   8324 
   8325 		eval supported=\$$cacheid
   8326 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8327 $as_echo "$supported" >&6; }
   8328 		if test "$supported" = "yes" ; then
   8329 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8330 			found="yes"
   8331 		fi
   8332 	fi
   8333 
   8334 
   8335 
   8336 
   8337 
   8338 
   8339 
   8340 
   8341 
   8342 
   8343 
   8344 
   8345 
   8346 
   8347 
   8348 xorg_testset_save_CFLAGS="$CFLAGS"
   8349 
   8350 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8351 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8352 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8353 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8354 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8355   $as_echo_n "(cached) " >&6
   8356 else
   8357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8358 /* end confdefs.h.  */
   8359 int i;
   8360 _ACEOF
   8361 if ac_fn_c_try_compile "$LINENO"; then :
   8362   xorg_cv_cc_flag_unknown_warning_option=yes
   8363 else
   8364   xorg_cv_cc_flag_unknown_warning_option=no
   8365 fi
   8366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8367 fi
   8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8369 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8370 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8371 	CFLAGS="$xorg_testset_save_CFLAGS"
   8372 fi
   8373 
   8374 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8375 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8376 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8377 	fi
   8378 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8379 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8380 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8381 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8382   $as_echo_n "(cached) " >&6
   8383 else
   8384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8385 /* end confdefs.h.  */
   8386 int i;
   8387 _ACEOF
   8388 if ac_fn_c_try_compile "$LINENO"; then :
   8389   xorg_cv_cc_flag_unused_command_line_argument=yes
   8390 else
   8391   xorg_cv_cc_flag_unused_command_line_argument=no
   8392 fi
   8393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8394 fi
   8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8396 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8397 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8398 	CFLAGS="$xorg_testset_save_CFLAGS"
   8399 fi
   8400 
   8401 found="no"
   8402 
   8403 	if test $found = "no" ; then
   8404 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8405 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8406 		fi
   8407 
   8408 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8409 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8410 		fi
   8411 
   8412 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8413 
   8414 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8415 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8416 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8417 		if eval \${$cacheid+:} false; then :
   8418   $as_echo_n "(cached) " >&6
   8419 else
   8420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8421 /* end confdefs.h.  */
   8422 int i;
   8423 int
   8424 main ()
   8425 {
   8426 
   8427   ;
   8428   return 0;
   8429 }
   8430 _ACEOF
   8431 if ac_fn_c_try_link "$LINENO"; then :
   8432   eval $cacheid=yes
   8433 else
   8434   eval $cacheid=no
   8435 fi
   8436 rm -f core conftest.err conftest.$ac_objext \
   8437     conftest$ac_exeext conftest.$ac_ext
   8438 fi
   8439 
   8440 
   8441 		CFLAGS="$xorg_testset_save_CFLAGS"
   8442 
   8443 		eval supported=\$$cacheid
   8444 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8445 $as_echo "$supported" >&6; }
   8446 		if test "$supported" = "yes" ; then
   8447 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8448 			found="yes"
   8449 		fi
   8450 	fi
   8451 
   8452  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8453 else
   8454 { $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
   8455 $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;}
   8456 
   8457 
   8458 
   8459 
   8460 
   8461 
   8462 
   8463 
   8464 
   8465 
   8466 
   8467 
   8468 
   8469 xorg_testset_save_CFLAGS="$CFLAGS"
   8470 
   8471 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8472 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8473 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8474 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8475 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8476   $as_echo_n "(cached) " >&6
   8477 else
   8478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8479 /* end confdefs.h.  */
   8480 int i;
   8481 _ACEOF
   8482 if ac_fn_c_try_compile "$LINENO"; then :
   8483   xorg_cv_cc_flag_unknown_warning_option=yes
   8484 else
   8485   xorg_cv_cc_flag_unknown_warning_option=no
   8486 fi
   8487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8488 fi
   8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8490 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8491 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8492 	CFLAGS="$xorg_testset_save_CFLAGS"
   8493 fi
   8494 
   8495 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8496 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8497 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8498 	fi
   8499 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8500 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8501 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8502 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   8509 if ac_fn_c_try_compile "$LINENO"; then :
   8510   xorg_cv_cc_flag_unused_command_line_argument=yes
   8511 else
   8512   xorg_cv_cc_flag_unused_command_line_argument=no
   8513 fi
   8514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8515 fi
   8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8517 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8518 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8519 	CFLAGS="$xorg_testset_save_CFLAGS"
   8520 fi
   8521 
   8522 found="no"
   8523 
   8524 	if test $found = "no" ; then
   8525 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8526 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8527 		fi
   8528 
   8529 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8530 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8531 		fi
   8532 
   8533 		CFLAGS="$CFLAGS -Wimplicit"
   8534 
   8535 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8536 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8537 		cacheid=xorg_cv_cc_flag__Wimplicit
   8538 		if eval \${$cacheid+:} false; then :
   8539   $as_echo_n "(cached) " >&6
   8540 else
   8541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8542 /* end confdefs.h.  */
   8543 int i;
   8544 int
   8545 main ()
   8546 {
   8547 
   8548   ;
   8549   return 0;
   8550 }
   8551 _ACEOF
   8552 if ac_fn_c_try_link "$LINENO"; then :
   8553   eval $cacheid=yes
   8554 else
   8555   eval $cacheid=no
   8556 fi
   8557 rm -f core conftest.err conftest.$ac_objext \
   8558     conftest$ac_exeext conftest.$ac_ext
   8559 fi
   8560 
   8561 
   8562 		CFLAGS="$xorg_testset_save_CFLAGS"
   8563 
   8564 		eval supported=\$$cacheid
   8565 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8566 $as_echo "$supported" >&6; }
   8567 		if test "$supported" = "yes" ; then
   8568 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8569 			found="yes"
   8570 		fi
   8571 	fi
   8572 
   8573 
   8574 
   8575 
   8576 
   8577 
   8578 
   8579 
   8580 
   8581 
   8582 
   8583 
   8584 
   8585 
   8586 
   8587 xorg_testset_save_CFLAGS="$CFLAGS"
   8588 
   8589 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8590 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8591 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8592 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8593 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8594   $as_echo_n "(cached) " >&6
   8595 else
   8596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8597 /* end confdefs.h.  */
   8598 int i;
   8599 _ACEOF
   8600 if ac_fn_c_try_compile "$LINENO"; then :
   8601   xorg_cv_cc_flag_unknown_warning_option=yes
   8602 else
   8603   xorg_cv_cc_flag_unknown_warning_option=no
   8604 fi
   8605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8606 fi
   8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8608 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8609 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8610 	CFLAGS="$xorg_testset_save_CFLAGS"
   8611 fi
   8612 
   8613 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8614 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8615 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8616 	fi
   8617 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8618 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8619 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8620 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   8627 if ac_fn_c_try_compile "$LINENO"; then :
   8628   xorg_cv_cc_flag_unused_command_line_argument=yes
   8629 else
   8630   xorg_cv_cc_flag_unused_command_line_argument=no
   8631 fi
   8632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8633 fi
   8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8635 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8636 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8637 	CFLAGS="$xorg_testset_save_CFLAGS"
   8638 fi
   8639 
   8640 found="no"
   8641 
   8642 	if test $found = "no" ; then
   8643 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8644 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8645 		fi
   8646 
   8647 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8648 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8649 		fi
   8650 
   8651 		CFLAGS="$CFLAGS -Wnonnull"
   8652 
   8653 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8654 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8655 		cacheid=xorg_cv_cc_flag__Wnonnull
   8656 		if eval \${$cacheid+:} false; then :
   8657   $as_echo_n "(cached) " >&6
   8658 else
   8659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8660 /* end confdefs.h.  */
   8661 int i;
   8662 int
   8663 main ()
   8664 {
   8665 
   8666   ;
   8667   return 0;
   8668 }
   8669 _ACEOF
   8670 if ac_fn_c_try_link "$LINENO"; then :
   8671   eval $cacheid=yes
   8672 else
   8673   eval $cacheid=no
   8674 fi
   8675 rm -f core conftest.err conftest.$ac_objext \
   8676     conftest$ac_exeext conftest.$ac_ext
   8677 fi
   8678 
   8679 
   8680 		CFLAGS="$xorg_testset_save_CFLAGS"
   8681 
   8682 		eval supported=\$$cacheid
   8683 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8684 $as_echo "$supported" >&6; }
   8685 		if test "$supported" = "yes" ; then
   8686 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8687 			found="yes"
   8688 		fi
   8689 	fi
   8690 
   8691 
   8692 
   8693 
   8694 
   8695 
   8696 
   8697 
   8698 
   8699 
   8700 
   8701 
   8702 
   8703 
   8704 
   8705 xorg_testset_save_CFLAGS="$CFLAGS"
   8706 
   8707 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8708 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8709 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8710 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8711 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8712   $as_echo_n "(cached) " >&6
   8713 else
   8714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8715 /* end confdefs.h.  */
   8716 int i;
   8717 _ACEOF
   8718 if ac_fn_c_try_compile "$LINENO"; then :
   8719   xorg_cv_cc_flag_unknown_warning_option=yes
   8720 else
   8721   xorg_cv_cc_flag_unknown_warning_option=no
   8722 fi
   8723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8724 fi
   8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8726 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8727 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8728 	CFLAGS="$xorg_testset_save_CFLAGS"
   8729 fi
   8730 
   8731 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8732 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8733 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8734 	fi
   8735 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8736 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8737 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8738 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   8745 if ac_fn_c_try_compile "$LINENO"; then :
   8746   xorg_cv_cc_flag_unused_command_line_argument=yes
   8747 else
   8748   xorg_cv_cc_flag_unused_command_line_argument=no
   8749 fi
   8750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8751 fi
   8752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8753 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8754 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8755 	CFLAGS="$xorg_testset_save_CFLAGS"
   8756 fi
   8757 
   8758 found="no"
   8759 
   8760 	if test $found = "no" ; then
   8761 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8762 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8763 		fi
   8764 
   8765 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8766 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8767 		fi
   8768 
   8769 		CFLAGS="$CFLAGS -Winit-self"
   8770 
   8771 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8772 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8773 		cacheid=xorg_cv_cc_flag__Winit_self
   8774 		if eval \${$cacheid+:} false; then :
   8775   $as_echo_n "(cached) " >&6
   8776 else
   8777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8778 /* end confdefs.h.  */
   8779 int i;
   8780 int
   8781 main ()
   8782 {
   8783 
   8784   ;
   8785   return 0;
   8786 }
   8787 _ACEOF
   8788 if ac_fn_c_try_link "$LINENO"; then :
   8789   eval $cacheid=yes
   8790 else
   8791   eval $cacheid=no
   8792 fi
   8793 rm -f core conftest.err conftest.$ac_objext \
   8794     conftest$ac_exeext conftest.$ac_ext
   8795 fi
   8796 
   8797 
   8798 		CFLAGS="$xorg_testset_save_CFLAGS"
   8799 
   8800 		eval supported=\$$cacheid
   8801 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8802 $as_echo "$supported" >&6; }
   8803 		if test "$supported" = "yes" ; then
   8804 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8805 			found="yes"
   8806 		fi
   8807 	fi
   8808 
   8809 
   8810 
   8811 
   8812 
   8813 
   8814 
   8815 
   8816 
   8817 
   8818 
   8819 
   8820 
   8821 
   8822 
   8823 xorg_testset_save_CFLAGS="$CFLAGS"
   8824 
   8825 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8826 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8827 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8828 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8829 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8830   $as_echo_n "(cached) " >&6
   8831 else
   8832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8833 /* end confdefs.h.  */
   8834 int i;
   8835 _ACEOF
   8836 if ac_fn_c_try_compile "$LINENO"; then :
   8837   xorg_cv_cc_flag_unknown_warning_option=yes
   8838 else
   8839   xorg_cv_cc_flag_unknown_warning_option=no
   8840 fi
   8841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8842 fi
   8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8844 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8845 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8846 	CFLAGS="$xorg_testset_save_CFLAGS"
   8847 fi
   8848 
   8849 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8850 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8851 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8852 	fi
   8853 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8854 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8855 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8856 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   8863 if ac_fn_c_try_compile "$LINENO"; then :
   8864   xorg_cv_cc_flag_unused_command_line_argument=yes
   8865 else
   8866   xorg_cv_cc_flag_unused_command_line_argument=no
   8867 fi
   8868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8869 fi
   8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8871 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8872 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8873 	CFLAGS="$xorg_testset_save_CFLAGS"
   8874 fi
   8875 
   8876 found="no"
   8877 
   8878 	if test $found = "no" ; then
   8879 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8880 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8881 		fi
   8882 
   8883 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8884 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8885 		fi
   8886 
   8887 		CFLAGS="$CFLAGS -Wmain"
   8888 
   8889 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8890 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8891 		cacheid=xorg_cv_cc_flag__Wmain
   8892 		if eval \${$cacheid+:} false; then :
   8893   $as_echo_n "(cached) " >&6
   8894 else
   8895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8896 /* end confdefs.h.  */
   8897 int i;
   8898 int
   8899 main ()
   8900 {
   8901 
   8902   ;
   8903   return 0;
   8904 }
   8905 _ACEOF
   8906 if ac_fn_c_try_link "$LINENO"; then :
   8907   eval $cacheid=yes
   8908 else
   8909   eval $cacheid=no
   8910 fi
   8911 rm -f core conftest.err conftest.$ac_objext \
   8912     conftest$ac_exeext conftest.$ac_ext
   8913 fi
   8914 
   8915 
   8916 		CFLAGS="$xorg_testset_save_CFLAGS"
   8917 
   8918 		eval supported=\$$cacheid
   8919 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8920 $as_echo "$supported" >&6; }
   8921 		if test "$supported" = "yes" ; then
   8922 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8923 			found="yes"
   8924 		fi
   8925 	fi
   8926 
   8927 
   8928 
   8929 
   8930 
   8931 
   8932 
   8933 
   8934 
   8935 
   8936 
   8937 
   8938 
   8939 
   8940 
   8941 xorg_testset_save_CFLAGS="$CFLAGS"
   8942 
   8943 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8944 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8945 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8946 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8947 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8948   $as_echo_n "(cached) " >&6
   8949 else
   8950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8951 /* end confdefs.h.  */
   8952 int i;
   8953 _ACEOF
   8954 if ac_fn_c_try_compile "$LINENO"; then :
   8955   xorg_cv_cc_flag_unknown_warning_option=yes
   8956 else
   8957   xorg_cv_cc_flag_unknown_warning_option=no
   8958 fi
   8959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8960 fi
   8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8962 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8963 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8964 	CFLAGS="$xorg_testset_save_CFLAGS"
   8965 fi
   8966 
   8967 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8968 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8969 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8970 	fi
   8971 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8972 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8973 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8974 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   8981 if ac_fn_c_try_compile "$LINENO"; then :
   8982   xorg_cv_cc_flag_unused_command_line_argument=yes
   8983 else
   8984   xorg_cv_cc_flag_unused_command_line_argument=no
   8985 fi
   8986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8987 fi
   8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8989 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8990 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8991 	CFLAGS="$xorg_testset_save_CFLAGS"
   8992 fi
   8993 
   8994 found="no"
   8995 
   8996 	if test $found = "no" ; then
   8997 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8998 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8999 		fi
   9000 
   9001 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9002 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9003 		fi
   9004 
   9005 		CFLAGS="$CFLAGS -Wmissing-braces"
   9006 
   9007 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9008 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9009 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9010 		if eval \${$cacheid+:} false; then :
   9011   $as_echo_n "(cached) " >&6
   9012 else
   9013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9014 /* end confdefs.h.  */
   9015 int i;
   9016 int
   9017 main ()
   9018 {
   9019 
   9020   ;
   9021   return 0;
   9022 }
   9023 _ACEOF
   9024 if ac_fn_c_try_link "$LINENO"; then :
   9025   eval $cacheid=yes
   9026 else
   9027   eval $cacheid=no
   9028 fi
   9029 rm -f core conftest.err conftest.$ac_objext \
   9030     conftest$ac_exeext conftest.$ac_ext
   9031 fi
   9032 
   9033 
   9034 		CFLAGS="$xorg_testset_save_CFLAGS"
   9035 
   9036 		eval supported=\$$cacheid
   9037 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9038 $as_echo "$supported" >&6; }
   9039 		if test "$supported" = "yes" ; then
   9040 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9041 			found="yes"
   9042 		fi
   9043 	fi
   9044 
   9045 
   9046 
   9047 
   9048 
   9049 
   9050 
   9051 
   9052 
   9053 
   9054 
   9055 
   9056 
   9057 
   9058 
   9059 xorg_testset_save_CFLAGS="$CFLAGS"
   9060 
   9061 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9062 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9063 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9064 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9065 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9066   $as_echo_n "(cached) " >&6
   9067 else
   9068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9069 /* end confdefs.h.  */
   9070 int i;
   9071 _ACEOF
   9072 if ac_fn_c_try_compile "$LINENO"; then :
   9073   xorg_cv_cc_flag_unknown_warning_option=yes
   9074 else
   9075   xorg_cv_cc_flag_unknown_warning_option=no
   9076 fi
   9077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9078 fi
   9079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9080 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9081 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9082 	CFLAGS="$xorg_testset_save_CFLAGS"
   9083 fi
   9084 
   9085 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9086 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9087 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9088 	fi
   9089 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9090 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9091 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9092 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   9099 if ac_fn_c_try_compile "$LINENO"; then :
   9100   xorg_cv_cc_flag_unused_command_line_argument=yes
   9101 else
   9102   xorg_cv_cc_flag_unused_command_line_argument=no
   9103 fi
   9104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9105 fi
   9106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9107 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9108 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9109 	CFLAGS="$xorg_testset_save_CFLAGS"
   9110 fi
   9111 
   9112 found="no"
   9113 
   9114 	if test $found = "no" ; then
   9115 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9116 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9117 		fi
   9118 
   9119 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9120 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9121 		fi
   9122 
   9123 		CFLAGS="$CFLAGS -Wsequence-point"
   9124 
   9125 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9126 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9127 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9128 		if eval \${$cacheid+:} false; then :
   9129   $as_echo_n "(cached) " >&6
   9130 else
   9131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9132 /* end confdefs.h.  */
   9133 int i;
   9134 int
   9135 main ()
   9136 {
   9137 
   9138   ;
   9139   return 0;
   9140 }
   9141 _ACEOF
   9142 if ac_fn_c_try_link "$LINENO"; then :
   9143   eval $cacheid=yes
   9144 else
   9145   eval $cacheid=no
   9146 fi
   9147 rm -f core conftest.err conftest.$ac_objext \
   9148     conftest$ac_exeext conftest.$ac_ext
   9149 fi
   9150 
   9151 
   9152 		CFLAGS="$xorg_testset_save_CFLAGS"
   9153 
   9154 		eval supported=\$$cacheid
   9155 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9156 $as_echo "$supported" >&6; }
   9157 		if test "$supported" = "yes" ; then
   9158 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9159 			found="yes"
   9160 		fi
   9161 	fi
   9162 
   9163 
   9164 
   9165 
   9166 
   9167 
   9168 
   9169 
   9170 
   9171 
   9172 
   9173 
   9174 
   9175 
   9176 
   9177 xorg_testset_save_CFLAGS="$CFLAGS"
   9178 
   9179 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9180 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9181 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9182 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9183 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9184   $as_echo_n "(cached) " >&6
   9185 else
   9186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9187 /* end confdefs.h.  */
   9188 int i;
   9189 _ACEOF
   9190 if ac_fn_c_try_compile "$LINENO"; then :
   9191   xorg_cv_cc_flag_unknown_warning_option=yes
   9192 else
   9193   xorg_cv_cc_flag_unknown_warning_option=no
   9194 fi
   9195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9196 fi
   9197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9198 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9199 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9200 	CFLAGS="$xorg_testset_save_CFLAGS"
   9201 fi
   9202 
   9203 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9204 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9205 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9206 	fi
   9207 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9208 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9209 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9210 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   9217 if ac_fn_c_try_compile "$LINENO"; then :
   9218   xorg_cv_cc_flag_unused_command_line_argument=yes
   9219 else
   9220   xorg_cv_cc_flag_unused_command_line_argument=no
   9221 fi
   9222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9223 fi
   9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9225 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9226 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9227 	CFLAGS="$xorg_testset_save_CFLAGS"
   9228 fi
   9229 
   9230 found="no"
   9231 
   9232 	if test $found = "no" ; then
   9233 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9234 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9235 		fi
   9236 
   9237 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9238 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9239 		fi
   9240 
   9241 		CFLAGS="$CFLAGS -Wreturn-type"
   9242 
   9243 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9244 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9245 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9246 		if eval \${$cacheid+:} false; then :
   9247   $as_echo_n "(cached) " >&6
   9248 else
   9249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9250 /* end confdefs.h.  */
   9251 int i;
   9252 int
   9253 main ()
   9254 {
   9255 
   9256   ;
   9257   return 0;
   9258 }
   9259 _ACEOF
   9260 if ac_fn_c_try_link "$LINENO"; then :
   9261   eval $cacheid=yes
   9262 else
   9263   eval $cacheid=no
   9264 fi
   9265 rm -f core conftest.err conftest.$ac_objext \
   9266     conftest$ac_exeext conftest.$ac_ext
   9267 fi
   9268 
   9269 
   9270 		CFLAGS="$xorg_testset_save_CFLAGS"
   9271 
   9272 		eval supported=\$$cacheid
   9273 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9274 $as_echo "$supported" >&6; }
   9275 		if test "$supported" = "yes" ; then
   9276 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9277 			found="yes"
   9278 		fi
   9279 	fi
   9280 
   9281 
   9282 
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 
   9294 
   9295 xorg_testset_save_CFLAGS="$CFLAGS"
   9296 
   9297 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9298 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9299 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9300 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9301 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9302   $as_echo_n "(cached) " >&6
   9303 else
   9304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9305 /* end confdefs.h.  */
   9306 int i;
   9307 _ACEOF
   9308 if ac_fn_c_try_compile "$LINENO"; then :
   9309   xorg_cv_cc_flag_unknown_warning_option=yes
   9310 else
   9311   xorg_cv_cc_flag_unknown_warning_option=no
   9312 fi
   9313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9314 fi
   9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9316 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9317 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9318 	CFLAGS="$xorg_testset_save_CFLAGS"
   9319 fi
   9320 
   9321 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9322 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9323 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9324 	fi
   9325 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9326 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9327 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9328 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   9335 if ac_fn_c_try_compile "$LINENO"; then :
   9336   xorg_cv_cc_flag_unused_command_line_argument=yes
   9337 else
   9338   xorg_cv_cc_flag_unused_command_line_argument=no
   9339 fi
   9340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9341 fi
   9342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9343 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9344 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9345 	CFLAGS="$xorg_testset_save_CFLAGS"
   9346 fi
   9347 
   9348 found="no"
   9349 
   9350 	if test $found = "no" ; then
   9351 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9352 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9353 		fi
   9354 
   9355 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9356 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9357 		fi
   9358 
   9359 		CFLAGS="$CFLAGS -Wtrigraphs"
   9360 
   9361 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9362 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9363 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9364 		if eval \${$cacheid+:} false; then :
   9365   $as_echo_n "(cached) " >&6
   9366 else
   9367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9368 /* end confdefs.h.  */
   9369 int i;
   9370 int
   9371 main ()
   9372 {
   9373 
   9374   ;
   9375   return 0;
   9376 }
   9377 _ACEOF
   9378 if ac_fn_c_try_link "$LINENO"; then :
   9379   eval $cacheid=yes
   9380 else
   9381   eval $cacheid=no
   9382 fi
   9383 rm -f core conftest.err conftest.$ac_objext \
   9384     conftest$ac_exeext conftest.$ac_ext
   9385 fi
   9386 
   9387 
   9388 		CFLAGS="$xorg_testset_save_CFLAGS"
   9389 
   9390 		eval supported=\$$cacheid
   9391 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9392 $as_echo "$supported" >&6; }
   9393 		if test "$supported" = "yes" ; then
   9394 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9395 			found="yes"
   9396 		fi
   9397 	fi
   9398 
   9399 
   9400 
   9401 
   9402 
   9403 
   9404 
   9405 
   9406 
   9407 
   9408 
   9409 
   9410 
   9411 
   9412 
   9413 xorg_testset_save_CFLAGS="$CFLAGS"
   9414 
   9415 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9416 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9417 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9418 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9419 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9420   $as_echo_n "(cached) " >&6
   9421 else
   9422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9423 /* end confdefs.h.  */
   9424 int i;
   9425 _ACEOF
   9426 if ac_fn_c_try_compile "$LINENO"; then :
   9427   xorg_cv_cc_flag_unknown_warning_option=yes
   9428 else
   9429   xorg_cv_cc_flag_unknown_warning_option=no
   9430 fi
   9431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9432 fi
   9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9434 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9435 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9436 	CFLAGS="$xorg_testset_save_CFLAGS"
   9437 fi
   9438 
   9439 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9440 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9441 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9442 	fi
   9443 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9444 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9445 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9446 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   9453 if ac_fn_c_try_compile "$LINENO"; then :
   9454   xorg_cv_cc_flag_unused_command_line_argument=yes
   9455 else
   9456   xorg_cv_cc_flag_unused_command_line_argument=no
   9457 fi
   9458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9459 fi
   9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9461 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9462 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9463 	CFLAGS="$xorg_testset_save_CFLAGS"
   9464 fi
   9465 
   9466 found="no"
   9467 
   9468 	if test $found = "no" ; then
   9469 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9470 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9471 		fi
   9472 
   9473 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9474 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9475 		fi
   9476 
   9477 		CFLAGS="$CFLAGS -Warray-bounds"
   9478 
   9479 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9480 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9481 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9482 		if eval \${$cacheid+:} false; then :
   9483   $as_echo_n "(cached) " >&6
   9484 else
   9485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9486 /* end confdefs.h.  */
   9487 int i;
   9488 int
   9489 main ()
   9490 {
   9491 
   9492   ;
   9493   return 0;
   9494 }
   9495 _ACEOF
   9496 if ac_fn_c_try_link "$LINENO"; then :
   9497   eval $cacheid=yes
   9498 else
   9499   eval $cacheid=no
   9500 fi
   9501 rm -f core conftest.err conftest.$ac_objext \
   9502     conftest$ac_exeext conftest.$ac_ext
   9503 fi
   9504 
   9505 
   9506 		CFLAGS="$xorg_testset_save_CFLAGS"
   9507 
   9508 		eval supported=\$$cacheid
   9509 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9510 $as_echo "$supported" >&6; }
   9511 		if test "$supported" = "yes" ; then
   9512 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9513 			found="yes"
   9514 		fi
   9515 	fi
   9516 
   9517 
   9518 
   9519 
   9520 
   9521 
   9522 
   9523 
   9524 
   9525 
   9526 
   9527 
   9528 
   9529 
   9530 
   9531 xorg_testset_save_CFLAGS="$CFLAGS"
   9532 
   9533 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9534 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9535 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9536 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9537 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9538   $as_echo_n "(cached) " >&6
   9539 else
   9540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9541 /* end confdefs.h.  */
   9542 int i;
   9543 _ACEOF
   9544 if ac_fn_c_try_compile "$LINENO"; then :
   9545   xorg_cv_cc_flag_unknown_warning_option=yes
   9546 else
   9547   xorg_cv_cc_flag_unknown_warning_option=no
   9548 fi
   9549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9550 fi
   9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9552 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9553 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9554 	CFLAGS="$xorg_testset_save_CFLAGS"
   9555 fi
   9556 
   9557 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9558 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9559 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9560 	fi
   9561 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9562 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9563 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9564 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9565   $as_echo_n "(cached) " >&6
   9566 else
   9567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9568 /* end confdefs.h.  */
   9569 int i;
   9570 _ACEOF
   9571 if ac_fn_c_try_compile "$LINENO"; then :
   9572   xorg_cv_cc_flag_unused_command_line_argument=yes
   9573 else
   9574   xorg_cv_cc_flag_unused_command_line_argument=no
   9575 fi
   9576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9577 fi
   9578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9579 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9580 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9581 	CFLAGS="$xorg_testset_save_CFLAGS"
   9582 fi
   9583 
   9584 found="no"
   9585 
   9586 	if test $found = "no" ; then
   9587 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9588 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9589 		fi
   9590 
   9591 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9592 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9593 		fi
   9594 
   9595 		CFLAGS="$CFLAGS -Wwrite-strings"
   9596 
   9597 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9598 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9599 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9600 		if eval \${$cacheid+:} false; then :
   9601   $as_echo_n "(cached) " >&6
   9602 else
   9603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9604 /* end confdefs.h.  */
   9605 int i;
   9606 int
   9607 main ()
   9608 {
   9609 
   9610   ;
   9611   return 0;
   9612 }
   9613 _ACEOF
   9614 if ac_fn_c_try_link "$LINENO"; then :
   9615   eval $cacheid=yes
   9616 else
   9617   eval $cacheid=no
   9618 fi
   9619 rm -f core conftest.err conftest.$ac_objext \
   9620     conftest$ac_exeext conftest.$ac_ext
   9621 fi
   9622 
   9623 
   9624 		CFLAGS="$xorg_testset_save_CFLAGS"
   9625 
   9626 		eval supported=\$$cacheid
   9627 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9628 $as_echo "$supported" >&6; }
   9629 		if test "$supported" = "yes" ; then
   9630 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9631 			found="yes"
   9632 		fi
   9633 	fi
   9634 
   9635 
   9636 
   9637 
   9638 
   9639 
   9640 
   9641 
   9642 
   9643 
   9644 
   9645 
   9646 
   9647 
   9648 
   9649 xorg_testset_save_CFLAGS="$CFLAGS"
   9650 
   9651 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9652 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9653 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9654 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9655 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9656   $as_echo_n "(cached) " >&6
   9657 else
   9658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9659 /* end confdefs.h.  */
   9660 int i;
   9661 _ACEOF
   9662 if ac_fn_c_try_compile "$LINENO"; then :
   9663   xorg_cv_cc_flag_unknown_warning_option=yes
   9664 else
   9665   xorg_cv_cc_flag_unknown_warning_option=no
   9666 fi
   9667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9668 fi
   9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9670 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9671 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9672 	CFLAGS="$xorg_testset_save_CFLAGS"
   9673 fi
   9674 
   9675 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9676 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9677 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9678 	fi
   9679 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9680 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9681 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9682 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   9689 if ac_fn_c_try_compile "$LINENO"; then :
   9690   xorg_cv_cc_flag_unused_command_line_argument=yes
   9691 else
   9692   xorg_cv_cc_flag_unused_command_line_argument=no
   9693 fi
   9694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9695 fi
   9696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9697 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9698 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9699 	CFLAGS="$xorg_testset_save_CFLAGS"
   9700 fi
   9701 
   9702 found="no"
   9703 
   9704 	if test $found = "no" ; then
   9705 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9706 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9707 		fi
   9708 
   9709 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9710 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9711 		fi
   9712 
   9713 		CFLAGS="$CFLAGS -Waddress"
   9714 
   9715 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9716 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9717 		cacheid=xorg_cv_cc_flag__Waddress
   9718 		if eval \${$cacheid+:} false; then :
   9719   $as_echo_n "(cached) " >&6
   9720 else
   9721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9722 /* end confdefs.h.  */
   9723 int i;
   9724 int
   9725 main ()
   9726 {
   9727 
   9728   ;
   9729   return 0;
   9730 }
   9731 _ACEOF
   9732 if ac_fn_c_try_link "$LINENO"; then :
   9733   eval $cacheid=yes
   9734 else
   9735   eval $cacheid=no
   9736 fi
   9737 rm -f core conftest.err conftest.$ac_objext \
   9738     conftest$ac_exeext conftest.$ac_ext
   9739 fi
   9740 
   9741 
   9742 		CFLAGS="$xorg_testset_save_CFLAGS"
   9743 
   9744 		eval supported=\$$cacheid
   9745 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9746 $as_echo "$supported" >&6; }
   9747 		if test "$supported" = "yes" ; then
   9748 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9749 			found="yes"
   9750 		fi
   9751 	fi
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 xorg_testset_save_CFLAGS="$CFLAGS"
   9768 
   9769 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9770 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9771 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9772 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9773 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9774   $as_echo_n "(cached) " >&6
   9775 else
   9776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9777 /* end confdefs.h.  */
   9778 int i;
   9779 _ACEOF
   9780 if ac_fn_c_try_compile "$LINENO"; then :
   9781   xorg_cv_cc_flag_unknown_warning_option=yes
   9782 else
   9783   xorg_cv_cc_flag_unknown_warning_option=no
   9784 fi
   9785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9786 fi
   9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9788 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9789 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9790 	CFLAGS="$xorg_testset_save_CFLAGS"
   9791 fi
   9792 
   9793 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9794 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9795 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9796 	fi
   9797 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9798 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9799 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9800 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   9807 if ac_fn_c_try_compile "$LINENO"; then :
   9808   xorg_cv_cc_flag_unused_command_line_argument=yes
   9809 else
   9810   xorg_cv_cc_flag_unused_command_line_argument=no
   9811 fi
   9812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9813 fi
   9814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9815 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9816 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9817 	CFLAGS="$xorg_testset_save_CFLAGS"
   9818 fi
   9819 
   9820 found="no"
   9821 
   9822 	if test $found = "no" ; then
   9823 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9824 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9825 		fi
   9826 
   9827 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9828 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9829 		fi
   9830 
   9831 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9832 
   9833 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9834 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9835 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9836 		if eval \${$cacheid+:} false; then :
   9837   $as_echo_n "(cached) " >&6
   9838 else
   9839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9840 /* end confdefs.h.  */
   9841 int i;
   9842 int
   9843 main ()
   9844 {
   9845 
   9846   ;
   9847   return 0;
   9848 }
   9849 _ACEOF
   9850 if ac_fn_c_try_link "$LINENO"; then :
   9851   eval $cacheid=yes
   9852 else
   9853   eval $cacheid=no
   9854 fi
   9855 rm -f core conftest.err conftest.$ac_objext \
   9856     conftest$ac_exeext conftest.$ac_ext
   9857 fi
   9858 
   9859 
   9860 		CFLAGS="$xorg_testset_save_CFLAGS"
   9861 
   9862 		eval supported=\$$cacheid
   9863 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9864 $as_echo "$supported" >&6; }
   9865 		if test "$supported" = "yes" ; then
   9866 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9867 			found="yes"
   9868 		fi
   9869 	fi
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 xorg_testset_save_CFLAGS="$CFLAGS"
   9886 
   9887 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9888 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9889 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9890 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9891 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9892   $as_echo_n "(cached) " >&6
   9893 else
   9894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9895 /* end confdefs.h.  */
   9896 int i;
   9897 _ACEOF
   9898 if ac_fn_c_try_compile "$LINENO"; then :
   9899   xorg_cv_cc_flag_unknown_warning_option=yes
   9900 else
   9901   xorg_cv_cc_flag_unknown_warning_option=no
   9902 fi
   9903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9904 fi
   9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9906 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9907 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9908 	CFLAGS="$xorg_testset_save_CFLAGS"
   9909 fi
   9910 
   9911 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9912 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9913 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9914 	fi
   9915 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9916 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9917 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9918 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9919   $as_echo_n "(cached) " >&6
   9920 else
   9921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9922 /* end confdefs.h.  */
   9923 int i;
   9924 _ACEOF
   9925 if ac_fn_c_try_compile "$LINENO"; then :
   9926   xorg_cv_cc_flag_unused_command_line_argument=yes
   9927 else
   9928   xorg_cv_cc_flag_unused_command_line_argument=no
   9929 fi
   9930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9931 fi
   9932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9933 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9934 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9935 	CFLAGS="$xorg_testset_save_CFLAGS"
   9936 fi
   9937 
   9938 found="no"
   9939 
   9940 	if test $found = "no" ; then
   9941 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9942 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9943 		fi
   9944 
   9945 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9946 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9947 		fi
   9948 
   9949 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9950 
   9951 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9952 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9953 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9954 		if eval \${$cacheid+:} false; then :
   9955   $as_echo_n "(cached) " >&6
   9956 else
   9957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9958 /* end confdefs.h.  */
   9959 int i;
   9960 int
   9961 main ()
   9962 {
   9963 
   9964   ;
   9965   return 0;
   9966 }
   9967 _ACEOF
   9968 if ac_fn_c_try_link "$LINENO"; then :
   9969   eval $cacheid=yes
   9970 else
   9971   eval $cacheid=no
   9972 fi
   9973 rm -f core conftest.err conftest.$ac_objext \
   9974     conftest$ac_exeext conftest.$ac_ext
   9975 fi
   9976 
   9977 
   9978 		CFLAGS="$xorg_testset_save_CFLAGS"
   9979 
   9980 		eval supported=\$$cacheid
   9981 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9982 $as_echo "$supported" >&6; }
   9983 		if test "$supported" = "yes" ; then
   9984 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9985 			found="yes"
   9986 		fi
   9987 	fi
   9988 
   9989 
   9990 fi
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 		CWARNFLAGS="$BASE_CFLAGS"
   9999 		if  test "x$GCC" = xyes ; then
   10000 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10001 		fi
   10002 
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 # Check whether --enable-strict-compilation was given.
   10011 if test "${enable_strict_compilation+set}" = set; then :
   10012   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10013 else
   10014   STRICT_COMPILE=no
   10015 fi
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 STRICT_CFLAGS=""
   10023 
   10024 
   10025 
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 
   10035 
   10036 xorg_testset_save_CFLAGS="$CFLAGS"
   10037 
   10038 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10039 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10040 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10041 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10042 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10043   $as_echo_n "(cached) " >&6
   10044 else
   10045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10046 /* end confdefs.h.  */
   10047 int i;
   10048 _ACEOF
   10049 if ac_fn_c_try_compile "$LINENO"; then :
   10050   xorg_cv_cc_flag_unknown_warning_option=yes
   10051 else
   10052   xorg_cv_cc_flag_unknown_warning_option=no
   10053 fi
   10054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10055 fi
   10056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10057 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10058 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10059 	CFLAGS="$xorg_testset_save_CFLAGS"
   10060 fi
   10061 
   10062 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10063 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10064 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10065 	fi
   10066 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10067 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10068 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10069 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   10076 if ac_fn_c_try_compile "$LINENO"; then :
   10077   xorg_cv_cc_flag_unused_command_line_argument=yes
   10078 else
   10079   xorg_cv_cc_flag_unused_command_line_argument=no
   10080 fi
   10081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10082 fi
   10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10084 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10085 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10086 	CFLAGS="$xorg_testset_save_CFLAGS"
   10087 fi
   10088 
   10089 found="no"
   10090 
   10091 	if test $found = "no" ; then
   10092 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10093 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10094 		fi
   10095 
   10096 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10097 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10098 		fi
   10099 
   10100 		CFLAGS="$CFLAGS -pedantic"
   10101 
   10102 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10103 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10104 		cacheid=xorg_cv_cc_flag__pedantic
   10105 		if eval \${$cacheid+:} false; then :
   10106   $as_echo_n "(cached) " >&6
   10107 else
   10108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10109 /* end confdefs.h.  */
   10110 int i;
   10111 int
   10112 main ()
   10113 {
   10114 
   10115   ;
   10116   return 0;
   10117 }
   10118 _ACEOF
   10119 if ac_fn_c_try_link "$LINENO"; then :
   10120   eval $cacheid=yes
   10121 else
   10122   eval $cacheid=no
   10123 fi
   10124 rm -f core conftest.err conftest.$ac_objext \
   10125     conftest$ac_exeext conftest.$ac_ext
   10126 fi
   10127 
   10128 
   10129 		CFLAGS="$xorg_testset_save_CFLAGS"
   10130 
   10131 		eval supported=\$$cacheid
   10132 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10133 $as_echo "$supported" >&6; }
   10134 		if test "$supported" = "yes" ; then
   10135 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10136 			found="yes"
   10137 		fi
   10138 	fi
   10139 
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 
   10147 
   10148 
   10149 
   10150 
   10151 
   10152 
   10153 
   10154 xorg_testset_save_CFLAGS="$CFLAGS"
   10155 
   10156 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10157 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10158 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10159 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10160 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10161   $as_echo_n "(cached) " >&6
   10162 else
   10163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10164 /* end confdefs.h.  */
   10165 int i;
   10166 _ACEOF
   10167 if ac_fn_c_try_compile "$LINENO"; then :
   10168   xorg_cv_cc_flag_unknown_warning_option=yes
   10169 else
   10170   xorg_cv_cc_flag_unknown_warning_option=no
   10171 fi
   10172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10173 fi
   10174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10175 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10176 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10177 	CFLAGS="$xorg_testset_save_CFLAGS"
   10178 fi
   10179 
   10180 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10181 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10182 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10183 	fi
   10184 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10185 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10186 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10187 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10188   $as_echo_n "(cached) " >&6
   10189 else
   10190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10191 /* end confdefs.h.  */
   10192 int i;
   10193 _ACEOF
   10194 if ac_fn_c_try_compile "$LINENO"; then :
   10195   xorg_cv_cc_flag_unused_command_line_argument=yes
   10196 else
   10197   xorg_cv_cc_flag_unused_command_line_argument=no
   10198 fi
   10199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10200 fi
   10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10202 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10203 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10204 	CFLAGS="$xorg_testset_save_CFLAGS"
   10205 fi
   10206 
   10207 found="no"
   10208 
   10209 	if test $found = "no" ; then
   10210 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10211 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10212 		fi
   10213 
   10214 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10215 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10216 		fi
   10217 
   10218 		CFLAGS="$CFLAGS -Werror"
   10219 
   10220 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10221 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10222 		cacheid=xorg_cv_cc_flag__Werror
   10223 		if eval \${$cacheid+:} false; then :
   10224   $as_echo_n "(cached) " >&6
   10225 else
   10226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10227 /* end confdefs.h.  */
   10228 int i;
   10229 int
   10230 main ()
   10231 {
   10232 
   10233   ;
   10234   return 0;
   10235 }
   10236 _ACEOF
   10237 if ac_fn_c_try_link "$LINENO"; then :
   10238   eval $cacheid=yes
   10239 else
   10240   eval $cacheid=no
   10241 fi
   10242 rm -f core conftest.err conftest.$ac_objext \
   10243     conftest$ac_exeext conftest.$ac_ext
   10244 fi
   10245 
   10246 
   10247 		CFLAGS="$xorg_testset_save_CFLAGS"
   10248 
   10249 		eval supported=\$$cacheid
   10250 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10251 $as_echo "$supported" >&6; }
   10252 		if test "$supported" = "yes" ; then
   10253 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10254 			found="yes"
   10255 		fi
   10256 	fi
   10257 
   10258 	if test $found = "no" ; then
   10259 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10260 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10261 		fi
   10262 
   10263 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10264 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10265 		fi
   10266 
   10267 		CFLAGS="$CFLAGS -errwarn"
   10268 
   10269 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10270 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10271 		cacheid=xorg_cv_cc_flag__errwarn
   10272 		if eval \${$cacheid+:} false; then :
   10273   $as_echo_n "(cached) " >&6
   10274 else
   10275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10276 /* end confdefs.h.  */
   10277 int i;
   10278 int
   10279 main ()
   10280 {
   10281 
   10282   ;
   10283   return 0;
   10284 }
   10285 _ACEOF
   10286 if ac_fn_c_try_link "$LINENO"; then :
   10287   eval $cacheid=yes
   10288 else
   10289   eval $cacheid=no
   10290 fi
   10291 rm -f core conftest.err conftest.$ac_objext \
   10292     conftest$ac_exeext conftest.$ac_ext
   10293 fi
   10294 
   10295 
   10296 		CFLAGS="$xorg_testset_save_CFLAGS"
   10297 
   10298 		eval supported=\$$cacheid
   10299 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10300 $as_echo "$supported" >&6; }
   10301 		if test "$supported" = "yes" ; then
   10302 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10303 			found="yes"
   10304 		fi
   10305 	fi
   10306 
   10307 
   10308 
   10309 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10310 # activate it with -Werror, so we add it here explicitly.
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 xorg_testset_save_CFLAGS="$CFLAGS"
   10325 
   10326 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10327 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10328 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10329 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10330 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10331   $as_echo_n "(cached) " >&6
   10332 else
   10333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10334 /* end confdefs.h.  */
   10335 int i;
   10336 _ACEOF
   10337 if ac_fn_c_try_compile "$LINENO"; then :
   10338   xorg_cv_cc_flag_unknown_warning_option=yes
   10339 else
   10340   xorg_cv_cc_flag_unknown_warning_option=no
   10341 fi
   10342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10343 fi
   10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10345 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10346 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10347 	CFLAGS="$xorg_testset_save_CFLAGS"
   10348 fi
   10349 
   10350 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10351 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10352 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10353 	fi
   10354 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10355 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10356 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10357 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10358   $as_echo_n "(cached) " >&6
   10359 else
   10360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10361 /* end confdefs.h.  */
   10362 int i;
   10363 _ACEOF
   10364 if ac_fn_c_try_compile "$LINENO"; then :
   10365   xorg_cv_cc_flag_unused_command_line_argument=yes
   10366 else
   10367   xorg_cv_cc_flag_unused_command_line_argument=no
   10368 fi
   10369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10370 fi
   10371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10372 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10373 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10374 	CFLAGS="$xorg_testset_save_CFLAGS"
   10375 fi
   10376 
   10377 found="no"
   10378 
   10379 	if test $found = "no" ; then
   10380 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10381 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10382 		fi
   10383 
   10384 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10385 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10386 		fi
   10387 
   10388 		CFLAGS="$CFLAGS -Werror=attributes"
   10389 
   10390 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10391 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10392 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10393 		if eval \${$cacheid+:} false; then :
   10394   $as_echo_n "(cached) " >&6
   10395 else
   10396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10397 /* end confdefs.h.  */
   10398 int i;
   10399 int
   10400 main ()
   10401 {
   10402 
   10403   ;
   10404   return 0;
   10405 }
   10406 _ACEOF
   10407 if ac_fn_c_try_link "$LINENO"; then :
   10408   eval $cacheid=yes
   10409 else
   10410   eval $cacheid=no
   10411 fi
   10412 rm -f core conftest.err conftest.$ac_objext \
   10413     conftest$ac_exeext conftest.$ac_ext
   10414 fi
   10415 
   10416 
   10417 		CFLAGS="$xorg_testset_save_CFLAGS"
   10418 
   10419 		eval supported=\$$cacheid
   10420 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10421 $as_echo "$supported" >&6; }
   10422 		if test "$supported" = "yes" ; then
   10423 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10424 			found="yes"
   10425 		fi
   10426 	fi
   10427 
   10428 
   10429 
   10430 if test "x$STRICT_COMPILE" = "xyes"; then
   10431     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10432     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10433 fi
   10434 
   10435 
   10436 
   10437 
   10438 
   10439 
   10440 cat >>confdefs.h <<_ACEOF
   10441 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10442 _ACEOF
   10443 
   10444 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10445 	if test "x$PVM" = "x"; then
   10446 		PVM="0"
   10447 	fi
   10448 
   10449 cat >>confdefs.h <<_ACEOF
   10450 #define PACKAGE_VERSION_MINOR $PVM
   10451 _ACEOF
   10452 
   10453 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10454 	if test "x$PVP" = "x"; then
   10455 		PVP="0"
   10456 	fi
   10457 
   10458 cat >>confdefs.h <<_ACEOF
   10459 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10460 _ACEOF
   10461 
   10462 
   10463 
   10464 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10465 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10466 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10467 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10468 
   10469 
   10470 
   10471 
   10472 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10473 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10474 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10475 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10476 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10477 
   10478 
   10479 
   10480 
   10481 
   10482 
   10483 if test x$APP_MAN_SUFFIX = x    ; then
   10484     APP_MAN_SUFFIX=1
   10485 fi
   10486 if test x$APP_MAN_DIR = x    ; then
   10487     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10488 fi
   10489 
   10490 if test x$LIB_MAN_SUFFIX = x    ; then
   10491     LIB_MAN_SUFFIX=3
   10492 fi
   10493 if test x$LIB_MAN_DIR = x    ; then
   10494     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10495 fi
   10496 
   10497 if test x$FILE_MAN_SUFFIX = x    ; then
   10498     case $host_os in
   10499 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10500 	*)		FILE_MAN_SUFFIX=5  ;;
   10501     esac
   10502 fi
   10503 if test x$FILE_MAN_DIR = x    ; then
   10504     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10505 fi
   10506 
   10507 if test x$MISC_MAN_SUFFIX = x    ; then
   10508     case $host_os in
   10509 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10510 	*)		MISC_MAN_SUFFIX=7  ;;
   10511     esac
   10512 fi
   10513 if test x$MISC_MAN_DIR = x    ; then
   10514     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10515 fi
   10516 
   10517 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10518     case $host_os in
   10519 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10520 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10521     esac
   10522 fi
   10523 if test x$DRIVER_MAN_DIR = x    ; then
   10524     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10525 fi
   10526 
   10527 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10528     case $host_os in
   10529 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10530 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10531     esac
   10532 fi
   10533 if test x$ADMIN_MAN_DIR = x    ; then
   10534     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10535 fi
   10536 
   10537 
   10538 
   10539 
   10540 
   10541 
   10542 
   10543 
   10544 
   10545 
   10546 
   10547 
   10548 
   10549 
   10550 
   10551 XORG_MAN_PAGE="X Version 11"
   10552 
   10553 MAN_SUBSTS="\
   10554 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10555 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10556 	-e 's|__xservername__|Xorg|g' \
   10557 	-e 's|__xconfigfile__|xorg.conf|g' \
   10558 	-e 's|__projectroot__|\$(prefix)|g' \
   10559 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10560 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10561 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10562 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10563 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10564 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10565 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10566 
   10567 
   10568 
   10569 # Check whether --enable-silent-rules was given.
   10570 if test "${enable_silent_rules+set}" = set; then :
   10571   enableval=$enable_silent_rules;
   10572 fi
   10573 
   10574 case $enable_silent_rules in # (((
   10575   yes) AM_DEFAULT_VERBOSITY=0;;
   10576    no) AM_DEFAULT_VERBOSITY=1;;
   10577     *) AM_DEFAULT_VERBOSITY=0;;
   10578 esac
   10579 am_make=${MAKE-make}
   10580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10581 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10582 if ${am_cv_make_support_nested_variables+:} false; then :
   10583   $as_echo_n "(cached) " >&6
   10584 else
   10585   if $as_echo 'TRUE=$(BAR$(V))
   10586 BAR0=false
   10587 BAR1=true
   10588 V=1
   10589 am__doit:
   10590 	@$(TRUE)
   10591 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10592   am_cv_make_support_nested_variables=yes
   10593 else
   10594   am_cv_make_support_nested_variables=no
   10595 fi
   10596 fi
   10597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10598 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10599 if test $am_cv_make_support_nested_variables = yes; then
   10600     AM_V='$(V)'
   10601   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10602 else
   10603   AM_V=$AM_DEFAULT_VERBOSITY
   10604   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10605 fi
   10606 AM_BACKSLASH='\'
   10607 
   10608 
   10609 
   10610 for ac_prog in flex lex
   10611 do
   10612   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10613 set dummy $ac_prog; ac_word=$2
   10614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10615 $as_echo_n "checking for $ac_word... " >&6; }
   10616 if ${ac_cv_prog_LEX+:} false; then :
   10617   $as_echo_n "(cached) " >&6
   10618 else
   10619   if test -n "$LEX"; then
   10620   ac_cv_prog_LEX="$LEX" # Let the user override the test.
   10621 else
   10622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10623 for as_dir in $PATH
   10624 do
   10625   IFS=$as_save_IFS
   10626   test -z "$as_dir" && as_dir=.
   10627     for ac_exec_ext in '' $ac_executable_extensions; do
   10628   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10629     ac_cv_prog_LEX="$ac_prog"
   10630     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10631     break 2
   10632   fi
   10633 done
   10634   done
   10635 IFS=$as_save_IFS
   10636 
   10637 fi
   10638 fi
   10639 LEX=$ac_cv_prog_LEX
   10640 if test -n "$LEX"; then
   10641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
   10642 $as_echo "$LEX" >&6; }
   10643 else
   10644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10645 $as_echo "no" >&6; }
   10646 fi
   10647 
   10648 
   10649   test -n "$LEX" && break
   10650 done
   10651 test -n "$LEX" || LEX=":"
   10652 
   10653 if test "x$LEX" != "x:"; then
   10654   cat >conftest.l <<_ACEOF
   10655 %%
   10656 a { ECHO; }
   10657 b { REJECT; }
   10658 c { yymore (); }
   10659 d { yyless (1); }
   10660 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
   10661     yyless ((input () != 0)); }
   10662 f { unput (yytext[0]); }
   10663 . { BEGIN INITIAL; }
   10664 %%
   10665 #ifdef YYTEXT_POINTER
   10666 extern char *yytext;
   10667 #endif
   10668 int
   10669 main (void)
   10670 {
   10671   return ! yylex () + ! yywrap ();
   10672 }
   10673 _ACEOF
   10674 { { ac_try="$LEX conftest.l"
   10675 case "(($ac_try" in
   10676   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10677   *) ac_try_echo=$ac_try;;
   10678 esac
   10679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   10680 $as_echo "$ac_try_echo"; } >&5
   10681   (eval "$LEX conftest.l") 2>&5
   10682   ac_status=$?
   10683   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10684   test $ac_status = 0; }
   10685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
   10686 $as_echo_n "checking lex output file root... " >&6; }
   10687 if ${ac_cv_prog_lex_root+:} false; then :
   10688   $as_echo_n "(cached) " >&6
   10689 else
   10690 
   10691 if test -f lex.yy.c; then
   10692   ac_cv_prog_lex_root=lex.yy
   10693 elif test -f lexyy.c; then
   10694   ac_cv_prog_lex_root=lexyy
   10695 else
   10696   as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
   10697 fi
   10698 fi
   10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
   10700 $as_echo "$ac_cv_prog_lex_root" >&6; }
   10701 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
   10702 
   10703 if test -z "${LEXLIB+set}"; then
   10704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
   10705 $as_echo_n "checking lex library... " >&6; }
   10706 if ${ac_cv_lib_lex+:} false; then :
   10707   $as_echo_n "(cached) " >&6
   10708 else
   10709 
   10710     ac_save_LIBS=$LIBS
   10711     ac_cv_lib_lex='none needed'
   10712     for ac_lib in '' -lfl -ll; do
   10713       LIBS="$ac_lib $ac_save_LIBS"
   10714       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10715 /* end confdefs.h.  */
   10716 `cat $LEX_OUTPUT_ROOT.c`
   10717 _ACEOF
   10718 if ac_fn_c_try_link "$LINENO"; then :
   10719   ac_cv_lib_lex=$ac_lib
   10720 fi
   10721 rm -f core conftest.err conftest.$ac_objext \
   10722     conftest$ac_exeext conftest.$ac_ext
   10723       test "$ac_cv_lib_lex" != 'none needed' && break
   10724     done
   10725     LIBS=$ac_save_LIBS
   10726 
   10727 fi
   10728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
   10729 $as_echo "$ac_cv_lib_lex" >&6; }
   10730   test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
   10731 fi
   10732 
   10733 
   10734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
   10735 $as_echo_n "checking whether yytext is a pointer... " >&6; }
   10736 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
   10737   $as_echo_n "(cached) " >&6
   10738 else
   10739   # POSIX says lex can declare yytext either as a pointer or an array; the
   10740 # default is implementation-dependent.  Figure out which it is, since
   10741 # not all implementations provide the %pointer and %array declarations.
   10742 ac_cv_prog_lex_yytext_pointer=no
   10743 ac_save_LIBS=$LIBS
   10744 LIBS="$LEXLIB $ac_save_LIBS"
   10745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10746 /* end confdefs.h.  */
   10747 
   10748   #define YYTEXT_POINTER 1
   10749 `cat $LEX_OUTPUT_ROOT.c`
   10750 _ACEOF
   10751 if ac_fn_c_try_link "$LINENO"; then :
   10752   ac_cv_prog_lex_yytext_pointer=yes
   10753 fi
   10754 rm -f core conftest.err conftest.$ac_objext \
   10755     conftest$ac_exeext conftest.$ac_ext
   10756 LIBS=$ac_save_LIBS
   10757 
   10758 fi
   10759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
   10760 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
   10761 if test $ac_cv_prog_lex_yytext_pointer = yes; then
   10762 
   10763 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
   10764 
   10765 fi
   10766 rm -f conftest.l $LEX_OUTPUT_ROOT.c
   10767 
   10768 fi
   10769 for ac_prog in 'bison -y' byacc
   10770 do
   10771   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10772 set dummy $ac_prog; ac_word=$2
   10773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10774 $as_echo_n "checking for $ac_word... " >&6; }
   10775 if ${ac_cv_prog_YACC+:} false; then :
   10776   $as_echo_n "(cached) " >&6
   10777 else
   10778   if test -n "$YACC"; then
   10779   ac_cv_prog_YACC="$YACC" # Let the user override the test.
   10780 else
   10781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10782 for as_dir in $PATH
   10783 do
   10784   IFS=$as_save_IFS
   10785   test -z "$as_dir" && as_dir=.
   10786     for ac_exec_ext in '' $ac_executable_extensions; do
   10787   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10788     ac_cv_prog_YACC="$ac_prog"
   10789     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10790     break 2
   10791   fi
   10792 done
   10793   done
   10794 IFS=$as_save_IFS
   10795 
   10796 fi
   10797 fi
   10798 YACC=$ac_cv_prog_YACC
   10799 if test -n "$YACC"; then
   10800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
   10801 $as_echo "$YACC" >&6; }
   10802 else
   10803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10804 $as_echo "no" >&6; }
   10805 fi
   10806 
   10807 
   10808   test -n "$YACC" && break
   10809 done
   10810 test -n "$YACC" || YACC="yacc"
   10811 
   10812 # Extract the first word of "$YACC", so it can be a program name with args.
   10813 set dummy $YACC; ac_word=$2
   10814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10815 $as_echo_n "checking for $ac_word... " >&6; }
   10816 if ${ac_cv_path_YACC_INST+:} false; then :
   10817   $as_echo_n "(cached) " >&6
   10818 else
   10819   case $YACC_INST in
   10820   [\\/]* | ?:[\\/]*)
   10821   ac_cv_path_YACC_INST="$YACC_INST" # Let the user override the test with a path.
   10822   ;;
   10823   *)
   10824   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10825 for as_dir in $PATH
   10826 do
   10827   IFS=$as_save_IFS
   10828   test -z "$as_dir" && as_dir=.
   10829     for ac_exec_ext in '' $ac_executable_extensions; do
   10830   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10831     ac_cv_path_YACC_INST="$as_dir/$ac_word$ac_exec_ext"
   10832     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10833     break 2
   10834   fi
   10835 done
   10836   done
   10837 IFS=$as_save_IFS
   10838 
   10839   ;;
   10840 esac
   10841 fi
   10842 YACC_INST=$ac_cv_path_YACC_INST
   10843 if test -n "$YACC_INST"; then
   10844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC_INST" >&5
   10845 $as_echo "$YACC_INST" >&6; }
   10846 else
   10847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10848 $as_echo "no" >&6; }
   10849 fi
   10850 
   10851 
   10852 if ! test -f "$srcdir/gram.c"; then
   10853    if test -z "$YACC_INST"; then
   10854       as_fn_error $? "yacc not found - unable to compile gram.y" "$LINENO" 5
   10855    fi
   10856 fi
   10857 
   10858 
   10859 pkg_failed=no
   10860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XGC" >&5
   10861 $as_echo_n "checking for XGC... " >&6; }
   10862 
   10863 if test -n "$XGC_CFLAGS"; then
   10864     pkg_cv_XGC_CFLAGS="$XGC_CFLAGS"
   10865  elif test -n "$PKG_CONFIG"; then
   10866     if test -n "$PKG_CONFIG" && \
   10867     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xt\""; } >&5
   10868   ($PKG_CONFIG --exists --print-errors "xaw7 xt") 2>&5
   10869   ac_status=$?
   10870   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10871   test $ac_status = 0; }; then
   10872   pkg_cv_XGC_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xt" 2>/dev/null`
   10873 else
   10874   pkg_failed=yes
   10875 fi
   10876  else
   10877     pkg_failed=untried
   10878 fi
   10879 if test -n "$XGC_LIBS"; then
   10880     pkg_cv_XGC_LIBS="$XGC_LIBS"
   10881  elif test -n "$PKG_CONFIG"; then
   10882     if test -n "$PKG_CONFIG" && \
   10883     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xt\""; } >&5
   10884   ($PKG_CONFIG --exists --print-errors "xaw7 xt") 2>&5
   10885   ac_status=$?
   10886   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10887   test $ac_status = 0; }; then
   10888   pkg_cv_XGC_LIBS=`$PKG_CONFIG --libs "xaw7 xt" 2>/dev/null`
   10889 else
   10890   pkg_failed=yes
   10891 fi
   10892  else
   10893     pkg_failed=untried
   10894 fi
   10895 
   10896 
   10897 
   10898 if test $pkg_failed = yes; then
   10899 
   10900 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10901         _pkg_short_errors_supported=yes
   10902 else
   10903         _pkg_short_errors_supported=no
   10904 fi
   10905         if test $_pkg_short_errors_supported = yes; then
   10906 	        XGC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xaw7 xt" 2>&1`
   10907         else
   10908 	        XGC_PKG_ERRORS=`$PKG_CONFIG --print-errors "xaw7 xt" 2>&1`
   10909         fi
   10910 	# Put the nasty error message in config.log where it belongs
   10911 	echo "$XGC_PKG_ERRORS" >&5
   10912 
   10913 	as_fn_error $? "Package requirements (xaw7 xt) were not met:
   10914 
   10915 $XGC_PKG_ERRORS
   10916 
   10917 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10918 installed software in a non-standard prefix.
   10919 
   10920 Alternatively, you may set the environment variables XGC_CFLAGS
   10921 and XGC_LIBS to avoid the need to call pkg-config.
   10922 See the pkg-config man page for more details.
   10923 " "$LINENO" 5
   10924 elif test $pkg_failed = untried; then
   10925 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10926 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10927 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10928 is in your PATH or set the PKG_CONFIG environment variable to the full
   10929 path to pkg-config.
   10930 
   10931 Alternatively, you may set the environment variables XGC_CFLAGS
   10932 and XGC_LIBS to avoid the need to call pkg-config.
   10933 See the pkg-config man page for more details.
   10934 
   10935 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10936 See \`config.log' for more details" "$LINENO" 5; }
   10937 else
   10938 	XGC_CFLAGS=$pkg_cv_XGC_CFLAGS
   10939 	XGC_LIBS=$pkg_cv_XGC_LIBS
   10940         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10941 $as_echo "yes" >&6; }
   10942 	:
   10943 fi
   10944 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   10945 
   10946 # Check whether --with-appdefaultdir was given.
   10947 if test "${with_appdefaultdir+set}" = set; then :
   10948   withval=$with_appdefaultdir; appdefaultdir="$withval"
   10949 else
   10950   appdefaultdir="${xt_appdefaultdir}"
   10951 fi
   10952 
   10953 
   10954 
   10955 ac_config_files="$ac_config_files Makefile man/Makefile"
   10956 
   10957 cat >confcache <<\_ACEOF
   10958 # This file is a shell script that caches the results of configure
   10959 # tests run on this system so they can be shared between configure
   10960 # scripts and configure runs, see configure's option --config-cache.
   10961 # It is not useful on other systems.  If it contains results you don't
   10962 # want to keep, you may remove or edit it.
   10963 #
   10964 # config.status only pays attention to the cache file if you give it
   10965 # the --recheck option to rerun configure.
   10966 #
   10967 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10968 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10969 # following values.
   10970 
   10971 _ACEOF
   10972 
   10973 # The following way of writing the cache mishandles newlines in values,
   10974 # but we know of no workaround that is simple, portable, and efficient.
   10975 # So, we kill variables containing newlines.
   10976 # Ultrix sh set writes to stderr and can't be redirected directly,
   10977 # and sets the high bit in the cache file unless we assign to the vars.
   10978 (
   10979   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10980     eval ac_val=\$$ac_var
   10981     case $ac_val in #(
   10982     *${as_nl}*)
   10983       case $ac_var in #(
   10984       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10985 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10986       esac
   10987       case $ac_var in #(
   10988       _ | IFS | as_nl) ;; #(
   10989       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10990       *) { eval $ac_var=; unset $ac_var;} ;;
   10991       esac ;;
   10992     esac
   10993   done
   10994 
   10995   (set) 2>&1 |
   10996     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10997     *${as_nl}ac_space=\ *)
   10998       # `set' does not quote correctly, so add quotes: double-quote
   10999       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11000       sed -n \
   11001 	"s/'/'\\\\''/g;
   11002 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11003       ;; #(
   11004     *)
   11005       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11006       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11007       ;;
   11008     esac |
   11009     sort
   11010 ) |
   11011   sed '
   11012      /^ac_cv_env_/b end
   11013      t clear
   11014      :clear
   11015      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11016      t end
   11017      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11018      :end' >>confcache
   11019 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11020   if test -w "$cache_file"; then
   11021     if test "x$cache_file" != "x/dev/null"; then
   11022       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11023 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11024       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11025 	cat confcache >"$cache_file"
   11026       else
   11027         case $cache_file in #(
   11028         */* | ?:*)
   11029 	  mv -f confcache "$cache_file"$$ &&
   11030 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11031         *)
   11032 	  mv -f confcache "$cache_file" ;;
   11033 	esac
   11034       fi
   11035     fi
   11036   else
   11037     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11038 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11039   fi
   11040 fi
   11041 rm -f confcache
   11042 
   11043 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11044 # Let make expand exec_prefix.
   11045 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11046 
   11047 DEFS=-DHAVE_CONFIG_H
   11048 
   11049 ac_libobjs=
   11050 ac_ltlibobjs=
   11051 U=
   11052 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11053   # 1. Remove the extension, and $U if already installed.
   11054   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11055   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11056   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11057   #    will be set to the directory where LIBOBJS objects are built.
   11058   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11059   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11060 done
   11061 LIBOBJS=$ac_libobjs
   11062 
   11063 LTLIBOBJS=$ac_ltlibobjs
   11064 
   11065 
   11066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11067 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11068    if test -n "$am_sleep_pid"; then
   11069      # Hide warnings about reused PIDs.
   11070      wait $am_sleep_pid 2>/dev/null
   11071    fi
   11072    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11073 $as_echo "done" >&6; }
   11074  if test -n "$EXEEXT"; then
   11075   am__EXEEXT_TRUE=
   11076   am__EXEEXT_FALSE='#'
   11077 else
   11078   am__EXEEXT_TRUE='#'
   11079   am__EXEEXT_FALSE=
   11080 fi
   11081 
   11082 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11083   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11085 fi
   11086 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11087   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11089 fi
   11090 
   11091 : "${CONFIG_STATUS=./config.status}"
   11092 ac_write_fail=0
   11093 ac_clean_files_save=$ac_clean_files
   11094 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11095 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11096 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11097 as_write_fail=0
   11098 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11099 #! $SHELL
   11100 # Generated by $as_me.
   11101 # Run this file to recreate the current configuration.
   11102 # Compiler output produced by configure, useful for debugging
   11103 # configure, is in config.log if it exists.
   11104 
   11105 debug=false
   11106 ac_cs_recheck=false
   11107 ac_cs_silent=false
   11108 
   11109 SHELL=\${CONFIG_SHELL-$SHELL}
   11110 export SHELL
   11111 _ASEOF
   11112 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11113 ## -------------------- ##
   11114 ## M4sh Initialization. ##
   11115 ## -------------------- ##
   11116 
   11117 # Be more Bourne compatible
   11118 DUALCASE=1; export DUALCASE # for MKS sh
   11119 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11120   emulate sh
   11121   NULLCMD=:
   11122   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11123   # is contrary to our usage.  Disable this feature.
   11124   alias -g '${1+"$@"}'='"$@"'
   11125   setopt NO_GLOB_SUBST
   11126 else
   11127   case `(set -o) 2>/dev/null` in #(
   11128   *posix*) :
   11129     set -o posix ;; #(
   11130   *) :
   11131      ;;
   11132 esac
   11133 fi
   11134 
   11135 
   11136 as_nl='
   11137 '
   11138 export as_nl
   11139 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11140 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11141 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11142 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11143 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11144 # but without wasting forks for bash or zsh.
   11145 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11146     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11147   as_echo='print -r --'
   11148   as_echo_n='print -rn --'
   11149 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11150   as_echo='printf %s\n'
   11151   as_echo_n='printf %s'
   11152 else
   11153   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11154     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11155     as_echo_n='/usr/ucb/echo -n'
   11156   else
   11157     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11158     as_echo_n_body='eval
   11159       arg=$1;
   11160       case $arg in #(
   11161       *"$as_nl"*)
   11162 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11163 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11164       esac;
   11165       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11166     '
   11167     export as_echo_n_body
   11168     as_echo_n='sh -c $as_echo_n_body as_echo'
   11169   fi
   11170   export as_echo_body
   11171   as_echo='sh -c $as_echo_body as_echo'
   11172 fi
   11173 
   11174 # The user is always right.
   11175 if test "${PATH_SEPARATOR+set}" != set; then
   11176   PATH_SEPARATOR=:
   11177   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11178     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11179       PATH_SEPARATOR=';'
   11180   }
   11181 fi
   11182 
   11183 
   11184 # IFS
   11185 # We need space, tab and new line, in precisely that order.  Quoting is
   11186 # there to prevent editors from complaining about space-tab.
   11187 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11188 # splitting by setting IFS to empty value.)
   11189 IFS=" ""	$as_nl"
   11190 
   11191 # Find who we are.  Look in the path if we contain no directory separator.
   11192 as_myself=
   11193 case $0 in #((
   11194   *[\\/]* ) as_myself=$0 ;;
   11195   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11196 for as_dir in $PATH
   11197 do
   11198   IFS=$as_save_IFS
   11199   test -z "$as_dir" && as_dir=.
   11200     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11201   done
   11202 IFS=$as_save_IFS
   11203 
   11204      ;;
   11205 esac
   11206 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11207 # in which case we are not to be found in the path.
   11208 if test "x$as_myself" = x; then
   11209   as_myself=$0
   11210 fi
   11211 if test ! -f "$as_myself"; then
   11212   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11213   exit 1
   11214 fi
   11215 
   11216 # Unset variables that we do not need and which cause bugs (e.g. in
   11217 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11218 # suppresses any "Segmentation fault" message there.  '((' could
   11219 # trigger a bug in pdksh 5.2.14.
   11220 for as_var in BASH_ENV ENV MAIL MAILPATH
   11221 do eval test x\${$as_var+set} = xset \
   11222   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11223 done
   11224 PS1='$ '
   11225 PS2='> '
   11226 PS4='+ '
   11227 
   11228 # NLS nuisances.
   11229 LC_ALL=C
   11230 export LC_ALL
   11231 LANGUAGE=C
   11232 export LANGUAGE
   11233 
   11234 # CDPATH.
   11235 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11236 
   11237 
   11238 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11239 # ----------------------------------------
   11240 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11241 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11242 # script with STATUS, using 1 if that was 0.
   11243 as_fn_error ()
   11244 {
   11245   as_status=$1; test $as_status -eq 0 && as_status=1
   11246   if test "$4"; then
   11247     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11248     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11249   fi
   11250   $as_echo "$as_me: error: $2" >&2
   11251   as_fn_exit $as_status
   11252 } # as_fn_error
   11253 
   11254 
   11255 # as_fn_set_status STATUS
   11256 # -----------------------
   11257 # Set $? to STATUS, without forking.
   11258 as_fn_set_status ()
   11259 {
   11260   return $1
   11261 } # as_fn_set_status
   11262 
   11263 # as_fn_exit STATUS
   11264 # -----------------
   11265 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11266 as_fn_exit ()
   11267 {
   11268   set +e
   11269   as_fn_set_status $1
   11270   exit $1
   11271 } # as_fn_exit
   11272 
   11273 # as_fn_unset VAR
   11274 # ---------------
   11275 # Portably unset VAR.
   11276 as_fn_unset ()
   11277 {
   11278   { eval $1=; unset $1;}
   11279 }
   11280 as_unset=as_fn_unset
   11281 # as_fn_append VAR VALUE
   11282 # ----------------------
   11283 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11284 # advantage of any shell optimizations that allow amortized linear growth over
   11285 # repeated appends, instead of the typical quadratic growth present in naive
   11286 # implementations.
   11287 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11288   eval 'as_fn_append ()
   11289   {
   11290     eval $1+=\$2
   11291   }'
   11292 else
   11293   as_fn_append ()
   11294   {
   11295     eval $1=\$$1\$2
   11296   }
   11297 fi # as_fn_append
   11298 
   11299 # as_fn_arith ARG...
   11300 # ------------------
   11301 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11302 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11303 # must be portable across $(()) and expr.
   11304 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11305   eval 'as_fn_arith ()
   11306   {
   11307     as_val=$(( $* ))
   11308   }'
   11309 else
   11310   as_fn_arith ()
   11311   {
   11312     as_val=`expr "$@" || test $? -eq 1`
   11313   }
   11314 fi # as_fn_arith
   11315 
   11316 
   11317 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11318    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11319   as_expr=expr
   11320 else
   11321   as_expr=false
   11322 fi
   11323 
   11324 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11325   as_basename=basename
   11326 else
   11327   as_basename=false
   11328 fi
   11329 
   11330 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11331   as_dirname=dirname
   11332 else
   11333   as_dirname=false
   11334 fi
   11335 
   11336 as_me=`$as_basename -- "$0" ||
   11337 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11338 	 X"$0" : 'X\(//\)$' \| \
   11339 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11340 $as_echo X/"$0" |
   11341     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11342 	    s//\1/
   11343 	    q
   11344 	  }
   11345 	  /^X\/\(\/\/\)$/{
   11346 	    s//\1/
   11347 	    q
   11348 	  }
   11349 	  /^X\/\(\/\).*/{
   11350 	    s//\1/
   11351 	    q
   11352 	  }
   11353 	  s/.*/./; q'`
   11354 
   11355 # Avoid depending upon Character Ranges.
   11356 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11357 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11358 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11359 as_cr_digits='0123456789'
   11360 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11361 
   11362 ECHO_C= ECHO_N= ECHO_T=
   11363 case `echo -n x` in #(((((
   11364 -n*)
   11365   case `echo 'xy\c'` in
   11366   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11367   xy)  ECHO_C='\c';;
   11368   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11369        ECHO_T='	';;
   11370   esac;;
   11371 *)
   11372   ECHO_N='-n';;
   11373 esac
   11374 
   11375 rm -f conf$$ conf$$.exe conf$$.file
   11376 if test -d conf$$.dir; then
   11377   rm -f conf$$.dir/conf$$.file
   11378 else
   11379   rm -f conf$$.dir
   11380   mkdir conf$$.dir 2>/dev/null
   11381 fi
   11382 if (echo >conf$$.file) 2>/dev/null; then
   11383   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11384     as_ln_s='ln -s'
   11385     # ... but there are two gotchas:
   11386     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11387     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11388     # In both cases, we have to default to `cp -pR'.
   11389     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11390       as_ln_s='cp -pR'
   11391   elif ln conf$$.file conf$$ 2>/dev/null; then
   11392     as_ln_s=ln
   11393   else
   11394     as_ln_s='cp -pR'
   11395   fi
   11396 else
   11397   as_ln_s='cp -pR'
   11398 fi
   11399 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11400 rmdir conf$$.dir 2>/dev/null
   11401 
   11402 
   11403 # as_fn_mkdir_p
   11404 # -------------
   11405 # Create "$as_dir" as a directory, including parents if necessary.
   11406 as_fn_mkdir_p ()
   11407 {
   11408 
   11409   case $as_dir in #(
   11410   -*) as_dir=./$as_dir;;
   11411   esac
   11412   test -d "$as_dir" || eval $as_mkdir_p || {
   11413     as_dirs=
   11414     while :; do
   11415       case $as_dir in #(
   11416       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11417       *) as_qdir=$as_dir;;
   11418       esac
   11419       as_dirs="'$as_qdir' $as_dirs"
   11420       as_dir=`$as_dirname -- "$as_dir" ||
   11421 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11422 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11423 	 X"$as_dir" : 'X\(//\)$' \| \
   11424 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11425 $as_echo X"$as_dir" |
   11426     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11427 	    s//\1/
   11428 	    q
   11429 	  }
   11430 	  /^X\(\/\/\)[^/].*/{
   11431 	    s//\1/
   11432 	    q
   11433 	  }
   11434 	  /^X\(\/\/\)$/{
   11435 	    s//\1/
   11436 	    q
   11437 	  }
   11438 	  /^X\(\/\).*/{
   11439 	    s//\1/
   11440 	    q
   11441 	  }
   11442 	  s/.*/./; q'`
   11443       test -d "$as_dir" && break
   11444     done
   11445     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11446   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11447 
   11448 
   11449 } # as_fn_mkdir_p
   11450 if mkdir -p . 2>/dev/null; then
   11451   as_mkdir_p='mkdir -p "$as_dir"'
   11452 else
   11453   test -d ./-p && rmdir ./-p
   11454   as_mkdir_p=false
   11455 fi
   11456 
   11457 
   11458 # as_fn_executable_p FILE
   11459 # -----------------------
   11460 # Test if FILE is an executable regular file.
   11461 as_fn_executable_p ()
   11462 {
   11463   test -f "$1" && test -x "$1"
   11464 } # as_fn_executable_p
   11465 as_test_x='test -x'
   11466 as_executable_p=as_fn_executable_p
   11467 
   11468 # Sed expression to map a string onto a valid CPP name.
   11469 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11470 
   11471 # Sed expression to map a string onto a valid variable name.
   11472 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11473 
   11474 
   11475 exec 6>&1
   11476 ## ----------------------------------- ##
   11477 ## Main body of $CONFIG_STATUS script. ##
   11478 ## ----------------------------------- ##
   11479 _ASEOF
   11480 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11481 
   11482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11483 # Save the log message, to keep $0 and so on meaningful, and to
   11484 # report actual input values of CONFIG_FILES etc. instead of their
   11485 # values after options handling.
   11486 ac_log="
   11487 This file was extended by xgc $as_me 1.0.5, which was
   11488 generated by GNU Autoconf 2.69.  Invocation command line was
   11489 
   11490   CONFIG_FILES    = $CONFIG_FILES
   11491   CONFIG_HEADERS  = $CONFIG_HEADERS
   11492   CONFIG_LINKS    = $CONFIG_LINKS
   11493   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11494   $ $0 $@
   11495 
   11496 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11497 "
   11498 
   11499 _ACEOF
   11500 
   11501 case $ac_config_files in *"
   11502 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11503 esac
   11504 
   11505 case $ac_config_headers in *"
   11506 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11507 esac
   11508 
   11509 
   11510 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11511 # Files that config.status was made for.
   11512 config_files="$ac_config_files"
   11513 config_headers="$ac_config_headers"
   11514 config_commands="$ac_config_commands"
   11515 
   11516 _ACEOF
   11517 
   11518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11519 ac_cs_usage="\
   11520 \`$as_me' instantiates files and other configuration actions
   11521 from templates according to the current configuration.  Unless the files
   11522 and actions are specified as TAGs, all are instantiated by default.
   11523 
   11524 Usage: $0 [OPTION]... [TAG]...
   11525 
   11526   -h, --help       print this help, then exit
   11527   -V, --version    print version number and configuration settings, then exit
   11528       --config     print configuration, then exit
   11529   -q, --quiet, --silent
   11530                    do not print progress messages
   11531   -d, --debug      don't remove temporary files
   11532       --recheck    update $as_me by reconfiguring in the same conditions
   11533       --file=FILE[:TEMPLATE]
   11534                    instantiate the configuration file FILE
   11535       --header=FILE[:TEMPLATE]
   11536                    instantiate the configuration header FILE
   11537 
   11538 Configuration files:
   11539 $config_files
   11540 
   11541 Configuration headers:
   11542 $config_headers
   11543 
   11544 Configuration commands:
   11545 $config_commands
   11546 
   11547 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11548 
   11549 _ACEOF
   11550 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11551 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11552 ac_cs_version="\\
   11553 xgc config.status 1.0.5
   11554 configured by $0, generated by GNU Autoconf 2.69,
   11555   with options \\"\$ac_cs_config\\"
   11556 
   11557 Copyright (C) 2012 Free Software Foundation, Inc.
   11558 This config.status script is free software; the Free Software Foundation
   11559 gives unlimited permission to copy, distribute and modify it."
   11560 
   11561 ac_pwd='$ac_pwd'
   11562 srcdir='$srcdir'
   11563 INSTALL='$INSTALL'
   11564 MKDIR_P='$MKDIR_P'
   11565 AWK='$AWK'
   11566 test -n "\$AWK" || AWK=awk
   11567 _ACEOF
   11568 
   11569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11570 # The default lists apply if the user does not specify any file.
   11571 ac_need_defaults=:
   11572 while test $# != 0
   11573 do
   11574   case $1 in
   11575   --*=?*)
   11576     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11577     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11578     ac_shift=:
   11579     ;;
   11580   --*=)
   11581     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11582     ac_optarg=
   11583     ac_shift=:
   11584     ;;
   11585   *)
   11586     ac_option=$1
   11587     ac_optarg=$2
   11588     ac_shift=shift
   11589     ;;
   11590   esac
   11591 
   11592   case $ac_option in
   11593   # Handling of the options.
   11594   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11595     ac_cs_recheck=: ;;
   11596   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11597     $as_echo "$ac_cs_version"; exit ;;
   11598   --config | --confi | --conf | --con | --co | --c )
   11599     $as_echo "$ac_cs_config"; exit ;;
   11600   --debug | --debu | --deb | --de | --d | -d )
   11601     debug=: ;;
   11602   --file | --fil | --fi | --f )
   11603     $ac_shift
   11604     case $ac_optarg in
   11605     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11606     '') as_fn_error $? "missing file argument" ;;
   11607     esac
   11608     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11609     ac_need_defaults=false;;
   11610   --header | --heade | --head | --hea )
   11611     $ac_shift
   11612     case $ac_optarg in
   11613     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11614     esac
   11615     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11616     ac_need_defaults=false;;
   11617   --he | --h)
   11618     # Conflict between --help and --header
   11619     as_fn_error $? "ambiguous option: \`$1'
   11620 Try \`$0 --help' for more information.";;
   11621   --help | --hel | -h )
   11622     $as_echo "$ac_cs_usage"; exit ;;
   11623   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11624   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11625     ac_cs_silent=: ;;
   11626 
   11627   # This is an error.
   11628   -*) as_fn_error $? "unrecognized option: \`$1'
   11629 Try \`$0 --help' for more information." ;;
   11630 
   11631   *) as_fn_append ac_config_targets " $1"
   11632      ac_need_defaults=false ;;
   11633 
   11634   esac
   11635   shift
   11636 done
   11637 
   11638 ac_configure_extra_args=
   11639 
   11640 if $ac_cs_silent; then
   11641   exec 6>/dev/null
   11642   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11643 fi
   11644 
   11645 _ACEOF
   11646 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11647 if \$ac_cs_recheck; then
   11648   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11649   shift
   11650   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11651   CONFIG_SHELL='$SHELL'
   11652   export CONFIG_SHELL
   11653   exec "\$@"
   11654 fi
   11655 
   11656 _ACEOF
   11657 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11658 exec 5>>config.log
   11659 {
   11660   echo
   11661   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11662 ## Running $as_me. ##
   11663 _ASBOX
   11664   $as_echo "$ac_log"
   11665 } >&5
   11666 
   11667 _ACEOF
   11668 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11669 #
   11670 # INIT-COMMANDS
   11671 #
   11672 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11673 
   11674 _ACEOF
   11675 
   11676 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11677 
   11678 # Handling of arguments.
   11679 for ac_config_target in $ac_config_targets
   11680 do
   11681   case $ac_config_target in
   11682     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11683     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11684     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11685     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11686 
   11687   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11688   esac
   11689 done
   11690 
   11691 
   11692 # If the user did not use the arguments to specify the items to instantiate,
   11693 # then the envvar interface is used.  Set only those that are not.
   11694 # We use the long form for the default assignment because of an extremely
   11695 # bizarre bug on SunOS 4.1.3.
   11696 if $ac_need_defaults; then
   11697   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11698   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11699   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11700 fi
   11701 
   11702 # Have a temporary directory for convenience.  Make it in the build tree
   11703 # simply because there is no reason against having it here, and in addition,
   11704 # creating and moving files from /tmp can sometimes cause problems.
   11705 # Hook for its removal unless debugging.
   11706 # Note that there is a small window in which the directory will not be cleaned:
   11707 # after its creation but before its name has been assigned to `$tmp'.
   11708 $debug ||
   11709 {
   11710   tmp= ac_tmp=
   11711   trap 'exit_status=$?
   11712   : "${ac_tmp:=$tmp}"
   11713   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11714 ' 0
   11715   trap 'as_fn_exit 1' 1 2 13 15
   11716 }
   11717 # Create a (secure) tmp directory for tmp files.
   11718 
   11719 {
   11720   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11721   test -d "$tmp"
   11722 }  ||
   11723 {
   11724   tmp=./conf$$-$RANDOM
   11725   (umask 077 && mkdir "$tmp")
   11726 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11727 ac_tmp=$tmp
   11728 
   11729 # Set up the scripts for CONFIG_FILES section.
   11730 # No need to generate them if there are no CONFIG_FILES.
   11731 # This happens for instance with `./config.status config.h'.
   11732 if test -n "$CONFIG_FILES"; then
   11733 
   11734 
   11735 ac_cr=`echo X | tr X '\015'`
   11736 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11737 # But we know of no other shell where ac_cr would be empty at this
   11738 # point, so we can use a bashism as a fallback.
   11739 if test "x$ac_cr" = x; then
   11740   eval ac_cr=\$\'\\r\'
   11741 fi
   11742 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11743 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11744   ac_cs_awk_cr='\\r'
   11745 else
   11746   ac_cs_awk_cr=$ac_cr
   11747 fi
   11748 
   11749 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11750 _ACEOF
   11751 
   11752 
   11753 {
   11754   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11755   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11756   echo "_ACEOF"
   11757 } >conf$$subs.sh ||
   11758   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11759 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11760 ac_delim='%!_!# '
   11761 for ac_last_try in false false false false false :; do
   11762   . ./conf$$subs.sh ||
   11763     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11764 
   11765   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11766   if test $ac_delim_n = $ac_delim_num; then
   11767     break
   11768   elif $ac_last_try; then
   11769     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11770   else
   11771     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11772   fi
   11773 done
   11774 rm -f conf$$subs.sh
   11775 
   11776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11777 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11778 _ACEOF
   11779 sed -n '
   11780 h
   11781 s/^/S["/; s/!.*/"]=/
   11782 p
   11783 g
   11784 s/^[^!]*!//
   11785 :repl
   11786 t repl
   11787 s/'"$ac_delim"'$//
   11788 t delim
   11789 :nl
   11790 h
   11791 s/\(.\{148\}\)..*/\1/
   11792 t more1
   11793 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11794 p
   11795 n
   11796 b repl
   11797 :more1
   11798 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11799 p
   11800 g
   11801 s/.\{148\}//
   11802 t nl
   11803 :delim
   11804 h
   11805 s/\(.\{148\}\)..*/\1/
   11806 t more2
   11807 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11808 p
   11809 b
   11810 :more2
   11811 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11812 p
   11813 g
   11814 s/.\{148\}//
   11815 t delim
   11816 ' <conf$$subs.awk | sed '
   11817 /^[^""]/{
   11818   N
   11819   s/\n//
   11820 }
   11821 ' >>$CONFIG_STATUS || ac_write_fail=1
   11822 rm -f conf$$subs.awk
   11823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11824 _ACAWK
   11825 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11826   for (key in S) S_is_set[key] = 1
   11827   FS = ""
   11828 
   11829 }
   11830 {
   11831   line = $ 0
   11832   nfields = split(line, field, "@")
   11833   substed = 0
   11834   len = length(field[1])
   11835   for (i = 2; i < nfields; i++) {
   11836     key = field[i]
   11837     keylen = length(key)
   11838     if (S_is_set[key]) {
   11839       value = S[key]
   11840       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11841       len += length(value) + length(field[++i])
   11842       substed = 1
   11843     } else
   11844       len += 1 + keylen
   11845   }
   11846 
   11847   print line
   11848 }
   11849 
   11850 _ACAWK
   11851 _ACEOF
   11852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11853 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11854   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11855 else
   11856   cat
   11857 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11858   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11859 _ACEOF
   11860 
   11861 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11862 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11863 # trailing colons and then remove the whole line if VPATH becomes empty
   11864 # (actually we leave an empty line to preserve line numbers).
   11865 if test "x$srcdir" = x.; then
   11866   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11867 h
   11868 s///
   11869 s/^/:/
   11870 s/[	 ]*$/:/
   11871 s/:\$(srcdir):/:/g
   11872 s/:\${srcdir}:/:/g
   11873 s/:@srcdir@:/:/g
   11874 s/^:*//
   11875 s/:*$//
   11876 x
   11877 s/\(=[	 ]*\).*/\1/
   11878 G
   11879 s/\n//
   11880 s/^[^=]*=[	 ]*$//
   11881 }'
   11882 fi
   11883 
   11884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11885 fi # test -n "$CONFIG_FILES"
   11886 
   11887 # Set up the scripts for CONFIG_HEADERS section.
   11888 # No need to generate them if there are no CONFIG_HEADERS.
   11889 # This happens for instance with `./config.status Makefile'.
   11890 if test -n "$CONFIG_HEADERS"; then
   11891 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11892 BEGIN {
   11893 _ACEOF
   11894 
   11895 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11896 # here-document in config.status, that substitutes the proper values into
   11897 # config.h.in to produce config.h.
   11898 
   11899 # Create a delimiter string that does not exist in confdefs.h, to ease
   11900 # handling of long lines.
   11901 ac_delim='%!_!# '
   11902 for ac_last_try in false false :; do
   11903   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11904   if test -z "$ac_tt"; then
   11905     break
   11906   elif $ac_last_try; then
   11907     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11908   else
   11909     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11910   fi
   11911 done
   11912 
   11913 # For the awk script, D is an array of macro values keyed by name,
   11914 # likewise P contains macro parameters if any.  Preserve backslash
   11915 # newline sequences.
   11916 
   11917 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11918 sed -n '
   11919 s/.\{148\}/&'"$ac_delim"'/g
   11920 t rset
   11921 :rset
   11922 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11923 t def
   11924 d
   11925 :def
   11926 s/\\$//
   11927 t bsnl
   11928 s/["\\]/\\&/g
   11929 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11930 D["\1"]=" \3"/p
   11931 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11932 d
   11933 :bsnl
   11934 s/["\\]/\\&/g
   11935 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11936 D["\1"]=" \3\\\\\\n"\\/p
   11937 t cont
   11938 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11939 t cont
   11940 d
   11941 :cont
   11942 n
   11943 s/.\{148\}/&'"$ac_delim"'/g
   11944 t clear
   11945 :clear
   11946 s/\\$//
   11947 t bsnlc
   11948 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11949 d
   11950 :bsnlc
   11951 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11952 b cont
   11953 ' <confdefs.h | sed '
   11954 s/'"$ac_delim"'/"\\\
   11955 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11956 
   11957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11958   for (key in D) D_is_set[key] = 1
   11959   FS = ""
   11960 }
   11961 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11962   line = \$ 0
   11963   split(line, arg, " ")
   11964   if (arg[1] == "#") {
   11965     defundef = arg[2]
   11966     mac1 = arg[3]
   11967   } else {
   11968     defundef = substr(arg[1], 2)
   11969     mac1 = arg[2]
   11970   }
   11971   split(mac1, mac2, "(") #)
   11972   macro = mac2[1]
   11973   prefix = substr(line, 1, index(line, defundef) - 1)
   11974   if (D_is_set[macro]) {
   11975     # Preserve the white space surrounding the "#".
   11976     print prefix "define", macro P[macro] D[macro]
   11977     next
   11978   } else {
   11979     # Replace #undef with comments.  This is necessary, for example,
   11980     # in the case of _POSIX_SOURCE, which is predefined and required
   11981     # on some systems where configure will not decide to define it.
   11982     if (defundef == "undef") {
   11983       print "/*", prefix defundef, macro, "*/"
   11984       next
   11985     }
   11986   }
   11987 }
   11988 { print }
   11989 _ACAWK
   11990 _ACEOF
   11991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11992   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11993 fi # test -n "$CONFIG_HEADERS"
   11994 
   11995 
   11996 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11997 shift
   11998 for ac_tag
   11999 do
   12000   case $ac_tag in
   12001   :[FHLC]) ac_mode=$ac_tag; continue;;
   12002   esac
   12003   case $ac_mode$ac_tag in
   12004   :[FHL]*:*);;
   12005   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12006   :[FH]-) ac_tag=-:-;;
   12007   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12008   esac
   12009   ac_save_IFS=$IFS
   12010   IFS=:
   12011   set x $ac_tag
   12012   IFS=$ac_save_IFS
   12013   shift
   12014   ac_file=$1
   12015   shift
   12016 
   12017   case $ac_mode in
   12018   :L) ac_source=$1;;
   12019   :[FH])
   12020     ac_file_inputs=
   12021     for ac_f
   12022     do
   12023       case $ac_f in
   12024       -) ac_f="$ac_tmp/stdin";;
   12025       *) # Look for the file first in the build tree, then in the source tree
   12026 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12027 	 # because $ac_f cannot contain `:'.
   12028 	 test -f "$ac_f" ||
   12029 	   case $ac_f in
   12030 	   [\\/$]*) false;;
   12031 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12032 	   esac ||
   12033 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12034       esac
   12035       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12036       as_fn_append ac_file_inputs " '$ac_f'"
   12037     done
   12038 
   12039     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12040     # use $as_me), people would be surprised to read:
   12041     #    /* config.h.  Generated by config.status.  */
   12042     configure_input='Generated from '`
   12043 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12044 	`' by configure.'
   12045     if test x"$ac_file" != x-; then
   12046       configure_input="$ac_file.  $configure_input"
   12047       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12048 $as_echo "$as_me: creating $ac_file" >&6;}
   12049     fi
   12050     # Neutralize special characters interpreted by sed in replacement strings.
   12051     case $configure_input in #(
   12052     *\&* | *\|* | *\\* )
   12053        ac_sed_conf_input=`$as_echo "$configure_input" |
   12054        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12055     *) ac_sed_conf_input=$configure_input;;
   12056     esac
   12057 
   12058     case $ac_tag in
   12059     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12060       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12061     esac
   12062     ;;
   12063   esac
   12064 
   12065   ac_dir=`$as_dirname -- "$ac_file" ||
   12066 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12067 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12068 	 X"$ac_file" : 'X\(//\)$' \| \
   12069 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12070 $as_echo X"$ac_file" |
   12071     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12072 	    s//\1/
   12073 	    q
   12074 	  }
   12075 	  /^X\(\/\/\)[^/].*/{
   12076 	    s//\1/
   12077 	    q
   12078 	  }
   12079 	  /^X\(\/\/\)$/{
   12080 	    s//\1/
   12081 	    q
   12082 	  }
   12083 	  /^X\(\/\).*/{
   12084 	    s//\1/
   12085 	    q
   12086 	  }
   12087 	  s/.*/./; q'`
   12088   as_dir="$ac_dir"; as_fn_mkdir_p
   12089   ac_builddir=.
   12090 
   12091 case "$ac_dir" in
   12092 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12093 *)
   12094   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12095   # A ".." for each directory in $ac_dir_suffix.
   12096   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12097   case $ac_top_builddir_sub in
   12098   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12099   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12100   esac ;;
   12101 esac
   12102 ac_abs_top_builddir=$ac_pwd
   12103 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12104 # for backward compatibility:
   12105 ac_top_builddir=$ac_top_build_prefix
   12106 
   12107 case $srcdir in
   12108   .)  # We are building in place.
   12109     ac_srcdir=.
   12110     ac_top_srcdir=$ac_top_builddir_sub
   12111     ac_abs_top_srcdir=$ac_pwd ;;
   12112   [\\/]* | ?:[\\/]* )  # Absolute name.
   12113     ac_srcdir=$srcdir$ac_dir_suffix;
   12114     ac_top_srcdir=$srcdir
   12115     ac_abs_top_srcdir=$srcdir ;;
   12116   *) # Relative name.
   12117     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12118     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12119     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12120 esac
   12121 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12122 
   12123 
   12124   case $ac_mode in
   12125   :F)
   12126   #
   12127   # CONFIG_FILE
   12128   #
   12129 
   12130   case $INSTALL in
   12131   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12132   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12133   esac
   12134   ac_MKDIR_P=$MKDIR_P
   12135   case $MKDIR_P in
   12136   [\\/$]* | ?:[\\/]* ) ;;
   12137   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12138   esac
   12139 _ACEOF
   12140 
   12141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12142 # If the template does not know about datarootdir, expand it.
   12143 # FIXME: This hack should be removed a few years after 2.60.
   12144 ac_datarootdir_hack=; ac_datarootdir_seen=
   12145 ac_sed_dataroot='
   12146 /datarootdir/ {
   12147   p
   12148   q
   12149 }
   12150 /@datadir@/p
   12151 /@docdir@/p
   12152 /@infodir@/p
   12153 /@localedir@/p
   12154 /@mandir@/p'
   12155 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12156 *datarootdir*) ac_datarootdir_seen=yes;;
   12157 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12158   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12159 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12160 _ACEOF
   12161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12162   ac_datarootdir_hack='
   12163   s&@datadir@&$datadir&g
   12164   s&@docdir@&$docdir&g
   12165   s&@infodir@&$infodir&g
   12166   s&@localedir@&$localedir&g
   12167   s&@mandir@&$mandir&g
   12168   s&\\\${datarootdir}&$datarootdir&g' ;;
   12169 esac
   12170 _ACEOF
   12171 
   12172 # Neutralize VPATH when `$srcdir' = `.'.
   12173 # Shell code in configure.ac might set extrasub.
   12174 # FIXME: do we really want to maintain this feature?
   12175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12176 ac_sed_extra="$ac_vpsub
   12177 $extrasub
   12178 _ACEOF
   12179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12180 :t
   12181 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12182 s|@configure_input@|$ac_sed_conf_input|;t t
   12183 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12184 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12185 s&@srcdir@&$ac_srcdir&;t t
   12186 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12187 s&@top_srcdir@&$ac_top_srcdir&;t t
   12188 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12189 s&@builddir@&$ac_builddir&;t t
   12190 s&@abs_builddir@&$ac_abs_builddir&;t t
   12191 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12192 s&@INSTALL@&$ac_INSTALL&;t t
   12193 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12194 $ac_datarootdir_hack
   12195 "
   12196 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12197   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12198 
   12199 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12200   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12201   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12202       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12203   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12204 which seems to be undefined.  Please make sure it is defined" >&5
   12205 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12206 which seems to be undefined.  Please make sure it is defined" >&2;}
   12207 
   12208   rm -f "$ac_tmp/stdin"
   12209   case $ac_file in
   12210   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12211   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12212   esac \
   12213   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12214  ;;
   12215   :H)
   12216   #
   12217   # CONFIG_HEADER
   12218   #
   12219   if test x"$ac_file" != x-; then
   12220     {
   12221       $as_echo "/* $configure_input  */" \
   12222       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12223     } >"$ac_tmp/config.h" \
   12224       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12225     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12226       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12227 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12228     else
   12229       rm -f "$ac_file"
   12230       mv "$ac_tmp/config.h" "$ac_file" \
   12231 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12232     fi
   12233   else
   12234     $as_echo "/* $configure_input  */" \
   12235       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12236       || as_fn_error $? "could not create -" "$LINENO" 5
   12237   fi
   12238 # Compute "$ac_file"'s index in $config_headers.
   12239 _am_arg="$ac_file"
   12240 _am_stamp_count=1
   12241 for _am_header in $config_headers :; do
   12242   case $_am_header in
   12243     $_am_arg | $_am_arg:* )
   12244       break ;;
   12245     * )
   12246       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12247   esac
   12248 done
   12249 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12250 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12251 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12252 	 X"$_am_arg" : 'X\(//\)$' \| \
   12253 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12254 $as_echo X"$_am_arg" |
   12255     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12256 	    s//\1/
   12257 	    q
   12258 	  }
   12259 	  /^X\(\/\/\)[^/].*/{
   12260 	    s//\1/
   12261 	    q
   12262 	  }
   12263 	  /^X\(\/\/\)$/{
   12264 	    s//\1/
   12265 	    q
   12266 	  }
   12267 	  /^X\(\/\).*/{
   12268 	    s//\1/
   12269 	    q
   12270 	  }
   12271 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12272  ;;
   12273 
   12274   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12275 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12276  ;;
   12277   esac
   12278 
   12279 
   12280   case $ac_file$ac_mode in
   12281     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12282   # Older Autoconf quotes --file arguments for eval, but not when files
   12283   # are listed without --file.  Let's play safe and only enable the eval
   12284   # if we detect the quoting.
   12285   case $CONFIG_FILES in
   12286   *\'*) eval set x "$CONFIG_FILES" ;;
   12287   *)   set x $CONFIG_FILES ;;
   12288   esac
   12289   shift
   12290   for mf
   12291   do
   12292     # Strip MF so we end up with the name of the file.
   12293     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12294     # Check whether this is an Automake generated Makefile or not.
   12295     # We used to match only the files named 'Makefile.in', but
   12296     # some people rename them; so instead we look at the file content.
   12297     # Grep'ing the first line is not enough: some people post-process
   12298     # each Makefile.in and add a new line on top of each file to say so.
   12299     # Grep'ing the whole file is not good either: AIX grep has a line
   12300     # limit of 2048, but all sed's we know have understand at least 4000.
   12301     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12302       dirpart=`$as_dirname -- "$mf" ||
   12303 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12304 	 X"$mf" : 'X\(//\)[^/]' \| \
   12305 	 X"$mf" : 'X\(//\)$' \| \
   12306 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12307 $as_echo X"$mf" |
   12308     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12309 	    s//\1/
   12310 	    q
   12311 	  }
   12312 	  /^X\(\/\/\)[^/].*/{
   12313 	    s//\1/
   12314 	    q
   12315 	  }
   12316 	  /^X\(\/\/\)$/{
   12317 	    s//\1/
   12318 	    q
   12319 	  }
   12320 	  /^X\(\/\).*/{
   12321 	    s//\1/
   12322 	    q
   12323 	  }
   12324 	  s/.*/./; q'`
   12325     else
   12326       continue
   12327     fi
   12328     # Extract the definition of DEPDIR, am__include, and am__quote
   12329     # from the Makefile without running 'make'.
   12330     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12331     test -z "$DEPDIR" && continue
   12332     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12333     test -z "$am__include" && continue
   12334     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12335     # Find all dependency output files, they are included files with
   12336     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12337     # simplest approach to changing $(DEPDIR) to its actual value in the
   12338     # expansion.
   12339     for file in `sed -n "
   12340       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12341 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12342       # Make sure the directory exists.
   12343       test -f "$dirpart/$file" && continue
   12344       fdir=`$as_dirname -- "$file" ||
   12345 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12346 	 X"$file" : 'X\(//\)[^/]' \| \
   12347 	 X"$file" : 'X\(//\)$' \| \
   12348 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12349 $as_echo X"$file" |
   12350     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12351 	    s//\1/
   12352 	    q
   12353 	  }
   12354 	  /^X\(\/\/\)[^/].*/{
   12355 	    s//\1/
   12356 	    q
   12357 	  }
   12358 	  /^X\(\/\/\)$/{
   12359 	    s//\1/
   12360 	    q
   12361 	  }
   12362 	  /^X\(\/\).*/{
   12363 	    s//\1/
   12364 	    q
   12365 	  }
   12366 	  s/.*/./; q'`
   12367       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12368       # echo "creating $dirpart/$file"
   12369       echo '# dummy' > "$dirpart/$file"
   12370     done
   12371   done
   12372 }
   12373  ;;
   12374 
   12375   esac
   12376 done # for ac_tag
   12377 
   12378 
   12379 as_fn_exit 0
   12380 _ACEOF
   12381 ac_clean_files=$ac_clean_files_save
   12382 
   12383 test $ac_write_fail = 0 ||
   12384   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12385 
   12386 
   12387 # configure is writing to config.log, and then calls config.status.
   12388 # config.status does its own redirection, appending to config.log.
   12389 # Unfortunately, on DOS this fails, as config.log is still kept open
   12390 # by configure, so config.status won't be able to write to it; its
   12391 # output is simply discarded.  So we exec the FD to /dev/null,
   12392 # effectively closing config.log, so it can be properly (re)opened and
   12393 # appended to by config.status.  When coming back to configure, we
   12394 # need to make the FD available again.
   12395 if test "$no_create" != yes; then
   12396   ac_cs_success=:
   12397   ac_config_status_args=
   12398   test "$silent" = yes &&
   12399     ac_config_status_args="$ac_config_status_args --quiet"
   12400   exec 5>/dev/null
   12401   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12402   exec 5>>config.log
   12403   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12404   # would make configure fail if this is the last instruction.
   12405   $ac_cs_success || as_fn_exit 1
   12406 fi
   12407 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12408   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12409 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12410 fi
   12411 
   12412