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 bitmap 1.0.8.
      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='bitmap'
    583 PACKAGE_TARNAME='bitmap'
    584 PACKAGE_VERSION='1.0.8'
    585 PACKAGE_STRING='bitmap 1.0.8'
    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 APPDEFS_LIBS
    632 APPDEFS_CFLAGS
    633 BITMAP_LIBS
    634 BITMAP_CFLAGS
    635 ATOBM_LIBS
    636 ATOBM_CFLAGS
    637 BMTOA_LIBS
    638 BMTOA_CFLAGS
    639 MATH_LIBS
    640 MAN_SUBSTS
    641 XORG_MAN_PAGE
    642 ADMIN_MAN_DIR
    643 DRIVER_MAN_DIR
    644 MISC_MAN_DIR
    645 FILE_MAN_DIR
    646 LIB_MAN_DIR
    647 APP_MAN_DIR
    648 ADMIN_MAN_SUFFIX
    649 DRIVER_MAN_SUFFIX
    650 MISC_MAN_SUFFIX
    651 FILE_MAN_SUFFIX
    652 LIB_MAN_SUFFIX
    653 APP_MAN_SUFFIX
    654 SED
    655 host_os
    656 host_vendor
    657 host_cpu
    658 host
    659 build_os
    660 build_vendor
    661 build_cpu
    662 build
    663 INSTALL_CMD
    664 PKG_CONFIG
    665 CHANGELOG_CMD
    666 STRICT_CFLAGS
    667 CWARNFLAGS
    668 BASE_CFLAGS
    669 EGREP
    670 GREP
    671 CPP
    672 am__fastdepCC_FALSE
    673 am__fastdepCC_TRUE
    674 CCDEPMODE
    675 am__nodep
    676 AMDEPBACKSLASH
    677 AMDEP_FALSE
    678 AMDEP_TRUE
    679 am__quote
    680 am__include
    681 DEPDIR
    682 OBJEXT
    683 EXEEXT
    684 ac_ct_CC
    685 CPPFLAGS
    686 LDFLAGS
    687 CFLAGS
    688 CC
    689 AM_BACKSLASH
    690 AM_DEFAULT_VERBOSITY
    691 AM_DEFAULT_V
    692 AM_V
    693 am__untar
    694 am__tar
    695 AMTAR
    696 am__leading_dot
    697 SET_MAKE
    698 AWK
    699 mkdir_p
    700 MKDIR_P
    701 INSTALL_STRIP_PROGRAM
    702 STRIP
    703 install_sh
    704 MAKEINFO
    705 AUTOHEADER
    706 AUTOMAKE
    707 AUTOCONF
    708 ACLOCAL
    709 VERSION
    710 PACKAGE
    711 CYGPATH_W
    712 am__isrc
    713 INSTALL_DATA
    714 INSTALL_SCRIPT
    715 INSTALL_PROGRAM
    716 target_alias
    717 host_alias
    718 build_alias
    719 LIBS
    720 ECHO_T
    721 ECHO_N
    722 ECHO_C
    723 DEFS
    724 mandir
    725 localedir
    726 libdir
    727 psdir
    728 pdfdir
    729 dvidir
    730 htmldir
    731 infodir
    732 docdir
    733 oldincludedir
    734 includedir
    735 localstatedir
    736 sharedstatedir
    737 sysconfdir
    738 datadir
    739 datarootdir
    740 libexecdir
    741 sbindir
    742 bindir
    743 program_transform_name
    744 prefix
    745 exec_prefix
    746 PACKAGE_URL
    747 PACKAGE_BUGREPORT
    748 PACKAGE_STRING
    749 PACKAGE_VERSION
    750 PACKAGE_TARNAME
    751 PACKAGE_NAME
    752 PATH_SEPARATOR
    753 SHELL'
    754 ac_subst_files=''
    755 ac_user_opts='
    756 enable_option_checking
    757 enable_silent_rules
    758 enable_dependency_tracking
    759 enable_selective_werror
    760 enable_strict_compilation
    761 with_appdefaultdir
    762 '
    763       ac_precious_vars='build_alias
    764 host_alias
    765 target_alias
    766 CC
    767 CFLAGS
    768 LDFLAGS
    769 LIBS
    770 CPPFLAGS
    771 CPP
    772 PKG_CONFIG
    773 BMTOA_CFLAGS
    774 BMTOA_LIBS
    775 ATOBM_CFLAGS
    776 ATOBM_LIBS
    777 BITMAP_CFLAGS
    778 BITMAP_LIBS
    779 APPDEFS_CFLAGS
    780 APPDEFS_LIBS'
    781 
    782 
    783 # Initialize some variables set by options.
    784 ac_init_help=
    785 ac_init_version=false
    786 ac_unrecognized_opts=
    787 ac_unrecognized_sep=
    788 # The variables have the same names as the options, with
    789 # dashes changed to underlines.
    790 cache_file=/dev/null
    791 exec_prefix=NONE
    792 no_create=
    793 no_recursion=
    794 prefix=NONE
    795 program_prefix=NONE
    796 program_suffix=NONE
    797 program_transform_name=s,x,x,
    798 silent=
    799 site=
    800 srcdir=
    801 verbose=
    802 x_includes=NONE
    803 x_libraries=NONE
    804 
    805 # Installation directory options.
    806 # These are left unexpanded so users can "make install exec_prefix=/foo"
    807 # and all the variables that are supposed to be based on exec_prefix
    808 # by default will actually change.
    809 # Use braces instead of parens because sh, perl, etc. also accept them.
    810 # (The list follows the same order as the GNU Coding Standards.)
    811 bindir='${exec_prefix}/bin'
    812 sbindir='${exec_prefix}/sbin'
    813 libexecdir='${exec_prefix}/libexec'
    814 datarootdir='${prefix}/share'
    815 datadir='${datarootdir}'
    816 sysconfdir='${prefix}/etc'
    817 sharedstatedir='${prefix}/com'
    818 localstatedir='${prefix}/var'
    819 includedir='${prefix}/include'
    820 oldincludedir='/usr/include'
    821 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    822 infodir='${datarootdir}/info'
    823 htmldir='${docdir}'
    824 dvidir='${docdir}'
    825 pdfdir='${docdir}'
    826 psdir='${docdir}'
    827 libdir='${exec_prefix}/lib'
    828 localedir='${datarootdir}/locale'
    829 mandir='${datarootdir}/man'
    830 
    831 ac_prev=
    832 ac_dashdash=
    833 for ac_option
    834 do
    835   # If the previous option needs an argument, assign it.
    836   if test -n "$ac_prev"; then
    837     eval $ac_prev=\$ac_option
    838     ac_prev=
    839     continue
    840   fi
    841 
    842   case $ac_option in
    843   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    844   *=)   ac_optarg= ;;
    845   *)    ac_optarg=yes ;;
    846   esac
    847 
    848   # Accept the important Cygnus configure options, so we can diagnose typos.
    849 
    850   case $ac_dashdash$ac_option in
    851   --)
    852     ac_dashdash=yes ;;
    853 
    854   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    855     ac_prev=bindir ;;
    856   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    857     bindir=$ac_optarg ;;
    858 
    859   -build | --build | --buil | --bui | --bu)
    860     ac_prev=build_alias ;;
    861   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    862     build_alias=$ac_optarg ;;
    863 
    864   -cache-file | --cache-file | --cache-fil | --cache-fi \
    865   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    866     ac_prev=cache_file ;;
    867   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    868   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    869     cache_file=$ac_optarg ;;
    870 
    871   --config-cache | -C)
    872     cache_file=config.cache ;;
    873 
    874   -datadir | --datadir | --datadi | --datad)
    875     ac_prev=datadir ;;
    876   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    877     datadir=$ac_optarg ;;
    878 
    879   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    880   | --dataroo | --dataro | --datar)
    881     ac_prev=datarootdir ;;
    882   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    883   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    884     datarootdir=$ac_optarg ;;
    885 
    886   -disable-* | --disable-*)
    887     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    888     # Reject names that are not valid shell variable names.
    889     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    890       as_fn_error $? "invalid feature name: $ac_useropt"
    891     ac_useropt_orig=$ac_useropt
    892     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    893     case $ac_user_opts in
    894       *"
    895 "enable_$ac_useropt"
    896 "*) ;;
    897       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    898 	 ac_unrecognized_sep=', ';;
    899     esac
    900     eval enable_$ac_useropt=no ;;
    901 
    902   -docdir | --docdir | --docdi | --doc | --do)
    903     ac_prev=docdir ;;
    904   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    905     docdir=$ac_optarg ;;
    906 
    907   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    908     ac_prev=dvidir ;;
    909   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    910     dvidir=$ac_optarg ;;
    911 
    912   -enable-* | --enable-*)
    913     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    914     # Reject names that are not valid shell variable names.
    915     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    916       as_fn_error $? "invalid feature name: $ac_useropt"
    917     ac_useropt_orig=$ac_useropt
    918     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    919     case $ac_user_opts in
    920       *"
    921 "enable_$ac_useropt"
    922 "*) ;;
    923       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    924 	 ac_unrecognized_sep=', ';;
    925     esac
    926     eval enable_$ac_useropt=\$ac_optarg ;;
    927 
    928   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    929   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    930   | --exec | --exe | --ex)
    931     ac_prev=exec_prefix ;;
    932   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    933   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    934   | --exec=* | --exe=* | --ex=*)
    935     exec_prefix=$ac_optarg ;;
    936 
    937   -gas | --gas | --ga | --g)
    938     # Obsolete; use --with-gas.
    939     with_gas=yes ;;
    940 
    941   -help | --help | --hel | --he | -h)
    942     ac_init_help=long ;;
    943   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    944     ac_init_help=recursive ;;
    945   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    946     ac_init_help=short ;;
    947 
    948   -host | --host | --hos | --ho)
    949     ac_prev=host_alias ;;
    950   -host=* | --host=* | --hos=* | --ho=*)
    951     host_alias=$ac_optarg ;;
    952 
    953   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    954     ac_prev=htmldir ;;
    955   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    956   | --ht=*)
    957     htmldir=$ac_optarg ;;
    958 
    959   -includedir | --includedir | --includedi | --included | --include \
    960   | --includ | --inclu | --incl | --inc)
    961     ac_prev=includedir ;;
    962   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    963   | --includ=* | --inclu=* | --incl=* | --inc=*)
    964     includedir=$ac_optarg ;;
    965 
    966   -infodir | --infodir | --infodi | --infod | --info | --inf)
    967     ac_prev=infodir ;;
    968   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    969     infodir=$ac_optarg ;;
    970 
    971   -libdir | --libdir | --libdi | --libd)
    972     ac_prev=libdir ;;
    973   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    974     libdir=$ac_optarg ;;
    975 
    976   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    977   | --libexe | --libex | --libe)
    978     ac_prev=libexecdir ;;
    979   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    980   | --libexe=* | --libex=* | --libe=*)
    981     libexecdir=$ac_optarg ;;
    982 
    983   -localedir | --localedir | --localedi | --localed | --locale)
    984     ac_prev=localedir ;;
    985   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    986     localedir=$ac_optarg ;;
    987 
    988   -localstatedir | --localstatedir | --localstatedi | --localstated \
    989   | --localstate | --localstat | --localsta | --localst | --locals)
    990     ac_prev=localstatedir ;;
    991   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    992   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    993     localstatedir=$ac_optarg ;;
    994 
    995   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    996     ac_prev=mandir ;;
    997   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    998     mandir=$ac_optarg ;;
    999 
   1000   -nfp | --nfp | --nf)
   1001     # Obsolete; use --without-fp.
   1002     with_fp=no ;;
   1003 
   1004   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1005   | --no-cr | --no-c | -n)
   1006     no_create=yes ;;
   1007 
   1008   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1009   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1010     no_recursion=yes ;;
   1011 
   1012   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1013   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1014   | --oldin | --oldi | --old | --ol | --o)
   1015     ac_prev=oldincludedir ;;
   1016   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1017   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1018   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1019     oldincludedir=$ac_optarg ;;
   1020 
   1021   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1022     ac_prev=prefix ;;
   1023   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1024     prefix=$ac_optarg ;;
   1025 
   1026   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1027   | --program-pre | --program-pr | --program-p)
   1028     ac_prev=program_prefix ;;
   1029   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1030   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1031     program_prefix=$ac_optarg ;;
   1032 
   1033   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1034   | --program-suf | --program-su | --program-s)
   1035     ac_prev=program_suffix ;;
   1036   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1037   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1038     program_suffix=$ac_optarg ;;
   1039 
   1040   -program-transform-name | --program-transform-name \
   1041   | --program-transform-nam | --program-transform-na \
   1042   | --program-transform-n | --program-transform- \
   1043   | --program-transform | --program-transfor \
   1044   | --program-transfo | --program-transf \
   1045   | --program-trans | --program-tran \
   1046   | --progr-tra | --program-tr | --program-t)
   1047     ac_prev=program_transform_name ;;
   1048   -program-transform-name=* | --program-transform-name=* \
   1049   | --program-transform-nam=* | --program-transform-na=* \
   1050   | --program-transform-n=* | --program-transform-=* \
   1051   | --program-transform=* | --program-transfor=* \
   1052   | --program-transfo=* | --program-transf=* \
   1053   | --program-trans=* | --program-tran=* \
   1054   | --progr-tra=* | --program-tr=* | --program-t=*)
   1055     program_transform_name=$ac_optarg ;;
   1056 
   1057   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1058     ac_prev=pdfdir ;;
   1059   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1060     pdfdir=$ac_optarg ;;
   1061 
   1062   -psdir | --psdir | --psdi | --psd | --ps)
   1063     ac_prev=psdir ;;
   1064   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1065     psdir=$ac_optarg ;;
   1066 
   1067   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1068   | -silent | --silent | --silen | --sile | --sil)
   1069     silent=yes ;;
   1070 
   1071   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1072     ac_prev=sbindir ;;
   1073   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1074   | --sbi=* | --sb=*)
   1075     sbindir=$ac_optarg ;;
   1076 
   1077   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1078   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1079   | --sharedst | --shareds | --shared | --share | --shar \
   1080   | --sha | --sh)
   1081     ac_prev=sharedstatedir ;;
   1082   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1083   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1084   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1085   | --sha=* | --sh=*)
   1086     sharedstatedir=$ac_optarg ;;
   1087 
   1088   -site | --site | --sit)
   1089     ac_prev=site ;;
   1090   -site=* | --site=* | --sit=*)
   1091     site=$ac_optarg ;;
   1092 
   1093   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1094     ac_prev=srcdir ;;
   1095   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1096     srcdir=$ac_optarg ;;
   1097 
   1098   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1099   | --syscon | --sysco | --sysc | --sys | --sy)
   1100     ac_prev=sysconfdir ;;
   1101   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1102   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1103     sysconfdir=$ac_optarg ;;
   1104 
   1105   -target | --target | --targe | --targ | --tar | --ta | --t)
   1106     ac_prev=target_alias ;;
   1107   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1108     target_alias=$ac_optarg ;;
   1109 
   1110   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1111     verbose=yes ;;
   1112 
   1113   -version | --version | --versio | --versi | --vers | -V)
   1114     ac_init_version=: ;;
   1115 
   1116   -with-* | --with-*)
   1117     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1118     # Reject names that are not valid shell variable names.
   1119     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1120       as_fn_error $? "invalid package name: $ac_useropt"
   1121     ac_useropt_orig=$ac_useropt
   1122     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1123     case $ac_user_opts in
   1124       *"
   1125 "with_$ac_useropt"
   1126 "*) ;;
   1127       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1128 	 ac_unrecognized_sep=', ';;
   1129     esac
   1130     eval with_$ac_useropt=\$ac_optarg ;;
   1131 
   1132   -without-* | --without-*)
   1133     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1134     # Reject names that are not valid shell variable names.
   1135     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1136       as_fn_error $? "invalid package name: $ac_useropt"
   1137     ac_useropt_orig=$ac_useropt
   1138     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1139     case $ac_user_opts in
   1140       *"
   1141 "with_$ac_useropt"
   1142 "*) ;;
   1143       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1144 	 ac_unrecognized_sep=', ';;
   1145     esac
   1146     eval with_$ac_useropt=no ;;
   1147 
   1148   --x)
   1149     # Obsolete; use --with-x.
   1150     with_x=yes ;;
   1151 
   1152   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1153   | --x-incl | --x-inc | --x-in | --x-i)
   1154     ac_prev=x_includes ;;
   1155   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1156   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1157     x_includes=$ac_optarg ;;
   1158 
   1159   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1160   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1161     ac_prev=x_libraries ;;
   1162   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1163   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1164     x_libraries=$ac_optarg ;;
   1165 
   1166   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1167 Try \`$0 --help' for more information"
   1168     ;;
   1169 
   1170   *=*)
   1171     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1172     # Reject names that are not valid shell variable names.
   1173     case $ac_envvar in #(
   1174       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1175       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1176     esac
   1177     eval $ac_envvar=\$ac_optarg
   1178     export $ac_envvar ;;
   1179 
   1180   *)
   1181     # FIXME: should be removed in autoconf 3.0.
   1182     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1183     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1184       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1185     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1186     ;;
   1187 
   1188   esac
   1189 done
   1190 
   1191 if test -n "$ac_prev"; then
   1192   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1193   as_fn_error $? "missing argument to $ac_option"
   1194 fi
   1195 
   1196 if test -n "$ac_unrecognized_opts"; then
   1197   case $enable_option_checking in
   1198     no) ;;
   1199     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1200     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1201   esac
   1202 fi
   1203 
   1204 # Check all directory arguments for consistency.
   1205 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1206 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1207 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1208 		libdir localedir mandir
   1209 do
   1210   eval ac_val=\$$ac_var
   1211   # Remove trailing slashes.
   1212   case $ac_val in
   1213     */ )
   1214       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1215       eval $ac_var=\$ac_val;;
   1216   esac
   1217   # Be sure to have absolute directory names.
   1218   case $ac_val in
   1219     [\\/$]* | ?:[\\/]* )  continue;;
   1220     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1221   esac
   1222   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1223 done
   1224 
   1225 # There might be people who depend on the old broken behavior: `$host'
   1226 # used to hold the argument of --host etc.
   1227 # FIXME: To remove some day.
   1228 build=$build_alias
   1229 host=$host_alias
   1230 target=$target_alias
   1231 
   1232 # FIXME: To remove some day.
   1233 if test "x$host_alias" != x; then
   1234   if test "x$build_alias" = x; then
   1235     cross_compiling=maybe
   1236   elif test "x$build_alias" != "x$host_alias"; then
   1237     cross_compiling=yes
   1238   fi
   1239 fi
   1240 
   1241 ac_tool_prefix=
   1242 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1243 
   1244 test "$silent" = yes && exec 6>/dev/null
   1245 
   1246 
   1247 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1248 ac_ls_di=`ls -di .` &&
   1249 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1250   as_fn_error $? "working directory cannot be determined"
   1251 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1252   as_fn_error $? "pwd does not report name of working directory"
   1253 
   1254 
   1255 # Find the source files, if location was not specified.
   1256 if test -z "$srcdir"; then
   1257   ac_srcdir_defaulted=yes
   1258   # Try the directory containing this script, then the parent directory.
   1259   ac_confdir=`$as_dirname -- "$as_myself" ||
   1260 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1261 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1262 	 X"$as_myself" : 'X\(//\)$' \| \
   1263 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1264 $as_echo X"$as_myself" |
   1265     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1266 	    s//\1/
   1267 	    q
   1268 	  }
   1269 	  /^X\(\/\/\)[^/].*/{
   1270 	    s//\1/
   1271 	    q
   1272 	  }
   1273 	  /^X\(\/\/\)$/{
   1274 	    s//\1/
   1275 	    q
   1276 	  }
   1277 	  /^X\(\/\).*/{
   1278 	    s//\1/
   1279 	    q
   1280 	  }
   1281 	  s/.*/./; q'`
   1282   srcdir=$ac_confdir
   1283   if test ! -r "$srcdir/$ac_unique_file"; then
   1284     srcdir=..
   1285   fi
   1286 else
   1287   ac_srcdir_defaulted=no
   1288 fi
   1289 if test ! -r "$srcdir/$ac_unique_file"; then
   1290   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1291   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1292 fi
   1293 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1294 ac_abs_confdir=`(
   1295 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1296 	pwd)`
   1297 # When building in place, set srcdir=.
   1298 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1299   srcdir=.
   1300 fi
   1301 # Remove unnecessary trailing slashes from srcdir.
   1302 # Double slashes in file names in object file debugging info
   1303 # mess up M-x gdb in Emacs.
   1304 case $srcdir in
   1305 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1306 esac
   1307 for ac_var in $ac_precious_vars; do
   1308   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1309   eval ac_env_${ac_var}_value=\$${ac_var}
   1310   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1311   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1312 done
   1313 
   1314 #
   1315 # Report the --help message.
   1316 #
   1317 if test "$ac_init_help" = "long"; then
   1318   # Omit some internal or obsolete options to make the list less imposing.
   1319   # This message is too long to be a string in the A/UX 3.1 sh.
   1320   cat <<_ACEOF
   1321 \`configure' configures bitmap 1.0.8 to adapt to many kinds of systems.
   1322 
   1323 Usage: $0 [OPTION]... [VAR=VALUE]...
   1324 
   1325 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1326 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1327 
   1328 Defaults for the options are specified in brackets.
   1329 
   1330 Configuration:
   1331   -h, --help              display this help and exit
   1332       --help=short        display options specific to this package
   1333       --help=recursive    display the short help of all the included packages
   1334   -V, --version           display version information and exit
   1335   -q, --quiet, --silent   do not print \`checking ...' messages
   1336       --cache-file=FILE   cache test results in FILE [disabled]
   1337   -C, --config-cache      alias for \`--cache-file=config.cache'
   1338   -n, --no-create         do not create output files
   1339       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1340 
   1341 Installation directories:
   1342   --prefix=PREFIX         install architecture-independent files in PREFIX
   1343                           [$ac_default_prefix]
   1344   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1345                           [PREFIX]
   1346 
   1347 By default, \`make install' will install all the files in
   1348 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1349 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1350 for instance \`--prefix=\$HOME'.
   1351 
   1352 For better control, use the options below.
   1353 
   1354 Fine tuning of the installation directories:
   1355   --bindir=DIR            user executables [EPREFIX/bin]
   1356   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1357   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1358   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1359   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1360   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1361   --libdir=DIR            object code libraries [EPREFIX/lib]
   1362   --includedir=DIR        C header files [PREFIX/include]
   1363   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1364   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1365   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1366   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1367   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1368   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1369   --docdir=DIR            documentation root [DATAROOTDIR/doc/bitmap]
   1370   --htmldir=DIR           html documentation [DOCDIR]
   1371   --dvidir=DIR            dvi documentation [DOCDIR]
   1372   --pdfdir=DIR            pdf documentation [DOCDIR]
   1373   --psdir=DIR             ps documentation [DOCDIR]
   1374 _ACEOF
   1375 
   1376   cat <<\_ACEOF
   1377 
   1378 Program names:
   1379   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1380   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1381   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1382 
   1383 System types:
   1384   --build=BUILD     configure for building on BUILD [guessed]
   1385   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1386 _ACEOF
   1387 fi
   1388 
   1389 if test -n "$ac_init_help"; then
   1390   case $ac_init_help in
   1391      short | recursive ) echo "Configuration of bitmap 1.0.8:";;
   1392    esac
   1393   cat <<\_ACEOF
   1394 
   1395 Optional Features:
   1396   --disable-option-checking  ignore unrecognized --enable/--with options
   1397   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1398   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1399   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1400   --disable-silent-rules  verbose build output (undo: "make V=0")
   1401   --enable-dependency-tracking
   1402                           do not reject slow dependency extractors
   1403   --disable-dependency-tracking
   1404                           speeds up one-time build
   1405   --disable-selective-werror
   1406                           Turn off selective compiler errors. (default:
   1407                           enabled)
   1408   --enable-strict-compilation
   1409                           Enable all warnings from compiler and make them
   1410                           errors (default: disabled)
   1411 
   1412 Optional Packages:
   1413   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1414   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1415   --with-appdefaultdir=<pathname>
   1416                           specify directory for app-defaults files (default is
   1417                           autodetected)
   1418 
   1419 Some influential environment variables:
   1420   CC          C compiler command
   1421   CFLAGS      C compiler flags
   1422   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1423               nonstandard directory <lib dir>
   1424   LIBS        libraries to pass to the linker, e.g. -l<library>
   1425   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1426               you have headers in a nonstandard directory <include dir>
   1427   CPP         C preprocessor
   1428   PKG_CONFIG  path to pkg-config utility
   1429   BMTOA_CFLAGS
   1430               C compiler flags for BMTOA, overriding pkg-config
   1431   BMTOA_LIBS  linker flags for BMTOA, overriding pkg-config
   1432   ATOBM_CFLAGS
   1433               C compiler flags for ATOBM, overriding pkg-config
   1434   ATOBM_LIBS  linker flags for ATOBM, overriding pkg-config
   1435   BITMAP_CFLAGS
   1436               C compiler flags for BITMAP, overriding pkg-config
   1437   BITMAP_LIBS linker flags for BITMAP, overriding pkg-config
   1438   APPDEFS_CFLAGS
   1439               C compiler flags for APPDEFS, overriding pkg-config
   1440   APPDEFS_LIBS
   1441               linker flags for APPDEFS, overriding pkg-config
   1442 
   1443 Use these variables to override the choices made by `configure' or to help
   1444 it to find libraries and programs with nonstandard names/locations.
   1445 
   1446 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1447 _ACEOF
   1448 ac_status=$?
   1449 fi
   1450 
   1451 if test "$ac_init_help" = "recursive"; then
   1452   # If there are subdirs, report their specific --help.
   1453   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1454     test -d "$ac_dir" ||
   1455       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1456       continue
   1457     ac_builddir=.
   1458 
   1459 case "$ac_dir" in
   1460 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1461 *)
   1462   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1463   # A ".." for each directory in $ac_dir_suffix.
   1464   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1465   case $ac_top_builddir_sub in
   1466   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1467   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1468   esac ;;
   1469 esac
   1470 ac_abs_top_builddir=$ac_pwd
   1471 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1472 # for backward compatibility:
   1473 ac_top_builddir=$ac_top_build_prefix
   1474 
   1475 case $srcdir in
   1476   .)  # We are building in place.
   1477     ac_srcdir=.
   1478     ac_top_srcdir=$ac_top_builddir_sub
   1479     ac_abs_top_srcdir=$ac_pwd ;;
   1480   [\\/]* | ?:[\\/]* )  # Absolute name.
   1481     ac_srcdir=$srcdir$ac_dir_suffix;
   1482     ac_top_srcdir=$srcdir
   1483     ac_abs_top_srcdir=$srcdir ;;
   1484   *) # Relative name.
   1485     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1486     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1487     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1488 esac
   1489 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1490 
   1491     cd "$ac_dir" || { ac_status=$?; continue; }
   1492     # Check for guested configure.
   1493     if test -f "$ac_srcdir/configure.gnu"; then
   1494       echo &&
   1495       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1496     elif test -f "$ac_srcdir/configure"; then
   1497       echo &&
   1498       $SHELL "$ac_srcdir/configure" --help=recursive
   1499     else
   1500       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1501     fi || ac_status=$?
   1502     cd "$ac_pwd" || { ac_status=$?; break; }
   1503   done
   1504 fi
   1505 
   1506 test -n "$ac_init_help" && exit $ac_status
   1507 if $ac_init_version; then
   1508   cat <<\_ACEOF
   1509 bitmap configure 1.0.8
   1510 generated by GNU Autoconf 2.69
   1511 
   1512 Copyright (C) 2012 Free Software Foundation, Inc.
   1513 This configure script is free software; the Free Software Foundation
   1514 gives unlimited permission to copy, distribute and modify it.
   1515 _ACEOF
   1516   exit
   1517 fi
   1518 
   1519 ## ------------------------ ##
   1520 ## Autoconf initialization. ##
   1521 ## ------------------------ ##
   1522 
   1523 # ac_fn_c_try_compile LINENO
   1524 # --------------------------
   1525 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1526 ac_fn_c_try_compile ()
   1527 {
   1528   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1529   rm -f conftest.$ac_objext
   1530   if { { ac_try="$ac_compile"
   1531 case "(($ac_try" in
   1532   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1533   *) ac_try_echo=$ac_try;;
   1534 esac
   1535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1536 $as_echo "$ac_try_echo"; } >&5
   1537   (eval "$ac_compile") 2>conftest.err
   1538   ac_status=$?
   1539   if test -s conftest.err; then
   1540     grep -v '^ *+' conftest.err >conftest.er1
   1541     cat conftest.er1 >&5
   1542     mv -f conftest.er1 conftest.err
   1543   fi
   1544   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1545   test $ac_status = 0; } && {
   1546 	 test -z "$ac_c_werror_flag" ||
   1547 	 test ! -s conftest.err
   1548        } && test -s conftest.$ac_objext; then :
   1549   ac_retval=0
   1550 else
   1551   $as_echo "$as_me: failed program was:" >&5
   1552 sed 's/^/| /' conftest.$ac_ext >&5
   1553 
   1554 	ac_retval=1
   1555 fi
   1556   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1557   as_fn_set_status $ac_retval
   1558 
   1559 } # ac_fn_c_try_compile
   1560 
   1561 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1562 # ---------------------------------------------
   1563 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1564 # accordingly.
   1565 ac_fn_c_check_decl ()
   1566 {
   1567   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1568   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1569   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1571 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1572 if eval \${$3+:} false; then :
   1573   $as_echo_n "(cached) " >&6
   1574 else
   1575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1576 /* end confdefs.h.  */
   1577 $4
   1578 int
   1579 main ()
   1580 {
   1581 #ifndef $as_decl_name
   1582 #ifdef __cplusplus
   1583   (void) $as_decl_use;
   1584 #else
   1585   (void) $as_decl_name;
   1586 #endif
   1587 #endif
   1588 
   1589   ;
   1590   return 0;
   1591 }
   1592 _ACEOF
   1593 if ac_fn_c_try_compile "$LINENO"; then :
   1594   eval "$3=yes"
   1595 else
   1596   eval "$3=no"
   1597 fi
   1598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1599 fi
   1600 eval ac_res=\$$3
   1601 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1602 $as_echo "$ac_res" >&6; }
   1603   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1604 
   1605 } # ac_fn_c_check_decl
   1606 
   1607 # ac_fn_c_try_cpp LINENO
   1608 # ----------------------
   1609 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1610 ac_fn_c_try_cpp ()
   1611 {
   1612   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1613   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1614 case "(($ac_try" in
   1615   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1616   *) ac_try_echo=$ac_try;;
   1617 esac
   1618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1619 $as_echo "$ac_try_echo"; } >&5
   1620   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1621   ac_status=$?
   1622   if test -s conftest.err; then
   1623     grep -v '^ *+' conftest.err >conftest.er1
   1624     cat conftest.er1 >&5
   1625     mv -f conftest.er1 conftest.err
   1626   fi
   1627   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1628   test $ac_status = 0; } > conftest.i && {
   1629 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1630 	 test ! -s conftest.err
   1631        }; then :
   1632   ac_retval=0
   1633 else
   1634   $as_echo "$as_me: failed program was:" >&5
   1635 sed 's/^/| /' conftest.$ac_ext >&5
   1636 
   1637     ac_retval=1
   1638 fi
   1639   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1640   as_fn_set_status $ac_retval
   1641 
   1642 } # ac_fn_c_try_cpp
   1643 
   1644 # ac_fn_c_try_run LINENO
   1645 # ----------------------
   1646 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1647 # that executables *can* be run.
   1648 ac_fn_c_try_run ()
   1649 {
   1650   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1651   if { { ac_try="$ac_link"
   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_link") 2>&5
   1659   ac_status=$?
   1660   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1661   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1662   { { case "(($ac_try" in
   1663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1664   *) ac_try_echo=$ac_try;;
   1665 esac
   1666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1667 $as_echo "$ac_try_echo"; } >&5
   1668   (eval "$ac_try") 2>&5
   1669   ac_status=$?
   1670   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1671   test $ac_status = 0; }; }; then :
   1672   ac_retval=0
   1673 else
   1674   $as_echo "$as_me: program exited with status $ac_status" >&5
   1675        $as_echo "$as_me: failed program was:" >&5
   1676 sed 's/^/| /' conftest.$ac_ext >&5
   1677 
   1678        ac_retval=$ac_status
   1679 fi
   1680   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1681   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1682   as_fn_set_status $ac_retval
   1683 
   1684 } # ac_fn_c_try_run
   1685 
   1686 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1687 # -------------------------------------------------------
   1688 # Tests whether HEADER exists and can be compiled using the include files in
   1689 # INCLUDES, setting the cache variable VAR accordingly.
   1690 ac_fn_c_check_header_compile ()
   1691 {
   1692   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1694 $as_echo_n "checking for $2... " >&6; }
   1695 if eval \${$3+:} false; then :
   1696   $as_echo_n "(cached) " >&6
   1697 else
   1698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1699 /* end confdefs.h.  */
   1700 $4
   1701 #include <$2>
   1702 _ACEOF
   1703 if ac_fn_c_try_compile "$LINENO"; then :
   1704   eval "$3=yes"
   1705 else
   1706   eval "$3=no"
   1707 fi
   1708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1709 fi
   1710 eval ac_res=\$$3
   1711 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1712 $as_echo "$ac_res" >&6; }
   1713   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1714 
   1715 } # ac_fn_c_check_header_compile
   1716 
   1717 # ac_fn_c_try_link LINENO
   1718 # -----------------------
   1719 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1720 ac_fn_c_try_link ()
   1721 {
   1722   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1723   rm -f conftest.$ac_objext conftest$ac_exeext
   1724   if { { ac_try="$ac_link"
   1725 case "(($ac_try" in
   1726   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1727   *) ac_try_echo=$ac_try;;
   1728 esac
   1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1730 $as_echo "$ac_try_echo"; } >&5
   1731   (eval "$ac_link") 2>conftest.err
   1732   ac_status=$?
   1733   if test -s conftest.err; then
   1734     grep -v '^ *+' conftest.err >conftest.er1
   1735     cat conftest.er1 >&5
   1736     mv -f conftest.er1 conftest.err
   1737   fi
   1738   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1739   test $ac_status = 0; } && {
   1740 	 test -z "$ac_c_werror_flag" ||
   1741 	 test ! -s conftest.err
   1742        } && test -s conftest$ac_exeext && {
   1743 	 test "$cross_compiling" = yes ||
   1744 	 test -x conftest$ac_exeext
   1745        }; then :
   1746   ac_retval=0
   1747 else
   1748   $as_echo "$as_me: failed program was:" >&5
   1749 sed 's/^/| /' conftest.$ac_ext >&5
   1750 
   1751 	ac_retval=1
   1752 fi
   1753   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1754   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1755   # interfere with the next link command; also delete a directory that is
   1756   # left behind by Apple's compiler.  We do this before executing the actions.
   1757   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1758   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1759   as_fn_set_status $ac_retval
   1760 
   1761 } # ac_fn_c_try_link
   1762 
   1763 # ac_fn_c_check_func LINENO FUNC VAR
   1764 # ----------------------------------
   1765 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1766 ac_fn_c_check_func ()
   1767 {
   1768   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1769   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1770 $as_echo_n "checking for $2... " >&6; }
   1771 if eval \${$3+:} false; then :
   1772   $as_echo_n "(cached) " >&6
   1773 else
   1774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1775 /* end confdefs.h.  */
   1776 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1777    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1778 #define $2 innocuous_$2
   1779 
   1780 /* System header to define __stub macros and hopefully few prototypes,
   1781     which can conflict with char $2 (); below.
   1782     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1783     <limits.h> exists even on freestanding compilers.  */
   1784 
   1785 #ifdef __STDC__
   1786 # include <limits.h>
   1787 #else
   1788 # include <assert.h>
   1789 #endif
   1790 
   1791 #undef $2
   1792 
   1793 /* Override any GCC internal prototype to avoid an error.
   1794    Use char because int might match the return type of a GCC
   1795    builtin and then its argument prototype would still apply.  */
   1796 #ifdef __cplusplus
   1797 extern "C"
   1798 #endif
   1799 char $2 ();
   1800 /* The GNU C library defines this for functions which it implements
   1801     to always fail with ENOSYS.  Some functions are actually named
   1802     something starting with __ and the normal name is an alias.  */
   1803 #if defined __stub_$2 || defined __stub___$2
   1804 choke me
   1805 #endif
   1806 
   1807 int
   1808 main ()
   1809 {
   1810 return $2 ();
   1811   ;
   1812   return 0;
   1813 }
   1814 _ACEOF
   1815 if ac_fn_c_try_link "$LINENO"; then :
   1816   eval "$3=yes"
   1817 else
   1818   eval "$3=no"
   1819 fi
   1820 rm -f core conftest.err conftest.$ac_objext \
   1821     conftest$ac_exeext conftest.$ac_ext
   1822 fi
   1823 eval ac_res=\$$3
   1824 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1825 $as_echo "$ac_res" >&6; }
   1826   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1827 
   1828 } # ac_fn_c_check_func
   1829 cat >config.log <<_ACEOF
   1830 This file contains any messages produced by compilers while
   1831 running configure, to aid debugging if configure makes a mistake.
   1832 
   1833 It was created by bitmap $as_me 1.0.8, which was
   1834 generated by GNU Autoconf 2.69.  Invocation command line was
   1835 
   1836   $ $0 $@
   1837 
   1838 _ACEOF
   1839 exec 5>>config.log
   1840 {
   1841 cat <<_ASUNAME
   1842 ## --------- ##
   1843 ## Platform. ##
   1844 ## --------- ##
   1845 
   1846 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1847 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1848 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1849 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1850 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1851 
   1852 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1853 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1854 
   1855 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1856 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1857 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1858 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1859 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1860 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1861 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1862 
   1863 _ASUNAME
   1864 
   1865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1866 for as_dir in $PATH
   1867 do
   1868   IFS=$as_save_IFS
   1869   test -z "$as_dir" && as_dir=.
   1870     $as_echo "PATH: $as_dir"
   1871   done
   1872 IFS=$as_save_IFS
   1873 
   1874 } >&5
   1875 
   1876 cat >&5 <<_ACEOF
   1877 
   1878 
   1879 ## ----------- ##
   1880 ## Core tests. ##
   1881 ## ----------- ##
   1882 
   1883 _ACEOF
   1884 
   1885 
   1886 # Keep a trace of the command line.
   1887 # Strip out --no-create and --no-recursion so they do not pile up.
   1888 # Strip out --silent because we don't want to record it for future runs.
   1889 # Also quote any args containing shell meta-characters.
   1890 # Make two passes to allow for proper duplicate-argument suppression.
   1891 ac_configure_args=
   1892 ac_configure_args0=
   1893 ac_configure_args1=
   1894 ac_must_keep_next=false
   1895 for ac_pass in 1 2
   1896 do
   1897   for ac_arg
   1898   do
   1899     case $ac_arg in
   1900     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1901     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1902     | -silent | --silent | --silen | --sile | --sil)
   1903       continue ;;
   1904     *\'*)
   1905       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1906     esac
   1907     case $ac_pass in
   1908     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1909     2)
   1910       as_fn_append ac_configure_args1 " '$ac_arg'"
   1911       if test $ac_must_keep_next = true; then
   1912 	ac_must_keep_next=false # Got value, back to normal.
   1913       else
   1914 	case $ac_arg in
   1915 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1916 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1917 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1918 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1919 	    case "$ac_configure_args0 " in
   1920 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1921 	    esac
   1922 	    ;;
   1923 	  -* ) ac_must_keep_next=true ;;
   1924 	esac
   1925       fi
   1926       as_fn_append ac_configure_args " '$ac_arg'"
   1927       ;;
   1928     esac
   1929   done
   1930 done
   1931 { ac_configure_args0=; unset ac_configure_args0;}
   1932 { ac_configure_args1=; unset ac_configure_args1;}
   1933 
   1934 # When interrupted or exit'd, cleanup temporary files, and complete
   1935 # config.log.  We remove comments because anyway the quotes in there
   1936 # would cause problems or look ugly.
   1937 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1938 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1939 trap 'exit_status=$?
   1940   # Save into config.log some information that might help in debugging.
   1941   {
   1942     echo
   1943 
   1944     $as_echo "## ---------------- ##
   1945 ## Cache variables. ##
   1946 ## ---------------- ##"
   1947     echo
   1948     # The following way of writing the cache mishandles newlines in values,
   1949 (
   1950   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1951     eval ac_val=\$$ac_var
   1952     case $ac_val in #(
   1953     *${as_nl}*)
   1954       case $ac_var in #(
   1955       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1956 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1957       esac
   1958       case $ac_var in #(
   1959       _ | IFS | as_nl) ;; #(
   1960       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1961       *) { eval $ac_var=; unset $ac_var;} ;;
   1962       esac ;;
   1963     esac
   1964   done
   1965   (set) 2>&1 |
   1966     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1967     *${as_nl}ac_space=\ *)
   1968       sed -n \
   1969 	"s/'\''/'\''\\\\'\'''\''/g;
   1970 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1971       ;; #(
   1972     *)
   1973       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1974       ;;
   1975     esac |
   1976     sort
   1977 )
   1978     echo
   1979 
   1980     $as_echo "## ----------------- ##
   1981 ## Output variables. ##
   1982 ## ----------------- ##"
   1983     echo
   1984     for ac_var in $ac_subst_vars
   1985     do
   1986       eval ac_val=\$$ac_var
   1987       case $ac_val in
   1988       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1989       esac
   1990       $as_echo "$ac_var='\''$ac_val'\''"
   1991     done | sort
   1992     echo
   1993 
   1994     if test -n "$ac_subst_files"; then
   1995       $as_echo "## ------------------- ##
   1996 ## File substitutions. ##
   1997 ## ------------------- ##"
   1998       echo
   1999       for ac_var in $ac_subst_files
   2000       do
   2001 	eval ac_val=\$$ac_var
   2002 	case $ac_val in
   2003 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2004 	esac
   2005 	$as_echo "$ac_var='\''$ac_val'\''"
   2006       done | sort
   2007       echo
   2008     fi
   2009 
   2010     if test -s confdefs.h; then
   2011       $as_echo "## ----------- ##
   2012 ## confdefs.h. ##
   2013 ## ----------- ##"
   2014       echo
   2015       cat confdefs.h
   2016       echo
   2017     fi
   2018     test "$ac_signal" != 0 &&
   2019       $as_echo "$as_me: caught signal $ac_signal"
   2020     $as_echo "$as_me: exit $exit_status"
   2021   } >&5
   2022   rm -f core *.core core.conftest.* &&
   2023     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2024     exit $exit_status
   2025 ' 0
   2026 for ac_signal in 1 2 13 15; do
   2027   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2028 done
   2029 ac_signal=0
   2030 
   2031 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2032 rm -f -r conftest* confdefs.h
   2033 
   2034 $as_echo "/* confdefs.h */" > confdefs.h
   2035 
   2036 # Predefined preprocessor variables.
   2037 
   2038 cat >>confdefs.h <<_ACEOF
   2039 #define PACKAGE_NAME "$PACKAGE_NAME"
   2040 _ACEOF
   2041 
   2042 cat >>confdefs.h <<_ACEOF
   2043 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2044 _ACEOF
   2045 
   2046 cat >>confdefs.h <<_ACEOF
   2047 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2048 _ACEOF
   2049 
   2050 cat >>confdefs.h <<_ACEOF
   2051 #define PACKAGE_STRING "$PACKAGE_STRING"
   2052 _ACEOF
   2053 
   2054 cat >>confdefs.h <<_ACEOF
   2055 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2056 _ACEOF
   2057 
   2058 cat >>confdefs.h <<_ACEOF
   2059 #define PACKAGE_URL "$PACKAGE_URL"
   2060 _ACEOF
   2061 
   2062 
   2063 # Let the site file select an alternate cache file if it wants to.
   2064 # Prefer an explicitly selected file to automatically selected ones.
   2065 ac_site_file1=NONE
   2066 ac_site_file2=NONE
   2067 if test -n "$CONFIG_SITE"; then
   2068   # We do not want a PATH search for config.site.
   2069   case $CONFIG_SITE in #((
   2070     -*)  ac_site_file1=./$CONFIG_SITE;;
   2071     */*) ac_site_file1=$CONFIG_SITE;;
   2072     *)   ac_site_file1=./$CONFIG_SITE;;
   2073   esac
   2074 elif test "x$prefix" != xNONE; then
   2075   ac_site_file1=$prefix/share/config.site
   2076   ac_site_file2=$prefix/etc/config.site
   2077 else
   2078   ac_site_file1=$ac_default_prefix/share/config.site
   2079   ac_site_file2=$ac_default_prefix/etc/config.site
   2080 fi
   2081 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2082 do
   2083   test "x$ac_site_file" = xNONE && continue
   2084   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2085     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2086 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2087     sed 's/^/| /' "$ac_site_file" >&5
   2088     . "$ac_site_file" \
   2089       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2090 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2091 as_fn_error $? "failed to load site script $ac_site_file
   2092 See \`config.log' for more details" "$LINENO" 5; }
   2093   fi
   2094 done
   2095 
   2096 if test -r "$cache_file"; then
   2097   # Some versions of bash will fail to source /dev/null (special files
   2098   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2099   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2100     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2101 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2102     case $cache_file in
   2103       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2104       *)                      . "./$cache_file";;
   2105     esac
   2106   fi
   2107 else
   2108   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2109 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2110   >$cache_file
   2111 fi
   2112 
   2113 # Check that the precious variables saved in the cache have kept the same
   2114 # value.
   2115 ac_cache_corrupted=false
   2116 for ac_var in $ac_precious_vars; do
   2117   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2118   eval ac_new_set=\$ac_env_${ac_var}_set
   2119   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2120   eval ac_new_val=\$ac_env_${ac_var}_value
   2121   case $ac_old_set,$ac_new_set in
   2122     set,)
   2123       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2124 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2125       ac_cache_corrupted=: ;;
   2126     ,set)
   2127       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2128 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2129       ac_cache_corrupted=: ;;
   2130     ,);;
   2131     *)
   2132       if test "x$ac_old_val" != "x$ac_new_val"; then
   2133 	# differences in whitespace do not lead to failure.
   2134 	ac_old_val_w=`echo x $ac_old_val`
   2135 	ac_new_val_w=`echo x $ac_new_val`
   2136 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2137 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2138 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2139 	  ac_cache_corrupted=:
   2140 	else
   2141 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2142 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2143 	  eval $ac_var=\$ac_old_val
   2144 	fi
   2145 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2146 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2147 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2148 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2149       fi;;
   2150   esac
   2151   # Pass precious variables to config.status.
   2152   if test "$ac_new_set" = set; then
   2153     case $ac_new_val in
   2154     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2155     *) ac_arg=$ac_var=$ac_new_val ;;
   2156     esac
   2157     case " $ac_configure_args " in
   2158       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2159       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2160     esac
   2161   fi
   2162 done
   2163 if $ac_cache_corrupted; then
   2164   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2166   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2167 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2168   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2169 fi
   2170 ## -------------------- ##
   2171 ## Main body of script. ##
   2172 ## -------------------- ##
   2173 
   2174 ac_ext=c
   2175 ac_cpp='$CPP $CPPFLAGS'
   2176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2179 
   2180 
   2181 
   2182 ac_config_headers="$ac_config_headers config.h"
   2183 
   2184 
   2185 # Initialize Automake
   2186 am__api_version='1.15'
   2187 
   2188 ac_aux_dir=
   2189 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2190   if test -f "$ac_dir/install-sh"; then
   2191     ac_aux_dir=$ac_dir
   2192     ac_install_sh="$ac_aux_dir/install-sh -c"
   2193     break
   2194   elif test -f "$ac_dir/install.sh"; then
   2195     ac_aux_dir=$ac_dir
   2196     ac_install_sh="$ac_aux_dir/install.sh -c"
   2197     break
   2198   elif test -f "$ac_dir/shtool"; then
   2199     ac_aux_dir=$ac_dir
   2200     ac_install_sh="$ac_aux_dir/shtool install -c"
   2201     break
   2202   fi
   2203 done
   2204 if test -z "$ac_aux_dir"; then
   2205   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2206 fi
   2207 
   2208 # These three variables are undocumented and unsupported,
   2209 # and are intended to be withdrawn in a future Autoconf release.
   2210 # They can cause serious problems if a builder's source tree is in a directory
   2211 # whose full name contains unusual characters.
   2212 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2213 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2214 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2215 
   2216 
   2217 # Find a good install program.  We prefer a C program (faster),
   2218 # so one script is as good as another.  But avoid the broken or
   2219 # incompatible versions:
   2220 # SysV /etc/install, /usr/sbin/install
   2221 # SunOS /usr/etc/install
   2222 # IRIX /sbin/install
   2223 # AIX /bin/install
   2224 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2225 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2226 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2227 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2228 # OS/2's system install, which has a completely different semantic
   2229 # ./install, which can be erroneously created by make from ./install.sh.
   2230 # Reject install programs that cannot install multiple files.
   2231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2232 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2233 if test -z "$INSTALL"; then
   2234 if ${ac_cv_path_install+:} false; then :
   2235   $as_echo_n "(cached) " >&6
   2236 else
   2237   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2238 for as_dir in $PATH
   2239 do
   2240   IFS=$as_save_IFS
   2241   test -z "$as_dir" && as_dir=.
   2242     # Account for people who put trailing slashes in PATH elements.
   2243 case $as_dir/ in #((
   2244   ./ | .// | /[cC]/* | \
   2245   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2246   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2247   /usr/ucb/* ) ;;
   2248   *)
   2249     # OSF1 and SCO ODT 3.0 have their own names for install.
   2250     # Don't use installbsd from OSF since it installs stuff as root
   2251     # by default.
   2252     for ac_prog in ginstall scoinst install; do
   2253       for ac_exec_ext in '' $ac_executable_extensions; do
   2254 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2255 	  if test $ac_prog = install &&
   2256 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2257 	    # AIX install.  It has an incompatible calling convention.
   2258 	    :
   2259 	  elif test $ac_prog = install &&
   2260 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2261 	    # program-specific install script used by HP pwplus--don't use.
   2262 	    :
   2263 	  else
   2264 	    rm -rf conftest.one conftest.two conftest.dir
   2265 	    echo one > conftest.one
   2266 	    echo two > conftest.two
   2267 	    mkdir conftest.dir
   2268 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2269 	      test -s conftest.one && test -s conftest.two &&
   2270 	      test -s conftest.dir/conftest.one &&
   2271 	      test -s conftest.dir/conftest.two
   2272 	    then
   2273 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2274 	      break 3
   2275 	    fi
   2276 	  fi
   2277 	fi
   2278       done
   2279     done
   2280     ;;
   2281 esac
   2282 
   2283   done
   2284 IFS=$as_save_IFS
   2285 
   2286 rm -rf conftest.one conftest.two conftest.dir
   2287 
   2288 fi
   2289   if test "${ac_cv_path_install+set}" = set; then
   2290     INSTALL=$ac_cv_path_install
   2291   else
   2292     # As a last resort, use the slow shell script.  Don't cache a
   2293     # value for INSTALL within a source directory, because that will
   2294     # break other packages using the cache if that directory is
   2295     # removed, or if the value is a relative name.
   2296     INSTALL=$ac_install_sh
   2297   fi
   2298 fi
   2299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2300 $as_echo "$INSTALL" >&6; }
   2301 
   2302 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2303 # It thinks the first close brace ends the variable substitution.
   2304 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2305 
   2306 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2307 
   2308 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2309 
   2310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2311 $as_echo_n "checking whether build environment is sane... " >&6; }
   2312 # Reject unsafe characters in $srcdir or the absolute working directory
   2313 # name.  Accept space and tab only in the latter.
   2314 am_lf='
   2315 '
   2316 case `pwd` in
   2317   *[\\\"\#\$\&\'\`$am_lf]*)
   2318     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2319 esac
   2320 case $srcdir in
   2321   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2322     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2323 esac
   2324 
   2325 # Do 'set' in a subshell so we don't clobber the current shell's
   2326 # arguments.  Must try -L first in case configure is actually a
   2327 # symlink; some systems play weird games with the mod time of symlinks
   2328 # (eg FreeBSD returns the mod time of the symlink's containing
   2329 # directory).
   2330 if (
   2331    am_has_slept=no
   2332    for am_try in 1 2; do
   2333      echo "timestamp, slept: $am_has_slept" > conftest.file
   2334      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2335      if test "$*" = "X"; then
   2336 	# -L didn't work.
   2337 	set X `ls -t "$srcdir/configure" conftest.file`
   2338      fi
   2339      if test "$*" != "X $srcdir/configure conftest.file" \
   2340 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2341 
   2342 	# If neither matched, then we have a broken ls.  This can happen
   2343 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2344 	# broken ls alias from the environment.  This has actually
   2345 	# happened.  Such a system could not be considered "sane".
   2346 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2347   alias in your environment" "$LINENO" 5
   2348      fi
   2349      if test "$2" = conftest.file || test $am_try -eq 2; then
   2350        break
   2351      fi
   2352      # Just in case.
   2353      sleep 1
   2354      am_has_slept=yes
   2355    done
   2356    test "$2" = conftest.file
   2357    )
   2358 then
   2359    # Ok.
   2360    :
   2361 else
   2362    as_fn_error $? "newly created file is older than distributed files!
   2363 Check your system clock" "$LINENO" 5
   2364 fi
   2365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2366 $as_echo "yes" >&6; }
   2367 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2368 # generated files are strictly newer.
   2369 am_sleep_pid=
   2370 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2371   ( sleep 1 ) &
   2372   am_sleep_pid=$!
   2373 fi
   2374 
   2375 rm -f conftest.file
   2376 
   2377 test "$program_prefix" != NONE &&
   2378   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2379 # Use a double $ so make ignores it.
   2380 test "$program_suffix" != NONE &&
   2381   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2382 # Double any \ or $.
   2383 # By default was `s,x,x', remove it if useless.
   2384 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2385 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2386 
   2387 # Expand $ac_aux_dir to an absolute path.
   2388 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2389 
   2390 if test x"${MISSING+set}" != xset; then
   2391   case $am_aux_dir in
   2392   *\ * | *\	*)
   2393     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2394   *)
   2395     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2396   esac
   2397 fi
   2398 # Use eval to expand $SHELL
   2399 if eval "$MISSING --is-lightweight"; then
   2400   am_missing_run="$MISSING "
   2401 else
   2402   am_missing_run=
   2403   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2404 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2405 fi
   2406 
   2407 if test x"${install_sh+set}" != xset; then
   2408   case $am_aux_dir in
   2409   *\ * | *\	*)
   2410     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2411   *)
   2412     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2413   esac
   2414 fi
   2415 
   2416 # Installed binaries are usually stripped using 'strip' when the user
   2417 # run "make install-strip".  However 'strip' might not be the right
   2418 # tool to use in cross-compilation environments, therefore Automake
   2419 # will honor the 'STRIP' environment variable to overrule this program.
   2420 if test "$cross_compiling" != no; then
   2421   if test -n "$ac_tool_prefix"; then
   2422   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2423 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2425 $as_echo_n "checking for $ac_word... " >&6; }
   2426 if ${ac_cv_prog_STRIP+:} false; then :
   2427   $as_echo_n "(cached) " >&6
   2428 else
   2429   if test -n "$STRIP"; then
   2430   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2431 else
   2432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2433 for as_dir in $PATH
   2434 do
   2435   IFS=$as_save_IFS
   2436   test -z "$as_dir" && as_dir=.
   2437     for ac_exec_ext in '' $ac_executable_extensions; do
   2438   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2439     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2440     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2441     break 2
   2442   fi
   2443 done
   2444   done
   2445 IFS=$as_save_IFS
   2446 
   2447 fi
   2448 fi
   2449 STRIP=$ac_cv_prog_STRIP
   2450 if test -n "$STRIP"; then
   2451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2452 $as_echo "$STRIP" >&6; }
   2453 else
   2454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2455 $as_echo "no" >&6; }
   2456 fi
   2457 
   2458 
   2459 fi
   2460 if test -z "$ac_cv_prog_STRIP"; then
   2461   ac_ct_STRIP=$STRIP
   2462   # Extract the first word of "strip", so it can be a program name with args.
   2463 set dummy strip; ac_word=$2
   2464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2465 $as_echo_n "checking for $ac_word... " >&6; }
   2466 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2467   $as_echo_n "(cached) " >&6
   2468 else
   2469   if test -n "$ac_ct_STRIP"; then
   2470   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2471 else
   2472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2473 for as_dir in $PATH
   2474 do
   2475   IFS=$as_save_IFS
   2476   test -z "$as_dir" && as_dir=.
   2477     for ac_exec_ext in '' $ac_executable_extensions; do
   2478   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2479     ac_cv_prog_ac_ct_STRIP="strip"
   2480     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2481     break 2
   2482   fi
   2483 done
   2484   done
   2485 IFS=$as_save_IFS
   2486 
   2487 fi
   2488 fi
   2489 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2490 if test -n "$ac_ct_STRIP"; then
   2491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2492 $as_echo "$ac_ct_STRIP" >&6; }
   2493 else
   2494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2495 $as_echo "no" >&6; }
   2496 fi
   2497 
   2498   if test "x$ac_ct_STRIP" = x; then
   2499     STRIP=":"
   2500   else
   2501     case $cross_compiling:$ac_tool_warned in
   2502 yes:)
   2503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2504 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2505 ac_tool_warned=yes ;;
   2506 esac
   2507     STRIP=$ac_ct_STRIP
   2508   fi
   2509 else
   2510   STRIP="$ac_cv_prog_STRIP"
   2511 fi
   2512 
   2513 fi
   2514 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2515 
   2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2517 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2518 if test -z "$MKDIR_P"; then
   2519   if ${ac_cv_path_mkdir+:} false; then :
   2520   $as_echo_n "(cached) " >&6
   2521 else
   2522   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2523 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2524 do
   2525   IFS=$as_save_IFS
   2526   test -z "$as_dir" && as_dir=.
   2527     for ac_prog in mkdir gmkdir; do
   2528 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2529 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2530 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2531 	     'mkdir (GNU coreutils) '* | \
   2532 	     'mkdir (coreutils) '* | \
   2533 	     'mkdir (fileutils) '4.1*)
   2534 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2535 	       break 3;;
   2536 	   esac
   2537 	 done
   2538        done
   2539   done
   2540 IFS=$as_save_IFS
   2541 
   2542 fi
   2543 
   2544   test -d ./--version && rmdir ./--version
   2545   if test "${ac_cv_path_mkdir+set}" = set; then
   2546     MKDIR_P="$ac_cv_path_mkdir -p"
   2547   else
   2548     # As a last resort, use the slow shell script.  Don't cache a
   2549     # value for MKDIR_P within a source directory, because that will
   2550     # break other packages using the cache if that directory is
   2551     # removed, or if the value is a relative name.
   2552     MKDIR_P="$ac_install_sh -d"
   2553   fi
   2554 fi
   2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2556 $as_echo "$MKDIR_P" >&6; }
   2557 
   2558 for ac_prog in gawk mawk nawk awk
   2559 do
   2560   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2561 set dummy $ac_prog; ac_word=$2
   2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2563 $as_echo_n "checking for $ac_word... " >&6; }
   2564 if ${ac_cv_prog_AWK+:} false; then :
   2565   $as_echo_n "(cached) " >&6
   2566 else
   2567   if test -n "$AWK"; then
   2568   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2569 else
   2570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2571 for as_dir in $PATH
   2572 do
   2573   IFS=$as_save_IFS
   2574   test -z "$as_dir" && as_dir=.
   2575     for ac_exec_ext in '' $ac_executable_extensions; do
   2576   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2577     ac_cv_prog_AWK="$ac_prog"
   2578     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2579     break 2
   2580   fi
   2581 done
   2582   done
   2583 IFS=$as_save_IFS
   2584 
   2585 fi
   2586 fi
   2587 AWK=$ac_cv_prog_AWK
   2588 if test -n "$AWK"; then
   2589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2590 $as_echo "$AWK" >&6; }
   2591 else
   2592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2593 $as_echo "no" >&6; }
   2594 fi
   2595 
   2596 
   2597   test -n "$AWK" && break
   2598 done
   2599 
   2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2601 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2602 set x ${MAKE-make}
   2603 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2604 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2605   $as_echo_n "(cached) " >&6
   2606 else
   2607   cat >conftest.make <<\_ACEOF
   2608 SHELL = /bin/sh
   2609 all:
   2610 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2611 _ACEOF
   2612 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2613 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2614   *@@@%%%=?*=@@@%%%*)
   2615     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2616   *)
   2617     eval ac_cv_prog_make_${ac_make}_set=no;;
   2618 esac
   2619 rm -f conftest.make
   2620 fi
   2621 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2623 $as_echo "yes" >&6; }
   2624   SET_MAKE=
   2625 else
   2626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2627 $as_echo "no" >&6; }
   2628   SET_MAKE="MAKE=${MAKE-make}"
   2629 fi
   2630 
   2631 rm -rf .tst 2>/dev/null
   2632 mkdir .tst 2>/dev/null
   2633 if test -d .tst; then
   2634   am__leading_dot=.
   2635 else
   2636   am__leading_dot=_
   2637 fi
   2638 rmdir .tst 2>/dev/null
   2639 
   2640 # Check whether --enable-silent-rules was given.
   2641 if test "${enable_silent_rules+set}" = set; then :
   2642   enableval=$enable_silent_rules;
   2643 fi
   2644 
   2645 case $enable_silent_rules in # (((
   2646   yes) AM_DEFAULT_VERBOSITY=0;;
   2647    no) AM_DEFAULT_VERBOSITY=1;;
   2648     *) AM_DEFAULT_VERBOSITY=1;;
   2649 esac
   2650 am_make=${MAKE-make}
   2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2652 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2653 if ${am_cv_make_support_nested_variables+:} false; then :
   2654   $as_echo_n "(cached) " >&6
   2655 else
   2656   if $as_echo 'TRUE=$(BAR$(V))
   2657 BAR0=false
   2658 BAR1=true
   2659 V=1
   2660 am__doit:
   2661 	@$(TRUE)
   2662 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2663   am_cv_make_support_nested_variables=yes
   2664 else
   2665   am_cv_make_support_nested_variables=no
   2666 fi
   2667 fi
   2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2669 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2670 if test $am_cv_make_support_nested_variables = yes; then
   2671     AM_V='$(V)'
   2672   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2673 else
   2674   AM_V=$AM_DEFAULT_VERBOSITY
   2675   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2676 fi
   2677 AM_BACKSLASH='\'
   2678 
   2679 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2680   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2681   # is not polluted with repeated "-I."
   2682   am__isrc=' -I$(srcdir)'
   2683   # test to see if srcdir already configured
   2684   if test -f $srcdir/config.status; then
   2685     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2686   fi
   2687 fi
   2688 
   2689 # test whether we have cygpath
   2690 if test -z "$CYGPATH_W"; then
   2691   if (cygpath --version) >/dev/null 2>/dev/null; then
   2692     CYGPATH_W='cygpath -w'
   2693   else
   2694     CYGPATH_W=echo
   2695   fi
   2696 fi
   2697 
   2698 
   2699 # Define the identity of the package.
   2700  PACKAGE='bitmap'
   2701  VERSION='1.0.8'
   2702 
   2703 
   2704 cat >>confdefs.h <<_ACEOF
   2705 #define PACKAGE "$PACKAGE"
   2706 _ACEOF
   2707 
   2708 
   2709 cat >>confdefs.h <<_ACEOF
   2710 #define VERSION "$VERSION"
   2711 _ACEOF
   2712 
   2713 # Some tools Automake needs.
   2714 
   2715 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2716 
   2717 
   2718 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2719 
   2720 
   2721 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2722 
   2723 
   2724 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2725 
   2726 
   2727 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2728 
   2729 # For better backward compatibility.  To be removed once Automake 1.9.x
   2730 # dies out for good.  For more background, see:
   2731 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2732 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2733 mkdir_p='$(MKDIR_P)'
   2734 
   2735 # We need awk for the "check" target (and possibly the TAP driver).  The
   2736 # system "awk" is bad on some platforms.
   2737 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2738 # in the wild :-(  We should find a proper way to deprecate it ...
   2739 AMTAR='$${TAR-tar}'
   2740 
   2741 
   2742 # We'll loop over all known methods to create a tar archive until one works.
   2743 _am_tools='gnutar  pax cpio none'
   2744 
   2745 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2746 
   2747 
   2748 
   2749 
   2750 
   2751 
   2752 # POSIX will say in a future version that running "rm -f" with no argument
   2753 # is OK; and we want to be able to make that assumption in our Makefile
   2754 # recipes.  So use an aggressive probe to check that the usage we want is
   2755 # actually supported "in the wild" to an acceptable degree.
   2756 # See automake bug#10828.
   2757 # To make any issue more visible, cause the running configure to be aborted
   2758 # by default if the 'rm' program in use doesn't match our expectations; the
   2759 # user can still override this though.
   2760 if rm -f && rm -fr && rm -rf; then : OK; else
   2761   cat >&2 <<'END'
   2762 Oops!
   2763 
   2764 Your 'rm' program seems unable to run without file operands specified
   2765 on the command line, even when the '-f' option is present.  This is contrary
   2766 to the behaviour of most rm programs out there, and not conforming with
   2767 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2768 
   2769 Please tell bug-automake@gnu.org about your system, including the value
   2770 of your $PATH and any error possibly output before this message.  This
   2771 can help us improve future automake versions.
   2772 
   2773 END
   2774   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2775     echo 'Configuration will proceed anyway, since you have set the' >&2
   2776     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2777     echo >&2
   2778   else
   2779     cat >&2 <<'END'
   2780 Aborting the configuration process, to ensure you take notice of the issue.
   2781 
   2782 You can download and install GNU coreutils to get an 'rm' implementation
   2783 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2784 
   2785 If you want to complete the configuration process using your problematic
   2786 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2787 to "yes", and re-run configure.
   2788 
   2789 END
   2790     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2791   fi
   2792 fi
   2793 
   2794 
   2795 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2796 
   2797 
   2798 
   2799 
   2800 
   2801 
   2802 
   2803 
   2804 
   2805 
   2806 
   2807 DEPDIR="${am__leading_dot}deps"
   2808 
   2809 ac_config_commands="$ac_config_commands depfiles"
   2810 
   2811 
   2812 am_make=${MAKE-make}
   2813 cat > confinc << 'END'
   2814 am__doit:
   2815 	@echo this is the am__doit target
   2816 .PHONY: am__doit
   2817 END
   2818 # If we don't find an include directive, just comment out the code.
   2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2820 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2821 am__include="#"
   2822 am__quote=
   2823 _am_result=none
   2824 # First try GNU make style include.
   2825 echo "include confinc" > confmf
   2826 # Ignore all kinds of additional output from 'make'.
   2827 case `$am_make -s -f confmf 2> /dev/null` in #(
   2828 *the\ am__doit\ target*)
   2829   am__include=include
   2830   am__quote=
   2831   _am_result=GNU
   2832   ;;
   2833 esac
   2834 # Now try BSD make style include.
   2835 if test "$am__include" = "#"; then
   2836    echo '.include "confinc"' > confmf
   2837    case `$am_make -s -f confmf 2> /dev/null` in #(
   2838    *the\ am__doit\ target*)
   2839      am__include=.include
   2840      am__quote="\""
   2841      _am_result=BSD
   2842      ;;
   2843    esac
   2844 fi
   2845 
   2846 
   2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2848 $as_echo "$_am_result" >&6; }
   2849 rm -f confinc confmf
   2850 
   2851 # Check whether --enable-dependency-tracking was given.
   2852 if test "${enable_dependency_tracking+set}" = set; then :
   2853   enableval=$enable_dependency_tracking;
   2854 fi
   2855 
   2856 if test "x$enable_dependency_tracking" != xno; then
   2857   am_depcomp="$ac_aux_dir/depcomp"
   2858   AMDEPBACKSLASH='\'
   2859   am__nodep='_no'
   2860 fi
   2861  if test "x$enable_dependency_tracking" != xno; then
   2862   AMDEP_TRUE=
   2863   AMDEP_FALSE='#'
   2864 else
   2865   AMDEP_TRUE='#'
   2866   AMDEP_FALSE=
   2867 fi
   2868 
   2869 
   2870 ac_ext=c
   2871 ac_cpp='$CPP $CPPFLAGS'
   2872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2875 if test -n "$ac_tool_prefix"; then
   2876   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2877 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2879 $as_echo_n "checking for $ac_word... " >&6; }
   2880 if ${ac_cv_prog_CC+:} false; then :
   2881   $as_echo_n "(cached) " >&6
   2882 else
   2883   if test -n "$CC"; then
   2884   ac_cv_prog_CC="$CC" # Let the user override the test.
   2885 else
   2886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2887 for as_dir in $PATH
   2888 do
   2889   IFS=$as_save_IFS
   2890   test -z "$as_dir" && as_dir=.
   2891     for ac_exec_ext in '' $ac_executable_extensions; do
   2892   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2893     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2894     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2895     break 2
   2896   fi
   2897 done
   2898   done
   2899 IFS=$as_save_IFS
   2900 
   2901 fi
   2902 fi
   2903 CC=$ac_cv_prog_CC
   2904 if test -n "$CC"; then
   2905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2906 $as_echo "$CC" >&6; }
   2907 else
   2908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2909 $as_echo "no" >&6; }
   2910 fi
   2911 
   2912 
   2913 fi
   2914 if test -z "$ac_cv_prog_CC"; then
   2915   ac_ct_CC=$CC
   2916   # Extract the first word of "gcc", so it can be a program name with args.
   2917 set dummy gcc; ac_word=$2
   2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2919 $as_echo_n "checking for $ac_word... " >&6; }
   2920 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2921   $as_echo_n "(cached) " >&6
   2922 else
   2923   if test -n "$ac_ct_CC"; then
   2924   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2925 else
   2926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2927 for as_dir in $PATH
   2928 do
   2929   IFS=$as_save_IFS
   2930   test -z "$as_dir" && as_dir=.
   2931     for ac_exec_ext in '' $ac_executable_extensions; do
   2932   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2933     ac_cv_prog_ac_ct_CC="gcc"
   2934     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2935     break 2
   2936   fi
   2937 done
   2938   done
   2939 IFS=$as_save_IFS
   2940 
   2941 fi
   2942 fi
   2943 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2944 if test -n "$ac_ct_CC"; then
   2945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2946 $as_echo "$ac_ct_CC" >&6; }
   2947 else
   2948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2949 $as_echo "no" >&6; }
   2950 fi
   2951 
   2952   if test "x$ac_ct_CC" = x; then
   2953     CC=""
   2954   else
   2955     case $cross_compiling:$ac_tool_warned in
   2956 yes:)
   2957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2959 ac_tool_warned=yes ;;
   2960 esac
   2961     CC=$ac_ct_CC
   2962   fi
   2963 else
   2964   CC="$ac_cv_prog_CC"
   2965 fi
   2966 
   2967 if test -z "$CC"; then
   2968           if test -n "$ac_tool_prefix"; then
   2969     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2970 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2972 $as_echo_n "checking for $ac_word... " >&6; }
   2973 if ${ac_cv_prog_CC+:} false; then :
   2974   $as_echo_n "(cached) " >&6
   2975 else
   2976   if test -n "$CC"; then
   2977   ac_cv_prog_CC="$CC" # Let the user override the test.
   2978 else
   2979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2980 for as_dir in $PATH
   2981 do
   2982   IFS=$as_save_IFS
   2983   test -z "$as_dir" && as_dir=.
   2984     for ac_exec_ext in '' $ac_executable_extensions; do
   2985   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2986     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2987     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2988     break 2
   2989   fi
   2990 done
   2991   done
   2992 IFS=$as_save_IFS
   2993 
   2994 fi
   2995 fi
   2996 CC=$ac_cv_prog_CC
   2997 if test -n "$CC"; then
   2998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2999 $as_echo "$CC" >&6; }
   3000 else
   3001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3002 $as_echo "no" >&6; }
   3003 fi
   3004 
   3005 
   3006   fi
   3007 fi
   3008 if test -z "$CC"; then
   3009   # Extract the first word of "cc", so it can be a program name with args.
   3010 set dummy cc; ac_word=$2
   3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3012 $as_echo_n "checking for $ac_word... " >&6; }
   3013 if ${ac_cv_prog_CC+:} false; then :
   3014   $as_echo_n "(cached) " >&6
   3015 else
   3016   if test -n "$CC"; then
   3017   ac_cv_prog_CC="$CC" # Let the user override the test.
   3018 else
   3019   ac_prog_rejected=no
   3020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3021 for as_dir in $PATH
   3022 do
   3023   IFS=$as_save_IFS
   3024   test -z "$as_dir" && as_dir=.
   3025     for ac_exec_ext in '' $ac_executable_extensions; do
   3026   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3027     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3028        ac_prog_rejected=yes
   3029        continue
   3030      fi
   3031     ac_cv_prog_CC="cc"
   3032     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3033     break 2
   3034   fi
   3035 done
   3036   done
   3037 IFS=$as_save_IFS
   3038 
   3039 if test $ac_prog_rejected = yes; then
   3040   # We found a bogon in the path, so make sure we never use it.
   3041   set dummy $ac_cv_prog_CC
   3042   shift
   3043   if test $# != 0; then
   3044     # We chose a different compiler from the bogus one.
   3045     # However, it has the same basename, so the bogon will be chosen
   3046     # first if we set CC to just the basename; use the full file name.
   3047     shift
   3048     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3049   fi
   3050 fi
   3051 fi
   3052 fi
   3053 CC=$ac_cv_prog_CC
   3054 if test -n "$CC"; then
   3055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3056 $as_echo "$CC" >&6; }
   3057 else
   3058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3059 $as_echo "no" >&6; }
   3060 fi
   3061 
   3062 
   3063 fi
   3064 if test -z "$CC"; then
   3065   if test -n "$ac_tool_prefix"; then
   3066   for ac_prog in cl.exe
   3067   do
   3068     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3069 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3071 $as_echo_n "checking for $ac_word... " >&6; }
   3072 if ${ac_cv_prog_CC+:} false; then :
   3073   $as_echo_n "(cached) " >&6
   3074 else
   3075   if test -n "$CC"; then
   3076   ac_cv_prog_CC="$CC" # Let the user override the test.
   3077 else
   3078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3079 for as_dir in $PATH
   3080 do
   3081   IFS=$as_save_IFS
   3082   test -z "$as_dir" && as_dir=.
   3083     for ac_exec_ext in '' $ac_executable_extensions; do
   3084   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3085     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3086     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3087     break 2
   3088   fi
   3089 done
   3090   done
   3091 IFS=$as_save_IFS
   3092 
   3093 fi
   3094 fi
   3095 CC=$ac_cv_prog_CC
   3096 if test -n "$CC"; then
   3097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3098 $as_echo "$CC" >&6; }
   3099 else
   3100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3101 $as_echo "no" >&6; }
   3102 fi
   3103 
   3104 
   3105     test -n "$CC" && break
   3106   done
   3107 fi
   3108 if test -z "$CC"; then
   3109   ac_ct_CC=$CC
   3110   for ac_prog in cl.exe
   3111 do
   3112   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3113 set dummy $ac_prog; ac_word=$2
   3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3115 $as_echo_n "checking for $ac_word... " >&6; }
   3116 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3117   $as_echo_n "(cached) " >&6
   3118 else
   3119   if test -n "$ac_ct_CC"; then
   3120   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3121 else
   3122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3123 for as_dir in $PATH
   3124 do
   3125   IFS=$as_save_IFS
   3126   test -z "$as_dir" && as_dir=.
   3127     for ac_exec_ext in '' $ac_executable_extensions; do
   3128   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3129     ac_cv_prog_ac_ct_CC="$ac_prog"
   3130     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3131     break 2
   3132   fi
   3133 done
   3134   done
   3135 IFS=$as_save_IFS
   3136 
   3137 fi
   3138 fi
   3139 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3140 if test -n "$ac_ct_CC"; then
   3141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3142 $as_echo "$ac_ct_CC" >&6; }
   3143 else
   3144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3145 $as_echo "no" >&6; }
   3146 fi
   3147 
   3148 
   3149   test -n "$ac_ct_CC" && break
   3150 done
   3151 
   3152   if test "x$ac_ct_CC" = x; then
   3153     CC=""
   3154   else
   3155     case $cross_compiling:$ac_tool_warned in
   3156 yes:)
   3157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3158 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3159 ac_tool_warned=yes ;;
   3160 esac
   3161     CC=$ac_ct_CC
   3162   fi
   3163 fi
   3164 
   3165 fi
   3166 
   3167 
   3168 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3169 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3170 as_fn_error $? "no acceptable C compiler found in \$PATH
   3171 See \`config.log' for more details" "$LINENO" 5; }
   3172 
   3173 # Provide some information about the compiler.
   3174 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3175 set X $ac_compile
   3176 ac_compiler=$2
   3177 for ac_option in --version -v -V -qversion; do
   3178   { { ac_try="$ac_compiler $ac_option >&5"
   3179 case "(($ac_try" in
   3180   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3181   *) ac_try_echo=$ac_try;;
   3182 esac
   3183 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3184 $as_echo "$ac_try_echo"; } >&5
   3185   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3186   ac_status=$?
   3187   if test -s conftest.err; then
   3188     sed '10a\
   3189 ... rest of stderr output deleted ...
   3190          10q' conftest.err >conftest.er1
   3191     cat conftest.er1 >&5
   3192   fi
   3193   rm -f conftest.er1 conftest.err
   3194   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3195   test $ac_status = 0; }
   3196 done
   3197 
   3198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3199 /* end confdefs.h.  */
   3200 
   3201 int
   3202 main ()
   3203 {
   3204 
   3205   ;
   3206   return 0;
   3207 }
   3208 _ACEOF
   3209 ac_clean_files_save=$ac_clean_files
   3210 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3211 # Try to create an executable without -o first, disregard a.out.
   3212 # It will help us diagnose broken compilers, and finding out an intuition
   3213 # of exeext.
   3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3215 $as_echo_n "checking whether the C compiler works... " >&6; }
   3216 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3217 
   3218 # The possible output files:
   3219 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3220 
   3221 ac_rmfiles=
   3222 for ac_file in $ac_files
   3223 do
   3224   case $ac_file in
   3225     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3226     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3227   esac
   3228 done
   3229 rm -f $ac_rmfiles
   3230 
   3231 if { { ac_try="$ac_link_default"
   3232 case "(($ac_try" in
   3233   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3234   *) ac_try_echo=$ac_try;;
   3235 esac
   3236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3237 $as_echo "$ac_try_echo"; } >&5
   3238   (eval "$ac_link_default") 2>&5
   3239   ac_status=$?
   3240   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3241   test $ac_status = 0; }; then :
   3242   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3243 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3244 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3245 # so that the user can short-circuit this test for compilers unknown to
   3246 # Autoconf.
   3247 for ac_file in $ac_files ''
   3248 do
   3249   test -f "$ac_file" || continue
   3250   case $ac_file in
   3251     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3252 	;;
   3253     [ab].out )
   3254 	# We found the default executable, but exeext='' is most
   3255 	# certainly right.
   3256 	break;;
   3257     *.* )
   3258 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3259 	then :; else
   3260 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3261 	fi
   3262 	# We set ac_cv_exeext here because the later test for it is not
   3263 	# safe: cross compilers may not add the suffix if given an `-o'
   3264 	# argument, so we may need to know it at that point already.
   3265 	# Even if this section looks crufty: it has the advantage of
   3266 	# actually working.
   3267 	break;;
   3268     * )
   3269 	break;;
   3270   esac
   3271 done
   3272 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3273 
   3274 else
   3275   ac_file=''
   3276 fi
   3277 if test -z "$ac_file"; then :
   3278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3279 $as_echo "no" >&6; }
   3280 $as_echo "$as_me: failed program was:" >&5
   3281 sed 's/^/| /' conftest.$ac_ext >&5
   3282 
   3283 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3285 as_fn_error 77 "C compiler cannot create executables
   3286 See \`config.log' for more details" "$LINENO" 5; }
   3287 else
   3288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3289 $as_echo "yes" >&6; }
   3290 fi
   3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3292 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3294 $as_echo "$ac_file" >&6; }
   3295 ac_exeext=$ac_cv_exeext
   3296 
   3297 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3298 ac_clean_files=$ac_clean_files_save
   3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3300 $as_echo_n "checking for suffix of executables... " >&6; }
   3301 if { { ac_try="$ac_link"
   3302 case "(($ac_try" in
   3303   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3304   *) ac_try_echo=$ac_try;;
   3305 esac
   3306 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3307 $as_echo "$ac_try_echo"; } >&5
   3308   (eval "$ac_link") 2>&5
   3309   ac_status=$?
   3310   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3311   test $ac_status = 0; }; then :
   3312   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3313 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3314 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3315 # `rm'.
   3316 for ac_file in conftest.exe conftest conftest.*; do
   3317   test -f "$ac_file" || continue
   3318   case $ac_file in
   3319     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3320     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3321 	  break;;
   3322     * ) break;;
   3323   esac
   3324 done
   3325 else
   3326   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3328 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3329 See \`config.log' for more details" "$LINENO" 5; }
   3330 fi
   3331 rm -f conftest conftest$ac_cv_exeext
   3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3333 $as_echo "$ac_cv_exeext" >&6; }
   3334 
   3335 rm -f conftest.$ac_ext
   3336 EXEEXT=$ac_cv_exeext
   3337 ac_exeext=$EXEEXT
   3338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3339 /* end confdefs.h.  */
   3340 #include <stdio.h>
   3341 int
   3342 main ()
   3343 {
   3344 FILE *f = fopen ("conftest.out", "w");
   3345  return ferror (f) || fclose (f) != 0;
   3346 
   3347   ;
   3348   return 0;
   3349 }
   3350 _ACEOF
   3351 ac_clean_files="$ac_clean_files conftest.out"
   3352 # Check that the compiler produces executables we can run.  If not, either
   3353 # the compiler is broken, or we cross compile.
   3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3355 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3356 if test "$cross_compiling" != yes; then
   3357   { { ac_try="$ac_link"
   3358 case "(($ac_try" in
   3359   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3360   *) ac_try_echo=$ac_try;;
   3361 esac
   3362 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3363 $as_echo "$ac_try_echo"; } >&5
   3364   (eval "$ac_link") 2>&5
   3365   ac_status=$?
   3366   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3367   test $ac_status = 0; }
   3368   if { ac_try='./conftest$ac_cv_exeext'
   3369   { { case "(($ac_try" in
   3370   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3371   *) ac_try_echo=$ac_try;;
   3372 esac
   3373 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3374 $as_echo "$ac_try_echo"; } >&5
   3375   (eval "$ac_try") 2>&5
   3376   ac_status=$?
   3377   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3378   test $ac_status = 0; }; }; then
   3379     cross_compiling=no
   3380   else
   3381     if test "$cross_compiling" = maybe; then
   3382 	cross_compiling=yes
   3383     else
   3384 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3386 as_fn_error $? "cannot run C compiled programs.
   3387 If you meant to cross compile, use \`--host'.
   3388 See \`config.log' for more details" "$LINENO" 5; }
   3389     fi
   3390   fi
   3391 fi
   3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3393 $as_echo "$cross_compiling" >&6; }
   3394 
   3395 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3396 ac_clean_files=$ac_clean_files_save
   3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3398 $as_echo_n "checking for suffix of object files... " >&6; }
   3399 if ${ac_cv_objext+:} false; then :
   3400   $as_echo_n "(cached) " >&6
   3401 else
   3402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3403 /* end confdefs.h.  */
   3404 
   3405 int
   3406 main ()
   3407 {
   3408 
   3409   ;
   3410   return 0;
   3411 }
   3412 _ACEOF
   3413 rm -f conftest.o conftest.obj
   3414 if { { ac_try="$ac_compile"
   3415 case "(($ac_try" in
   3416   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3417   *) ac_try_echo=$ac_try;;
   3418 esac
   3419 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3420 $as_echo "$ac_try_echo"; } >&5
   3421   (eval "$ac_compile") 2>&5
   3422   ac_status=$?
   3423   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3424   test $ac_status = 0; }; then :
   3425   for ac_file in conftest.o conftest.obj conftest.*; do
   3426   test -f "$ac_file" || continue;
   3427   case $ac_file in
   3428     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3429     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3430        break;;
   3431   esac
   3432 done
   3433 else
   3434   $as_echo "$as_me: failed program was:" >&5
   3435 sed 's/^/| /' conftest.$ac_ext >&5
   3436 
   3437 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3439 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3440 See \`config.log' for more details" "$LINENO" 5; }
   3441 fi
   3442 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3443 fi
   3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3445 $as_echo "$ac_cv_objext" >&6; }
   3446 OBJEXT=$ac_cv_objext
   3447 ac_objext=$OBJEXT
   3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3449 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3450 if ${ac_cv_c_compiler_gnu+:} false; then :
   3451   $as_echo_n "(cached) " >&6
   3452 else
   3453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3454 /* end confdefs.h.  */
   3455 
   3456 int
   3457 main ()
   3458 {
   3459 #ifndef __GNUC__
   3460        choke me
   3461 #endif
   3462 
   3463   ;
   3464   return 0;
   3465 }
   3466 _ACEOF
   3467 if ac_fn_c_try_compile "$LINENO"; then :
   3468   ac_compiler_gnu=yes
   3469 else
   3470   ac_compiler_gnu=no
   3471 fi
   3472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3473 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3474 
   3475 fi
   3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3477 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3478 if test $ac_compiler_gnu = yes; then
   3479   GCC=yes
   3480 else
   3481   GCC=
   3482 fi
   3483 ac_test_CFLAGS=${CFLAGS+set}
   3484 ac_save_CFLAGS=$CFLAGS
   3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3486 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3487 if ${ac_cv_prog_cc_g+:} false; then :
   3488   $as_echo_n "(cached) " >&6
   3489 else
   3490   ac_save_c_werror_flag=$ac_c_werror_flag
   3491    ac_c_werror_flag=yes
   3492    ac_cv_prog_cc_g=no
   3493    CFLAGS="-g"
   3494    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3495 /* end confdefs.h.  */
   3496 
   3497 int
   3498 main ()
   3499 {
   3500 
   3501   ;
   3502   return 0;
   3503 }
   3504 _ACEOF
   3505 if ac_fn_c_try_compile "$LINENO"; then :
   3506   ac_cv_prog_cc_g=yes
   3507 else
   3508   CFLAGS=""
   3509       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3510 /* end confdefs.h.  */
   3511 
   3512 int
   3513 main ()
   3514 {
   3515 
   3516   ;
   3517   return 0;
   3518 }
   3519 _ACEOF
   3520 if ac_fn_c_try_compile "$LINENO"; then :
   3521 
   3522 else
   3523   ac_c_werror_flag=$ac_save_c_werror_flag
   3524 	 CFLAGS="-g"
   3525 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3526 /* end confdefs.h.  */
   3527 
   3528 int
   3529 main ()
   3530 {
   3531 
   3532   ;
   3533   return 0;
   3534 }
   3535 _ACEOF
   3536 if ac_fn_c_try_compile "$LINENO"; then :
   3537   ac_cv_prog_cc_g=yes
   3538 fi
   3539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3540 fi
   3541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3542 fi
   3543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3544    ac_c_werror_flag=$ac_save_c_werror_flag
   3545 fi
   3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3547 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3548 if test "$ac_test_CFLAGS" = set; then
   3549   CFLAGS=$ac_save_CFLAGS
   3550 elif test $ac_cv_prog_cc_g = yes; then
   3551   if test "$GCC" = yes; then
   3552     CFLAGS="-g -O2"
   3553   else
   3554     CFLAGS="-g"
   3555   fi
   3556 else
   3557   if test "$GCC" = yes; then
   3558     CFLAGS="-O2"
   3559   else
   3560     CFLAGS=
   3561   fi
   3562 fi
   3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3564 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3565 if ${ac_cv_prog_cc_c89+:} false; then :
   3566   $as_echo_n "(cached) " >&6
   3567 else
   3568   ac_cv_prog_cc_c89=no
   3569 ac_save_CC=$CC
   3570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3571 /* end confdefs.h.  */
   3572 #include <stdarg.h>
   3573 #include <stdio.h>
   3574 struct stat;
   3575 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3576 struct buf { int x; };
   3577 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3578 static char *e (p, i)
   3579      char **p;
   3580      int i;
   3581 {
   3582   return p[i];
   3583 }
   3584 static char *f (char * (*g) (char **, int), char **p, ...)
   3585 {
   3586   char *s;
   3587   va_list v;
   3588   va_start (v,p);
   3589   s = g (p, va_arg (v,int));
   3590   va_end (v);
   3591   return s;
   3592 }
   3593 
   3594 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3595    function prototypes and stuff, but not '\xHH' hex character constants.
   3596    These don't provoke an error unfortunately, instead are silently treated
   3597    as 'x'.  The following induces an error, until -std is added to get
   3598    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3599    array size at least.  It's necessary to write '\x00'==0 to get something
   3600    that's true only with -std.  */
   3601 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3602 
   3603 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3604    inside strings and character constants.  */
   3605 #define FOO(x) 'x'
   3606 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3607 
   3608 int test (int i, double x);
   3609 struct s1 {int (*f) (int a);};
   3610 struct s2 {int (*f) (double a);};
   3611 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3612 int argc;
   3613 char **argv;
   3614 int
   3615 main ()
   3616 {
   3617 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3618   ;
   3619   return 0;
   3620 }
   3621 _ACEOF
   3622 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3623 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3624 do
   3625   CC="$ac_save_CC $ac_arg"
   3626   if ac_fn_c_try_compile "$LINENO"; then :
   3627   ac_cv_prog_cc_c89=$ac_arg
   3628 fi
   3629 rm -f core conftest.err conftest.$ac_objext
   3630   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3631 done
   3632 rm -f conftest.$ac_ext
   3633 CC=$ac_save_CC
   3634 
   3635 fi
   3636 # AC_CACHE_VAL
   3637 case "x$ac_cv_prog_cc_c89" in
   3638   x)
   3639     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3640 $as_echo "none needed" >&6; } ;;
   3641   xno)
   3642     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3643 $as_echo "unsupported" >&6; } ;;
   3644   *)
   3645     CC="$CC $ac_cv_prog_cc_c89"
   3646     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3647 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3648 esac
   3649 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3650 
   3651 fi
   3652 
   3653 ac_ext=c
   3654 ac_cpp='$CPP $CPPFLAGS'
   3655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3658 
   3659 ac_ext=c
   3660 ac_cpp='$CPP $CPPFLAGS'
   3661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3665 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3666 if ${am_cv_prog_cc_c_o+:} false; then :
   3667   $as_echo_n "(cached) " >&6
   3668 else
   3669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3670 /* end confdefs.h.  */
   3671 
   3672 int
   3673 main ()
   3674 {
   3675 
   3676   ;
   3677   return 0;
   3678 }
   3679 _ACEOF
   3680   # Make sure it works both with $CC and with simple cc.
   3681   # Following AC_PROG_CC_C_O, we do the test twice because some
   3682   # compilers refuse to overwrite an existing .o file with -o,
   3683   # though they will create one.
   3684   am_cv_prog_cc_c_o=yes
   3685   for am_i in 1 2; do
   3686     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3687    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3688    ac_status=$?
   3689    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3690    (exit $ac_status); } \
   3691          && test -f conftest2.$ac_objext; then
   3692       : OK
   3693     else
   3694       am_cv_prog_cc_c_o=no
   3695       break
   3696     fi
   3697   done
   3698   rm -f core conftest*
   3699   unset am_i
   3700 fi
   3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3702 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3703 if test "$am_cv_prog_cc_c_o" != yes; then
   3704    # Losing compiler, so override with the script.
   3705    # FIXME: It is wrong to rewrite CC.
   3706    # But if we don't then we get into trouble of one sort or another.
   3707    # A longer-term fix would be to have automake use am__CC in this case,
   3708    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3709    CC="$am_aux_dir/compile $CC"
   3710 fi
   3711 ac_ext=c
   3712 ac_cpp='$CPP $CPPFLAGS'
   3713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3716 
   3717 
   3718 depcc="$CC"   am_compiler_list=
   3719 
   3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3721 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3722 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3723   $as_echo_n "(cached) " >&6
   3724 else
   3725   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3726   # We make a subdir and do the tests there.  Otherwise we can end up
   3727   # making bogus files that we don't know about and never remove.  For
   3728   # instance it was reported that on HP-UX the gcc test will end up
   3729   # making a dummy file named 'D' -- because '-MD' means "put the output
   3730   # in D".
   3731   rm -rf conftest.dir
   3732   mkdir conftest.dir
   3733   # Copy depcomp to subdir because otherwise we won't find it if we're
   3734   # using a relative directory.
   3735   cp "$am_depcomp" conftest.dir
   3736   cd conftest.dir
   3737   # We will build objects and dependencies in a subdirectory because
   3738   # it helps to detect inapplicable dependency modes.  For instance
   3739   # both Tru64's cc and ICC support -MD to output dependencies as a
   3740   # side effect of compilation, but ICC will put the dependencies in
   3741   # the current directory while Tru64 will put them in the object
   3742   # directory.
   3743   mkdir sub
   3744 
   3745   am_cv_CC_dependencies_compiler_type=none
   3746   if test "$am_compiler_list" = ""; then
   3747      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3748   fi
   3749   am__universal=false
   3750   case " $depcc " in #(
   3751      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3752      esac
   3753 
   3754   for depmode in $am_compiler_list; do
   3755     # Setup a source with many dependencies, because some compilers
   3756     # like to wrap large dependency lists on column 80 (with \), and
   3757     # we should not choose a depcomp mode which is confused by this.
   3758     #
   3759     # We need to recreate these files for each test, as the compiler may
   3760     # overwrite some of them when testing with obscure command lines.
   3761     # This happens at least with the AIX C compiler.
   3762     : > sub/conftest.c
   3763     for i in 1 2 3 4 5 6; do
   3764       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3765       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3766       # Solaris 10 /bin/sh.
   3767       echo '/* dummy */' > sub/conftst$i.h
   3768     done
   3769     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3770 
   3771     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3772     # mode.  It turns out that the SunPro C++ compiler does not properly
   3773     # handle '-M -o', and we need to detect this.  Also, some Intel
   3774     # versions had trouble with output in subdirs.
   3775     am__obj=sub/conftest.${OBJEXT-o}
   3776     am__minus_obj="-o $am__obj"
   3777     case $depmode in
   3778     gcc)
   3779       # This depmode causes a compiler race in universal mode.
   3780       test "$am__universal" = false || continue
   3781       ;;
   3782     nosideeffect)
   3783       # After this tag, mechanisms are not by side-effect, so they'll
   3784       # only be used when explicitly requested.
   3785       if test "x$enable_dependency_tracking" = xyes; then
   3786 	continue
   3787       else
   3788 	break
   3789       fi
   3790       ;;
   3791     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3792       # This compiler won't grok '-c -o', but also, the minuso test has
   3793       # not run yet.  These depmodes are late enough in the game, and
   3794       # so weak that their functioning should not be impacted.
   3795       am__obj=conftest.${OBJEXT-o}
   3796       am__minus_obj=
   3797       ;;
   3798     none) break ;;
   3799     esac
   3800     if depmode=$depmode \
   3801        source=sub/conftest.c object=$am__obj \
   3802        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3803        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3804          >/dev/null 2>conftest.err &&
   3805        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3806        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3807        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3808        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3809       # icc doesn't choke on unknown options, it will just issue warnings
   3810       # or remarks (even with -Werror).  So we grep stderr for any message
   3811       # that says an option was ignored or not supported.
   3812       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3813       #   icc: Command line warning: ignoring option '-M'; no argument required
   3814       # The diagnosis changed in icc 8.0:
   3815       #   icc: Command line remark: option '-MP' not supported
   3816       if (grep 'ignoring option' conftest.err ||
   3817           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3818         am_cv_CC_dependencies_compiler_type=$depmode
   3819         break
   3820       fi
   3821     fi
   3822   done
   3823 
   3824   cd ..
   3825   rm -rf conftest.dir
   3826 else
   3827   am_cv_CC_dependencies_compiler_type=none
   3828 fi
   3829 
   3830 fi
   3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3832 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3833 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3834 
   3835  if
   3836   test "x$enable_dependency_tracking" != xno \
   3837   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3838   am__fastdepCC_TRUE=
   3839   am__fastdepCC_FALSE='#'
   3840 else
   3841   am__fastdepCC_TRUE='#'
   3842   am__fastdepCC_FALSE=
   3843 fi
   3844 
   3845 
   3846    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3847 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3848 if ${ac_cv_prog_cc_c99+:} false; then :
   3849   $as_echo_n "(cached) " >&6
   3850 else
   3851   ac_cv_prog_cc_c99=no
   3852 ac_save_CC=$CC
   3853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3854 /* end confdefs.h.  */
   3855 #include <stdarg.h>
   3856 #include <stdbool.h>
   3857 #include <stdlib.h>
   3858 #include <wchar.h>
   3859 #include <stdio.h>
   3860 
   3861 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3862 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3863 #define showlist(...) puts (#__VA_ARGS__)
   3864 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3865 static void
   3866 test_varargs_macros (void)
   3867 {
   3868   int x = 1234;
   3869   int y = 5678;
   3870   debug ("Flag");
   3871   debug ("X = %d\n", x);
   3872   showlist (The first, second, and third items.);
   3873   report (x>y, "x is %d but y is %d", x, y);
   3874 }
   3875 
   3876 // Check long long types.
   3877 #define BIG64 18446744073709551615ull
   3878 #define BIG32 4294967295ul
   3879 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3880 #if !BIG_OK
   3881   your preprocessor is broken;
   3882 #endif
   3883 #if BIG_OK
   3884 #else
   3885   your preprocessor is broken;
   3886 #endif
   3887 static long long int bignum = -9223372036854775807LL;
   3888 static unsigned long long int ubignum = BIG64;
   3889 
   3890 struct incomplete_array
   3891 {
   3892   int datasize;
   3893   double data[];
   3894 };
   3895 
   3896 struct named_init {
   3897   int number;
   3898   const wchar_t *name;
   3899   double average;
   3900 };
   3901 
   3902 typedef const char *ccp;
   3903 
   3904 static inline int
   3905 test_restrict (ccp restrict text)
   3906 {
   3907   // See if C++-style comments work.
   3908   // Iterate through items via the restricted pointer.
   3909   // Also check for declarations in for loops.
   3910   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3911     continue;
   3912   return 0;
   3913 }
   3914 
   3915 // Check varargs and va_copy.
   3916 static void
   3917 test_varargs (const char *format, ...)
   3918 {
   3919   va_list args;
   3920   va_start (args, format);
   3921   va_list args_copy;
   3922   va_copy (args_copy, args);
   3923 
   3924   const char *str;
   3925   int number;
   3926   float fnumber;
   3927 
   3928   while (*format)
   3929     {
   3930       switch (*format++)
   3931 	{
   3932 	case 's': // string
   3933 	  str = va_arg (args_copy, const char *);
   3934 	  break;
   3935 	case 'd': // int
   3936 	  number = va_arg (args_copy, int);
   3937 	  break;
   3938 	case 'f': // float
   3939 	  fnumber = va_arg (args_copy, double);
   3940 	  break;
   3941 	default:
   3942 	  break;
   3943 	}
   3944     }
   3945   va_end (args_copy);
   3946   va_end (args);
   3947 }
   3948 
   3949 int
   3950 main ()
   3951 {
   3952 
   3953   // Check bool.
   3954   _Bool success = false;
   3955 
   3956   // Check restrict.
   3957   if (test_restrict ("String literal") == 0)
   3958     success = true;
   3959   char *restrict newvar = "Another string";
   3960 
   3961   // Check varargs.
   3962   test_varargs ("s, d' f .", "string", 65, 34.234);
   3963   test_varargs_macros ();
   3964 
   3965   // Check flexible array members.
   3966   struct incomplete_array *ia =
   3967     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3968   ia->datasize = 10;
   3969   for (int i = 0; i < ia->datasize; ++i)
   3970     ia->data[i] = i * 1.234;
   3971 
   3972   // Check named initializers.
   3973   struct named_init ni = {
   3974     .number = 34,
   3975     .name = L"Test wide string",
   3976     .average = 543.34343,
   3977   };
   3978 
   3979   ni.number = 58;
   3980 
   3981   int dynamic_array[ni.number];
   3982   dynamic_array[ni.number - 1] = 543;
   3983 
   3984   // work around unused variable warnings
   3985   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3986 	  || dynamic_array[ni.number - 1] != 543);
   3987 
   3988   ;
   3989   return 0;
   3990 }
   3991 _ACEOF
   3992 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   3993 do
   3994   CC="$ac_save_CC $ac_arg"
   3995   if ac_fn_c_try_compile "$LINENO"; then :
   3996   ac_cv_prog_cc_c99=$ac_arg
   3997 fi
   3998 rm -f core conftest.err conftest.$ac_objext
   3999   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4000 done
   4001 rm -f conftest.$ac_ext
   4002 CC=$ac_save_CC
   4003 
   4004 fi
   4005 # AC_CACHE_VAL
   4006 case "x$ac_cv_prog_cc_c99" in
   4007   x)
   4008     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4009 $as_echo "none needed" >&6; } ;;
   4010   xno)
   4011     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4012 $as_echo "unsupported" >&6; } ;;
   4013   *)
   4014     CC="$CC $ac_cv_prog_cc_c99"
   4015     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4016 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4017 esac
   4018 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4019 
   4020 fi
   4021 
   4022 
   4023 
   4024 ac_ext=c
   4025 ac_cpp='$CPP $CPPFLAGS'
   4026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4030 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4031 # On Suns, sometimes $CPP names a directory.
   4032 if test -n "$CPP" && test -d "$CPP"; then
   4033   CPP=
   4034 fi
   4035 if test -z "$CPP"; then
   4036   if ${ac_cv_prog_CPP+:} false; then :
   4037   $as_echo_n "(cached) " >&6
   4038 else
   4039       # Double quotes because CPP needs to be expanded
   4040     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4041     do
   4042       ac_preproc_ok=false
   4043 for ac_c_preproc_warn_flag in '' yes
   4044 do
   4045   # Use a header file that comes with gcc, so configuring glibc
   4046   # with a fresh cross-compiler works.
   4047   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4048   # <limits.h> exists even on freestanding compilers.
   4049   # On the NeXT, cc -E runs the code through the compiler's parser,
   4050   # not just through cpp. "Syntax error" is here to catch this case.
   4051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4052 /* end confdefs.h.  */
   4053 #ifdef __STDC__
   4054 # include <limits.h>
   4055 #else
   4056 # include <assert.h>
   4057 #endif
   4058 		     Syntax error
   4059 _ACEOF
   4060 if ac_fn_c_try_cpp "$LINENO"; then :
   4061 
   4062 else
   4063   # Broken: fails on valid input.
   4064 continue
   4065 fi
   4066 rm -f conftest.err conftest.i conftest.$ac_ext
   4067 
   4068   # OK, works on sane cases.  Now check whether nonexistent headers
   4069   # can be detected and how.
   4070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4071 /* end confdefs.h.  */
   4072 #include <ac_nonexistent.h>
   4073 _ACEOF
   4074 if ac_fn_c_try_cpp "$LINENO"; then :
   4075   # Broken: success on invalid input.
   4076 continue
   4077 else
   4078   # Passes both tests.
   4079 ac_preproc_ok=:
   4080 break
   4081 fi
   4082 rm -f conftest.err conftest.i conftest.$ac_ext
   4083 
   4084 done
   4085 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4086 rm -f conftest.i conftest.err conftest.$ac_ext
   4087 if $ac_preproc_ok; then :
   4088   break
   4089 fi
   4090 
   4091     done
   4092     ac_cv_prog_CPP=$CPP
   4093 
   4094 fi
   4095   CPP=$ac_cv_prog_CPP
   4096 else
   4097   ac_cv_prog_CPP=$CPP
   4098 fi
   4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4100 $as_echo "$CPP" >&6; }
   4101 ac_preproc_ok=false
   4102 for ac_c_preproc_warn_flag in '' yes
   4103 do
   4104   # Use a header file that comes with gcc, so configuring glibc
   4105   # with a fresh cross-compiler works.
   4106   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4107   # <limits.h> exists even on freestanding compilers.
   4108   # On the NeXT, cc -E runs the code through the compiler's parser,
   4109   # not just through cpp. "Syntax error" is here to catch this case.
   4110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4111 /* end confdefs.h.  */
   4112 #ifdef __STDC__
   4113 # include <limits.h>
   4114 #else
   4115 # include <assert.h>
   4116 #endif
   4117 		     Syntax error
   4118 _ACEOF
   4119 if ac_fn_c_try_cpp "$LINENO"; then :
   4120 
   4121 else
   4122   # Broken: fails on valid input.
   4123 continue
   4124 fi
   4125 rm -f conftest.err conftest.i conftest.$ac_ext
   4126 
   4127   # OK, works on sane cases.  Now check whether nonexistent headers
   4128   # can be detected and how.
   4129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4130 /* end confdefs.h.  */
   4131 #include <ac_nonexistent.h>
   4132 _ACEOF
   4133 if ac_fn_c_try_cpp "$LINENO"; then :
   4134   # Broken: success on invalid input.
   4135 continue
   4136 else
   4137   # Passes both tests.
   4138 ac_preproc_ok=:
   4139 break
   4140 fi
   4141 rm -f conftest.err conftest.i conftest.$ac_ext
   4142 
   4143 done
   4144 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4145 rm -f conftest.i conftest.err conftest.$ac_ext
   4146 if $ac_preproc_ok; then :
   4147 
   4148 else
   4149   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4151 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4152 See \`config.log' for more details" "$LINENO" 5; }
   4153 fi
   4154 
   4155 ac_ext=c
   4156 ac_cpp='$CPP $CPPFLAGS'
   4157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4160 
   4161 
   4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4163 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4164 if ${ac_cv_path_GREP+:} false; then :
   4165   $as_echo_n "(cached) " >&6
   4166 else
   4167   if test -z "$GREP"; then
   4168   ac_path_GREP_found=false
   4169   # Loop through the user's path and test for each of PROGNAME-LIST
   4170   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4171 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4172 do
   4173   IFS=$as_save_IFS
   4174   test -z "$as_dir" && as_dir=.
   4175     for ac_prog in grep ggrep; do
   4176     for ac_exec_ext in '' $ac_executable_extensions; do
   4177       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4178       as_fn_executable_p "$ac_path_GREP" || continue
   4179 # Check for GNU ac_path_GREP and select it if it is found.
   4180   # Check for GNU $ac_path_GREP
   4181 case `"$ac_path_GREP" --version 2>&1` in
   4182 *GNU*)
   4183   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4184 *)
   4185   ac_count=0
   4186   $as_echo_n 0123456789 >"conftest.in"
   4187   while :
   4188   do
   4189     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4190     mv "conftest.tmp" "conftest.in"
   4191     cp "conftest.in" "conftest.nl"
   4192     $as_echo 'GREP' >> "conftest.nl"
   4193     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4194     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4195     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4196     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4197       # Best one so far, save it but keep looking for a better one
   4198       ac_cv_path_GREP="$ac_path_GREP"
   4199       ac_path_GREP_max=$ac_count
   4200     fi
   4201     # 10*(2^10) chars as input seems more than enough
   4202     test $ac_count -gt 10 && break
   4203   done
   4204   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4205 esac
   4206 
   4207       $ac_path_GREP_found && break 3
   4208     done
   4209   done
   4210   done
   4211 IFS=$as_save_IFS
   4212   if test -z "$ac_cv_path_GREP"; then
   4213     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4214   fi
   4215 else
   4216   ac_cv_path_GREP=$GREP
   4217 fi
   4218 
   4219 fi
   4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4221 $as_echo "$ac_cv_path_GREP" >&6; }
   4222  GREP="$ac_cv_path_GREP"
   4223 
   4224 
   4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4226 $as_echo_n "checking for egrep... " >&6; }
   4227 if ${ac_cv_path_EGREP+:} false; then :
   4228   $as_echo_n "(cached) " >&6
   4229 else
   4230   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4231    then ac_cv_path_EGREP="$GREP -E"
   4232    else
   4233      if test -z "$EGREP"; then
   4234   ac_path_EGREP_found=false
   4235   # Loop through the user's path and test for each of PROGNAME-LIST
   4236   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4237 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4238 do
   4239   IFS=$as_save_IFS
   4240   test -z "$as_dir" && as_dir=.
   4241     for ac_prog in egrep; do
   4242     for ac_exec_ext in '' $ac_executable_extensions; do
   4243       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4244       as_fn_executable_p "$ac_path_EGREP" || continue
   4245 # Check for GNU ac_path_EGREP and select it if it is found.
   4246   # Check for GNU $ac_path_EGREP
   4247 case `"$ac_path_EGREP" --version 2>&1` in
   4248 *GNU*)
   4249   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4250 *)
   4251   ac_count=0
   4252   $as_echo_n 0123456789 >"conftest.in"
   4253   while :
   4254   do
   4255     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4256     mv "conftest.tmp" "conftest.in"
   4257     cp "conftest.in" "conftest.nl"
   4258     $as_echo 'EGREP' >> "conftest.nl"
   4259     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4260     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4261     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4262     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4263       # Best one so far, save it but keep looking for a better one
   4264       ac_cv_path_EGREP="$ac_path_EGREP"
   4265       ac_path_EGREP_max=$ac_count
   4266     fi
   4267     # 10*(2^10) chars as input seems more than enough
   4268     test $ac_count -gt 10 && break
   4269   done
   4270   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4271 esac
   4272 
   4273       $ac_path_EGREP_found && break 3
   4274     done
   4275   done
   4276   done
   4277 IFS=$as_save_IFS
   4278   if test -z "$ac_cv_path_EGREP"; then
   4279     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4280   fi
   4281 else
   4282   ac_cv_path_EGREP=$EGREP
   4283 fi
   4284 
   4285    fi
   4286 fi
   4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4288 $as_echo "$ac_cv_path_EGREP" >&6; }
   4289  EGREP="$ac_cv_path_EGREP"
   4290 
   4291 
   4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4293 $as_echo_n "checking for ANSI C header files... " >&6; }
   4294 if ${ac_cv_header_stdc+:} false; then :
   4295   $as_echo_n "(cached) " >&6
   4296 else
   4297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4298 /* end confdefs.h.  */
   4299 #include <stdlib.h>
   4300 #include <stdarg.h>
   4301 #include <string.h>
   4302 #include <float.h>
   4303 
   4304 int
   4305 main ()
   4306 {
   4307 
   4308   ;
   4309   return 0;
   4310 }
   4311 _ACEOF
   4312 if ac_fn_c_try_compile "$LINENO"; then :
   4313   ac_cv_header_stdc=yes
   4314 else
   4315   ac_cv_header_stdc=no
   4316 fi
   4317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4318 
   4319 if test $ac_cv_header_stdc = yes; then
   4320   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4322 /* end confdefs.h.  */
   4323 #include <string.h>
   4324 
   4325 _ACEOF
   4326 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4327   $EGREP "memchr" >/dev/null 2>&1; then :
   4328 
   4329 else
   4330   ac_cv_header_stdc=no
   4331 fi
   4332 rm -f conftest*
   4333 
   4334 fi
   4335 
   4336 if test $ac_cv_header_stdc = yes; then
   4337   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4339 /* end confdefs.h.  */
   4340 #include <stdlib.h>
   4341 
   4342 _ACEOF
   4343 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4344   $EGREP "free" >/dev/null 2>&1; then :
   4345 
   4346 else
   4347   ac_cv_header_stdc=no
   4348 fi
   4349 rm -f conftest*
   4350 
   4351 fi
   4352 
   4353 if test $ac_cv_header_stdc = yes; then
   4354   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4355   if test "$cross_compiling" = yes; then :
   4356   :
   4357 else
   4358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4359 /* end confdefs.h.  */
   4360 #include <ctype.h>
   4361 #include <stdlib.h>
   4362 #if ((' ' & 0x0FF) == 0x020)
   4363 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4364 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4365 #else
   4366 # define ISLOWER(c) \
   4367 		   (('a' <= (c) && (c) <= 'i') \
   4368 		     || ('j' <= (c) && (c) <= 'r') \
   4369 		     || ('s' <= (c) && (c) <= 'z'))
   4370 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4371 #endif
   4372 
   4373 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4374 int
   4375 main ()
   4376 {
   4377   int i;
   4378   for (i = 0; i < 256; i++)
   4379     if (XOR (islower (i), ISLOWER (i))
   4380 	|| toupper (i) != TOUPPER (i))
   4381       return 2;
   4382   return 0;
   4383 }
   4384 _ACEOF
   4385 if ac_fn_c_try_run "$LINENO"; then :
   4386 
   4387 else
   4388   ac_cv_header_stdc=no
   4389 fi
   4390 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4391   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4392 fi
   4393 
   4394 fi
   4395 fi
   4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4397 $as_echo "$ac_cv_header_stdc" >&6; }
   4398 if test $ac_cv_header_stdc = yes; then
   4399 
   4400 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4401 
   4402 fi
   4403 
   4404 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4405 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4406 		  inttypes.h stdint.h unistd.h
   4407 do :
   4408   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4409 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4410 "
   4411 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4412   cat >>confdefs.h <<_ACEOF
   4413 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4414 _ACEOF
   4415 
   4416 fi
   4417 
   4418 done
   4419 
   4420 
   4421 
   4422 
   4423 
   4424 
   4425 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4426 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4427   CLANGCC="yes"
   4428 else
   4429   CLANGCC="no"
   4430 fi
   4431 
   4432 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4433 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4434   INTELCC="yes"
   4435 else
   4436   INTELCC="no"
   4437 fi
   4438 
   4439 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4440 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4441   SUNCC="yes"
   4442 else
   4443   SUNCC="no"
   4444 fi
   4445 
   4446 
   4447 
   4448 
   4449 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4450 	if test -n "$ac_tool_prefix"; then
   4451   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4452 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4454 $as_echo_n "checking for $ac_word... " >&6; }
   4455 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4456   $as_echo_n "(cached) " >&6
   4457 else
   4458   case $PKG_CONFIG in
   4459   [\\/]* | ?:[\\/]*)
   4460   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4461   ;;
   4462   *)
   4463   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4464 for as_dir in $PATH
   4465 do
   4466   IFS=$as_save_IFS
   4467   test -z "$as_dir" && as_dir=.
   4468     for ac_exec_ext in '' $ac_executable_extensions; do
   4469   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4470     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4471     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4472     break 2
   4473   fi
   4474 done
   4475   done
   4476 IFS=$as_save_IFS
   4477 
   4478   ;;
   4479 esac
   4480 fi
   4481 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4482 if test -n "$PKG_CONFIG"; then
   4483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4484 $as_echo "$PKG_CONFIG" >&6; }
   4485 else
   4486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4487 $as_echo "no" >&6; }
   4488 fi
   4489 
   4490 
   4491 fi
   4492 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4493   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4494   # Extract the first word of "pkg-config", so it can be a program name with args.
   4495 set dummy pkg-config; ac_word=$2
   4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4497 $as_echo_n "checking for $ac_word... " >&6; }
   4498 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4499   $as_echo_n "(cached) " >&6
   4500 else
   4501   case $ac_pt_PKG_CONFIG in
   4502   [\\/]* | ?:[\\/]*)
   4503   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4504   ;;
   4505   *)
   4506   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4507 for as_dir in $PATH
   4508 do
   4509   IFS=$as_save_IFS
   4510   test -z "$as_dir" && as_dir=.
   4511     for ac_exec_ext in '' $ac_executable_extensions; do
   4512   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4513     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4514     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4515     break 2
   4516   fi
   4517 done
   4518   done
   4519 IFS=$as_save_IFS
   4520 
   4521   ;;
   4522 esac
   4523 fi
   4524 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4525 if test -n "$ac_pt_PKG_CONFIG"; then
   4526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4527 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4528 else
   4529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4530 $as_echo "no" >&6; }
   4531 fi
   4532 
   4533   if test "x$ac_pt_PKG_CONFIG" = x; then
   4534     PKG_CONFIG=""
   4535   else
   4536     case $cross_compiling:$ac_tool_warned in
   4537 yes:)
   4538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4540 ac_tool_warned=yes ;;
   4541 esac
   4542     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4543   fi
   4544 else
   4545   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4546 fi
   4547 
   4548 fi
   4549 if test -n "$PKG_CONFIG"; then
   4550 	_pkg_min_version=0.9.0
   4551 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4552 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4553 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4554 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4555 $as_echo "yes" >&6; }
   4556 	else
   4557 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4558 $as_echo "no" >&6; }
   4559 		PKG_CONFIG=""
   4560 	fi
   4561 
   4562 fi
   4563 # Make sure we can run config.sub.
   4564 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4565   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4566 
   4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4568 $as_echo_n "checking build system type... " >&6; }
   4569 if ${ac_cv_build+:} false; then :
   4570   $as_echo_n "(cached) " >&6
   4571 else
   4572   ac_build_alias=$build_alias
   4573 test "x$ac_build_alias" = x &&
   4574   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4575 test "x$ac_build_alias" = x &&
   4576   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4577 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4578   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4579 
   4580 fi
   4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4582 $as_echo "$ac_cv_build" >&6; }
   4583 case $ac_cv_build in
   4584 *-*-*) ;;
   4585 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4586 esac
   4587 build=$ac_cv_build
   4588 ac_save_IFS=$IFS; IFS='-'
   4589 set x $ac_cv_build
   4590 shift
   4591 build_cpu=$1
   4592 build_vendor=$2
   4593 shift; shift
   4594 # Remember, the first character of IFS is used to create $*,
   4595 # except with old shells:
   4596 build_os=$*
   4597 IFS=$ac_save_IFS
   4598 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4599 
   4600 
   4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4602 $as_echo_n "checking host system type... " >&6; }
   4603 if ${ac_cv_host+:} false; then :
   4604   $as_echo_n "(cached) " >&6
   4605 else
   4606   if test "x$host_alias" = x; then
   4607   ac_cv_host=$ac_cv_build
   4608 else
   4609   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4610     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4611 fi
   4612 
   4613 fi
   4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4615 $as_echo "$ac_cv_host" >&6; }
   4616 case $ac_cv_host in
   4617 *-*-*) ;;
   4618 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4619 esac
   4620 host=$ac_cv_host
   4621 ac_save_IFS=$IFS; IFS='-'
   4622 set x $ac_cv_host
   4623 shift
   4624 host_cpu=$1
   4625 host_vendor=$2
   4626 shift; shift
   4627 # Remember, the first character of IFS is used to create $*,
   4628 # except with old shells:
   4629 host_os=$*
   4630 IFS=$ac_save_IFS
   4631 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4632 
   4633 
   4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4635 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4636 if ${ac_cv_path_SED+:} false; then :
   4637   $as_echo_n "(cached) " >&6
   4638 else
   4639             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4640      for ac_i in 1 2 3 4 5 6 7; do
   4641        ac_script="$ac_script$as_nl$ac_script"
   4642      done
   4643      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4644      { ac_script=; unset ac_script;}
   4645      if test -z "$SED"; then
   4646   ac_path_SED_found=false
   4647   # Loop through the user's path and test for each of PROGNAME-LIST
   4648   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4649 for as_dir in $PATH
   4650 do
   4651   IFS=$as_save_IFS
   4652   test -z "$as_dir" && as_dir=.
   4653     for ac_prog in sed gsed; do
   4654     for ac_exec_ext in '' $ac_executable_extensions; do
   4655       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4656       as_fn_executable_p "$ac_path_SED" || continue
   4657 # Check for GNU ac_path_SED and select it if it is found.
   4658   # Check for GNU $ac_path_SED
   4659 case `"$ac_path_SED" --version 2>&1` in
   4660 *GNU*)
   4661   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4662 *)
   4663   ac_count=0
   4664   $as_echo_n 0123456789 >"conftest.in"
   4665   while :
   4666   do
   4667     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4668     mv "conftest.tmp" "conftest.in"
   4669     cp "conftest.in" "conftest.nl"
   4670     $as_echo '' >> "conftest.nl"
   4671     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4672     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4673     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4674     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4675       # Best one so far, save it but keep looking for a better one
   4676       ac_cv_path_SED="$ac_path_SED"
   4677       ac_path_SED_max=$ac_count
   4678     fi
   4679     # 10*(2^10) chars as input seems more than enough
   4680     test $ac_count -gt 10 && break
   4681   done
   4682   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4683 esac
   4684 
   4685       $ac_path_SED_found && break 3
   4686     done
   4687   done
   4688   done
   4689 IFS=$as_save_IFS
   4690   if test -z "$ac_cv_path_SED"; then
   4691     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4692   fi
   4693 else
   4694   ac_cv_path_SED=$SED
   4695 fi
   4696 
   4697 fi
   4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4699 $as_echo "$ac_cv_path_SED" >&6; }
   4700  SED="$ac_cv_path_SED"
   4701   rm -f conftest.sed
   4702 
   4703 
   4704 
   4705 
   4706 
   4707 
   4708 # Check whether --enable-selective-werror was given.
   4709 if test "${enable_selective_werror+set}" = set; then :
   4710   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4711 else
   4712   SELECTIVE_WERROR=yes
   4713 fi
   4714 
   4715 
   4716 
   4717 
   4718 
   4719 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4720 if test "x$SUNCC" = "xyes"; then
   4721     BASE_CFLAGS="-v"
   4722 else
   4723     BASE_CFLAGS=""
   4724 fi
   4725 
   4726 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4727 
   4728 
   4729 
   4730 
   4731 
   4732 
   4733 
   4734 
   4735 
   4736 
   4737 
   4738 
   4739 
   4740 xorg_testset_save_CFLAGS="$CFLAGS"
   4741 
   4742 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4743 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4744 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4745 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4746 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4747   $as_echo_n "(cached) " >&6
   4748 else
   4749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4750 /* end confdefs.h.  */
   4751 int i;
   4752 _ACEOF
   4753 if ac_fn_c_try_compile "$LINENO"; then :
   4754   xorg_cv_cc_flag_unknown_warning_option=yes
   4755 else
   4756   xorg_cv_cc_flag_unknown_warning_option=no
   4757 fi
   4758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4759 fi
   4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4761 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4762 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4763 	CFLAGS="$xorg_testset_save_CFLAGS"
   4764 fi
   4765 
   4766 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4767 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4768 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4769 	fi
   4770 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4771 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4772 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4773 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4774   $as_echo_n "(cached) " >&6
   4775 else
   4776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4777 /* end confdefs.h.  */
   4778 int i;
   4779 _ACEOF
   4780 if ac_fn_c_try_compile "$LINENO"; then :
   4781   xorg_cv_cc_flag_unused_command_line_argument=yes
   4782 else
   4783   xorg_cv_cc_flag_unused_command_line_argument=no
   4784 fi
   4785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4786 fi
   4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4788 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4789 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4790 	CFLAGS="$xorg_testset_save_CFLAGS"
   4791 fi
   4792 
   4793 found="no"
   4794 
   4795 	if test $found = "no" ; then
   4796 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4797 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4798 		fi
   4799 
   4800 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4801 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4802 		fi
   4803 
   4804 		CFLAGS="$CFLAGS -Wall"
   4805 
   4806 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4807 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4808 		cacheid=xorg_cv_cc_flag__Wall
   4809 		if eval \${$cacheid+:} false; then :
   4810   $as_echo_n "(cached) " >&6
   4811 else
   4812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4813 /* end confdefs.h.  */
   4814 int i;
   4815 int
   4816 main ()
   4817 {
   4818 
   4819   ;
   4820   return 0;
   4821 }
   4822 _ACEOF
   4823 if ac_fn_c_try_link "$LINENO"; then :
   4824   eval $cacheid=yes
   4825 else
   4826   eval $cacheid=no
   4827 fi
   4828 rm -f core conftest.err conftest.$ac_objext \
   4829     conftest$ac_exeext conftest.$ac_ext
   4830 fi
   4831 
   4832 
   4833 		CFLAGS="$xorg_testset_save_CFLAGS"
   4834 
   4835 		eval supported=\$$cacheid
   4836 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4837 $as_echo "$supported" >&6; }
   4838 		if test "$supported" = "yes" ; then
   4839 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4840 			found="yes"
   4841 		fi
   4842 	fi
   4843 
   4844 
   4845 
   4846 
   4847 
   4848 
   4849 
   4850 
   4851 
   4852 
   4853 
   4854 
   4855 
   4856 
   4857 
   4858 xorg_testset_save_CFLAGS="$CFLAGS"
   4859 
   4860 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4861 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4862 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4863 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4864 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4865   $as_echo_n "(cached) " >&6
   4866 else
   4867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4868 /* end confdefs.h.  */
   4869 int i;
   4870 _ACEOF
   4871 if ac_fn_c_try_compile "$LINENO"; then :
   4872   xorg_cv_cc_flag_unknown_warning_option=yes
   4873 else
   4874   xorg_cv_cc_flag_unknown_warning_option=no
   4875 fi
   4876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4877 fi
   4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4879 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4880 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4881 	CFLAGS="$xorg_testset_save_CFLAGS"
   4882 fi
   4883 
   4884 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4885 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4886 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4887 	fi
   4888 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4889 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4890 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4891 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4892   $as_echo_n "(cached) " >&6
   4893 else
   4894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4895 /* end confdefs.h.  */
   4896 int i;
   4897 _ACEOF
   4898 if ac_fn_c_try_compile "$LINENO"; then :
   4899   xorg_cv_cc_flag_unused_command_line_argument=yes
   4900 else
   4901   xorg_cv_cc_flag_unused_command_line_argument=no
   4902 fi
   4903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4904 fi
   4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4906 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4907 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4908 	CFLAGS="$xorg_testset_save_CFLAGS"
   4909 fi
   4910 
   4911 found="no"
   4912 
   4913 	if test $found = "no" ; then
   4914 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4915 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4916 		fi
   4917 
   4918 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4919 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4920 		fi
   4921 
   4922 		CFLAGS="$CFLAGS -Wpointer-arith"
   4923 
   4924 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4925 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4926 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4927 		if eval \${$cacheid+:} false; then :
   4928   $as_echo_n "(cached) " >&6
   4929 else
   4930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4931 /* end confdefs.h.  */
   4932 int i;
   4933 int
   4934 main ()
   4935 {
   4936 
   4937   ;
   4938   return 0;
   4939 }
   4940 _ACEOF
   4941 if ac_fn_c_try_link "$LINENO"; then :
   4942   eval $cacheid=yes
   4943 else
   4944   eval $cacheid=no
   4945 fi
   4946 rm -f core conftest.err conftest.$ac_objext \
   4947     conftest$ac_exeext conftest.$ac_ext
   4948 fi
   4949 
   4950 
   4951 		CFLAGS="$xorg_testset_save_CFLAGS"
   4952 
   4953 		eval supported=\$$cacheid
   4954 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4955 $as_echo "$supported" >&6; }
   4956 		if test "$supported" = "yes" ; then
   4957 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4958 			found="yes"
   4959 		fi
   4960 	fi
   4961 
   4962 
   4963 
   4964 
   4965 
   4966 
   4967 
   4968 
   4969 
   4970 
   4971 
   4972 
   4973 
   4974 
   4975 
   4976 xorg_testset_save_CFLAGS="$CFLAGS"
   4977 
   4978 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4979 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4980 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4981 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4982 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4983   $as_echo_n "(cached) " >&6
   4984 else
   4985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4986 /* end confdefs.h.  */
   4987 int i;
   4988 _ACEOF
   4989 if ac_fn_c_try_compile "$LINENO"; then :
   4990   xorg_cv_cc_flag_unknown_warning_option=yes
   4991 else
   4992   xorg_cv_cc_flag_unknown_warning_option=no
   4993 fi
   4994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4995 fi
   4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4997 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4998 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4999 	CFLAGS="$xorg_testset_save_CFLAGS"
   5000 fi
   5001 
   5002 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5003 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5004 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5005 	fi
   5006 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5007 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5008 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5009 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5010   $as_echo_n "(cached) " >&6
   5011 else
   5012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5013 /* end confdefs.h.  */
   5014 int i;
   5015 _ACEOF
   5016 if ac_fn_c_try_compile "$LINENO"; then :
   5017   xorg_cv_cc_flag_unused_command_line_argument=yes
   5018 else
   5019   xorg_cv_cc_flag_unused_command_line_argument=no
   5020 fi
   5021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5022 fi
   5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5024 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5025 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5026 	CFLAGS="$xorg_testset_save_CFLAGS"
   5027 fi
   5028 
   5029 found="no"
   5030 
   5031 	if test $found = "no" ; then
   5032 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5033 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5034 		fi
   5035 
   5036 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5037 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5038 		fi
   5039 
   5040 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5041 
   5042 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5043 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5044 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5045 		if eval \${$cacheid+:} false; then :
   5046   $as_echo_n "(cached) " >&6
   5047 else
   5048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5049 /* end confdefs.h.  */
   5050 int i;
   5051 int
   5052 main ()
   5053 {
   5054 
   5055   ;
   5056   return 0;
   5057 }
   5058 _ACEOF
   5059 if ac_fn_c_try_link "$LINENO"; then :
   5060   eval $cacheid=yes
   5061 else
   5062   eval $cacheid=no
   5063 fi
   5064 rm -f core conftest.err conftest.$ac_objext \
   5065     conftest$ac_exeext conftest.$ac_ext
   5066 fi
   5067 
   5068 
   5069 		CFLAGS="$xorg_testset_save_CFLAGS"
   5070 
   5071 		eval supported=\$$cacheid
   5072 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5073 $as_echo "$supported" >&6; }
   5074 		if test "$supported" = "yes" ; then
   5075 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5076 			found="yes"
   5077 		fi
   5078 	fi
   5079 
   5080 
   5081 
   5082 
   5083 
   5084 
   5085 
   5086 
   5087 
   5088 
   5089 
   5090 
   5091 
   5092 
   5093 
   5094 xorg_testset_save_CFLAGS="$CFLAGS"
   5095 
   5096 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5097 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5098 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5099 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5100 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5101   $as_echo_n "(cached) " >&6
   5102 else
   5103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5104 /* end confdefs.h.  */
   5105 int i;
   5106 _ACEOF
   5107 if ac_fn_c_try_compile "$LINENO"; then :
   5108   xorg_cv_cc_flag_unknown_warning_option=yes
   5109 else
   5110   xorg_cv_cc_flag_unknown_warning_option=no
   5111 fi
   5112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5113 fi
   5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5115 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5116 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5117 	CFLAGS="$xorg_testset_save_CFLAGS"
   5118 fi
   5119 
   5120 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5121 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5122 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5123 	fi
   5124 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5125 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5126 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5127 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5128   $as_echo_n "(cached) " >&6
   5129 else
   5130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5131 /* end confdefs.h.  */
   5132 int i;
   5133 _ACEOF
   5134 if ac_fn_c_try_compile "$LINENO"; then :
   5135   xorg_cv_cc_flag_unused_command_line_argument=yes
   5136 else
   5137   xorg_cv_cc_flag_unused_command_line_argument=no
   5138 fi
   5139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5140 fi
   5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5142 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5143 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5144 	CFLAGS="$xorg_testset_save_CFLAGS"
   5145 fi
   5146 
   5147 found="no"
   5148 
   5149 	if test $found = "no" ; then
   5150 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5151 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5152 		fi
   5153 
   5154 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5155 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5156 		fi
   5157 
   5158 		CFLAGS="$CFLAGS -Wformat=2"
   5159 
   5160 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5161 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5162 		cacheid=xorg_cv_cc_flag__Wformat_2
   5163 		if eval \${$cacheid+:} false; then :
   5164   $as_echo_n "(cached) " >&6
   5165 else
   5166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5167 /* end confdefs.h.  */
   5168 int i;
   5169 int
   5170 main ()
   5171 {
   5172 
   5173   ;
   5174   return 0;
   5175 }
   5176 _ACEOF
   5177 if ac_fn_c_try_link "$LINENO"; then :
   5178   eval $cacheid=yes
   5179 else
   5180   eval $cacheid=no
   5181 fi
   5182 rm -f core conftest.err conftest.$ac_objext \
   5183     conftest$ac_exeext conftest.$ac_ext
   5184 fi
   5185 
   5186 
   5187 		CFLAGS="$xorg_testset_save_CFLAGS"
   5188 
   5189 		eval supported=\$$cacheid
   5190 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5191 $as_echo "$supported" >&6; }
   5192 		if test "$supported" = "yes" ; then
   5193 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5194 			found="yes"
   5195 		fi
   5196 	fi
   5197 
   5198 	if test $found = "no" ; then
   5199 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5200 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5201 		fi
   5202 
   5203 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5204 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5205 		fi
   5206 
   5207 		CFLAGS="$CFLAGS -Wformat"
   5208 
   5209 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5210 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5211 		cacheid=xorg_cv_cc_flag__Wformat
   5212 		if eval \${$cacheid+:} false; then :
   5213   $as_echo_n "(cached) " >&6
   5214 else
   5215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5216 /* end confdefs.h.  */
   5217 int i;
   5218 int
   5219 main ()
   5220 {
   5221 
   5222   ;
   5223   return 0;
   5224 }
   5225 _ACEOF
   5226 if ac_fn_c_try_link "$LINENO"; then :
   5227   eval $cacheid=yes
   5228 else
   5229   eval $cacheid=no
   5230 fi
   5231 rm -f core conftest.err conftest.$ac_objext \
   5232     conftest$ac_exeext conftest.$ac_ext
   5233 fi
   5234 
   5235 
   5236 		CFLAGS="$xorg_testset_save_CFLAGS"
   5237 
   5238 		eval supported=\$$cacheid
   5239 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5240 $as_echo "$supported" >&6; }
   5241 		if test "$supported" = "yes" ; then
   5242 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5243 			found="yes"
   5244 		fi
   5245 	fi
   5246 
   5247 
   5248 
   5249 
   5250 
   5251 
   5252 
   5253 
   5254 
   5255 
   5256 
   5257 
   5258 
   5259 
   5260 
   5261 
   5262 
   5263 xorg_testset_save_CFLAGS="$CFLAGS"
   5264 
   5265 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5266 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5267 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5268 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5269 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5270   $as_echo_n "(cached) " >&6
   5271 else
   5272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5273 /* end confdefs.h.  */
   5274 int i;
   5275 _ACEOF
   5276 if ac_fn_c_try_compile "$LINENO"; then :
   5277   xorg_cv_cc_flag_unknown_warning_option=yes
   5278 else
   5279   xorg_cv_cc_flag_unknown_warning_option=no
   5280 fi
   5281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5282 fi
   5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5284 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5285 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5286 	CFLAGS="$xorg_testset_save_CFLAGS"
   5287 fi
   5288 
   5289 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5290 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5291 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5292 	fi
   5293 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5294 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5295 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5296 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5297   $as_echo_n "(cached) " >&6
   5298 else
   5299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5300 /* end confdefs.h.  */
   5301 int i;
   5302 _ACEOF
   5303 if ac_fn_c_try_compile "$LINENO"; then :
   5304   xorg_cv_cc_flag_unused_command_line_argument=yes
   5305 else
   5306   xorg_cv_cc_flag_unused_command_line_argument=no
   5307 fi
   5308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5309 fi
   5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5311 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5312 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5313 	CFLAGS="$xorg_testset_save_CFLAGS"
   5314 fi
   5315 
   5316 found="no"
   5317 
   5318 	if test $found = "no" ; then
   5319 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5320 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5321 		fi
   5322 
   5323 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5324 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5325 		fi
   5326 
   5327 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5328 
   5329 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5330 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5331 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5332 		if eval \${$cacheid+:} false; then :
   5333   $as_echo_n "(cached) " >&6
   5334 else
   5335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5336 /* end confdefs.h.  */
   5337 int i;
   5338 int
   5339 main ()
   5340 {
   5341 
   5342   ;
   5343   return 0;
   5344 }
   5345 _ACEOF
   5346 if ac_fn_c_try_link "$LINENO"; then :
   5347   eval $cacheid=yes
   5348 else
   5349   eval $cacheid=no
   5350 fi
   5351 rm -f core conftest.err conftest.$ac_objext \
   5352     conftest$ac_exeext conftest.$ac_ext
   5353 fi
   5354 
   5355 
   5356 		CFLAGS="$xorg_testset_save_CFLAGS"
   5357 
   5358 		eval supported=\$$cacheid
   5359 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5360 $as_echo "$supported" >&6; }
   5361 		if test "$supported" = "yes" ; then
   5362 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5363 			found="yes"
   5364 		fi
   5365 	fi
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 
   5381 xorg_testset_save_CFLAGS="$CFLAGS"
   5382 
   5383 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5384 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5385 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5386 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5387 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5388   $as_echo_n "(cached) " >&6
   5389 else
   5390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5391 /* end confdefs.h.  */
   5392 int i;
   5393 _ACEOF
   5394 if ac_fn_c_try_compile "$LINENO"; then :
   5395   xorg_cv_cc_flag_unknown_warning_option=yes
   5396 else
   5397   xorg_cv_cc_flag_unknown_warning_option=no
   5398 fi
   5399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5400 fi
   5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5402 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5403 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5404 	CFLAGS="$xorg_testset_save_CFLAGS"
   5405 fi
   5406 
   5407 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5408 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5409 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5410 	fi
   5411 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5412 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5413 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5414 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5415   $as_echo_n "(cached) " >&6
   5416 else
   5417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5418 /* end confdefs.h.  */
   5419 int i;
   5420 _ACEOF
   5421 if ac_fn_c_try_compile "$LINENO"; then :
   5422   xorg_cv_cc_flag_unused_command_line_argument=yes
   5423 else
   5424   xorg_cv_cc_flag_unused_command_line_argument=no
   5425 fi
   5426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5427 fi
   5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5429 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5430 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5431 	CFLAGS="$xorg_testset_save_CFLAGS"
   5432 fi
   5433 
   5434 found="no"
   5435 
   5436 	if test $found = "no" ; then
   5437 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5438 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5439 		fi
   5440 
   5441 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5442 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5443 		fi
   5444 
   5445 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5446 
   5447 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5448 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5449 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5450 		if eval \${$cacheid+:} false; then :
   5451   $as_echo_n "(cached) " >&6
   5452 else
   5453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5454 /* end confdefs.h.  */
   5455 int i;
   5456 int
   5457 main ()
   5458 {
   5459 
   5460   ;
   5461   return 0;
   5462 }
   5463 _ACEOF
   5464 if ac_fn_c_try_link "$LINENO"; then :
   5465   eval $cacheid=yes
   5466 else
   5467   eval $cacheid=no
   5468 fi
   5469 rm -f core conftest.err conftest.$ac_objext \
   5470     conftest$ac_exeext conftest.$ac_ext
   5471 fi
   5472 
   5473 
   5474 		CFLAGS="$xorg_testset_save_CFLAGS"
   5475 
   5476 		eval supported=\$$cacheid
   5477 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5478 $as_echo "$supported" >&6; }
   5479 		if test "$supported" = "yes" ; then
   5480 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5481 			found="yes"
   5482 		fi
   5483 	fi
   5484 
   5485 
   5486 
   5487 
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 
   5498 
   5499 xorg_testset_save_CFLAGS="$CFLAGS"
   5500 
   5501 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5502 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5503 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5504 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5505 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5506   $as_echo_n "(cached) " >&6
   5507 else
   5508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5509 /* end confdefs.h.  */
   5510 int i;
   5511 _ACEOF
   5512 if ac_fn_c_try_compile "$LINENO"; then :
   5513   xorg_cv_cc_flag_unknown_warning_option=yes
   5514 else
   5515   xorg_cv_cc_flag_unknown_warning_option=no
   5516 fi
   5517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5518 fi
   5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5520 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5521 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5522 	CFLAGS="$xorg_testset_save_CFLAGS"
   5523 fi
   5524 
   5525 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5526 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5527 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5528 	fi
   5529 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5530 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5531 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5532 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5533   $as_echo_n "(cached) " >&6
   5534 else
   5535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5536 /* end confdefs.h.  */
   5537 int i;
   5538 _ACEOF
   5539 if ac_fn_c_try_compile "$LINENO"; then :
   5540   xorg_cv_cc_flag_unused_command_line_argument=yes
   5541 else
   5542   xorg_cv_cc_flag_unused_command_line_argument=no
   5543 fi
   5544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5545 fi
   5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5547 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5548 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5549 	CFLAGS="$xorg_testset_save_CFLAGS"
   5550 fi
   5551 
   5552 found="no"
   5553 
   5554 	if test $found = "no" ; then
   5555 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5556 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5557 		fi
   5558 
   5559 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5560 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5561 		fi
   5562 
   5563 		CFLAGS="$CFLAGS -Wnested-externs"
   5564 
   5565 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5566 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5567 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5568 		if eval \${$cacheid+:} false; then :
   5569   $as_echo_n "(cached) " >&6
   5570 else
   5571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5572 /* end confdefs.h.  */
   5573 int i;
   5574 int
   5575 main ()
   5576 {
   5577 
   5578   ;
   5579   return 0;
   5580 }
   5581 _ACEOF
   5582 if ac_fn_c_try_link "$LINENO"; then :
   5583   eval $cacheid=yes
   5584 else
   5585   eval $cacheid=no
   5586 fi
   5587 rm -f core conftest.err conftest.$ac_objext \
   5588     conftest$ac_exeext conftest.$ac_ext
   5589 fi
   5590 
   5591 
   5592 		CFLAGS="$xorg_testset_save_CFLAGS"
   5593 
   5594 		eval supported=\$$cacheid
   5595 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5596 $as_echo "$supported" >&6; }
   5597 		if test "$supported" = "yes" ; then
   5598 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5599 			found="yes"
   5600 		fi
   5601 	fi
   5602 
   5603 
   5604 
   5605 
   5606 
   5607 
   5608 
   5609 
   5610 
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 
   5617 xorg_testset_save_CFLAGS="$CFLAGS"
   5618 
   5619 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5620 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5621 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5622 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5623 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5624   $as_echo_n "(cached) " >&6
   5625 else
   5626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5627 /* end confdefs.h.  */
   5628 int i;
   5629 _ACEOF
   5630 if ac_fn_c_try_compile "$LINENO"; then :
   5631   xorg_cv_cc_flag_unknown_warning_option=yes
   5632 else
   5633   xorg_cv_cc_flag_unknown_warning_option=no
   5634 fi
   5635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5636 fi
   5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5638 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5639 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5640 	CFLAGS="$xorg_testset_save_CFLAGS"
   5641 fi
   5642 
   5643 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5644 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5645 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5646 	fi
   5647 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5648 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5649 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5650 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5651   $as_echo_n "(cached) " >&6
   5652 else
   5653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5654 /* end confdefs.h.  */
   5655 int i;
   5656 _ACEOF
   5657 if ac_fn_c_try_compile "$LINENO"; then :
   5658   xorg_cv_cc_flag_unused_command_line_argument=yes
   5659 else
   5660   xorg_cv_cc_flag_unused_command_line_argument=no
   5661 fi
   5662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5663 fi
   5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5665 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5666 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5667 	CFLAGS="$xorg_testset_save_CFLAGS"
   5668 fi
   5669 
   5670 found="no"
   5671 
   5672 	if test $found = "no" ; then
   5673 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5674 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5675 		fi
   5676 
   5677 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5678 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5679 		fi
   5680 
   5681 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5682 
   5683 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5684 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5685 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5686 		if eval \${$cacheid+:} false; then :
   5687   $as_echo_n "(cached) " >&6
   5688 else
   5689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5690 /* end confdefs.h.  */
   5691 int i;
   5692 int
   5693 main ()
   5694 {
   5695 
   5696   ;
   5697   return 0;
   5698 }
   5699 _ACEOF
   5700 if ac_fn_c_try_link "$LINENO"; then :
   5701   eval $cacheid=yes
   5702 else
   5703   eval $cacheid=no
   5704 fi
   5705 rm -f core conftest.err conftest.$ac_objext \
   5706     conftest$ac_exeext conftest.$ac_ext
   5707 fi
   5708 
   5709 
   5710 		CFLAGS="$xorg_testset_save_CFLAGS"
   5711 
   5712 		eval supported=\$$cacheid
   5713 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5714 $as_echo "$supported" >&6; }
   5715 		if test "$supported" = "yes" ; then
   5716 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5717 			found="yes"
   5718 		fi
   5719 	fi
   5720 
   5721 
   5722 
   5723 
   5724 
   5725 
   5726 
   5727 
   5728 
   5729 
   5730 
   5731 
   5732 
   5733 
   5734 
   5735 xorg_testset_save_CFLAGS="$CFLAGS"
   5736 
   5737 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5738 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5739 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5740 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5741 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5742   $as_echo_n "(cached) " >&6
   5743 else
   5744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5745 /* end confdefs.h.  */
   5746 int i;
   5747 _ACEOF
   5748 if ac_fn_c_try_compile "$LINENO"; then :
   5749   xorg_cv_cc_flag_unknown_warning_option=yes
   5750 else
   5751   xorg_cv_cc_flag_unknown_warning_option=no
   5752 fi
   5753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5754 fi
   5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5756 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5757 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5758 	CFLAGS="$xorg_testset_save_CFLAGS"
   5759 fi
   5760 
   5761 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5762 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5763 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5764 	fi
   5765 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5766 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5767 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5768 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5769   $as_echo_n "(cached) " >&6
   5770 else
   5771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5772 /* end confdefs.h.  */
   5773 int i;
   5774 _ACEOF
   5775 if ac_fn_c_try_compile "$LINENO"; then :
   5776   xorg_cv_cc_flag_unused_command_line_argument=yes
   5777 else
   5778   xorg_cv_cc_flag_unused_command_line_argument=no
   5779 fi
   5780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5781 fi
   5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5783 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5784 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5785 	CFLAGS="$xorg_testset_save_CFLAGS"
   5786 fi
   5787 
   5788 found="no"
   5789 
   5790 	if test $found = "no" ; then
   5791 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5792 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5793 		fi
   5794 
   5795 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5796 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5797 		fi
   5798 
   5799 		CFLAGS="$CFLAGS -Wold-style-definition"
   5800 
   5801 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5802 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5803 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5804 		if eval \${$cacheid+:} false; then :
   5805   $as_echo_n "(cached) " >&6
   5806 else
   5807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5808 /* end confdefs.h.  */
   5809 int i;
   5810 int
   5811 main ()
   5812 {
   5813 
   5814   ;
   5815   return 0;
   5816 }
   5817 _ACEOF
   5818 if ac_fn_c_try_link "$LINENO"; then :
   5819   eval $cacheid=yes
   5820 else
   5821   eval $cacheid=no
   5822 fi
   5823 rm -f core conftest.err conftest.$ac_objext \
   5824     conftest$ac_exeext conftest.$ac_ext
   5825 fi
   5826 
   5827 
   5828 		CFLAGS="$xorg_testset_save_CFLAGS"
   5829 
   5830 		eval supported=\$$cacheid
   5831 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5832 $as_echo "$supported" >&6; }
   5833 		if test "$supported" = "yes" ; then
   5834 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5835 			found="yes"
   5836 		fi
   5837 	fi
   5838 
   5839 	if test $found = "no" ; then
   5840 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5841 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5842 		fi
   5843 
   5844 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5845 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5846 		fi
   5847 
   5848 		CFLAGS="$CFLAGS -fd"
   5849 
   5850 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5851 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5852 		cacheid=xorg_cv_cc_flag__fd
   5853 		if eval \${$cacheid+:} false; then :
   5854   $as_echo_n "(cached) " >&6
   5855 else
   5856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5857 /* end confdefs.h.  */
   5858 int i;
   5859 int
   5860 main ()
   5861 {
   5862 
   5863   ;
   5864   return 0;
   5865 }
   5866 _ACEOF
   5867 if ac_fn_c_try_link "$LINENO"; then :
   5868   eval $cacheid=yes
   5869 else
   5870   eval $cacheid=no
   5871 fi
   5872 rm -f core conftest.err conftest.$ac_objext \
   5873     conftest$ac_exeext conftest.$ac_ext
   5874 fi
   5875 
   5876 
   5877 		CFLAGS="$xorg_testset_save_CFLAGS"
   5878 
   5879 		eval supported=\$$cacheid
   5880 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5881 $as_echo "$supported" >&6; }
   5882 		if test "$supported" = "yes" ; then
   5883 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5884 			found="yes"
   5885 		fi
   5886 	fi
   5887 
   5888 
   5889 
   5890 
   5891 
   5892 
   5893 
   5894 
   5895 
   5896 
   5897 
   5898 
   5899 
   5900 
   5901 
   5902 xorg_testset_save_CFLAGS="$CFLAGS"
   5903 
   5904 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5905 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5906 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5907 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5908 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5909   $as_echo_n "(cached) " >&6
   5910 else
   5911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5912 /* end confdefs.h.  */
   5913 int i;
   5914 _ACEOF
   5915 if ac_fn_c_try_compile "$LINENO"; then :
   5916   xorg_cv_cc_flag_unknown_warning_option=yes
   5917 else
   5918   xorg_cv_cc_flag_unknown_warning_option=no
   5919 fi
   5920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5921 fi
   5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5923 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5924 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5925 	CFLAGS="$xorg_testset_save_CFLAGS"
   5926 fi
   5927 
   5928 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5929 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5930 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5931 	fi
   5932 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5933 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5934 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5935 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5936   $as_echo_n "(cached) " >&6
   5937 else
   5938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5939 /* end confdefs.h.  */
   5940 int i;
   5941 _ACEOF
   5942 if ac_fn_c_try_compile "$LINENO"; then :
   5943   xorg_cv_cc_flag_unused_command_line_argument=yes
   5944 else
   5945   xorg_cv_cc_flag_unused_command_line_argument=no
   5946 fi
   5947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5948 fi
   5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5950 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5951 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5952 	CFLAGS="$xorg_testset_save_CFLAGS"
   5953 fi
   5954 
   5955 found="no"
   5956 
   5957 	if test $found = "no" ; then
   5958 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5959 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5960 		fi
   5961 
   5962 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5963 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5964 		fi
   5965 
   5966 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5967 
   5968 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5969 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5970 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5971 		if eval \${$cacheid+:} false; then :
   5972   $as_echo_n "(cached) " >&6
   5973 else
   5974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5975 /* end confdefs.h.  */
   5976 int i;
   5977 int
   5978 main ()
   5979 {
   5980 
   5981   ;
   5982   return 0;
   5983 }
   5984 _ACEOF
   5985 if ac_fn_c_try_link "$LINENO"; then :
   5986   eval $cacheid=yes
   5987 else
   5988   eval $cacheid=no
   5989 fi
   5990 rm -f core conftest.err conftest.$ac_objext \
   5991     conftest$ac_exeext conftest.$ac_ext
   5992 fi
   5993 
   5994 
   5995 		CFLAGS="$xorg_testset_save_CFLAGS"
   5996 
   5997 		eval supported=\$$cacheid
   5998 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5999 $as_echo "$supported" >&6; }
   6000 		if test "$supported" = "yes" ; then
   6001 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6002 			found="yes"
   6003 		fi
   6004 	fi
   6005 
   6006 
   6007 
   6008 
   6009 
   6010 # This chunk adds additional warnings that could catch undesired effects.
   6011 
   6012 
   6013 
   6014 
   6015 
   6016 
   6017 
   6018 
   6019 
   6020 
   6021 
   6022 
   6023 
   6024 xorg_testset_save_CFLAGS="$CFLAGS"
   6025 
   6026 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6027 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6028 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6029 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6030 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6031   $as_echo_n "(cached) " >&6
   6032 else
   6033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6034 /* end confdefs.h.  */
   6035 int i;
   6036 _ACEOF
   6037 if ac_fn_c_try_compile "$LINENO"; then :
   6038   xorg_cv_cc_flag_unknown_warning_option=yes
   6039 else
   6040   xorg_cv_cc_flag_unknown_warning_option=no
   6041 fi
   6042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6043 fi
   6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6045 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6046 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6047 	CFLAGS="$xorg_testset_save_CFLAGS"
   6048 fi
   6049 
   6050 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6051 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6052 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6053 	fi
   6054 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6055 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6056 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6057 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6058   $as_echo_n "(cached) " >&6
   6059 else
   6060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6061 /* end confdefs.h.  */
   6062 int i;
   6063 _ACEOF
   6064 if ac_fn_c_try_compile "$LINENO"; then :
   6065   xorg_cv_cc_flag_unused_command_line_argument=yes
   6066 else
   6067   xorg_cv_cc_flag_unused_command_line_argument=no
   6068 fi
   6069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6070 fi
   6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6072 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6073 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6074 	CFLAGS="$xorg_testset_save_CFLAGS"
   6075 fi
   6076 
   6077 found="no"
   6078 
   6079 	if test $found = "no" ; then
   6080 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6081 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6082 		fi
   6083 
   6084 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6085 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6086 		fi
   6087 
   6088 		CFLAGS="$CFLAGS -Wunused"
   6089 
   6090 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6091 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6092 		cacheid=xorg_cv_cc_flag__Wunused
   6093 		if eval \${$cacheid+:} false; then :
   6094   $as_echo_n "(cached) " >&6
   6095 else
   6096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6097 /* end confdefs.h.  */
   6098 int i;
   6099 int
   6100 main ()
   6101 {
   6102 
   6103   ;
   6104   return 0;
   6105 }
   6106 _ACEOF
   6107 if ac_fn_c_try_link "$LINENO"; then :
   6108   eval $cacheid=yes
   6109 else
   6110   eval $cacheid=no
   6111 fi
   6112 rm -f core conftest.err conftest.$ac_objext \
   6113     conftest$ac_exeext conftest.$ac_ext
   6114 fi
   6115 
   6116 
   6117 		CFLAGS="$xorg_testset_save_CFLAGS"
   6118 
   6119 		eval supported=\$$cacheid
   6120 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6121 $as_echo "$supported" >&6; }
   6122 		if test "$supported" = "yes" ; then
   6123 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6124 			found="yes"
   6125 		fi
   6126 	fi
   6127 
   6128 
   6129 
   6130 
   6131 
   6132 
   6133 
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 
   6140 
   6141 
   6142 xorg_testset_save_CFLAGS="$CFLAGS"
   6143 
   6144 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6145 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6146 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6147 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6148 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6149   $as_echo_n "(cached) " >&6
   6150 else
   6151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6152 /* end confdefs.h.  */
   6153 int i;
   6154 _ACEOF
   6155 if ac_fn_c_try_compile "$LINENO"; then :
   6156   xorg_cv_cc_flag_unknown_warning_option=yes
   6157 else
   6158   xorg_cv_cc_flag_unknown_warning_option=no
   6159 fi
   6160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6161 fi
   6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6163 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6164 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6165 	CFLAGS="$xorg_testset_save_CFLAGS"
   6166 fi
   6167 
   6168 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6169 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6170 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6171 	fi
   6172 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6173 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6174 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6175 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6176   $as_echo_n "(cached) " >&6
   6177 else
   6178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6179 /* end confdefs.h.  */
   6180 int i;
   6181 _ACEOF
   6182 if ac_fn_c_try_compile "$LINENO"; then :
   6183   xorg_cv_cc_flag_unused_command_line_argument=yes
   6184 else
   6185   xorg_cv_cc_flag_unused_command_line_argument=no
   6186 fi
   6187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6188 fi
   6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6190 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6191 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6192 	CFLAGS="$xorg_testset_save_CFLAGS"
   6193 fi
   6194 
   6195 found="no"
   6196 
   6197 	if test $found = "no" ; then
   6198 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6199 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6200 		fi
   6201 
   6202 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6203 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6204 		fi
   6205 
   6206 		CFLAGS="$CFLAGS -Wuninitialized"
   6207 
   6208 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6209 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6210 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6211 		if eval \${$cacheid+:} false; then :
   6212   $as_echo_n "(cached) " >&6
   6213 else
   6214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6215 /* end confdefs.h.  */
   6216 int i;
   6217 int
   6218 main ()
   6219 {
   6220 
   6221   ;
   6222   return 0;
   6223 }
   6224 _ACEOF
   6225 if ac_fn_c_try_link "$LINENO"; then :
   6226   eval $cacheid=yes
   6227 else
   6228   eval $cacheid=no
   6229 fi
   6230 rm -f core conftest.err conftest.$ac_objext \
   6231     conftest$ac_exeext conftest.$ac_ext
   6232 fi
   6233 
   6234 
   6235 		CFLAGS="$xorg_testset_save_CFLAGS"
   6236 
   6237 		eval supported=\$$cacheid
   6238 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6239 $as_echo "$supported" >&6; }
   6240 		if test "$supported" = "yes" ; then
   6241 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6242 			found="yes"
   6243 		fi
   6244 	fi
   6245 
   6246 
   6247 
   6248 
   6249 
   6250 
   6251 
   6252 
   6253 
   6254 
   6255 
   6256 
   6257 
   6258 
   6259 
   6260 xorg_testset_save_CFLAGS="$CFLAGS"
   6261 
   6262 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6263 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6264 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6265 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6266 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6267   $as_echo_n "(cached) " >&6
   6268 else
   6269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6270 /* end confdefs.h.  */
   6271 int i;
   6272 _ACEOF
   6273 if ac_fn_c_try_compile "$LINENO"; then :
   6274   xorg_cv_cc_flag_unknown_warning_option=yes
   6275 else
   6276   xorg_cv_cc_flag_unknown_warning_option=no
   6277 fi
   6278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6279 fi
   6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6281 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6282 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6283 	CFLAGS="$xorg_testset_save_CFLAGS"
   6284 fi
   6285 
   6286 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6287 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6288 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6289 	fi
   6290 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6291 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6292 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6293 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6294   $as_echo_n "(cached) " >&6
   6295 else
   6296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6297 /* end confdefs.h.  */
   6298 int i;
   6299 _ACEOF
   6300 if ac_fn_c_try_compile "$LINENO"; then :
   6301   xorg_cv_cc_flag_unused_command_line_argument=yes
   6302 else
   6303   xorg_cv_cc_flag_unused_command_line_argument=no
   6304 fi
   6305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6306 fi
   6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6308 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6309 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6310 	CFLAGS="$xorg_testset_save_CFLAGS"
   6311 fi
   6312 
   6313 found="no"
   6314 
   6315 	if test $found = "no" ; then
   6316 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6317 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6318 		fi
   6319 
   6320 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6321 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6322 		fi
   6323 
   6324 		CFLAGS="$CFLAGS -Wshadow"
   6325 
   6326 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6327 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6328 		cacheid=xorg_cv_cc_flag__Wshadow
   6329 		if eval \${$cacheid+:} false; then :
   6330   $as_echo_n "(cached) " >&6
   6331 else
   6332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6333 /* end confdefs.h.  */
   6334 int i;
   6335 int
   6336 main ()
   6337 {
   6338 
   6339   ;
   6340   return 0;
   6341 }
   6342 _ACEOF
   6343 if ac_fn_c_try_link "$LINENO"; then :
   6344   eval $cacheid=yes
   6345 else
   6346   eval $cacheid=no
   6347 fi
   6348 rm -f core conftest.err conftest.$ac_objext \
   6349     conftest$ac_exeext conftest.$ac_ext
   6350 fi
   6351 
   6352 
   6353 		CFLAGS="$xorg_testset_save_CFLAGS"
   6354 
   6355 		eval supported=\$$cacheid
   6356 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6357 $as_echo "$supported" >&6; }
   6358 		if test "$supported" = "yes" ; then
   6359 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6360 			found="yes"
   6361 		fi
   6362 	fi
   6363 
   6364 
   6365 
   6366 
   6367 
   6368 
   6369 
   6370 
   6371 
   6372 
   6373 
   6374 
   6375 
   6376 
   6377 
   6378 xorg_testset_save_CFLAGS="$CFLAGS"
   6379 
   6380 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6381 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6382 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6383 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6384 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6385   $as_echo_n "(cached) " >&6
   6386 else
   6387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6388 /* end confdefs.h.  */
   6389 int i;
   6390 _ACEOF
   6391 if ac_fn_c_try_compile "$LINENO"; then :
   6392   xorg_cv_cc_flag_unknown_warning_option=yes
   6393 else
   6394   xorg_cv_cc_flag_unknown_warning_option=no
   6395 fi
   6396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6397 fi
   6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6399 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6400 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6401 	CFLAGS="$xorg_testset_save_CFLAGS"
   6402 fi
   6403 
   6404 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6405 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6406 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6407 	fi
   6408 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6409 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6410 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6411 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6412   $as_echo_n "(cached) " >&6
   6413 else
   6414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6415 /* end confdefs.h.  */
   6416 int i;
   6417 _ACEOF
   6418 if ac_fn_c_try_compile "$LINENO"; then :
   6419   xorg_cv_cc_flag_unused_command_line_argument=yes
   6420 else
   6421   xorg_cv_cc_flag_unused_command_line_argument=no
   6422 fi
   6423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6424 fi
   6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6426 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6427 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6428 	CFLAGS="$xorg_testset_save_CFLAGS"
   6429 fi
   6430 
   6431 found="no"
   6432 
   6433 	if test $found = "no" ; then
   6434 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6435 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6436 		fi
   6437 
   6438 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6439 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6440 		fi
   6441 
   6442 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6443 
   6444 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6445 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6446 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6447 		if eval \${$cacheid+:} false; then :
   6448   $as_echo_n "(cached) " >&6
   6449 else
   6450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6451 /* end confdefs.h.  */
   6452 int i;
   6453 int
   6454 main ()
   6455 {
   6456 
   6457   ;
   6458   return 0;
   6459 }
   6460 _ACEOF
   6461 if ac_fn_c_try_link "$LINENO"; then :
   6462   eval $cacheid=yes
   6463 else
   6464   eval $cacheid=no
   6465 fi
   6466 rm -f core conftest.err conftest.$ac_objext \
   6467     conftest$ac_exeext conftest.$ac_ext
   6468 fi
   6469 
   6470 
   6471 		CFLAGS="$xorg_testset_save_CFLAGS"
   6472 
   6473 		eval supported=\$$cacheid
   6474 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6475 $as_echo "$supported" >&6; }
   6476 		if test "$supported" = "yes" ; then
   6477 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6478 			found="yes"
   6479 		fi
   6480 	fi
   6481 
   6482 
   6483 
   6484 
   6485 
   6486 
   6487 
   6488 
   6489 
   6490 
   6491 
   6492 
   6493 
   6494 
   6495 
   6496 xorg_testset_save_CFLAGS="$CFLAGS"
   6497 
   6498 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6499 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6500 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6501 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6502 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6503   $as_echo_n "(cached) " >&6
   6504 else
   6505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6506 /* end confdefs.h.  */
   6507 int i;
   6508 _ACEOF
   6509 if ac_fn_c_try_compile "$LINENO"; then :
   6510   xorg_cv_cc_flag_unknown_warning_option=yes
   6511 else
   6512   xorg_cv_cc_flag_unknown_warning_option=no
   6513 fi
   6514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6515 fi
   6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6517 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6518 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6519 	CFLAGS="$xorg_testset_save_CFLAGS"
   6520 fi
   6521 
   6522 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6523 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6524 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6525 	fi
   6526 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6527 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6528 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6529 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6530   $as_echo_n "(cached) " >&6
   6531 else
   6532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6533 /* end confdefs.h.  */
   6534 int i;
   6535 _ACEOF
   6536 if ac_fn_c_try_compile "$LINENO"; then :
   6537   xorg_cv_cc_flag_unused_command_line_argument=yes
   6538 else
   6539   xorg_cv_cc_flag_unused_command_line_argument=no
   6540 fi
   6541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6542 fi
   6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6544 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6545 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6546 	CFLAGS="$xorg_testset_save_CFLAGS"
   6547 fi
   6548 
   6549 found="no"
   6550 
   6551 	if test $found = "no" ; then
   6552 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6553 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6554 		fi
   6555 
   6556 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6557 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6558 		fi
   6559 
   6560 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6561 
   6562 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6563 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6564 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6565 		if eval \${$cacheid+:} false; then :
   6566   $as_echo_n "(cached) " >&6
   6567 else
   6568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6569 /* end confdefs.h.  */
   6570 int i;
   6571 int
   6572 main ()
   6573 {
   6574 
   6575   ;
   6576   return 0;
   6577 }
   6578 _ACEOF
   6579 if ac_fn_c_try_link "$LINENO"; then :
   6580   eval $cacheid=yes
   6581 else
   6582   eval $cacheid=no
   6583 fi
   6584 rm -f core conftest.err conftest.$ac_objext \
   6585     conftest$ac_exeext conftest.$ac_ext
   6586 fi
   6587 
   6588 
   6589 		CFLAGS="$xorg_testset_save_CFLAGS"
   6590 
   6591 		eval supported=\$$cacheid
   6592 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6593 $as_echo "$supported" >&6; }
   6594 		if test "$supported" = "yes" ; then
   6595 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6596 			found="yes"
   6597 		fi
   6598 	fi
   6599 
   6600 
   6601 
   6602 
   6603 
   6604 
   6605 
   6606 
   6607 
   6608 
   6609 
   6610 
   6611 
   6612 
   6613 
   6614 xorg_testset_save_CFLAGS="$CFLAGS"
   6615 
   6616 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6617 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6618 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6619 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6620 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6621   $as_echo_n "(cached) " >&6
   6622 else
   6623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6624 /* end confdefs.h.  */
   6625 int i;
   6626 _ACEOF
   6627 if ac_fn_c_try_compile "$LINENO"; then :
   6628   xorg_cv_cc_flag_unknown_warning_option=yes
   6629 else
   6630   xorg_cv_cc_flag_unknown_warning_option=no
   6631 fi
   6632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6633 fi
   6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6635 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6636 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6637 	CFLAGS="$xorg_testset_save_CFLAGS"
   6638 fi
   6639 
   6640 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6641 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6642 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6643 	fi
   6644 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6645 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6646 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6647 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6648   $as_echo_n "(cached) " >&6
   6649 else
   6650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6651 /* end confdefs.h.  */
   6652 int i;
   6653 _ACEOF
   6654 if ac_fn_c_try_compile "$LINENO"; then :
   6655   xorg_cv_cc_flag_unused_command_line_argument=yes
   6656 else
   6657   xorg_cv_cc_flag_unused_command_line_argument=no
   6658 fi
   6659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6660 fi
   6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6662 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6663 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6664 	CFLAGS="$xorg_testset_save_CFLAGS"
   6665 fi
   6666 
   6667 found="no"
   6668 
   6669 	if test $found = "no" ; then
   6670 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6671 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6672 		fi
   6673 
   6674 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6675 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6676 		fi
   6677 
   6678 		CFLAGS="$CFLAGS -Wredundant-decls"
   6679 
   6680 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6681 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6682 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6683 		if eval \${$cacheid+:} false; then :
   6684   $as_echo_n "(cached) " >&6
   6685 else
   6686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6687 /* end confdefs.h.  */
   6688 int i;
   6689 int
   6690 main ()
   6691 {
   6692 
   6693   ;
   6694   return 0;
   6695 }
   6696 _ACEOF
   6697 if ac_fn_c_try_link "$LINENO"; then :
   6698   eval $cacheid=yes
   6699 else
   6700   eval $cacheid=no
   6701 fi
   6702 rm -f core conftest.err conftest.$ac_objext \
   6703     conftest$ac_exeext conftest.$ac_ext
   6704 fi
   6705 
   6706 
   6707 		CFLAGS="$xorg_testset_save_CFLAGS"
   6708 
   6709 		eval supported=\$$cacheid
   6710 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6711 $as_echo "$supported" >&6; }
   6712 		if test "$supported" = "yes" ; then
   6713 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6714 			found="yes"
   6715 		fi
   6716 	fi
   6717 
   6718 
   6719 
   6720 
   6721 
   6722 
   6723 
   6724 
   6725 
   6726 
   6727 
   6728 
   6729 
   6730 
   6731 
   6732 xorg_testset_save_CFLAGS="$CFLAGS"
   6733 
   6734 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6735 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6736 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6737 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6738 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6739   $as_echo_n "(cached) " >&6
   6740 else
   6741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6742 /* end confdefs.h.  */
   6743 int i;
   6744 _ACEOF
   6745 if ac_fn_c_try_compile "$LINENO"; then :
   6746   xorg_cv_cc_flag_unknown_warning_option=yes
   6747 else
   6748   xorg_cv_cc_flag_unknown_warning_option=no
   6749 fi
   6750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6751 fi
   6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6753 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6754 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6755 	CFLAGS="$xorg_testset_save_CFLAGS"
   6756 fi
   6757 
   6758 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6759 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6760 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6761 	fi
   6762 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6763 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6764 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6765 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6766   $as_echo_n "(cached) " >&6
   6767 else
   6768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6769 /* end confdefs.h.  */
   6770 int i;
   6771 _ACEOF
   6772 if ac_fn_c_try_compile "$LINENO"; then :
   6773   xorg_cv_cc_flag_unused_command_line_argument=yes
   6774 else
   6775   xorg_cv_cc_flag_unused_command_line_argument=no
   6776 fi
   6777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6778 fi
   6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6780 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6781 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6782 	CFLAGS="$xorg_testset_save_CFLAGS"
   6783 fi
   6784 
   6785 found="no"
   6786 
   6787 	if test $found = "no" ; then
   6788 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6789 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6790 		fi
   6791 
   6792 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6793 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6794 		fi
   6795 
   6796 		CFLAGS="$CFLAGS -Wlogical-op"
   6797 
   6798 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6799 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6800 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6801 		if eval \${$cacheid+:} false; then :
   6802   $as_echo_n "(cached) " >&6
   6803 else
   6804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6805 /* end confdefs.h.  */
   6806 int i;
   6807 int
   6808 main ()
   6809 {
   6810 
   6811   ;
   6812   return 0;
   6813 }
   6814 _ACEOF
   6815 if ac_fn_c_try_link "$LINENO"; then :
   6816   eval $cacheid=yes
   6817 else
   6818   eval $cacheid=no
   6819 fi
   6820 rm -f core conftest.err conftest.$ac_objext \
   6821     conftest$ac_exeext conftest.$ac_ext
   6822 fi
   6823 
   6824 
   6825 		CFLAGS="$xorg_testset_save_CFLAGS"
   6826 
   6827 		eval supported=\$$cacheid
   6828 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6829 $as_echo "$supported" >&6; }
   6830 		if test "$supported" = "yes" ; then
   6831 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6832 			found="yes"
   6833 		fi
   6834 	fi
   6835 
   6836 
   6837 
   6838 # These are currently disabled because they are noisy.  They will be enabled
   6839 # in the future once the codebase is sufficiently modernized to silence
   6840 # them.  For now, I don't want them to drown out the other warnings.
   6841 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6842 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6843 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6844 
   6845 # Turn some warnings into errors, so we don't accidently get successful builds
   6846 # when there are problems that should be fixed.
   6847 
   6848 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6849 
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 
   6861 
   6862 xorg_testset_save_CFLAGS="$CFLAGS"
   6863 
   6864 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6865 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6866 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6867 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6868 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6869   $as_echo_n "(cached) " >&6
   6870 else
   6871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6872 /* end confdefs.h.  */
   6873 int i;
   6874 _ACEOF
   6875 if ac_fn_c_try_compile "$LINENO"; then :
   6876   xorg_cv_cc_flag_unknown_warning_option=yes
   6877 else
   6878   xorg_cv_cc_flag_unknown_warning_option=no
   6879 fi
   6880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6881 fi
   6882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6883 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6884 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6885 	CFLAGS="$xorg_testset_save_CFLAGS"
   6886 fi
   6887 
   6888 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6889 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6890 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6891 	fi
   6892 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6893 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6894 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6895 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6896   $as_echo_n "(cached) " >&6
   6897 else
   6898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6899 /* end confdefs.h.  */
   6900 int i;
   6901 _ACEOF
   6902 if ac_fn_c_try_compile "$LINENO"; then :
   6903   xorg_cv_cc_flag_unused_command_line_argument=yes
   6904 else
   6905   xorg_cv_cc_flag_unused_command_line_argument=no
   6906 fi
   6907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6908 fi
   6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6910 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6911 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6912 	CFLAGS="$xorg_testset_save_CFLAGS"
   6913 fi
   6914 
   6915 found="no"
   6916 
   6917 	if test $found = "no" ; then
   6918 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6919 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6920 		fi
   6921 
   6922 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6923 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6924 		fi
   6925 
   6926 		CFLAGS="$CFLAGS -Werror=implicit"
   6927 
   6928 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6929 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6930 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6931 		if eval \${$cacheid+:} false; then :
   6932   $as_echo_n "(cached) " >&6
   6933 else
   6934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6935 /* end confdefs.h.  */
   6936 int i;
   6937 int
   6938 main ()
   6939 {
   6940 
   6941   ;
   6942   return 0;
   6943 }
   6944 _ACEOF
   6945 if ac_fn_c_try_link "$LINENO"; then :
   6946   eval $cacheid=yes
   6947 else
   6948   eval $cacheid=no
   6949 fi
   6950 rm -f core conftest.err conftest.$ac_objext \
   6951     conftest$ac_exeext conftest.$ac_ext
   6952 fi
   6953 
   6954 
   6955 		CFLAGS="$xorg_testset_save_CFLAGS"
   6956 
   6957 		eval supported=\$$cacheid
   6958 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6959 $as_echo "$supported" >&6; }
   6960 		if test "$supported" = "yes" ; then
   6961 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6962 			found="yes"
   6963 		fi
   6964 	fi
   6965 
   6966 	if test $found = "no" ; then
   6967 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6968 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6969 		fi
   6970 
   6971 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6972 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6973 		fi
   6974 
   6975 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6976 
   6977 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6978 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6979 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   6980 		if eval \${$cacheid+:} false; then :
   6981   $as_echo_n "(cached) " >&6
   6982 else
   6983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6984 /* end confdefs.h.  */
   6985 int i;
   6986 int
   6987 main ()
   6988 {
   6989 
   6990   ;
   6991   return 0;
   6992 }
   6993 _ACEOF
   6994 if ac_fn_c_try_link "$LINENO"; then :
   6995   eval $cacheid=yes
   6996 else
   6997   eval $cacheid=no
   6998 fi
   6999 rm -f core conftest.err conftest.$ac_objext \
   7000     conftest$ac_exeext conftest.$ac_ext
   7001 fi
   7002 
   7003 
   7004 		CFLAGS="$xorg_testset_save_CFLAGS"
   7005 
   7006 		eval supported=\$$cacheid
   7007 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7008 $as_echo "$supported" >&6; }
   7009 		if test "$supported" = "yes" ; then
   7010 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7011 			found="yes"
   7012 		fi
   7013 	fi
   7014 
   7015 
   7016 
   7017 
   7018 
   7019 
   7020 
   7021 
   7022 
   7023 
   7024 
   7025 
   7026 
   7027 
   7028 
   7029 xorg_testset_save_CFLAGS="$CFLAGS"
   7030 
   7031 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7032 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7033 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7034 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7035 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7036   $as_echo_n "(cached) " >&6
   7037 else
   7038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7039 /* end confdefs.h.  */
   7040 int i;
   7041 _ACEOF
   7042 if ac_fn_c_try_compile "$LINENO"; then :
   7043   xorg_cv_cc_flag_unknown_warning_option=yes
   7044 else
   7045   xorg_cv_cc_flag_unknown_warning_option=no
   7046 fi
   7047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7048 fi
   7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7050 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7051 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7052 	CFLAGS="$xorg_testset_save_CFLAGS"
   7053 fi
   7054 
   7055 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7056 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7057 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7058 	fi
   7059 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7060 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7061 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7062 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7063   $as_echo_n "(cached) " >&6
   7064 else
   7065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7066 /* end confdefs.h.  */
   7067 int i;
   7068 _ACEOF
   7069 if ac_fn_c_try_compile "$LINENO"; then :
   7070   xorg_cv_cc_flag_unused_command_line_argument=yes
   7071 else
   7072   xorg_cv_cc_flag_unused_command_line_argument=no
   7073 fi
   7074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7075 fi
   7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7077 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7078 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7079 	CFLAGS="$xorg_testset_save_CFLAGS"
   7080 fi
   7081 
   7082 found="no"
   7083 
   7084 	if test $found = "no" ; then
   7085 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7086 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7087 		fi
   7088 
   7089 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7090 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7091 		fi
   7092 
   7093 		CFLAGS="$CFLAGS -Werror=nonnull"
   7094 
   7095 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7096 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7097 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7098 		if eval \${$cacheid+:} false; then :
   7099   $as_echo_n "(cached) " >&6
   7100 else
   7101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7102 /* end confdefs.h.  */
   7103 int i;
   7104 int
   7105 main ()
   7106 {
   7107 
   7108   ;
   7109   return 0;
   7110 }
   7111 _ACEOF
   7112 if ac_fn_c_try_link "$LINENO"; then :
   7113   eval $cacheid=yes
   7114 else
   7115   eval $cacheid=no
   7116 fi
   7117 rm -f core conftest.err conftest.$ac_objext \
   7118     conftest$ac_exeext conftest.$ac_ext
   7119 fi
   7120 
   7121 
   7122 		CFLAGS="$xorg_testset_save_CFLAGS"
   7123 
   7124 		eval supported=\$$cacheid
   7125 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7126 $as_echo "$supported" >&6; }
   7127 		if test "$supported" = "yes" ; then
   7128 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7129 			found="yes"
   7130 		fi
   7131 	fi
   7132 
   7133 
   7134 
   7135 
   7136 
   7137 
   7138 
   7139 
   7140 
   7141 
   7142 
   7143 
   7144 
   7145 
   7146 
   7147 xorg_testset_save_CFLAGS="$CFLAGS"
   7148 
   7149 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7150 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7151 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7152 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7153 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7154   $as_echo_n "(cached) " >&6
   7155 else
   7156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7157 /* end confdefs.h.  */
   7158 int i;
   7159 _ACEOF
   7160 if ac_fn_c_try_compile "$LINENO"; then :
   7161   xorg_cv_cc_flag_unknown_warning_option=yes
   7162 else
   7163   xorg_cv_cc_flag_unknown_warning_option=no
   7164 fi
   7165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7166 fi
   7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7168 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7169 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7170 	CFLAGS="$xorg_testset_save_CFLAGS"
   7171 fi
   7172 
   7173 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7174 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7175 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7176 	fi
   7177 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7178 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7179 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7180 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7181   $as_echo_n "(cached) " >&6
   7182 else
   7183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7184 /* end confdefs.h.  */
   7185 int i;
   7186 _ACEOF
   7187 if ac_fn_c_try_compile "$LINENO"; then :
   7188   xorg_cv_cc_flag_unused_command_line_argument=yes
   7189 else
   7190   xorg_cv_cc_flag_unused_command_line_argument=no
   7191 fi
   7192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7193 fi
   7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7195 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7196 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7197 	CFLAGS="$xorg_testset_save_CFLAGS"
   7198 fi
   7199 
   7200 found="no"
   7201 
   7202 	if test $found = "no" ; then
   7203 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7204 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7205 		fi
   7206 
   7207 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7208 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7209 		fi
   7210 
   7211 		CFLAGS="$CFLAGS -Werror=init-self"
   7212 
   7213 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7214 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7215 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7216 		if eval \${$cacheid+:} false; then :
   7217   $as_echo_n "(cached) " >&6
   7218 else
   7219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7220 /* end confdefs.h.  */
   7221 int i;
   7222 int
   7223 main ()
   7224 {
   7225 
   7226   ;
   7227   return 0;
   7228 }
   7229 _ACEOF
   7230 if ac_fn_c_try_link "$LINENO"; then :
   7231   eval $cacheid=yes
   7232 else
   7233   eval $cacheid=no
   7234 fi
   7235 rm -f core conftest.err conftest.$ac_objext \
   7236     conftest$ac_exeext conftest.$ac_ext
   7237 fi
   7238 
   7239 
   7240 		CFLAGS="$xorg_testset_save_CFLAGS"
   7241 
   7242 		eval supported=\$$cacheid
   7243 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7244 $as_echo "$supported" >&6; }
   7245 		if test "$supported" = "yes" ; then
   7246 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7247 			found="yes"
   7248 		fi
   7249 	fi
   7250 
   7251 
   7252 
   7253 
   7254 
   7255 
   7256 
   7257 
   7258 
   7259 
   7260 
   7261 
   7262 
   7263 
   7264 
   7265 xorg_testset_save_CFLAGS="$CFLAGS"
   7266 
   7267 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7268 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7269 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7270 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7271 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7272   $as_echo_n "(cached) " >&6
   7273 else
   7274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7275 /* end confdefs.h.  */
   7276 int i;
   7277 _ACEOF
   7278 if ac_fn_c_try_compile "$LINENO"; then :
   7279   xorg_cv_cc_flag_unknown_warning_option=yes
   7280 else
   7281   xorg_cv_cc_flag_unknown_warning_option=no
   7282 fi
   7283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7284 fi
   7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7286 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7287 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7288 	CFLAGS="$xorg_testset_save_CFLAGS"
   7289 fi
   7290 
   7291 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7292 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7293 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7294 	fi
   7295 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7296 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7297 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7298 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7299   $as_echo_n "(cached) " >&6
   7300 else
   7301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7302 /* end confdefs.h.  */
   7303 int i;
   7304 _ACEOF
   7305 if ac_fn_c_try_compile "$LINENO"; then :
   7306   xorg_cv_cc_flag_unused_command_line_argument=yes
   7307 else
   7308   xorg_cv_cc_flag_unused_command_line_argument=no
   7309 fi
   7310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7311 fi
   7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7313 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7314 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7315 	CFLAGS="$xorg_testset_save_CFLAGS"
   7316 fi
   7317 
   7318 found="no"
   7319 
   7320 	if test $found = "no" ; then
   7321 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7322 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7323 		fi
   7324 
   7325 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7326 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7327 		fi
   7328 
   7329 		CFLAGS="$CFLAGS -Werror=main"
   7330 
   7331 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7332 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7333 		cacheid=xorg_cv_cc_flag__Werror_main
   7334 		if eval \${$cacheid+:} false; then :
   7335   $as_echo_n "(cached) " >&6
   7336 else
   7337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7338 /* end confdefs.h.  */
   7339 int i;
   7340 int
   7341 main ()
   7342 {
   7343 
   7344   ;
   7345   return 0;
   7346 }
   7347 _ACEOF
   7348 if ac_fn_c_try_link "$LINENO"; then :
   7349   eval $cacheid=yes
   7350 else
   7351   eval $cacheid=no
   7352 fi
   7353 rm -f core conftest.err conftest.$ac_objext \
   7354     conftest$ac_exeext conftest.$ac_ext
   7355 fi
   7356 
   7357 
   7358 		CFLAGS="$xorg_testset_save_CFLAGS"
   7359 
   7360 		eval supported=\$$cacheid
   7361 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7362 $as_echo "$supported" >&6; }
   7363 		if test "$supported" = "yes" ; then
   7364 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7365 			found="yes"
   7366 		fi
   7367 	fi
   7368 
   7369 
   7370 
   7371 
   7372 
   7373 
   7374 
   7375 
   7376 
   7377 
   7378 
   7379 
   7380 
   7381 
   7382 
   7383 xorg_testset_save_CFLAGS="$CFLAGS"
   7384 
   7385 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7386 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7387 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7388 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7389 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7390   $as_echo_n "(cached) " >&6
   7391 else
   7392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7393 /* end confdefs.h.  */
   7394 int i;
   7395 _ACEOF
   7396 if ac_fn_c_try_compile "$LINENO"; then :
   7397   xorg_cv_cc_flag_unknown_warning_option=yes
   7398 else
   7399   xorg_cv_cc_flag_unknown_warning_option=no
   7400 fi
   7401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7402 fi
   7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7404 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7405 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7406 	CFLAGS="$xorg_testset_save_CFLAGS"
   7407 fi
   7408 
   7409 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7410 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7411 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7412 	fi
   7413 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7414 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7415 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7416 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7417   $as_echo_n "(cached) " >&6
   7418 else
   7419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7420 /* end confdefs.h.  */
   7421 int i;
   7422 _ACEOF
   7423 if ac_fn_c_try_compile "$LINENO"; then :
   7424   xorg_cv_cc_flag_unused_command_line_argument=yes
   7425 else
   7426   xorg_cv_cc_flag_unused_command_line_argument=no
   7427 fi
   7428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7429 fi
   7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7431 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7432 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7433 	CFLAGS="$xorg_testset_save_CFLAGS"
   7434 fi
   7435 
   7436 found="no"
   7437 
   7438 	if test $found = "no" ; then
   7439 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7440 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7441 		fi
   7442 
   7443 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7444 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7445 		fi
   7446 
   7447 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7448 
   7449 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7450 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7451 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7452 		if eval \${$cacheid+:} false; then :
   7453   $as_echo_n "(cached) " >&6
   7454 else
   7455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7456 /* end confdefs.h.  */
   7457 int i;
   7458 int
   7459 main ()
   7460 {
   7461 
   7462   ;
   7463   return 0;
   7464 }
   7465 _ACEOF
   7466 if ac_fn_c_try_link "$LINENO"; then :
   7467   eval $cacheid=yes
   7468 else
   7469   eval $cacheid=no
   7470 fi
   7471 rm -f core conftest.err conftest.$ac_objext \
   7472     conftest$ac_exeext conftest.$ac_ext
   7473 fi
   7474 
   7475 
   7476 		CFLAGS="$xorg_testset_save_CFLAGS"
   7477 
   7478 		eval supported=\$$cacheid
   7479 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7480 $as_echo "$supported" >&6; }
   7481 		if test "$supported" = "yes" ; then
   7482 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7483 			found="yes"
   7484 		fi
   7485 	fi
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 xorg_testset_save_CFLAGS="$CFLAGS"
   7502 
   7503 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7504 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7505 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7506 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7507 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7508   $as_echo_n "(cached) " >&6
   7509 else
   7510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7511 /* end confdefs.h.  */
   7512 int i;
   7513 _ACEOF
   7514 if ac_fn_c_try_compile "$LINENO"; then :
   7515   xorg_cv_cc_flag_unknown_warning_option=yes
   7516 else
   7517   xorg_cv_cc_flag_unknown_warning_option=no
   7518 fi
   7519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7520 fi
   7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7522 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7523 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7524 	CFLAGS="$xorg_testset_save_CFLAGS"
   7525 fi
   7526 
   7527 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7528 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7529 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7530 	fi
   7531 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7532 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7533 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7534 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7535   $as_echo_n "(cached) " >&6
   7536 else
   7537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7538 /* end confdefs.h.  */
   7539 int i;
   7540 _ACEOF
   7541 if ac_fn_c_try_compile "$LINENO"; then :
   7542   xorg_cv_cc_flag_unused_command_line_argument=yes
   7543 else
   7544   xorg_cv_cc_flag_unused_command_line_argument=no
   7545 fi
   7546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7547 fi
   7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7549 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7550 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7551 	CFLAGS="$xorg_testset_save_CFLAGS"
   7552 fi
   7553 
   7554 found="no"
   7555 
   7556 	if test $found = "no" ; then
   7557 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7558 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7559 		fi
   7560 
   7561 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7562 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7563 		fi
   7564 
   7565 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7566 
   7567 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7568 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7569 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7570 		if eval \${$cacheid+:} false; then :
   7571   $as_echo_n "(cached) " >&6
   7572 else
   7573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7574 /* end confdefs.h.  */
   7575 int i;
   7576 int
   7577 main ()
   7578 {
   7579 
   7580   ;
   7581   return 0;
   7582 }
   7583 _ACEOF
   7584 if ac_fn_c_try_link "$LINENO"; then :
   7585   eval $cacheid=yes
   7586 else
   7587   eval $cacheid=no
   7588 fi
   7589 rm -f core conftest.err conftest.$ac_objext \
   7590     conftest$ac_exeext conftest.$ac_ext
   7591 fi
   7592 
   7593 
   7594 		CFLAGS="$xorg_testset_save_CFLAGS"
   7595 
   7596 		eval supported=\$$cacheid
   7597 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7598 $as_echo "$supported" >&6; }
   7599 		if test "$supported" = "yes" ; then
   7600 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7601 			found="yes"
   7602 		fi
   7603 	fi
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 xorg_testset_save_CFLAGS="$CFLAGS"
   7620 
   7621 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7622 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7623 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7624 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7625 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7626   $as_echo_n "(cached) " >&6
   7627 else
   7628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7629 /* end confdefs.h.  */
   7630 int i;
   7631 _ACEOF
   7632 if ac_fn_c_try_compile "$LINENO"; then :
   7633   xorg_cv_cc_flag_unknown_warning_option=yes
   7634 else
   7635   xorg_cv_cc_flag_unknown_warning_option=no
   7636 fi
   7637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7638 fi
   7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7640 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7641 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7642 	CFLAGS="$xorg_testset_save_CFLAGS"
   7643 fi
   7644 
   7645 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7646 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7647 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7648 	fi
   7649 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7650 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7651 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7652 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7653   $as_echo_n "(cached) " >&6
   7654 else
   7655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7656 /* end confdefs.h.  */
   7657 int i;
   7658 _ACEOF
   7659 if ac_fn_c_try_compile "$LINENO"; then :
   7660   xorg_cv_cc_flag_unused_command_line_argument=yes
   7661 else
   7662   xorg_cv_cc_flag_unused_command_line_argument=no
   7663 fi
   7664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7665 fi
   7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7667 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7668 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7669 	CFLAGS="$xorg_testset_save_CFLAGS"
   7670 fi
   7671 
   7672 found="no"
   7673 
   7674 	if test $found = "no" ; then
   7675 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7676 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7677 		fi
   7678 
   7679 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7680 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7681 		fi
   7682 
   7683 		CFLAGS="$CFLAGS -Werror=return-type"
   7684 
   7685 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7686 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7687 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7688 		if eval \${$cacheid+:} false; then :
   7689   $as_echo_n "(cached) " >&6
   7690 else
   7691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7692 /* end confdefs.h.  */
   7693 int i;
   7694 int
   7695 main ()
   7696 {
   7697 
   7698   ;
   7699   return 0;
   7700 }
   7701 _ACEOF
   7702 if ac_fn_c_try_link "$LINENO"; then :
   7703   eval $cacheid=yes
   7704 else
   7705   eval $cacheid=no
   7706 fi
   7707 rm -f core conftest.err conftest.$ac_objext \
   7708     conftest$ac_exeext conftest.$ac_ext
   7709 fi
   7710 
   7711 
   7712 		CFLAGS="$xorg_testset_save_CFLAGS"
   7713 
   7714 		eval supported=\$$cacheid
   7715 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7716 $as_echo "$supported" >&6; }
   7717 		if test "$supported" = "yes" ; then
   7718 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7719 			found="yes"
   7720 		fi
   7721 	fi
   7722 
   7723 	if test $found = "no" ; then
   7724 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7725 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7726 		fi
   7727 
   7728 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7729 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7730 		fi
   7731 
   7732 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7733 
   7734 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7735 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7736 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7737 		if eval \${$cacheid+:} false; then :
   7738   $as_echo_n "(cached) " >&6
   7739 else
   7740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7741 /* end confdefs.h.  */
   7742 int i;
   7743 int
   7744 main ()
   7745 {
   7746 
   7747   ;
   7748   return 0;
   7749 }
   7750 _ACEOF
   7751 if ac_fn_c_try_link "$LINENO"; then :
   7752   eval $cacheid=yes
   7753 else
   7754   eval $cacheid=no
   7755 fi
   7756 rm -f core conftest.err conftest.$ac_objext \
   7757     conftest$ac_exeext conftest.$ac_ext
   7758 fi
   7759 
   7760 
   7761 		CFLAGS="$xorg_testset_save_CFLAGS"
   7762 
   7763 		eval supported=\$$cacheid
   7764 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7765 $as_echo "$supported" >&6; }
   7766 		if test "$supported" = "yes" ; then
   7767 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7768 			found="yes"
   7769 		fi
   7770 	fi
   7771 
   7772 
   7773 
   7774 
   7775 
   7776 
   7777 
   7778 
   7779 
   7780 
   7781 
   7782 
   7783 
   7784 
   7785 
   7786 xorg_testset_save_CFLAGS="$CFLAGS"
   7787 
   7788 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7789 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7790 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7791 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7792 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7793   $as_echo_n "(cached) " >&6
   7794 else
   7795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7796 /* end confdefs.h.  */
   7797 int i;
   7798 _ACEOF
   7799 if ac_fn_c_try_compile "$LINENO"; then :
   7800   xorg_cv_cc_flag_unknown_warning_option=yes
   7801 else
   7802   xorg_cv_cc_flag_unknown_warning_option=no
   7803 fi
   7804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7805 fi
   7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7807 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7808 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7809 	CFLAGS="$xorg_testset_save_CFLAGS"
   7810 fi
   7811 
   7812 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7813 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7814 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7815 	fi
   7816 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7817 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7818 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7819 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7820   $as_echo_n "(cached) " >&6
   7821 else
   7822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7823 /* end confdefs.h.  */
   7824 int i;
   7825 _ACEOF
   7826 if ac_fn_c_try_compile "$LINENO"; then :
   7827   xorg_cv_cc_flag_unused_command_line_argument=yes
   7828 else
   7829   xorg_cv_cc_flag_unused_command_line_argument=no
   7830 fi
   7831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7832 fi
   7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7834 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7835 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7836 	CFLAGS="$xorg_testset_save_CFLAGS"
   7837 fi
   7838 
   7839 found="no"
   7840 
   7841 	if test $found = "no" ; then
   7842 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7843 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7844 		fi
   7845 
   7846 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7847 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7848 		fi
   7849 
   7850 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7851 
   7852 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7853 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7854 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7855 		if eval \${$cacheid+:} false; then :
   7856   $as_echo_n "(cached) " >&6
   7857 else
   7858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7859 /* end confdefs.h.  */
   7860 int i;
   7861 int
   7862 main ()
   7863 {
   7864 
   7865   ;
   7866   return 0;
   7867 }
   7868 _ACEOF
   7869 if ac_fn_c_try_link "$LINENO"; then :
   7870   eval $cacheid=yes
   7871 else
   7872   eval $cacheid=no
   7873 fi
   7874 rm -f core conftest.err conftest.$ac_objext \
   7875     conftest$ac_exeext conftest.$ac_ext
   7876 fi
   7877 
   7878 
   7879 		CFLAGS="$xorg_testset_save_CFLAGS"
   7880 
   7881 		eval supported=\$$cacheid
   7882 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7883 $as_echo "$supported" >&6; }
   7884 		if test "$supported" = "yes" ; then
   7885 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7886 			found="yes"
   7887 		fi
   7888 	fi
   7889 
   7890 
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 
   7897 
   7898 
   7899 
   7900 
   7901 
   7902 
   7903 
   7904 xorg_testset_save_CFLAGS="$CFLAGS"
   7905 
   7906 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7907 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7908 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7909 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7910 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7911   $as_echo_n "(cached) " >&6
   7912 else
   7913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7914 /* end confdefs.h.  */
   7915 int i;
   7916 _ACEOF
   7917 if ac_fn_c_try_compile "$LINENO"; then :
   7918   xorg_cv_cc_flag_unknown_warning_option=yes
   7919 else
   7920   xorg_cv_cc_flag_unknown_warning_option=no
   7921 fi
   7922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7923 fi
   7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7925 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7926 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7927 	CFLAGS="$xorg_testset_save_CFLAGS"
   7928 fi
   7929 
   7930 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7931 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7932 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7933 	fi
   7934 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7935 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7936 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7937 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7938   $as_echo_n "(cached) " >&6
   7939 else
   7940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7941 /* end confdefs.h.  */
   7942 int i;
   7943 _ACEOF
   7944 if ac_fn_c_try_compile "$LINENO"; then :
   7945   xorg_cv_cc_flag_unused_command_line_argument=yes
   7946 else
   7947   xorg_cv_cc_flag_unused_command_line_argument=no
   7948 fi
   7949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7950 fi
   7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7952 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7953 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7954 	CFLAGS="$xorg_testset_save_CFLAGS"
   7955 fi
   7956 
   7957 found="no"
   7958 
   7959 	if test $found = "no" ; then
   7960 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7961 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7962 		fi
   7963 
   7964 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7965 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7966 		fi
   7967 
   7968 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7969 
   7970 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7971 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7972 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   7973 		if eval \${$cacheid+:} false; then :
   7974   $as_echo_n "(cached) " >&6
   7975 else
   7976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7977 /* end confdefs.h.  */
   7978 int i;
   7979 int
   7980 main ()
   7981 {
   7982 
   7983   ;
   7984   return 0;
   7985 }
   7986 _ACEOF
   7987 if ac_fn_c_try_link "$LINENO"; then :
   7988   eval $cacheid=yes
   7989 else
   7990   eval $cacheid=no
   7991 fi
   7992 rm -f core conftest.err conftest.$ac_objext \
   7993     conftest$ac_exeext conftest.$ac_ext
   7994 fi
   7995 
   7996 
   7997 		CFLAGS="$xorg_testset_save_CFLAGS"
   7998 
   7999 		eval supported=\$$cacheid
   8000 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8001 $as_echo "$supported" >&6; }
   8002 		if test "$supported" = "yes" ; then
   8003 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8004 			found="yes"
   8005 		fi
   8006 	fi
   8007 
   8008 
   8009 
   8010 
   8011 
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 xorg_testset_save_CFLAGS="$CFLAGS"
   8023 
   8024 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8025 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8026 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8027 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8028 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8029   $as_echo_n "(cached) " >&6
   8030 else
   8031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8032 /* end confdefs.h.  */
   8033 int i;
   8034 _ACEOF
   8035 if ac_fn_c_try_compile "$LINENO"; then :
   8036   xorg_cv_cc_flag_unknown_warning_option=yes
   8037 else
   8038   xorg_cv_cc_flag_unknown_warning_option=no
   8039 fi
   8040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8041 fi
   8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8043 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8044 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8045 	CFLAGS="$xorg_testset_save_CFLAGS"
   8046 fi
   8047 
   8048 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8049 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8050 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8051 	fi
   8052 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8053 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8054 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8055 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8056   $as_echo_n "(cached) " >&6
   8057 else
   8058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8059 /* end confdefs.h.  */
   8060 int i;
   8061 _ACEOF
   8062 if ac_fn_c_try_compile "$LINENO"; then :
   8063   xorg_cv_cc_flag_unused_command_line_argument=yes
   8064 else
   8065   xorg_cv_cc_flag_unused_command_line_argument=no
   8066 fi
   8067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8068 fi
   8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8070 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8071 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8072 	CFLAGS="$xorg_testset_save_CFLAGS"
   8073 fi
   8074 
   8075 found="no"
   8076 
   8077 	if test $found = "no" ; then
   8078 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8079 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8080 		fi
   8081 
   8082 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8083 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8084 		fi
   8085 
   8086 		CFLAGS="$CFLAGS -Werror=write-strings"
   8087 
   8088 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8089 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8090 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8091 		if eval \${$cacheid+:} false; then :
   8092   $as_echo_n "(cached) " >&6
   8093 else
   8094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8095 /* end confdefs.h.  */
   8096 int i;
   8097 int
   8098 main ()
   8099 {
   8100 
   8101   ;
   8102   return 0;
   8103 }
   8104 _ACEOF
   8105 if ac_fn_c_try_link "$LINENO"; then :
   8106   eval $cacheid=yes
   8107 else
   8108   eval $cacheid=no
   8109 fi
   8110 rm -f core conftest.err conftest.$ac_objext \
   8111     conftest$ac_exeext conftest.$ac_ext
   8112 fi
   8113 
   8114 
   8115 		CFLAGS="$xorg_testset_save_CFLAGS"
   8116 
   8117 		eval supported=\$$cacheid
   8118 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8119 $as_echo "$supported" >&6; }
   8120 		if test "$supported" = "yes" ; then
   8121 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8122 			found="yes"
   8123 		fi
   8124 	fi
   8125 
   8126 
   8127 
   8128 
   8129 
   8130 
   8131 
   8132 
   8133 
   8134 
   8135 
   8136 
   8137 
   8138 
   8139 
   8140 xorg_testset_save_CFLAGS="$CFLAGS"
   8141 
   8142 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8143 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8144 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8145 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8146 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8147   $as_echo_n "(cached) " >&6
   8148 else
   8149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8150 /* end confdefs.h.  */
   8151 int i;
   8152 _ACEOF
   8153 if ac_fn_c_try_compile "$LINENO"; then :
   8154   xorg_cv_cc_flag_unknown_warning_option=yes
   8155 else
   8156   xorg_cv_cc_flag_unknown_warning_option=no
   8157 fi
   8158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8159 fi
   8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8161 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8162 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8163 	CFLAGS="$xorg_testset_save_CFLAGS"
   8164 fi
   8165 
   8166 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8167 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8168 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8169 	fi
   8170 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8171 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8172 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8173 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8174   $as_echo_n "(cached) " >&6
   8175 else
   8176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8177 /* end confdefs.h.  */
   8178 int i;
   8179 _ACEOF
   8180 if ac_fn_c_try_compile "$LINENO"; then :
   8181   xorg_cv_cc_flag_unused_command_line_argument=yes
   8182 else
   8183   xorg_cv_cc_flag_unused_command_line_argument=no
   8184 fi
   8185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8186 fi
   8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8188 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8189 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8190 	CFLAGS="$xorg_testset_save_CFLAGS"
   8191 fi
   8192 
   8193 found="no"
   8194 
   8195 	if test $found = "no" ; then
   8196 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8197 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8198 		fi
   8199 
   8200 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8201 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8202 		fi
   8203 
   8204 		CFLAGS="$CFLAGS -Werror=address"
   8205 
   8206 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8207 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8208 		cacheid=xorg_cv_cc_flag__Werror_address
   8209 		if eval \${$cacheid+:} false; then :
   8210   $as_echo_n "(cached) " >&6
   8211 else
   8212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8213 /* end confdefs.h.  */
   8214 int i;
   8215 int
   8216 main ()
   8217 {
   8218 
   8219   ;
   8220   return 0;
   8221 }
   8222 _ACEOF
   8223 if ac_fn_c_try_link "$LINENO"; then :
   8224   eval $cacheid=yes
   8225 else
   8226   eval $cacheid=no
   8227 fi
   8228 rm -f core conftest.err conftest.$ac_objext \
   8229     conftest$ac_exeext conftest.$ac_ext
   8230 fi
   8231 
   8232 
   8233 		CFLAGS="$xorg_testset_save_CFLAGS"
   8234 
   8235 		eval supported=\$$cacheid
   8236 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8237 $as_echo "$supported" >&6; }
   8238 		if test "$supported" = "yes" ; then
   8239 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8240 			found="yes"
   8241 		fi
   8242 	fi
   8243 
   8244 
   8245 
   8246 
   8247 
   8248 
   8249 
   8250 
   8251 
   8252 
   8253 
   8254 
   8255 
   8256 
   8257 
   8258 xorg_testset_save_CFLAGS="$CFLAGS"
   8259 
   8260 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8261 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8262 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8263 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8264 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8265   $as_echo_n "(cached) " >&6
   8266 else
   8267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8268 /* end confdefs.h.  */
   8269 int i;
   8270 _ACEOF
   8271 if ac_fn_c_try_compile "$LINENO"; then :
   8272   xorg_cv_cc_flag_unknown_warning_option=yes
   8273 else
   8274   xorg_cv_cc_flag_unknown_warning_option=no
   8275 fi
   8276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8277 fi
   8278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8279 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8280 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8281 	CFLAGS="$xorg_testset_save_CFLAGS"
   8282 fi
   8283 
   8284 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8285 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8286 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8287 	fi
   8288 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8289 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8290 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8291 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8292   $as_echo_n "(cached) " >&6
   8293 else
   8294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8295 /* end confdefs.h.  */
   8296 int i;
   8297 _ACEOF
   8298 if ac_fn_c_try_compile "$LINENO"; then :
   8299   xorg_cv_cc_flag_unused_command_line_argument=yes
   8300 else
   8301   xorg_cv_cc_flag_unused_command_line_argument=no
   8302 fi
   8303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8304 fi
   8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8306 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8307 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8308 	CFLAGS="$xorg_testset_save_CFLAGS"
   8309 fi
   8310 
   8311 found="no"
   8312 
   8313 	if test $found = "no" ; then
   8314 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8315 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8316 		fi
   8317 
   8318 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8319 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8320 		fi
   8321 
   8322 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8323 
   8324 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8325 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8326 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8327 		if eval \${$cacheid+:} false; then :
   8328   $as_echo_n "(cached) " >&6
   8329 else
   8330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8331 /* end confdefs.h.  */
   8332 int i;
   8333 int
   8334 main ()
   8335 {
   8336 
   8337   ;
   8338   return 0;
   8339 }
   8340 _ACEOF
   8341 if ac_fn_c_try_link "$LINENO"; then :
   8342   eval $cacheid=yes
   8343 else
   8344   eval $cacheid=no
   8345 fi
   8346 rm -f core conftest.err conftest.$ac_objext \
   8347     conftest$ac_exeext conftest.$ac_ext
   8348 fi
   8349 
   8350 
   8351 		CFLAGS="$xorg_testset_save_CFLAGS"
   8352 
   8353 		eval supported=\$$cacheid
   8354 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8355 $as_echo "$supported" >&6; }
   8356 		if test "$supported" = "yes" ; then
   8357 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8358 			found="yes"
   8359 		fi
   8360 	fi
   8361 
   8362 	if test $found = "no" ; then
   8363 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8364 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8365 		fi
   8366 
   8367 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8368 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8369 		fi
   8370 
   8371 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8372 
   8373 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8374 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8375 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8376 		if eval \${$cacheid+:} false; then :
   8377   $as_echo_n "(cached) " >&6
   8378 else
   8379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8380 /* end confdefs.h.  */
   8381 int i;
   8382 int
   8383 main ()
   8384 {
   8385 
   8386   ;
   8387   return 0;
   8388 }
   8389 _ACEOF
   8390 if ac_fn_c_try_link "$LINENO"; then :
   8391   eval $cacheid=yes
   8392 else
   8393   eval $cacheid=no
   8394 fi
   8395 rm -f core conftest.err conftest.$ac_objext \
   8396     conftest$ac_exeext conftest.$ac_ext
   8397 fi
   8398 
   8399 
   8400 		CFLAGS="$xorg_testset_save_CFLAGS"
   8401 
   8402 		eval supported=\$$cacheid
   8403 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8404 $as_echo "$supported" >&6; }
   8405 		if test "$supported" = "yes" ; then
   8406 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8407 			found="yes"
   8408 		fi
   8409 	fi
   8410 
   8411 
   8412 
   8413 
   8414 
   8415 
   8416 
   8417 
   8418 
   8419 
   8420 
   8421 
   8422 
   8423 
   8424 
   8425 xorg_testset_save_CFLAGS="$CFLAGS"
   8426 
   8427 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8428 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8429 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8430 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8431 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8432   $as_echo_n "(cached) " >&6
   8433 else
   8434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8435 /* end confdefs.h.  */
   8436 int i;
   8437 _ACEOF
   8438 if ac_fn_c_try_compile "$LINENO"; then :
   8439   xorg_cv_cc_flag_unknown_warning_option=yes
   8440 else
   8441   xorg_cv_cc_flag_unknown_warning_option=no
   8442 fi
   8443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8444 fi
   8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8446 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8447 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8448 	CFLAGS="$xorg_testset_save_CFLAGS"
   8449 fi
   8450 
   8451 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8452 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8453 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8454 	fi
   8455 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8456 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8457 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8458 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8459   $as_echo_n "(cached) " >&6
   8460 else
   8461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8462 /* end confdefs.h.  */
   8463 int i;
   8464 _ACEOF
   8465 if ac_fn_c_try_compile "$LINENO"; then :
   8466   xorg_cv_cc_flag_unused_command_line_argument=yes
   8467 else
   8468   xorg_cv_cc_flag_unused_command_line_argument=no
   8469 fi
   8470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8471 fi
   8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8473 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8474 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8475 	CFLAGS="$xorg_testset_save_CFLAGS"
   8476 fi
   8477 
   8478 found="no"
   8479 
   8480 	if test $found = "no" ; then
   8481 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8482 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8483 		fi
   8484 
   8485 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8486 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8487 		fi
   8488 
   8489 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8490 
   8491 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8492 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8493 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8494 		if eval \${$cacheid+:} false; then :
   8495   $as_echo_n "(cached) " >&6
   8496 else
   8497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8498 /* end confdefs.h.  */
   8499 int i;
   8500 int
   8501 main ()
   8502 {
   8503 
   8504   ;
   8505   return 0;
   8506 }
   8507 _ACEOF
   8508 if ac_fn_c_try_link "$LINENO"; then :
   8509   eval $cacheid=yes
   8510 else
   8511   eval $cacheid=no
   8512 fi
   8513 rm -f core conftest.err conftest.$ac_objext \
   8514     conftest$ac_exeext conftest.$ac_ext
   8515 fi
   8516 
   8517 
   8518 		CFLAGS="$xorg_testset_save_CFLAGS"
   8519 
   8520 		eval supported=\$$cacheid
   8521 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8522 $as_echo "$supported" >&6; }
   8523 		if test "$supported" = "yes" ; then
   8524 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8525 			found="yes"
   8526 		fi
   8527 	fi
   8528 
   8529  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8530 else
   8531 { $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
   8532 $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;}
   8533 
   8534 
   8535 
   8536 
   8537 
   8538 
   8539 
   8540 
   8541 
   8542 
   8543 
   8544 
   8545 
   8546 xorg_testset_save_CFLAGS="$CFLAGS"
   8547 
   8548 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8549 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8550 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8551 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8552 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8553   $as_echo_n "(cached) " >&6
   8554 else
   8555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8556 /* end confdefs.h.  */
   8557 int i;
   8558 _ACEOF
   8559 if ac_fn_c_try_compile "$LINENO"; then :
   8560   xorg_cv_cc_flag_unknown_warning_option=yes
   8561 else
   8562   xorg_cv_cc_flag_unknown_warning_option=no
   8563 fi
   8564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8565 fi
   8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8567 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8568 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8569 	CFLAGS="$xorg_testset_save_CFLAGS"
   8570 fi
   8571 
   8572 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8573 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8574 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8575 	fi
   8576 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8577 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8578 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8579 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8580   $as_echo_n "(cached) " >&6
   8581 else
   8582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8583 /* end confdefs.h.  */
   8584 int i;
   8585 _ACEOF
   8586 if ac_fn_c_try_compile "$LINENO"; then :
   8587   xorg_cv_cc_flag_unused_command_line_argument=yes
   8588 else
   8589   xorg_cv_cc_flag_unused_command_line_argument=no
   8590 fi
   8591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8592 fi
   8593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8594 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8595 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8596 	CFLAGS="$xorg_testset_save_CFLAGS"
   8597 fi
   8598 
   8599 found="no"
   8600 
   8601 	if test $found = "no" ; then
   8602 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8603 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8604 		fi
   8605 
   8606 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8607 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8608 		fi
   8609 
   8610 		CFLAGS="$CFLAGS -Wimplicit"
   8611 
   8612 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8613 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8614 		cacheid=xorg_cv_cc_flag__Wimplicit
   8615 		if eval \${$cacheid+:} false; then :
   8616   $as_echo_n "(cached) " >&6
   8617 else
   8618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8619 /* end confdefs.h.  */
   8620 int i;
   8621 int
   8622 main ()
   8623 {
   8624 
   8625   ;
   8626   return 0;
   8627 }
   8628 _ACEOF
   8629 if ac_fn_c_try_link "$LINENO"; then :
   8630   eval $cacheid=yes
   8631 else
   8632   eval $cacheid=no
   8633 fi
   8634 rm -f core conftest.err conftest.$ac_objext \
   8635     conftest$ac_exeext conftest.$ac_ext
   8636 fi
   8637 
   8638 
   8639 		CFLAGS="$xorg_testset_save_CFLAGS"
   8640 
   8641 		eval supported=\$$cacheid
   8642 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8643 $as_echo "$supported" >&6; }
   8644 		if test "$supported" = "yes" ; then
   8645 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8646 			found="yes"
   8647 		fi
   8648 	fi
   8649 
   8650 
   8651 
   8652 
   8653 
   8654 
   8655 
   8656 
   8657 
   8658 
   8659 
   8660 
   8661 
   8662 
   8663 
   8664 xorg_testset_save_CFLAGS="$CFLAGS"
   8665 
   8666 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8667 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8668 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8669 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8670 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8671   $as_echo_n "(cached) " >&6
   8672 else
   8673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8674 /* end confdefs.h.  */
   8675 int i;
   8676 _ACEOF
   8677 if ac_fn_c_try_compile "$LINENO"; then :
   8678   xorg_cv_cc_flag_unknown_warning_option=yes
   8679 else
   8680   xorg_cv_cc_flag_unknown_warning_option=no
   8681 fi
   8682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8683 fi
   8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8685 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8686 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8687 	CFLAGS="$xorg_testset_save_CFLAGS"
   8688 fi
   8689 
   8690 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8691 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8692 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8693 	fi
   8694 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8695 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8696 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8697 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8698   $as_echo_n "(cached) " >&6
   8699 else
   8700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8701 /* end confdefs.h.  */
   8702 int i;
   8703 _ACEOF
   8704 if ac_fn_c_try_compile "$LINENO"; then :
   8705   xorg_cv_cc_flag_unused_command_line_argument=yes
   8706 else
   8707   xorg_cv_cc_flag_unused_command_line_argument=no
   8708 fi
   8709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8710 fi
   8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8712 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8713 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8714 	CFLAGS="$xorg_testset_save_CFLAGS"
   8715 fi
   8716 
   8717 found="no"
   8718 
   8719 	if test $found = "no" ; then
   8720 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8721 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8722 		fi
   8723 
   8724 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8725 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8726 		fi
   8727 
   8728 		CFLAGS="$CFLAGS -Wnonnull"
   8729 
   8730 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8731 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8732 		cacheid=xorg_cv_cc_flag__Wnonnull
   8733 		if eval \${$cacheid+:} false; then :
   8734   $as_echo_n "(cached) " >&6
   8735 else
   8736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8737 /* end confdefs.h.  */
   8738 int i;
   8739 int
   8740 main ()
   8741 {
   8742 
   8743   ;
   8744   return 0;
   8745 }
   8746 _ACEOF
   8747 if ac_fn_c_try_link "$LINENO"; then :
   8748   eval $cacheid=yes
   8749 else
   8750   eval $cacheid=no
   8751 fi
   8752 rm -f core conftest.err conftest.$ac_objext \
   8753     conftest$ac_exeext conftest.$ac_ext
   8754 fi
   8755 
   8756 
   8757 		CFLAGS="$xorg_testset_save_CFLAGS"
   8758 
   8759 		eval supported=\$$cacheid
   8760 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8761 $as_echo "$supported" >&6; }
   8762 		if test "$supported" = "yes" ; then
   8763 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8764 			found="yes"
   8765 		fi
   8766 	fi
   8767 
   8768 
   8769 
   8770 
   8771 
   8772 
   8773 
   8774 
   8775 
   8776 
   8777 
   8778 
   8779 
   8780 
   8781 
   8782 xorg_testset_save_CFLAGS="$CFLAGS"
   8783 
   8784 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8785 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8786 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8787 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8788 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8789   $as_echo_n "(cached) " >&6
   8790 else
   8791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8792 /* end confdefs.h.  */
   8793 int i;
   8794 _ACEOF
   8795 if ac_fn_c_try_compile "$LINENO"; then :
   8796   xorg_cv_cc_flag_unknown_warning_option=yes
   8797 else
   8798   xorg_cv_cc_flag_unknown_warning_option=no
   8799 fi
   8800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8801 fi
   8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8803 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8804 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8805 	CFLAGS="$xorg_testset_save_CFLAGS"
   8806 fi
   8807 
   8808 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8809 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8810 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8811 	fi
   8812 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8813 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8814 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8815 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8816   $as_echo_n "(cached) " >&6
   8817 else
   8818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8819 /* end confdefs.h.  */
   8820 int i;
   8821 _ACEOF
   8822 if ac_fn_c_try_compile "$LINENO"; then :
   8823   xorg_cv_cc_flag_unused_command_line_argument=yes
   8824 else
   8825   xorg_cv_cc_flag_unused_command_line_argument=no
   8826 fi
   8827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8828 fi
   8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8830 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8831 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8832 	CFLAGS="$xorg_testset_save_CFLAGS"
   8833 fi
   8834 
   8835 found="no"
   8836 
   8837 	if test $found = "no" ; then
   8838 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8839 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8840 		fi
   8841 
   8842 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8843 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8844 		fi
   8845 
   8846 		CFLAGS="$CFLAGS -Winit-self"
   8847 
   8848 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8849 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8850 		cacheid=xorg_cv_cc_flag__Winit_self
   8851 		if eval \${$cacheid+:} false; then :
   8852   $as_echo_n "(cached) " >&6
   8853 else
   8854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8855 /* end confdefs.h.  */
   8856 int i;
   8857 int
   8858 main ()
   8859 {
   8860 
   8861   ;
   8862   return 0;
   8863 }
   8864 _ACEOF
   8865 if ac_fn_c_try_link "$LINENO"; then :
   8866   eval $cacheid=yes
   8867 else
   8868   eval $cacheid=no
   8869 fi
   8870 rm -f core conftest.err conftest.$ac_objext \
   8871     conftest$ac_exeext conftest.$ac_ext
   8872 fi
   8873 
   8874 
   8875 		CFLAGS="$xorg_testset_save_CFLAGS"
   8876 
   8877 		eval supported=\$$cacheid
   8878 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8879 $as_echo "$supported" >&6; }
   8880 		if test "$supported" = "yes" ; then
   8881 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8882 			found="yes"
   8883 		fi
   8884 	fi
   8885 
   8886 
   8887 
   8888 
   8889 
   8890 
   8891 
   8892 
   8893 
   8894 
   8895 
   8896 
   8897 
   8898 
   8899 
   8900 xorg_testset_save_CFLAGS="$CFLAGS"
   8901 
   8902 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8903 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8904 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8905 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8906 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8907   $as_echo_n "(cached) " >&6
   8908 else
   8909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8910 /* end confdefs.h.  */
   8911 int i;
   8912 _ACEOF
   8913 if ac_fn_c_try_compile "$LINENO"; then :
   8914   xorg_cv_cc_flag_unknown_warning_option=yes
   8915 else
   8916   xorg_cv_cc_flag_unknown_warning_option=no
   8917 fi
   8918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8919 fi
   8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8921 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8922 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8923 	CFLAGS="$xorg_testset_save_CFLAGS"
   8924 fi
   8925 
   8926 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8927 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8928 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8929 	fi
   8930 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8931 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8932 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8933 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8934   $as_echo_n "(cached) " >&6
   8935 else
   8936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8937 /* end confdefs.h.  */
   8938 int i;
   8939 _ACEOF
   8940 if ac_fn_c_try_compile "$LINENO"; then :
   8941   xorg_cv_cc_flag_unused_command_line_argument=yes
   8942 else
   8943   xorg_cv_cc_flag_unused_command_line_argument=no
   8944 fi
   8945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8946 fi
   8947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8948 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8949 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8950 	CFLAGS="$xorg_testset_save_CFLAGS"
   8951 fi
   8952 
   8953 found="no"
   8954 
   8955 	if test $found = "no" ; then
   8956 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8957 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8958 		fi
   8959 
   8960 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8961 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8962 		fi
   8963 
   8964 		CFLAGS="$CFLAGS -Wmain"
   8965 
   8966 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8967 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8968 		cacheid=xorg_cv_cc_flag__Wmain
   8969 		if eval \${$cacheid+:} false; then :
   8970   $as_echo_n "(cached) " >&6
   8971 else
   8972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8973 /* end confdefs.h.  */
   8974 int i;
   8975 int
   8976 main ()
   8977 {
   8978 
   8979   ;
   8980   return 0;
   8981 }
   8982 _ACEOF
   8983 if ac_fn_c_try_link "$LINENO"; then :
   8984   eval $cacheid=yes
   8985 else
   8986   eval $cacheid=no
   8987 fi
   8988 rm -f core conftest.err conftest.$ac_objext \
   8989     conftest$ac_exeext conftest.$ac_ext
   8990 fi
   8991 
   8992 
   8993 		CFLAGS="$xorg_testset_save_CFLAGS"
   8994 
   8995 		eval supported=\$$cacheid
   8996 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8997 $as_echo "$supported" >&6; }
   8998 		if test "$supported" = "yes" ; then
   8999 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9000 			found="yes"
   9001 		fi
   9002 	fi
   9003 
   9004 
   9005 
   9006 
   9007 
   9008 
   9009 
   9010 
   9011 
   9012 
   9013 
   9014 
   9015 
   9016 
   9017 
   9018 xorg_testset_save_CFLAGS="$CFLAGS"
   9019 
   9020 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9021 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9022 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9023 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9024 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9025   $as_echo_n "(cached) " >&6
   9026 else
   9027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9028 /* end confdefs.h.  */
   9029 int i;
   9030 _ACEOF
   9031 if ac_fn_c_try_compile "$LINENO"; then :
   9032   xorg_cv_cc_flag_unknown_warning_option=yes
   9033 else
   9034   xorg_cv_cc_flag_unknown_warning_option=no
   9035 fi
   9036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9037 fi
   9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9039 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9040 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9041 	CFLAGS="$xorg_testset_save_CFLAGS"
   9042 fi
   9043 
   9044 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9045 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9046 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9047 	fi
   9048 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9049 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9050 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9051 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9052   $as_echo_n "(cached) " >&6
   9053 else
   9054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9055 /* end confdefs.h.  */
   9056 int i;
   9057 _ACEOF
   9058 if ac_fn_c_try_compile "$LINENO"; then :
   9059   xorg_cv_cc_flag_unused_command_line_argument=yes
   9060 else
   9061   xorg_cv_cc_flag_unused_command_line_argument=no
   9062 fi
   9063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9064 fi
   9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9066 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9067 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9068 	CFLAGS="$xorg_testset_save_CFLAGS"
   9069 fi
   9070 
   9071 found="no"
   9072 
   9073 	if test $found = "no" ; then
   9074 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9075 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9076 		fi
   9077 
   9078 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9079 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9080 		fi
   9081 
   9082 		CFLAGS="$CFLAGS -Wmissing-braces"
   9083 
   9084 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9085 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9086 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9087 		if eval \${$cacheid+:} false; then :
   9088   $as_echo_n "(cached) " >&6
   9089 else
   9090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9091 /* end confdefs.h.  */
   9092 int i;
   9093 int
   9094 main ()
   9095 {
   9096 
   9097   ;
   9098   return 0;
   9099 }
   9100 _ACEOF
   9101 if ac_fn_c_try_link "$LINENO"; then :
   9102   eval $cacheid=yes
   9103 else
   9104   eval $cacheid=no
   9105 fi
   9106 rm -f core conftest.err conftest.$ac_objext \
   9107     conftest$ac_exeext conftest.$ac_ext
   9108 fi
   9109 
   9110 
   9111 		CFLAGS="$xorg_testset_save_CFLAGS"
   9112 
   9113 		eval supported=\$$cacheid
   9114 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9115 $as_echo "$supported" >&6; }
   9116 		if test "$supported" = "yes" ; then
   9117 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9118 			found="yes"
   9119 		fi
   9120 	fi
   9121 
   9122 
   9123 
   9124 
   9125 
   9126 
   9127 
   9128 
   9129 
   9130 
   9131 
   9132 
   9133 
   9134 
   9135 
   9136 xorg_testset_save_CFLAGS="$CFLAGS"
   9137 
   9138 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9139 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9140 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9141 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9142 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9143   $as_echo_n "(cached) " >&6
   9144 else
   9145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9146 /* end confdefs.h.  */
   9147 int i;
   9148 _ACEOF
   9149 if ac_fn_c_try_compile "$LINENO"; then :
   9150   xorg_cv_cc_flag_unknown_warning_option=yes
   9151 else
   9152   xorg_cv_cc_flag_unknown_warning_option=no
   9153 fi
   9154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9155 fi
   9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9157 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9158 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9159 	CFLAGS="$xorg_testset_save_CFLAGS"
   9160 fi
   9161 
   9162 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9163 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9164 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9165 	fi
   9166 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9167 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9168 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9169 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9170   $as_echo_n "(cached) " >&6
   9171 else
   9172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9173 /* end confdefs.h.  */
   9174 int i;
   9175 _ACEOF
   9176 if ac_fn_c_try_compile "$LINENO"; then :
   9177   xorg_cv_cc_flag_unused_command_line_argument=yes
   9178 else
   9179   xorg_cv_cc_flag_unused_command_line_argument=no
   9180 fi
   9181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9182 fi
   9183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9184 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9185 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9186 	CFLAGS="$xorg_testset_save_CFLAGS"
   9187 fi
   9188 
   9189 found="no"
   9190 
   9191 	if test $found = "no" ; then
   9192 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9193 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9194 		fi
   9195 
   9196 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9197 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9198 		fi
   9199 
   9200 		CFLAGS="$CFLAGS -Wsequence-point"
   9201 
   9202 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9203 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9204 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9205 		if eval \${$cacheid+:} false; then :
   9206   $as_echo_n "(cached) " >&6
   9207 else
   9208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9209 /* end confdefs.h.  */
   9210 int i;
   9211 int
   9212 main ()
   9213 {
   9214 
   9215   ;
   9216   return 0;
   9217 }
   9218 _ACEOF
   9219 if ac_fn_c_try_link "$LINENO"; then :
   9220   eval $cacheid=yes
   9221 else
   9222   eval $cacheid=no
   9223 fi
   9224 rm -f core conftest.err conftest.$ac_objext \
   9225     conftest$ac_exeext conftest.$ac_ext
   9226 fi
   9227 
   9228 
   9229 		CFLAGS="$xorg_testset_save_CFLAGS"
   9230 
   9231 		eval supported=\$$cacheid
   9232 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9233 $as_echo "$supported" >&6; }
   9234 		if test "$supported" = "yes" ; then
   9235 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9236 			found="yes"
   9237 		fi
   9238 	fi
   9239 
   9240 
   9241 
   9242 
   9243 
   9244 
   9245 
   9246 
   9247 
   9248 
   9249 
   9250 
   9251 
   9252 
   9253 
   9254 xorg_testset_save_CFLAGS="$CFLAGS"
   9255 
   9256 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9257 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9258 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9259 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9260 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9261   $as_echo_n "(cached) " >&6
   9262 else
   9263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9264 /* end confdefs.h.  */
   9265 int i;
   9266 _ACEOF
   9267 if ac_fn_c_try_compile "$LINENO"; then :
   9268   xorg_cv_cc_flag_unknown_warning_option=yes
   9269 else
   9270   xorg_cv_cc_flag_unknown_warning_option=no
   9271 fi
   9272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9273 fi
   9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9275 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9276 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9277 	CFLAGS="$xorg_testset_save_CFLAGS"
   9278 fi
   9279 
   9280 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9281 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9282 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9283 	fi
   9284 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9285 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9286 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9287 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9288   $as_echo_n "(cached) " >&6
   9289 else
   9290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9291 /* end confdefs.h.  */
   9292 int i;
   9293 _ACEOF
   9294 if ac_fn_c_try_compile "$LINENO"; then :
   9295   xorg_cv_cc_flag_unused_command_line_argument=yes
   9296 else
   9297   xorg_cv_cc_flag_unused_command_line_argument=no
   9298 fi
   9299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9300 fi
   9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9302 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9303 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9304 	CFLAGS="$xorg_testset_save_CFLAGS"
   9305 fi
   9306 
   9307 found="no"
   9308 
   9309 	if test $found = "no" ; then
   9310 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9311 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9312 		fi
   9313 
   9314 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9315 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9316 		fi
   9317 
   9318 		CFLAGS="$CFLAGS -Wreturn-type"
   9319 
   9320 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9321 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9322 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9323 		if eval \${$cacheid+:} false; then :
   9324   $as_echo_n "(cached) " >&6
   9325 else
   9326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9327 /* end confdefs.h.  */
   9328 int i;
   9329 int
   9330 main ()
   9331 {
   9332 
   9333   ;
   9334   return 0;
   9335 }
   9336 _ACEOF
   9337 if ac_fn_c_try_link "$LINENO"; then :
   9338   eval $cacheid=yes
   9339 else
   9340   eval $cacheid=no
   9341 fi
   9342 rm -f core conftest.err conftest.$ac_objext \
   9343     conftest$ac_exeext conftest.$ac_ext
   9344 fi
   9345 
   9346 
   9347 		CFLAGS="$xorg_testset_save_CFLAGS"
   9348 
   9349 		eval supported=\$$cacheid
   9350 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9351 $as_echo "$supported" >&6; }
   9352 		if test "$supported" = "yes" ; then
   9353 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9354 			found="yes"
   9355 		fi
   9356 	fi
   9357 
   9358 
   9359 
   9360 
   9361 
   9362 
   9363 
   9364 
   9365 
   9366 
   9367 
   9368 
   9369 
   9370 
   9371 
   9372 xorg_testset_save_CFLAGS="$CFLAGS"
   9373 
   9374 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9375 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9376 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9377 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9378 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9379   $as_echo_n "(cached) " >&6
   9380 else
   9381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9382 /* end confdefs.h.  */
   9383 int i;
   9384 _ACEOF
   9385 if ac_fn_c_try_compile "$LINENO"; then :
   9386   xorg_cv_cc_flag_unknown_warning_option=yes
   9387 else
   9388   xorg_cv_cc_flag_unknown_warning_option=no
   9389 fi
   9390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9391 fi
   9392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9393 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9394 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9395 	CFLAGS="$xorg_testset_save_CFLAGS"
   9396 fi
   9397 
   9398 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9399 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9400 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9401 	fi
   9402 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9403 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9404 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9405 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9406   $as_echo_n "(cached) " >&6
   9407 else
   9408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9409 /* end confdefs.h.  */
   9410 int i;
   9411 _ACEOF
   9412 if ac_fn_c_try_compile "$LINENO"; then :
   9413   xorg_cv_cc_flag_unused_command_line_argument=yes
   9414 else
   9415   xorg_cv_cc_flag_unused_command_line_argument=no
   9416 fi
   9417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9418 fi
   9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9420 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9421 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9422 	CFLAGS="$xorg_testset_save_CFLAGS"
   9423 fi
   9424 
   9425 found="no"
   9426 
   9427 	if test $found = "no" ; then
   9428 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9429 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9430 		fi
   9431 
   9432 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9433 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9434 		fi
   9435 
   9436 		CFLAGS="$CFLAGS -Wtrigraphs"
   9437 
   9438 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9439 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9440 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9441 		if eval \${$cacheid+:} false; then :
   9442   $as_echo_n "(cached) " >&6
   9443 else
   9444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9445 /* end confdefs.h.  */
   9446 int i;
   9447 int
   9448 main ()
   9449 {
   9450 
   9451   ;
   9452   return 0;
   9453 }
   9454 _ACEOF
   9455 if ac_fn_c_try_link "$LINENO"; then :
   9456   eval $cacheid=yes
   9457 else
   9458   eval $cacheid=no
   9459 fi
   9460 rm -f core conftest.err conftest.$ac_objext \
   9461     conftest$ac_exeext conftest.$ac_ext
   9462 fi
   9463 
   9464 
   9465 		CFLAGS="$xorg_testset_save_CFLAGS"
   9466 
   9467 		eval supported=\$$cacheid
   9468 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9469 $as_echo "$supported" >&6; }
   9470 		if test "$supported" = "yes" ; then
   9471 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9472 			found="yes"
   9473 		fi
   9474 	fi
   9475 
   9476 
   9477 
   9478 
   9479 
   9480 
   9481 
   9482 
   9483 
   9484 
   9485 
   9486 
   9487 
   9488 
   9489 
   9490 xorg_testset_save_CFLAGS="$CFLAGS"
   9491 
   9492 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9493 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9494 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9495 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9496 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9497   $as_echo_n "(cached) " >&6
   9498 else
   9499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9500 /* end confdefs.h.  */
   9501 int i;
   9502 _ACEOF
   9503 if ac_fn_c_try_compile "$LINENO"; then :
   9504   xorg_cv_cc_flag_unknown_warning_option=yes
   9505 else
   9506   xorg_cv_cc_flag_unknown_warning_option=no
   9507 fi
   9508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9509 fi
   9510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9511 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9512 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9513 	CFLAGS="$xorg_testset_save_CFLAGS"
   9514 fi
   9515 
   9516 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9517 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9518 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9519 	fi
   9520 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9521 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9522 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9523 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9524   $as_echo_n "(cached) " >&6
   9525 else
   9526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9527 /* end confdefs.h.  */
   9528 int i;
   9529 _ACEOF
   9530 if ac_fn_c_try_compile "$LINENO"; then :
   9531   xorg_cv_cc_flag_unused_command_line_argument=yes
   9532 else
   9533   xorg_cv_cc_flag_unused_command_line_argument=no
   9534 fi
   9535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9536 fi
   9537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9538 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9539 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9540 	CFLAGS="$xorg_testset_save_CFLAGS"
   9541 fi
   9542 
   9543 found="no"
   9544 
   9545 	if test $found = "no" ; then
   9546 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9547 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9548 		fi
   9549 
   9550 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9551 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9552 		fi
   9553 
   9554 		CFLAGS="$CFLAGS -Warray-bounds"
   9555 
   9556 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9557 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9558 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9559 		if eval \${$cacheid+:} false; then :
   9560   $as_echo_n "(cached) " >&6
   9561 else
   9562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9563 /* end confdefs.h.  */
   9564 int i;
   9565 int
   9566 main ()
   9567 {
   9568 
   9569   ;
   9570   return 0;
   9571 }
   9572 _ACEOF
   9573 if ac_fn_c_try_link "$LINENO"; then :
   9574   eval $cacheid=yes
   9575 else
   9576   eval $cacheid=no
   9577 fi
   9578 rm -f core conftest.err conftest.$ac_objext \
   9579     conftest$ac_exeext conftest.$ac_ext
   9580 fi
   9581 
   9582 
   9583 		CFLAGS="$xorg_testset_save_CFLAGS"
   9584 
   9585 		eval supported=\$$cacheid
   9586 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9587 $as_echo "$supported" >&6; }
   9588 		if test "$supported" = "yes" ; then
   9589 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9590 			found="yes"
   9591 		fi
   9592 	fi
   9593 
   9594 
   9595 
   9596 
   9597 
   9598 
   9599 
   9600 
   9601 
   9602 
   9603 
   9604 
   9605 
   9606 
   9607 
   9608 xorg_testset_save_CFLAGS="$CFLAGS"
   9609 
   9610 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9611 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9612 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9613 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9614 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9615   $as_echo_n "(cached) " >&6
   9616 else
   9617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9618 /* end confdefs.h.  */
   9619 int i;
   9620 _ACEOF
   9621 if ac_fn_c_try_compile "$LINENO"; then :
   9622   xorg_cv_cc_flag_unknown_warning_option=yes
   9623 else
   9624   xorg_cv_cc_flag_unknown_warning_option=no
   9625 fi
   9626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9627 fi
   9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9629 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9630 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9631 	CFLAGS="$xorg_testset_save_CFLAGS"
   9632 fi
   9633 
   9634 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9635 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9636 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9637 	fi
   9638 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9639 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9640 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9641 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9642   $as_echo_n "(cached) " >&6
   9643 else
   9644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9645 /* end confdefs.h.  */
   9646 int i;
   9647 _ACEOF
   9648 if ac_fn_c_try_compile "$LINENO"; then :
   9649   xorg_cv_cc_flag_unused_command_line_argument=yes
   9650 else
   9651   xorg_cv_cc_flag_unused_command_line_argument=no
   9652 fi
   9653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9654 fi
   9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9656 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9657 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9658 	CFLAGS="$xorg_testset_save_CFLAGS"
   9659 fi
   9660 
   9661 found="no"
   9662 
   9663 	if test $found = "no" ; then
   9664 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9665 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9666 		fi
   9667 
   9668 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9669 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9670 		fi
   9671 
   9672 		CFLAGS="$CFLAGS -Wwrite-strings"
   9673 
   9674 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9675 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9676 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9677 		if eval \${$cacheid+:} false; then :
   9678   $as_echo_n "(cached) " >&6
   9679 else
   9680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9681 /* end confdefs.h.  */
   9682 int i;
   9683 int
   9684 main ()
   9685 {
   9686 
   9687   ;
   9688   return 0;
   9689 }
   9690 _ACEOF
   9691 if ac_fn_c_try_link "$LINENO"; then :
   9692   eval $cacheid=yes
   9693 else
   9694   eval $cacheid=no
   9695 fi
   9696 rm -f core conftest.err conftest.$ac_objext \
   9697     conftest$ac_exeext conftest.$ac_ext
   9698 fi
   9699 
   9700 
   9701 		CFLAGS="$xorg_testset_save_CFLAGS"
   9702 
   9703 		eval supported=\$$cacheid
   9704 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9705 $as_echo "$supported" >&6; }
   9706 		if test "$supported" = "yes" ; then
   9707 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9708 			found="yes"
   9709 		fi
   9710 	fi
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 xorg_testset_save_CFLAGS="$CFLAGS"
   9727 
   9728 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9729 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9730 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9731 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9732 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9733   $as_echo_n "(cached) " >&6
   9734 else
   9735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9736 /* end confdefs.h.  */
   9737 int i;
   9738 _ACEOF
   9739 if ac_fn_c_try_compile "$LINENO"; then :
   9740   xorg_cv_cc_flag_unknown_warning_option=yes
   9741 else
   9742   xorg_cv_cc_flag_unknown_warning_option=no
   9743 fi
   9744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9745 fi
   9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9747 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9748 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9749 	CFLAGS="$xorg_testset_save_CFLAGS"
   9750 fi
   9751 
   9752 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9753 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9754 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9755 	fi
   9756 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9757 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9758 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9759 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9760   $as_echo_n "(cached) " >&6
   9761 else
   9762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9763 /* end confdefs.h.  */
   9764 int i;
   9765 _ACEOF
   9766 if ac_fn_c_try_compile "$LINENO"; then :
   9767   xorg_cv_cc_flag_unused_command_line_argument=yes
   9768 else
   9769   xorg_cv_cc_flag_unused_command_line_argument=no
   9770 fi
   9771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9772 fi
   9773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9774 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9775 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9776 	CFLAGS="$xorg_testset_save_CFLAGS"
   9777 fi
   9778 
   9779 found="no"
   9780 
   9781 	if test $found = "no" ; then
   9782 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9783 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9784 		fi
   9785 
   9786 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9787 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9788 		fi
   9789 
   9790 		CFLAGS="$CFLAGS -Waddress"
   9791 
   9792 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9793 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9794 		cacheid=xorg_cv_cc_flag__Waddress
   9795 		if eval \${$cacheid+:} false; then :
   9796   $as_echo_n "(cached) " >&6
   9797 else
   9798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9799 /* end confdefs.h.  */
   9800 int i;
   9801 int
   9802 main ()
   9803 {
   9804 
   9805   ;
   9806   return 0;
   9807 }
   9808 _ACEOF
   9809 if ac_fn_c_try_link "$LINENO"; then :
   9810   eval $cacheid=yes
   9811 else
   9812   eval $cacheid=no
   9813 fi
   9814 rm -f core conftest.err conftest.$ac_objext \
   9815     conftest$ac_exeext conftest.$ac_ext
   9816 fi
   9817 
   9818 
   9819 		CFLAGS="$xorg_testset_save_CFLAGS"
   9820 
   9821 		eval supported=\$$cacheid
   9822 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9823 $as_echo "$supported" >&6; }
   9824 		if test "$supported" = "yes" ; then
   9825 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9826 			found="yes"
   9827 		fi
   9828 	fi
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 xorg_testset_save_CFLAGS="$CFLAGS"
   9845 
   9846 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9847 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9848 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9849 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9850 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9851   $as_echo_n "(cached) " >&6
   9852 else
   9853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9854 /* end confdefs.h.  */
   9855 int i;
   9856 _ACEOF
   9857 if ac_fn_c_try_compile "$LINENO"; then :
   9858   xorg_cv_cc_flag_unknown_warning_option=yes
   9859 else
   9860   xorg_cv_cc_flag_unknown_warning_option=no
   9861 fi
   9862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9863 fi
   9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9865 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9866 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9867 	CFLAGS="$xorg_testset_save_CFLAGS"
   9868 fi
   9869 
   9870 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9871 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9872 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9873 	fi
   9874 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9875 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9876 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9877 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9878   $as_echo_n "(cached) " >&6
   9879 else
   9880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9881 /* end confdefs.h.  */
   9882 int i;
   9883 _ACEOF
   9884 if ac_fn_c_try_compile "$LINENO"; then :
   9885   xorg_cv_cc_flag_unused_command_line_argument=yes
   9886 else
   9887   xorg_cv_cc_flag_unused_command_line_argument=no
   9888 fi
   9889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9890 fi
   9891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9892 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9893 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9894 	CFLAGS="$xorg_testset_save_CFLAGS"
   9895 fi
   9896 
   9897 found="no"
   9898 
   9899 	if test $found = "no" ; then
   9900 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9901 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9902 		fi
   9903 
   9904 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9905 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9906 		fi
   9907 
   9908 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9909 
   9910 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9911 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9912 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9913 		if eval \${$cacheid+:} false; then :
   9914   $as_echo_n "(cached) " >&6
   9915 else
   9916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9917 /* end confdefs.h.  */
   9918 int i;
   9919 int
   9920 main ()
   9921 {
   9922 
   9923   ;
   9924   return 0;
   9925 }
   9926 _ACEOF
   9927 if ac_fn_c_try_link "$LINENO"; then :
   9928   eval $cacheid=yes
   9929 else
   9930   eval $cacheid=no
   9931 fi
   9932 rm -f core conftest.err conftest.$ac_objext \
   9933     conftest$ac_exeext conftest.$ac_ext
   9934 fi
   9935 
   9936 
   9937 		CFLAGS="$xorg_testset_save_CFLAGS"
   9938 
   9939 		eval supported=\$$cacheid
   9940 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9941 $as_echo "$supported" >&6; }
   9942 		if test "$supported" = "yes" ; then
   9943 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9944 			found="yes"
   9945 		fi
   9946 	fi
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 xorg_testset_save_CFLAGS="$CFLAGS"
   9963 
   9964 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9965 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9966 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9967 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9968 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9969   $as_echo_n "(cached) " >&6
   9970 else
   9971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9972 /* end confdefs.h.  */
   9973 int i;
   9974 _ACEOF
   9975 if ac_fn_c_try_compile "$LINENO"; then :
   9976   xorg_cv_cc_flag_unknown_warning_option=yes
   9977 else
   9978   xorg_cv_cc_flag_unknown_warning_option=no
   9979 fi
   9980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9981 fi
   9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9983 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9984 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9985 	CFLAGS="$xorg_testset_save_CFLAGS"
   9986 fi
   9987 
   9988 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9989 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9990 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9991 	fi
   9992 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9993 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9994 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9995 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9996   $as_echo_n "(cached) " >&6
   9997 else
   9998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9999 /* end confdefs.h.  */
   10000 int i;
   10001 _ACEOF
   10002 if ac_fn_c_try_compile "$LINENO"; then :
   10003   xorg_cv_cc_flag_unused_command_line_argument=yes
   10004 else
   10005   xorg_cv_cc_flag_unused_command_line_argument=no
   10006 fi
   10007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10008 fi
   10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10010 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10011 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10012 	CFLAGS="$xorg_testset_save_CFLAGS"
   10013 fi
   10014 
   10015 found="no"
   10016 
   10017 	if test $found = "no" ; then
   10018 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10019 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10020 		fi
   10021 
   10022 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10023 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10024 		fi
   10025 
   10026 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10027 
   10028 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10029 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10030 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10031 		if eval \${$cacheid+:} false; then :
   10032   $as_echo_n "(cached) " >&6
   10033 else
   10034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10035 /* end confdefs.h.  */
   10036 int i;
   10037 int
   10038 main ()
   10039 {
   10040 
   10041   ;
   10042   return 0;
   10043 }
   10044 _ACEOF
   10045 if ac_fn_c_try_link "$LINENO"; then :
   10046   eval $cacheid=yes
   10047 else
   10048   eval $cacheid=no
   10049 fi
   10050 rm -f core conftest.err conftest.$ac_objext \
   10051     conftest$ac_exeext conftest.$ac_ext
   10052 fi
   10053 
   10054 
   10055 		CFLAGS="$xorg_testset_save_CFLAGS"
   10056 
   10057 		eval supported=\$$cacheid
   10058 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10059 $as_echo "$supported" >&6; }
   10060 		if test "$supported" = "yes" ; then
   10061 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10062 			found="yes"
   10063 		fi
   10064 	fi
   10065 
   10066 
   10067 fi
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 		CWARNFLAGS="$BASE_CFLAGS"
   10076 		if  test "x$GCC" = xyes ; then
   10077 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10078 		fi
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 # Check whether --enable-strict-compilation was given.
   10088 if test "${enable_strict_compilation+set}" = set; then :
   10089   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10090 else
   10091   STRICT_COMPILE=no
   10092 fi
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 STRICT_CFLAGS=""
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 xorg_testset_save_CFLAGS="$CFLAGS"
   10114 
   10115 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10116 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10117 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10118 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10119 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10120   $as_echo_n "(cached) " >&6
   10121 else
   10122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10123 /* end confdefs.h.  */
   10124 int i;
   10125 _ACEOF
   10126 if ac_fn_c_try_compile "$LINENO"; then :
   10127   xorg_cv_cc_flag_unknown_warning_option=yes
   10128 else
   10129   xorg_cv_cc_flag_unknown_warning_option=no
   10130 fi
   10131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10132 fi
   10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10134 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10135 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10136 	CFLAGS="$xorg_testset_save_CFLAGS"
   10137 fi
   10138 
   10139 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10140 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10141 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10142 	fi
   10143 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10144 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10145 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10146 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10147   $as_echo_n "(cached) " >&6
   10148 else
   10149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10150 /* end confdefs.h.  */
   10151 int i;
   10152 _ACEOF
   10153 if ac_fn_c_try_compile "$LINENO"; then :
   10154   xorg_cv_cc_flag_unused_command_line_argument=yes
   10155 else
   10156   xorg_cv_cc_flag_unused_command_line_argument=no
   10157 fi
   10158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10159 fi
   10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10161 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10162 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10163 	CFLAGS="$xorg_testset_save_CFLAGS"
   10164 fi
   10165 
   10166 found="no"
   10167 
   10168 	if test $found = "no" ; then
   10169 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10170 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10171 		fi
   10172 
   10173 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10174 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10175 		fi
   10176 
   10177 		CFLAGS="$CFLAGS -pedantic"
   10178 
   10179 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10180 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10181 		cacheid=xorg_cv_cc_flag__pedantic
   10182 		if eval \${$cacheid+:} false; then :
   10183   $as_echo_n "(cached) " >&6
   10184 else
   10185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10186 /* end confdefs.h.  */
   10187 int i;
   10188 int
   10189 main ()
   10190 {
   10191 
   10192   ;
   10193   return 0;
   10194 }
   10195 _ACEOF
   10196 if ac_fn_c_try_link "$LINENO"; then :
   10197   eval $cacheid=yes
   10198 else
   10199   eval $cacheid=no
   10200 fi
   10201 rm -f core conftest.err conftest.$ac_objext \
   10202     conftest$ac_exeext conftest.$ac_ext
   10203 fi
   10204 
   10205 
   10206 		CFLAGS="$xorg_testset_save_CFLAGS"
   10207 
   10208 		eval supported=\$$cacheid
   10209 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10210 $as_echo "$supported" >&6; }
   10211 		if test "$supported" = "yes" ; then
   10212 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10213 			found="yes"
   10214 		fi
   10215 	fi
   10216 
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230 
   10231 xorg_testset_save_CFLAGS="$CFLAGS"
   10232 
   10233 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10234 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10235 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10236 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10237 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10238   $as_echo_n "(cached) " >&6
   10239 else
   10240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10241 /* end confdefs.h.  */
   10242 int i;
   10243 _ACEOF
   10244 if ac_fn_c_try_compile "$LINENO"; then :
   10245   xorg_cv_cc_flag_unknown_warning_option=yes
   10246 else
   10247   xorg_cv_cc_flag_unknown_warning_option=no
   10248 fi
   10249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10250 fi
   10251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10252 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10253 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10254 	CFLAGS="$xorg_testset_save_CFLAGS"
   10255 fi
   10256 
   10257 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10258 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10259 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10260 	fi
   10261 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10262 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10263 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10264 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10265   $as_echo_n "(cached) " >&6
   10266 else
   10267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10268 /* end confdefs.h.  */
   10269 int i;
   10270 _ACEOF
   10271 if ac_fn_c_try_compile "$LINENO"; then :
   10272   xorg_cv_cc_flag_unused_command_line_argument=yes
   10273 else
   10274   xorg_cv_cc_flag_unused_command_line_argument=no
   10275 fi
   10276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10277 fi
   10278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10279 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10280 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10281 	CFLAGS="$xorg_testset_save_CFLAGS"
   10282 fi
   10283 
   10284 found="no"
   10285 
   10286 	if test $found = "no" ; then
   10287 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10288 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10289 		fi
   10290 
   10291 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10292 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10293 		fi
   10294 
   10295 		CFLAGS="$CFLAGS -Werror"
   10296 
   10297 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10298 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10299 		cacheid=xorg_cv_cc_flag__Werror
   10300 		if eval \${$cacheid+:} false; then :
   10301   $as_echo_n "(cached) " >&6
   10302 else
   10303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10304 /* end confdefs.h.  */
   10305 int i;
   10306 int
   10307 main ()
   10308 {
   10309 
   10310   ;
   10311   return 0;
   10312 }
   10313 _ACEOF
   10314 if ac_fn_c_try_link "$LINENO"; then :
   10315   eval $cacheid=yes
   10316 else
   10317   eval $cacheid=no
   10318 fi
   10319 rm -f core conftest.err conftest.$ac_objext \
   10320     conftest$ac_exeext conftest.$ac_ext
   10321 fi
   10322 
   10323 
   10324 		CFLAGS="$xorg_testset_save_CFLAGS"
   10325 
   10326 		eval supported=\$$cacheid
   10327 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10328 $as_echo "$supported" >&6; }
   10329 		if test "$supported" = "yes" ; then
   10330 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10331 			found="yes"
   10332 		fi
   10333 	fi
   10334 
   10335 	if test $found = "no" ; then
   10336 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10337 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10338 		fi
   10339 
   10340 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10341 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10342 		fi
   10343 
   10344 		CFLAGS="$CFLAGS -errwarn"
   10345 
   10346 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10347 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10348 		cacheid=xorg_cv_cc_flag__errwarn
   10349 		if eval \${$cacheid+:} false; then :
   10350   $as_echo_n "(cached) " >&6
   10351 else
   10352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10353 /* end confdefs.h.  */
   10354 int i;
   10355 int
   10356 main ()
   10357 {
   10358 
   10359   ;
   10360   return 0;
   10361 }
   10362 _ACEOF
   10363 if ac_fn_c_try_link "$LINENO"; then :
   10364   eval $cacheid=yes
   10365 else
   10366   eval $cacheid=no
   10367 fi
   10368 rm -f core conftest.err conftest.$ac_objext \
   10369     conftest$ac_exeext conftest.$ac_ext
   10370 fi
   10371 
   10372 
   10373 		CFLAGS="$xorg_testset_save_CFLAGS"
   10374 
   10375 		eval supported=\$$cacheid
   10376 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10377 $as_echo "$supported" >&6; }
   10378 		if test "$supported" = "yes" ; then
   10379 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10380 			found="yes"
   10381 		fi
   10382 	fi
   10383 
   10384 
   10385 
   10386 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10387 # activate it with -Werror, so we add it here explicitly.
   10388 
   10389 
   10390 
   10391 
   10392 
   10393 
   10394 
   10395 
   10396 
   10397 
   10398 
   10399 
   10400 
   10401 xorg_testset_save_CFLAGS="$CFLAGS"
   10402 
   10403 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10404 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10405 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10406 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10407 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10408   $as_echo_n "(cached) " >&6
   10409 else
   10410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10411 /* end confdefs.h.  */
   10412 int i;
   10413 _ACEOF
   10414 if ac_fn_c_try_compile "$LINENO"; then :
   10415   xorg_cv_cc_flag_unknown_warning_option=yes
   10416 else
   10417   xorg_cv_cc_flag_unknown_warning_option=no
   10418 fi
   10419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10420 fi
   10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10422 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10423 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10424 	CFLAGS="$xorg_testset_save_CFLAGS"
   10425 fi
   10426 
   10427 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10428 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10429 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10430 	fi
   10431 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10432 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10433 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10434 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10435   $as_echo_n "(cached) " >&6
   10436 else
   10437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10438 /* end confdefs.h.  */
   10439 int i;
   10440 _ACEOF
   10441 if ac_fn_c_try_compile "$LINENO"; then :
   10442   xorg_cv_cc_flag_unused_command_line_argument=yes
   10443 else
   10444   xorg_cv_cc_flag_unused_command_line_argument=no
   10445 fi
   10446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10447 fi
   10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10449 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10450 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10451 	CFLAGS="$xorg_testset_save_CFLAGS"
   10452 fi
   10453 
   10454 found="no"
   10455 
   10456 	if test $found = "no" ; then
   10457 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10458 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10459 		fi
   10460 
   10461 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10462 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10463 		fi
   10464 
   10465 		CFLAGS="$CFLAGS -Werror=attributes"
   10466 
   10467 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10468 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10469 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10470 		if eval \${$cacheid+:} false; then :
   10471   $as_echo_n "(cached) " >&6
   10472 else
   10473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10474 /* end confdefs.h.  */
   10475 int i;
   10476 int
   10477 main ()
   10478 {
   10479 
   10480   ;
   10481   return 0;
   10482 }
   10483 _ACEOF
   10484 if ac_fn_c_try_link "$LINENO"; then :
   10485   eval $cacheid=yes
   10486 else
   10487   eval $cacheid=no
   10488 fi
   10489 rm -f core conftest.err conftest.$ac_objext \
   10490     conftest$ac_exeext conftest.$ac_ext
   10491 fi
   10492 
   10493 
   10494 		CFLAGS="$xorg_testset_save_CFLAGS"
   10495 
   10496 		eval supported=\$$cacheid
   10497 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10498 $as_echo "$supported" >&6; }
   10499 		if test "$supported" = "yes" ; then
   10500 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10501 			found="yes"
   10502 		fi
   10503 	fi
   10504 
   10505 
   10506 
   10507 if test "x$STRICT_COMPILE" = "xyes"; then
   10508     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10509     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10510 fi
   10511 
   10512 
   10513 
   10514 
   10515 
   10516 
   10517 cat >>confdefs.h <<_ACEOF
   10518 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10519 _ACEOF
   10520 
   10521 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10522 	if test "x$PVM" = "x"; then
   10523 		PVM="0"
   10524 	fi
   10525 
   10526 cat >>confdefs.h <<_ACEOF
   10527 #define PACKAGE_VERSION_MINOR $PVM
   10528 _ACEOF
   10529 
   10530 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10531 	if test "x$PVP" = "x"; then
   10532 		PVP="0"
   10533 	fi
   10534 
   10535 cat >>confdefs.h <<_ACEOF
   10536 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10537 _ACEOF
   10538 
   10539 
   10540 
   10541 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10542 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10543 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10544 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10545 
   10546 
   10547 
   10548 
   10549 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10550 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10551 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10552 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10553 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10554 
   10555 
   10556 
   10557 
   10558 
   10559 
   10560 if test x$APP_MAN_SUFFIX = x    ; then
   10561     APP_MAN_SUFFIX=1
   10562 fi
   10563 if test x$APP_MAN_DIR = x    ; then
   10564     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10565 fi
   10566 
   10567 if test x$LIB_MAN_SUFFIX = x    ; then
   10568     LIB_MAN_SUFFIX=3
   10569 fi
   10570 if test x$LIB_MAN_DIR = x    ; then
   10571     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10572 fi
   10573 
   10574 if test x$FILE_MAN_SUFFIX = x    ; then
   10575     case $host_os in
   10576 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10577 	*)		FILE_MAN_SUFFIX=5  ;;
   10578     esac
   10579 fi
   10580 if test x$FILE_MAN_DIR = x    ; then
   10581     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10582 fi
   10583 
   10584 if test x$MISC_MAN_SUFFIX = x    ; then
   10585     case $host_os in
   10586 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10587 	*)		MISC_MAN_SUFFIX=7  ;;
   10588     esac
   10589 fi
   10590 if test x$MISC_MAN_DIR = x    ; then
   10591     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10592 fi
   10593 
   10594 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10595     case $host_os in
   10596 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10597 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10598     esac
   10599 fi
   10600 if test x$DRIVER_MAN_DIR = x    ; then
   10601     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10602 fi
   10603 
   10604 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10605     case $host_os in
   10606 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10607 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10608     esac
   10609 fi
   10610 if test x$ADMIN_MAN_DIR = x    ; then
   10611     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10612 fi
   10613 
   10614 
   10615 
   10616 
   10617 
   10618 
   10619 
   10620 
   10621 
   10622 
   10623 
   10624 
   10625 
   10626 
   10627 
   10628 XORG_MAN_PAGE="X Version 11"
   10629 
   10630 MAN_SUBSTS="\
   10631 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10632 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10633 	-e 's|__xservername__|Xorg|g' \
   10634 	-e 's|__xconfigfile__|xorg.conf|g' \
   10635 	-e 's|__projectroot__|\$(prefix)|g' \
   10636 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10637 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10638 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10639 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10640 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10641 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10642 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10643 
   10644 
   10645 
   10646 # Check whether --enable-silent-rules was given.
   10647 if test "${enable_silent_rules+set}" = set; then :
   10648   enableval=$enable_silent_rules;
   10649 fi
   10650 
   10651 case $enable_silent_rules in # (((
   10652   yes) AM_DEFAULT_VERBOSITY=0;;
   10653    no) AM_DEFAULT_VERBOSITY=1;;
   10654     *) AM_DEFAULT_VERBOSITY=0;;
   10655 esac
   10656 am_make=${MAKE-make}
   10657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10658 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10659 if ${am_cv_make_support_nested_variables+:} false; then :
   10660   $as_echo_n "(cached) " >&6
   10661 else
   10662   if $as_echo 'TRUE=$(BAR$(V))
   10663 BAR0=false
   10664 BAR1=true
   10665 V=1
   10666 am__doit:
   10667 	@$(TRUE)
   10668 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10669   am_cv_make_support_nested_variables=yes
   10670 else
   10671   am_cv_make_support_nested_variables=no
   10672 fi
   10673 fi
   10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10675 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10676 if test $am_cv_make_support_nested_variables = yes; then
   10677     AM_V='$(V)'
   10678   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10679 else
   10680   AM_V=$AM_DEFAULT_VERBOSITY
   10681   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10682 fi
   10683 AM_BACKSLASH='\'
   10684 
   10685 
   10686 
   10687 
   10688 
   10689 for ac_func in mkstemp
   10690 do :
   10691   ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
   10692 if test "x$ac_cv_func_mkstemp" = xyes; then :
   10693   cat >>confdefs.h <<_ACEOF
   10694 #define HAVE_MKSTEMP 1
   10695 _ACEOF
   10696 
   10697 fi
   10698 done
   10699 
   10700 
   10701 # Math libraries & functions
   10702 # - some compilers use builtin inlines for floor when optimizing
   10703 # - lrint() is a C99 addition not found on some older systems
   10704 # - must do the libm check first so that the lrint check will have it in $LIBS
   10705 save_LIBS="$LIBS"
   10706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5
   10707 $as_echo_n "checking for library containing floor... " >&6; }
   10708 if ${ac_cv_search_floor+:} false; then :
   10709   $as_echo_n "(cached) " >&6
   10710 else
   10711   ac_func_search_save_LIBS=$LIBS
   10712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10713 /* end confdefs.h.  */
   10714 
   10715 /* Override any GCC internal prototype to avoid an error.
   10716    Use char because int might match the return type of a GCC
   10717    builtin and then its argument prototype would still apply.  */
   10718 #ifdef __cplusplus
   10719 extern "C"
   10720 #endif
   10721 char floor ();
   10722 int
   10723 main ()
   10724 {
   10725 return floor ();
   10726   ;
   10727   return 0;
   10728 }
   10729 _ACEOF
   10730 for ac_lib in '' m; do
   10731   if test -z "$ac_lib"; then
   10732     ac_res="none required"
   10733   else
   10734     ac_res=-l$ac_lib
   10735     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   10736   fi
   10737   if ac_fn_c_try_link "$LINENO"; then :
   10738   ac_cv_search_floor=$ac_res
   10739 fi
   10740 rm -f core conftest.err conftest.$ac_objext \
   10741     conftest$ac_exeext
   10742   if ${ac_cv_search_floor+:} false; then :
   10743   break
   10744 fi
   10745 done
   10746 if ${ac_cv_search_floor+:} false; then :
   10747 
   10748 else
   10749   ac_cv_search_floor=no
   10750 fi
   10751 rm conftest.$ac_ext
   10752 LIBS=$ac_func_search_save_LIBS
   10753 fi
   10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floor" >&5
   10755 $as_echo "$ac_cv_search_floor" >&6; }
   10756 ac_res=$ac_cv_search_floor
   10757 if test "$ac_res" != no; then :
   10758   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   10759 
   10760 fi
   10761 
   10762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing lrint" >&5
   10763 $as_echo_n "checking for library containing lrint... " >&6; }
   10764 if ${ac_cv_search_lrint+:} false; then :
   10765   $as_echo_n "(cached) " >&6
   10766 else
   10767   ac_func_search_save_LIBS=$LIBS
   10768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10769 /* end confdefs.h.  */
   10770 
   10771 /* Override any GCC internal prototype to avoid an error.
   10772    Use char because int might match the return type of a GCC
   10773    builtin and then its argument prototype would still apply.  */
   10774 #ifdef __cplusplus
   10775 extern "C"
   10776 #endif
   10777 char lrint ();
   10778 int
   10779 main ()
   10780 {
   10781 return lrint ();
   10782   ;
   10783   return 0;
   10784 }
   10785 _ACEOF
   10786 for ac_lib in '' m; do
   10787   if test -z "$ac_lib"; then
   10788     ac_res="none required"
   10789   else
   10790     ac_res=-l$ac_lib
   10791     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   10792   fi
   10793   if ac_fn_c_try_link "$LINENO"; then :
   10794   ac_cv_search_lrint=$ac_res
   10795 fi
   10796 rm -f core conftest.err conftest.$ac_objext \
   10797     conftest$ac_exeext
   10798   if ${ac_cv_search_lrint+:} false; then :
   10799   break
   10800 fi
   10801 done
   10802 if ${ac_cv_search_lrint+:} false; then :
   10803 
   10804 else
   10805   ac_cv_search_lrint=no
   10806 fi
   10807 rm conftest.$ac_ext
   10808 LIBS=$ac_func_search_save_LIBS
   10809 fi
   10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_lrint" >&5
   10811 $as_echo "$ac_cv_search_lrint" >&6; }
   10812 ac_res=$ac_cv_search_lrint
   10813 if test "$ac_res" != no; then :
   10814   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   10815 
   10816 fi
   10817 
   10818 for ac_func in lrint
   10819 do :
   10820   ac_fn_c_check_func "$LINENO" "lrint" "ac_cv_func_lrint"
   10821 if test "x$ac_cv_func_lrint" = xyes; then :
   10822   cat >>confdefs.h <<_ACEOF
   10823 #define HAVE_LRINT 1
   10824 _ACEOF
   10825 
   10826 fi
   10827 done
   10828 
   10829 MATH_LIBS="$LIBS"
   10830 LIBS="$save_LIBS"
   10831 
   10832 
   10833 # Obtain compiler/linker options from dependencies
   10834 
   10835 pkg_failed=no
   10836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BMTOA" >&5
   10837 $as_echo_n "checking for BMTOA... " >&6; }
   10838 
   10839 if test -n "$BMTOA_CFLAGS"; then
   10840     pkg_cv_BMTOA_CFLAGS="$BMTOA_CFLAGS"
   10841  elif test -n "$PKG_CONFIG"; then
   10842     if test -n "$PKG_CONFIG" && \
   10843     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xmu xproto >= 7.0.17\""; } >&5
   10844   ($PKG_CONFIG --exists --print-errors "x11 xmu xproto >= 7.0.17") 2>&5
   10845   ac_status=$?
   10846   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10847   test $ac_status = 0; }; then
   10848   pkg_cv_BMTOA_CFLAGS=`$PKG_CONFIG --cflags "x11 xmu xproto >= 7.0.17" 2>/dev/null`
   10849 else
   10850   pkg_failed=yes
   10851 fi
   10852  else
   10853     pkg_failed=untried
   10854 fi
   10855 if test -n "$BMTOA_LIBS"; then
   10856     pkg_cv_BMTOA_LIBS="$BMTOA_LIBS"
   10857  elif test -n "$PKG_CONFIG"; then
   10858     if test -n "$PKG_CONFIG" && \
   10859     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xmu xproto >= 7.0.17\""; } >&5
   10860   ($PKG_CONFIG --exists --print-errors "x11 xmu xproto >= 7.0.17") 2>&5
   10861   ac_status=$?
   10862   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10863   test $ac_status = 0; }; then
   10864   pkg_cv_BMTOA_LIBS=`$PKG_CONFIG --libs "x11 xmu xproto >= 7.0.17" 2>/dev/null`
   10865 else
   10866   pkg_failed=yes
   10867 fi
   10868  else
   10869     pkg_failed=untried
   10870 fi
   10871 
   10872 
   10873 
   10874 if test $pkg_failed = yes; then
   10875 
   10876 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10877         _pkg_short_errors_supported=yes
   10878 else
   10879         _pkg_short_errors_supported=no
   10880 fi
   10881         if test $_pkg_short_errors_supported = yes; then
   10882 	        BMTOA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xmu xproto >= 7.0.17" 2>&1`
   10883         else
   10884 	        BMTOA_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xmu xproto >= 7.0.17" 2>&1`
   10885         fi
   10886 	# Put the nasty error message in config.log where it belongs
   10887 	echo "$BMTOA_PKG_ERRORS" >&5
   10888 
   10889 	as_fn_error $? "Package requirements (x11 xmu xproto >= 7.0.17) were not met:
   10890 
   10891 $BMTOA_PKG_ERRORS
   10892 
   10893 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10894 installed software in a non-standard prefix.
   10895 
   10896 Alternatively, you may set the environment variables BMTOA_CFLAGS
   10897 and BMTOA_LIBS to avoid the need to call pkg-config.
   10898 See the pkg-config man page for more details.
   10899 " "$LINENO" 5
   10900 elif test $pkg_failed = untried; then
   10901 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10902 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10903 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10904 is in your PATH or set the PKG_CONFIG environment variable to the full
   10905 path to pkg-config.
   10906 
   10907 Alternatively, you may set the environment variables BMTOA_CFLAGS
   10908 and BMTOA_LIBS to avoid the need to call pkg-config.
   10909 See the pkg-config man page for more details.
   10910 
   10911 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10912 See \`config.log' for more details" "$LINENO" 5; }
   10913 else
   10914 	BMTOA_CFLAGS=$pkg_cv_BMTOA_CFLAGS
   10915 	BMTOA_LIBS=$pkg_cv_BMTOA_LIBS
   10916         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10917 $as_echo "yes" >&6; }
   10918 	:
   10919 fi
   10920 
   10921 pkg_failed=no
   10922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATOBM" >&5
   10923 $as_echo_n "checking for ATOBM... " >&6; }
   10924 
   10925 if test -n "$ATOBM_CFLAGS"; then
   10926     pkg_cv_ATOBM_CFLAGS="$ATOBM_CFLAGS"
   10927  elif test -n "$PKG_CONFIG"; then
   10928     if test -n "$PKG_CONFIG" && \
   10929     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.25\""; } >&5
   10930   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.25") 2>&5
   10931   ac_status=$?
   10932   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10933   test $ac_status = 0; }; then
   10934   pkg_cv_ATOBM_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.25" 2>/dev/null`
   10935 else
   10936   pkg_failed=yes
   10937 fi
   10938  else
   10939     pkg_failed=untried
   10940 fi
   10941 if test -n "$ATOBM_LIBS"; then
   10942     pkg_cv_ATOBM_LIBS="$ATOBM_LIBS"
   10943  elif test -n "$PKG_CONFIG"; then
   10944     if test -n "$PKG_CONFIG" && \
   10945     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.25\""; } >&5
   10946   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.25") 2>&5
   10947   ac_status=$?
   10948   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10949   test $ac_status = 0; }; then
   10950   pkg_cv_ATOBM_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.25" 2>/dev/null`
   10951 else
   10952   pkg_failed=yes
   10953 fi
   10954  else
   10955     pkg_failed=untried
   10956 fi
   10957 
   10958 
   10959 
   10960 if test $pkg_failed = yes; then
   10961 
   10962 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10963         _pkg_short_errors_supported=yes
   10964 else
   10965         _pkg_short_errors_supported=no
   10966 fi
   10967         if test $_pkg_short_errors_supported = yes; then
   10968 	        ATOBM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto >= 7.0.25" 2>&1`
   10969         else
   10970 	        ATOBM_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto >= 7.0.25" 2>&1`
   10971         fi
   10972 	# Put the nasty error message in config.log where it belongs
   10973 	echo "$ATOBM_PKG_ERRORS" >&5
   10974 
   10975 	as_fn_error $? "Package requirements (xproto >= 7.0.25) were not met:
   10976 
   10977 $ATOBM_PKG_ERRORS
   10978 
   10979 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10980 installed software in a non-standard prefix.
   10981 
   10982 Alternatively, you may set the environment variables ATOBM_CFLAGS
   10983 and ATOBM_LIBS to avoid the need to call pkg-config.
   10984 See the pkg-config man page for more details.
   10985 " "$LINENO" 5
   10986 elif test $pkg_failed = untried; then
   10987 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10988 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10989 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10990 is in your PATH or set the PKG_CONFIG environment variable to the full
   10991 path to pkg-config.
   10992 
   10993 Alternatively, you may set the environment variables ATOBM_CFLAGS
   10994 and ATOBM_LIBS to avoid the need to call pkg-config.
   10995 See the pkg-config man page for more details.
   10996 
   10997 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10998 See \`config.log' for more details" "$LINENO" 5; }
   10999 else
   11000 	ATOBM_CFLAGS=$pkg_cv_ATOBM_CFLAGS
   11001 	ATOBM_LIBS=$pkg_cv_ATOBM_LIBS
   11002         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11003 $as_echo "yes" >&6; }
   11004 	:
   11005 fi
   11006 
   11007 pkg_failed=no
   11008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BITMAP" >&5
   11009 $as_echo_n "checking for BITMAP... " >&6; }
   11010 
   11011 if test -n "$BITMAP_CFLAGS"; then
   11012     pkg_cv_BITMAP_CFLAGS="$BITMAP_CFLAGS"
   11013  elif test -n "$PKG_CONFIG"; then
   11014     if test -n "$PKG_CONFIG" && \
   11015     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xbitmaps xaw7 xmu\""; } >&5
   11016   ($PKG_CONFIG --exists --print-errors "xbitmaps xaw7 xmu") 2>&5
   11017   ac_status=$?
   11018   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11019   test $ac_status = 0; }; then
   11020   pkg_cv_BITMAP_CFLAGS=`$PKG_CONFIG --cflags "xbitmaps xaw7 xmu" 2>/dev/null`
   11021 else
   11022   pkg_failed=yes
   11023 fi
   11024  else
   11025     pkg_failed=untried
   11026 fi
   11027 if test -n "$BITMAP_LIBS"; then
   11028     pkg_cv_BITMAP_LIBS="$BITMAP_LIBS"
   11029  elif test -n "$PKG_CONFIG"; then
   11030     if test -n "$PKG_CONFIG" && \
   11031     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xbitmaps xaw7 xmu\""; } >&5
   11032   ($PKG_CONFIG --exists --print-errors "xbitmaps xaw7 xmu") 2>&5
   11033   ac_status=$?
   11034   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11035   test $ac_status = 0; }; then
   11036   pkg_cv_BITMAP_LIBS=`$PKG_CONFIG --libs "xbitmaps xaw7 xmu" 2>/dev/null`
   11037 else
   11038   pkg_failed=yes
   11039 fi
   11040  else
   11041     pkg_failed=untried
   11042 fi
   11043 
   11044 
   11045 
   11046 if test $pkg_failed = yes; then
   11047 
   11048 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11049         _pkg_short_errors_supported=yes
   11050 else
   11051         _pkg_short_errors_supported=no
   11052 fi
   11053         if test $_pkg_short_errors_supported = yes; then
   11054 	        BITMAP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xbitmaps xaw7 xmu" 2>&1`
   11055         else
   11056 	        BITMAP_PKG_ERRORS=`$PKG_CONFIG --print-errors "xbitmaps xaw7 xmu" 2>&1`
   11057         fi
   11058 	# Put the nasty error message in config.log where it belongs
   11059 	echo "$BITMAP_PKG_ERRORS" >&5
   11060 
   11061 	as_fn_error $? "Package requirements (xbitmaps xaw7 xmu) were not met:
   11062 
   11063 $BITMAP_PKG_ERRORS
   11064 
   11065 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11066 installed software in a non-standard prefix.
   11067 
   11068 Alternatively, you may set the environment variables BITMAP_CFLAGS
   11069 and BITMAP_LIBS to avoid the need to call pkg-config.
   11070 See the pkg-config man page for more details.
   11071 " "$LINENO" 5
   11072 elif test $pkg_failed = untried; then
   11073 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11075 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11076 is in your PATH or set the PKG_CONFIG environment variable to the full
   11077 path to pkg-config.
   11078 
   11079 Alternatively, you may set the environment variables BITMAP_CFLAGS
   11080 and BITMAP_LIBS to avoid the need to call pkg-config.
   11081 See the pkg-config man page for more details.
   11082 
   11083 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11084 See \`config.log' for more details" "$LINENO" 5; }
   11085 else
   11086 	BITMAP_CFLAGS=$pkg_cv_BITMAP_CFLAGS
   11087 	BITMAP_LIBS=$pkg_cv_BITMAP_LIBS
   11088         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11089 $as_echo "yes" >&6; }
   11090 	:
   11091 fi
   11092 
   11093 
   11094 pkg_failed=no
   11095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   11096 $as_echo_n "checking for APPDEFS... " >&6; }
   11097 
   11098 if test -n "$APPDEFS_CFLAGS"; then
   11099     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   11100  elif test -n "$PKG_CONFIG"; then
   11101     if test -n "$PKG_CONFIG" && \
   11102     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   11103   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   11104   ac_status=$?
   11105   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11106   test $ac_status = 0; }; then
   11107   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   11108 else
   11109   pkg_failed=yes
   11110 fi
   11111  else
   11112     pkg_failed=untried
   11113 fi
   11114 if test -n "$APPDEFS_LIBS"; then
   11115     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   11116  elif test -n "$PKG_CONFIG"; then
   11117     if test -n "$PKG_CONFIG" && \
   11118     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   11119   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   11120   ac_status=$?
   11121   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11122   test $ac_status = 0; }; then
   11123   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   11124 else
   11125   pkg_failed=yes
   11126 fi
   11127  else
   11128     pkg_failed=untried
   11129 fi
   11130 
   11131 
   11132 
   11133 if test $pkg_failed = yes; then
   11134 
   11135 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11136         _pkg_short_errors_supported=yes
   11137 else
   11138         _pkg_short_errors_supported=no
   11139 fi
   11140         if test $_pkg_short_errors_supported = yes; then
   11141 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xt" 2>&1`
   11142         else
   11143 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors "xt" 2>&1`
   11144         fi
   11145 	# Put the nasty error message in config.log where it belongs
   11146 	echo "$APPDEFS_PKG_ERRORS" >&5
   11147 
   11148 	as_fn_error $? "Package requirements (xt) were not met:
   11149 
   11150 $APPDEFS_PKG_ERRORS
   11151 
   11152 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11153 installed software in a non-standard prefix.
   11154 
   11155 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   11156 and APPDEFS_LIBS to avoid the need to call pkg-config.
   11157 See the pkg-config man page for more details.
   11158 " "$LINENO" 5
   11159 elif test $pkg_failed = untried; then
   11160 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11161 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11162 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11163 is in your PATH or set the PKG_CONFIG environment variable to the full
   11164 path to pkg-config.
   11165 
   11166 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   11167 and APPDEFS_LIBS to avoid the need to call pkg-config.
   11168 See the pkg-config man page for more details.
   11169 
   11170 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11171 See \`config.log' for more details" "$LINENO" 5; }
   11172 else
   11173 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   11174 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   11175         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11176 $as_echo "yes" >&6; }
   11177 	:
   11178 fi
   11179 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   11180 
   11181 # Check whether --with-appdefaultdir was given.
   11182 if test "${with_appdefaultdir+set}" = set; then :
   11183   withval=$with_appdefaultdir; appdefaultdir="$withval"
   11184 else
   11185   appdefaultdir="${xt_appdefaultdir}"
   11186 fi
   11187 
   11188 
   11189 
   11190 ac_config_files="$ac_config_files Makefile man/Makefile"
   11191 
   11192 cat >confcache <<\_ACEOF
   11193 # This file is a shell script that caches the results of configure
   11194 # tests run on this system so they can be shared between configure
   11195 # scripts and configure runs, see configure's option --config-cache.
   11196 # It is not useful on other systems.  If it contains results you don't
   11197 # want to keep, you may remove or edit it.
   11198 #
   11199 # config.status only pays attention to the cache file if you give it
   11200 # the --recheck option to rerun configure.
   11201 #
   11202 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11203 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11204 # following values.
   11205 
   11206 _ACEOF
   11207 
   11208 # The following way of writing the cache mishandles newlines in values,
   11209 # but we know of no workaround that is simple, portable, and efficient.
   11210 # So, we kill variables containing newlines.
   11211 # Ultrix sh set writes to stderr and can't be redirected directly,
   11212 # and sets the high bit in the cache file unless we assign to the vars.
   11213 (
   11214   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11215     eval ac_val=\$$ac_var
   11216     case $ac_val in #(
   11217     *${as_nl}*)
   11218       case $ac_var in #(
   11219       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11220 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11221       esac
   11222       case $ac_var in #(
   11223       _ | IFS | as_nl) ;; #(
   11224       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11225       *) { eval $ac_var=; unset $ac_var;} ;;
   11226       esac ;;
   11227     esac
   11228   done
   11229 
   11230   (set) 2>&1 |
   11231     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11232     *${as_nl}ac_space=\ *)
   11233       # `set' does not quote correctly, so add quotes: double-quote
   11234       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11235       sed -n \
   11236 	"s/'/'\\\\''/g;
   11237 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11238       ;; #(
   11239     *)
   11240       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11241       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11242       ;;
   11243     esac |
   11244     sort
   11245 ) |
   11246   sed '
   11247      /^ac_cv_env_/b end
   11248      t clear
   11249      :clear
   11250      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11251      t end
   11252      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11253      :end' >>confcache
   11254 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11255   if test -w "$cache_file"; then
   11256     if test "x$cache_file" != "x/dev/null"; then
   11257       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11258 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11259       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11260 	cat confcache >"$cache_file"
   11261       else
   11262         case $cache_file in #(
   11263         */* | ?:*)
   11264 	  mv -f confcache "$cache_file"$$ &&
   11265 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11266         *)
   11267 	  mv -f confcache "$cache_file" ;;
   11268 	esac
   11269       fi
   11270     fi
   11271   else
   11272     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11273 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11274   fi
   11275 fi
   11276 rm -f confcache
   11277 
   11278 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11279 # Let make expand exec_prefix.
   11280 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11281 
   11282 DEFS=-DHAVE_CONFIG_H
   11283 
   11284 ac_libobjs=
   11285 ac_ltlibobjs=
   11286 U=
   11287 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11288   # 1. Remove the extension, and $U if already installed.
   11289   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11290   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11291   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11292   #    will be set to the directory where LIBOBJS objects are built.
   11293   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11294   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11295 done
   11296 LIBOBJS=$ac_libobjs
   11297 
   11298 LTLIBOBJS=$ac_ltlibobjs
   11299 
   11300 
   11301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11302 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11303    if test -n "$am_sleep_pid"; then
   11304      # Hide warnings about reused PIDs.
   11305      wait $am_sleep_pid 2>/dev/null
   11306    fi
   11307    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11308 $as_echo "done" >&6; }
   11309  if test -n "$EXEEXT"; then
   11310   am__EXEEXT_TRUE=
   11311   am__EXEEXT_FALSE='#'
   11312 else
   11313   am__EXEEXT_TRUE='#'
   11314   am__EXEEXT_FALSE=
   11315 fi
   11316 
   11317 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11318   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11320 fi
   11321 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11322   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11324 fi
   11325 
   11326 : "${CONFIG_STATUS=./config.status}"
   11327 ac_write_fail=0
   11328 ac_clean_files_save=$ac_clean_files
   11329 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11330 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11331 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11332 as_write_fail=0
   11333 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11334 #! $SHELL
   11335 # Generated by $as_me.
   11336 # Run this file to recreate the current configuration.
   11337 # Compiler output produced by configure, useful for debugging
   11338 # configure, is in config.log if it exists.
   11339 
   11340 debug=false
   11341 ac_cs_recheck=false
   11342 ac_cs_silent=false
   11343 
   11344 SHELL=\${CONFIG_SHELL-$SHELL}
   11345 export SHELL
   11346 _ASEOF
   11347 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11348 ## -------------------- ##
   11349 ## M4sh Initialization. ##
   11350 ## -------------------- ##
   11351 
   11352 # Be more Bourne compatible
   11353 DUALCASE=1; export DUALCASE # for MKS sh
   11354 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11355   emulate sh
   11356   NULLCMD=:
   11357   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11358   # is contrary to our usage.  Disable this feature.
   11359   alias -g '${1+"$@"}'='"$@"'
   11360   setopt NO_GLOB_SUBST
   11361 else
   11362   case `(set -o) 2>/dev/null` in #(
   11363   *posix*) :
   11364     set -o posix ;; #(
   11365   *) :
   11366      ;;
   11367 esac
   11368 fi
   11369 
   11370 
   11371 as_nl='
   11372 '
   11373 export as_nl
   11374 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11375 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11376 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11377 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11378 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11379 # but without wasting forks for bash or zsh.
   11380 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11381     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11382   as_echo='print -r --'
   11383   as_echo_n='print -rn --'
   11384 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11385   as_echo='printf %s\n'
   11386   as_echo_n='printf %s'
   11387 else
   11388   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11389     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11390     as_echo_n='/usr/ucb/echo -n'
   11391   else
   11392     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11393     as_echo_n_body='eval
   11394       arg=$1;
   11395       case $arg in #(
   11396       *"$as_nl"*)
   11397 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11398 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11399       esac;
   11400       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11401     '
   11402     export as_echo_n_body
   11403     as_echo_n='sh -c $as_echo_n_body as_echo'
   11404   fi
   11405   export as_echo_body
   11406   as_echo='sh -c $as_echo_body as_echo'
   11407 fi
   11408 
   11409 # The user is always right.
   11410 if test "${PATH_SEPARATOR+set}" != set; then
   11411   PATH_SEPARATOR=:
   11412   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11413     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11414       PATH_SEPARATOR=';'
   11415   }
   11416 fi
   11417 
   11418 
   11419 # IFS
   11420 # We need space, tab and new line, in precisely that order.  Quoting is
   11421 # there to prevent editors from complaining about space-tab.
   11422 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11423 # splitting by setting IFS to empty value.)
   11424 IFS=" ""	$as_nl"
   11425 
   11426 # Find who we are.  Look in the path if we contain no directory separator.
   11427 as_myself=
   11428 case $0 in #((
   11429   *[\\/]* ) as_myself=$0 ;;
   11430   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11431 for as_dir in $PATH
   11432 do
   11433   IFS=$as_save_IFS
   11434   test -z "$as_dir" && as_dir=.
   11435     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11436   done
   11437 IFS=$as_save_IFS
   11438 
   11439      ;;
   11440 esac
   11441 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11442 # in which case we are not to be found in the path.
   11443 if test "x$as_myself" = x; then
   11444   as_myself=$0
   11445 fi
   11446 if test ! -f "$as_myself"; then
   11447   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11448   exit 1
   11449 fi
   11450 
   11451 # Unset variables that we do not need and which cause bugs (e.g. in
   11452 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11453 # suppresses any "Segmentation fault" message there.  '((' could
   11454 # trigger a bug in pdksh 5.2.14.
   11455 for as_var in BASH_ENV ENV MAIL MAILPATH
   11456 do eval test x\${$as_var+set} = xset \
   11457   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11458 done
   11459 PS1='$ '
   11460 PS2='> '
   11461 PS4='+ '
   11462 
   11463 # NLS nuisances.
   11464 LC_ALL=C
   11465 export LC_ALL
   11466 LANGUAGE=C
   11467 export LANGUAGE
   11468 
   11469 # CDPATH.
   11470 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11471 
   11472 
   11473 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11474 # ----------------------------------------
   11475 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11476 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11477 # script with STATUS, using 1 if that was 0.
   11478 as_fn_error ()
   11479 {
   11480   as_status=$1; test $as_status -eq 0 && as_status=1
   11481   if test "$4"; then
   11482     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11483     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11484   fi
   11485   $as_echo "$as_me: error: $2" >&2
   11486   as_fn_exit $as_status
   11487 } # as_fn_error
   11488 
   11489 
   11490 # as_fn_set_status STATUS
   11491 # -----------------------
   11492 # Set $? to STATUS, without forking.
   11493 as_fn_set_status ()
   11494 {
   11495   return $1
   11496 } # as_fn_set_status
   11497 
   11498 # as_fn_exit STATUS
   11499 # -----------------
   11500 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11501 as_fn_exit ()
   11502 {
   11503   set +e
   11504   as_fn_set_status $1
   11505   exit $1
   11506 } # as_fn_exit
   11507 
   11508 # as_fn_unset VAR
   11509 # ---------------
   11510 # Portably unset VAR.
   11511 as_fn_unset ()
   11512 {
   11513   { eval $1=; unset $1;}
   11514 }
   11515 as_unset=as_fn_unset
   11516 # as_fn_append VAR VALUE
   11517 # ----------------------
   11518 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11519 # advantage of any shell optimizations that allow amortized linear growth over
   11520 # repeated appends, instead of the typical quadratic growth present in naive
   11521 # implementations.
   11522 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11523   eval 'as_fn_append ()
   11524   {
   11525     eval $1+=\$2
   11526   }'
   11527 else
   11528   as_fn_append ()
   11529   {
   11530     eval $1=\$$1\$2
   11531   }
   11532 fi # as_fn_append
   11533 
   11534 # as_fn_arith ARG...
   11535 # ------------------
   11536 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11537 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11538 # must be portable across $(()) and expr.
   11539 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11540   eval 'as_fn_arith ()
   11541   {
   11542     as_val=$(( $* ))
   11543   }'
   11544 else
   11545   as_fn_arith ()
   11546   {
   11547     as_val=`expr "$@" || test $? -eq 1`
   11548   }
   11549 fi # as_fn_arith
   11550 
   11551 
   11552 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11553    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11554   as_expr=expr
   11555 else
   11556   as_expr=false
   11557 fi
   11558 
   11559 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11560   as_basename=basename
   11561 else
   11562   as_basename=false
   11563 fi
   11564 
   11565 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11566   as_dirname=dirname
   11567 else
   11568   as_dirname=false
   11569 fi
   11570 
   11571 as_me=`$as_basename -- "$0" ||
   11572 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11573 	 X"$0" : 'X\(//\)$' \| \
   11574 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11575 $as_echo X/"$0" |
   11576     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11577 	    s//\1/
   11578 	    q
   11579 	  }
   11580 	  /^X\/\(\/\/\)$/{
   11581 	    s//\1/
   11582 	    q
   11583 	  }
   11584 	  /^X\/\(\/\).*/{
   11585 	    s//\1/
   11586 	    q
   11587 	  }
   11588 	  s/.*/./; q'`
   11589 
   11590 # Avoid depending upon Character Ranges.
   11591 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11592 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11593 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11594 as_cr_digits='0123456789'
   11595 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11596 
   11597 ECHO_C= ECHO_N= ECHO_T=
   11598 case `echo -n x` in #(((((
   11599 -n*)
   11600   case `echo 'xy\c'` in
   11601   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11602   xy)  ECHO_C='\c';;
   11603   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11604        ECHO_T='	';;
   11605   esac;;
   11606 *)
   11607   ECHO_N='-n';;
   11608 esac
   11609 
   11610 rm -f conf$$ conf$$.exe conf$$.file
   11611 if test -d conf$$.dir; then
   11612   rm -f conf$$.dir/conf$$.file
   11613 else
   11614   rm -f conf$$.dir
   11615   mkdir conf$$.dir 2>/dev/null
   11616 fi
   11617 if (echo >conf$$.file) 2>/dev/null; then
   11618   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11619     as_ln_s='ln -s'
   11620     # ... but there are two gotchas:
   11621     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11622     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11623     # In both cases, we have to default to `cp -pR'.
   11624     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11625       as_ln_s='cp -pR'
   11626   elif ln conf$$.file conf$$ 2>/dev/null; then
   11627     as_ln_s=ln
   11628   else
   11629     as_ln_s='cp -pR'
   11630   fi
   11631 else
   11632   as_ln_s='cp -pR'
   11633 fi
   11634 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11635 rmdir conf$$.dir 2>/dev/null
   11636 
   11637 
   11638 # as_fn_mkdir_p
   11639 # -------------
   11640 # Create "$as_dir" as a directory, including parents if necessary.
   11641 as_fn_mkdir_p ()
   11642 {
   11643 
   11644   case $as_dir in #(
   11645   -*) as_dir=./$as_dir;;
   11646   esac
   11647   test -d "$as_dir" || eval $as_mkdir_p || {
   11648     as_dirs=
   11649     while :; do
   11650       case $as_dir in #(
   11651       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11652       *) as_qdir=$as_dir;;
   11653       esac
   11654       as_dirs="'$as_qdir' $as_dirs"
   11655       as_dir=`$as_dirname -- "$as_dir" ||
   11656 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11657 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11658 	 X"$as_dir" : 'X\(//\)$' \| \
   11659 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11660 $as_echo X"$as_dir" |
   11661     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11662 	    s//\1/
   11663 	    q
   11664 	  }
   11665 	  /^X\(\/\/\)[^/].*/{
   11666 	    s//\1/
   11667 	    q
   11668 	  }
   11669 	  /^X\(\/\/\)$/{
   11670 	    s//\1/
   11671 	    q
   11672 	  }
   11673 	  /^X\(\/\).*/{
   11674 	    s//\1/
   11675 	    q
   11676 	  }
   11677 	  s/.*/./; q'`
   11678       test -d "$as_dir" && break
   11679     done
   11680     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11681   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11682 
   11683 
   11684 } # as_fn_mkdir_p
   11685 if mkdir -p . 2>/dev/null; then
   11686   as_mkdir_p='mkdir -p "$as_dir"'
   11687 else
   11688   test -d ./-p && rmdir ./-p
   11689   as_mkdir_p=false
   11690 fi
   11691 
   11692 
   11693 # as_fn_executable_p FILE
   11694 # -----------------------
   11695 # Test if FILE is an executable regular file.
   11696 as_fn_executable_p ()
   11697 {
   11698   test -f "$1" && test -x "$1"
   11699 } # as_fn_executable_p
   11700 as_test_x='test -x'
   11701 as_executable_p=as_fn_executable_p
   11702 
   11703 # Sed expression to map a string onto a valid CPP name.
   11704 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11705 
   11706 # Sed expression to map a string onto a valid variable name.
   11707 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11708 
   11709 
   11710 exec 6>&1
   11711 ## ----------------------------------- ##
   11712 ## Main body of $CONFIG_STATUS script. ##
   11713 ## ----------------------------------- ##
   11714 _ASEOF
   11715 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11716 
   11717 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11718 # Save the log message, to keep $0 and so on meaningful, and to
   11719 # report actual input values of CONFIG_FILES etc. instead of their
   11720 # values after options handling.
   11721 ac_log="
   11722 This file was extended by bitmap $as_me 1.0.8, which was
   11723 generated by GNU Autoconf 2.69.  Invocation command line was
   11724 
   11725   CONFIG_FILES    = $CONFIG_FILES
   11726   CONFIG_HEADERS  = $CONFIG_HEADERS
   11727   CONFIG_LINKS    = $CONFIG_LINKS
   11728   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11729   $ $0 $@
   11730 
   11731 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11732 "
   11733 
   11734 _ACEOF
   11735 
   11736 case $ac_config_files in *"
   11737 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11738 esac
   11739 
   11740 case $ac_config_headers in *"
   11741 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11742 esac
   11743 
   11744 
   11745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11746 # Files that config.status was made for.
   11747 config_files="$ac_config_files"
   11748 config_headers="$ac_config_headers"
   11749 config_commands="$ac_config_commands"
   11750 
   11751 _ACEOF
   11752 
   11753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11754 ac_cs_usage="\
   11755 \`$as_me' instantiates files and other configuration actions
   11756 from templates according to the current configuration.  Unless the files
   11757 and actions are specified as TAGs, all are instantiated by default.
   11758 
   11759 Usage: $0 [OPTION]... [TAG]...
   11760 
   11761   -h, --help       print this help, then exit
   11762   -V, --version    print version number and configuration settings, then exit
   11763       --config     print configuration, then exit
   11764   -q, --quiet, --silent
   11765                    do not print progress messages
   11766   -d, --debug      don't remove temporary files
   11767       --recheck    update $as_me by reconfiguring in the same conditions
   11768       --file=FILE[:TEMPLATE]
   11769                    instantiate the configuration file FILE
   11770       --header=FILE[:TEMPLATE]
   11771                    instantiate the configuration header FILE
   11772 
   11773 Configuration files:
   11774 $config_files
   11775 
   11776 Configuration headers:
   11777 $config_headers
   11778 
   11779 Configuration commands:
   11780 $config_commands
   11781 
   11782 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11783 
   11784 _ACEOF
   11785 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11786 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11787 ac_cs_version="\\
   11788 bitmap config.status 1.0.8
   11789 configured by $0, generated by GNU Autoconf 2.69,
   11790   with options \\"\$ac_cs_config\\"
   11791 
   11792 Copyright (C) 2012 Free Software Foundation, Inc.
   11793 This config.status script is free software; the Free Software Foundation
   11794 gives unlimited permission to copy, distribute and modify it."
   11795 
   11796 ac_pwd='$ac_pwd'
   11797 srcdir='$srcdir'
   11798 INSTALL='$INSTALL'
   11799 MKDIR_P='$MKDIR_P'
   11800 AWK='$AWK'
   11801 test -n "\$AWK" || AWK=awk
   11802 _ACEOF
   11803 
   11804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11805 # The default lists apply if the user does not specify any file.
   11806 ac_need_defaults=:
   11807 while test $# != 0
   11808 do
   11809   case $1 in
   11810   --*=?*)
   11811     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11812     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11813     ac_shift=:
   11814     ;;
   11815   --*=)
   11816     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11817     ac_optarg=
   11818     ac_shift=:
   11819     ;;
   11820   *)
   11821     ac_option=$1
   11822     ac_optarg=$2
   11823     ac_shift=shift
   11824     ;;
   11825   esac
   11826 
   11827   case $ac_option in
   11828   # Handling of the options.
   11829   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11830     ac_cs_recheck=: ;;
   11831   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11832     $as_echo "$ac_cs_version"; exit ;;
   11833   --config | --confi | --conf | --con | --co | --c )
   11834     $as_echo "$ac_cs_config"; exit ;;
   11835   --debug | --debu | --deb | --de | --d | -d )
   11836     debug=: ;;
   11837   --file | --fil | --fi | --f )
   11838     $ac_shift
   11839     case $ac_optarg in
   11840     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11841     '') as_fn_error $? "missing file argument" ;;
   11842     esac
   11843     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11844     ac_need_defaults=false;;
   11845   --header | --heade | --head | --hea )
   11846     $ac_shift
   11847     case $ac_optarg in
   11848     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11849     esac
   11850     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11851     ac_need_defaults=false;;
   11852   --he | --h)
   11853     # Conflict between --help and --header
   11854     as_fn_error $? "ambiguous option: \`$1'
   11855 Try \`$0 --help' for more information.";;
   11856   --help | --hel | -h )
   11857     $as_echo "$ac_cs_usage"; exit ;;
   11858   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11859   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11860     ac_cs_silent=: ;;
   11861 
   11862   # This is an error.
   11863   -*) as_fn_error $? "unrecognized option: \`$1'
   11864 Try \`$0 --help' for more information." ;;
   11865 
   11866   *) as_fn_append ac_config_targets " $1"
   11867      ac_need_defaults=false ;;
   11868 
   11869   esac
   11870   shift
   11871 done
   11872 
   11873 ac_configure_extra_args=
   11874 
   11875 if $ac_cs_silent; then
   11876   exec 6>/dev/null
   11877   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11878 fi
   11879 
   11880 _ACEOF
   11881 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11882 if \$ac_cs_recheck; then
   11883   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11884   shift
   11885   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11886   CONFIG_SHELL='$SHELL'
   11887   export CONFIG_SHELL
   11888   exec "\$@"
   11889 fi
   11890 
   11891 _ACEOF
   11892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11893 exec 5>>config.log
   11894 {
   11895   echo
   11896   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11897 ## Running $as_me. ##
   11898 _ASBOX
   11899   $as_echo "$ac_log"
   11900 } >&5
   11901 
   11902 _ACEOF
   11903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11904 #
   11905 # INIT-COMMANDS
   11906 #
   11907 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11908 
   11909 _ACEOF
   11910 
   11911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11912 
   11913 # Handling of arguments.
   11914 for ac_config_target in $ac_config_targets
   11915 do
   11916   case $ac_config_target in
   11917     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11918     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11919     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11920     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11921 
   11922   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11923   esac
   11924 done
   11925 
   11926 
   11927 # If the user did not use the arguments to specify the items to instantiate,
   11928 # then the envvar interface is used.  Set only those that are not.
   11929 # We use the long form for the default assignment because of an extremely
   11930 # bizarre bug on SunOS 4.1.3.
   11931 if $ac_need_defaults; then
   11932   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11933   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11934   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11935 fi
   11936 
   11937 # Have a temporary directory for convenience.  Make it in the build tree
   11938 # simply because there is no reason against having it here, and in addition,
   11939 # creating and moving files from /tmp can sometimes cause problems.
   11940 # Hook for its removal unless debugging.
   11941 # Note that there is a small window in which the directory will not be cleaned:
   11942 # after its creation but before its name has been assigned to `$tmp'.
   11943 $debug ||
   11944 {
   11945   tmp= ac_tmp=
   11946   trap 'exit_status=$?
   11947   : "${ac_tmp:=$tmp}"
   11948   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11949 ' 0
   11950   trap 'as_fn_exit 1' 1 2 13 15
   11951 }
   11952 # Create a (secure) tmp directory for tmp files.
   11953 
   11954 {
   11955   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11956   test -d "$tmp"
   11957 }  ||
   11958 {
   11959   tmp=./conf$$-$RANDOM
   11960   (umask 077 && mkdir "$tmp")
   11961 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11962 ac_tmp=$tmp
   11963 
   11964 # Set up the scripts for CONFIG_FILES section.
   11965 # No need to generate them if there are no CONFIG_FILES.
   11966 # This happens for instance with `./config.status config.h'.
   11967 if test -n "$CONFIG_FILES"; then
   11968 
   11969 
   11970 ac_cr=`echo X | tr X '\015'`
   11971 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11972 # But we know of no other shell where ac_cr would be empty at this
   11973 # point, so we can use a bashism as a fallback.
   11974 if test "x$ac_cr" = x; then
   11975   eval ac_cr=\$\'\\r\'
   11976 fi
   11977 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11978 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11979   ac_cs_awk_cr='\\r'
   11980 else
   11981   ac_cs_awk_cr=$ac_cr
   11982 fi
   11983 
   11984 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11985 _ACEOF
   11986 
   11987 
   11988 {
   11989   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11990   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11991   echo "_ACEOF"
   11992 } >conf$$subs.sh ||
   11993   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11994 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11995 ac_delim='%!_!# '
   11996 for ac_last_try in false false false false false :; do
   11997   . ./conf$$subs.sh ||
   11998     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11999 
   12000   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12001   if test $ac_delim_n = $ac_delim_num; then
   12002     break
   12003   elif $ac_last_try; then
   12004     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12005   else
   12006     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12007   fi
   12008 done
   12009 rm -f conf$$subs.sh
   12010 
   12011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12012 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12013 _ACEOF
   12014 sed -n '
   12015 h
   12016 s/^/S["/; s/!.*/"]=/
   12017 p
   12018 g
   12019 s/^[^!]*!//
   12020 :repl
   12021 t repl
   12022 s/'"$ac_delim"'$//
   12023 t delim
   12024 :nl
   12025 h
   12026 s/\(.\{148\}\)..*/\1/
   12027 t more1
   12028 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12029 p
   12030 n
   12031 b repl
   12032 :more1
   12033 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12034 p
   12035 g
   12036 s/.\{148\}//
   12037 t nl
   12038 :delim
   12039 h
   12040 s/\(.\{148\}\)..*/\1/
   12041 t more2
   12042 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12043 p
   12044 b
   12045 :more2
   12046 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12047 p
   12048 g
   12049 s/.\{148\}//
   12050 t delim
   12051 ' <conf$$subs.awk | sed '
   12052 /^[^""]/{
   12053   N
   12054   s/\n//
   12055 }
   12056 ' >>$CONFIG_STATUS || ac_write_fail=1
   12057 rm -f conf$$subs.awk
   12058 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12059 _ACAWK
   12060 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12061   for (key in S) S_is_set[key] = 1
   12062   FS = ""
   12063 
   12064 }
   12065 {
   12066   line = $ 0
   12067   nfields = split(line, field, "@")
   12068   substed = 0
   12069   len = length(field[1])
   12070   for (i = 2; i < nfields; i++) {
   12071     key = field[i]
   12072     keylen = length(key)
   12073     if (S_is_set[key]) {
   12074       value = S[key]
   12075       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12076       len += length(value) + length(field[++i])
   12077       substed = 1
   12078     } else
   12079       len += 1 + keylen
   12080   }
   12081 
   12082   print line
   12083 }
   12084 
   12085 _ACAWK
   12086 _ACEOF
   12087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12088 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12089   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12090 else
   12091   cat
   12092 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12093   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12094 _ACEOF
   12095 
   12096 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12097 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12098 # trailing colons and then remove the whole line if VPATH becomes empty
   12099 # (actually we leave an empty line to preserve line numbers).
   12100 if test "x$srcdir" = x.; then
   12101   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12102 h
   12103 s///
   12104 s/^/:/
   12105 s/[	 ]*$/:/
   12106 s/:\$(srcdir):/:/g
   12107 s/:\${srcdir}:/:/g
   12108 s/:@srcdir@:/:/g
   12109 s/^:*//
   12110 s/:*$//
   12111 x
   12112 s/\(=[	 ]*\).*/\1/
   12113 G
   12114 s/\n//
   12115 s/^[^=]*=[	 ]*$//
   12116 }'
   12117 fi
   12118 
   12119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12120 fi # test -n "$CONFIG_FILES"
   12121 
   12122 # Set up the scripts for CONFIG_HEADERS section.
   12123 # No need to generate them if there are no CONFIG_HEADERS.
   12124 # This happens for instance with `./config.status Makefile'.
   12125 if test -n "$CONFIG_HEADERS"; then
   12126 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12127 BEGIN {
   12128 _ACEOF
   12129 
   12130 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12131 # here-document in config.status, that substitutes the proper values into
   12132 # config.h.in to produce config.h.
   12133 
   12134 # Create a delimiter string that does not exist in confdefs.h, to ease
   12135 # handling of long lines.
   12136 ac_delim='%!_!# '
   12137 for ac_last_try in false false :; do
   12138   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12139   if test -z "$ac_tt"; then
   12140     break
   12141   elif $ac_last_try; then
   12142     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12143   else
   12144     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12145   fi
   12146 done
   12147 
   12148 # For the awk script, D is an array of macro values keyed by name,
   12149 # likewise P contains macro parameters if any.  Preserve backslash
   12150 # newline sequences.
   12151 
   12152 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12153 sed -n '
   12154 s/.\{148\}/&'"$ac_delim"'/g
   12155 t rset
   12156 :rset
   12157 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12158 t def
   12159 d
   12160 :def
   12161 s/\\$//
   12162 t bsnl
   12163 s/["\\]/\\&/g
   12164 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12165 D["\1"]=" \3"/p
   12166 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12167 d
   12168 :bsnl
   12169 s/["\\]/\\&/g
   12170 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12171 D["\1"]=" \3\\\\\\n"\\/p
   12172 t cont
   12173 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12174 t cont
   12175 d
   12176 :cont
   12177 n
   12178 s/.\{148\}/&'"$ac_delim"'/g
   12179 t clear
   12180 :clear
   12181 s/\\$//
   12182 t bsnlc
   12183 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12184 d
   12185 :bsnlc
   12186 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12187 b cont
   12188 ' <confdefs.h | sed '
   12189 s/'"$ac_delim"'/"\\\
   12190 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12191 
   12192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12193   for (key in D) D_is_set[key] = 1
   12194   FS = ""
   12195 }
   12196 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12197   line = \$ 0
   12198   split(line, arg, " ")
   12199   if (arg[1] == "#") {
   12200     defundef = arg[2]
   12201     mac1 = arg[3]
   12202   } else {
   12203     defundef = substr(arg[1], 2)
   12204     mac1 = arg[2]
   12205   }
   12206   split(mac1, mac2, "(") #)
   12207   macro = mac2[1]
   12208   prefix = substr(line, 1, index(line, defundef) - 1)
   12209   if (D_is_set[macro]) {
   12210     # Preserve the white space surrounding the "#".
   12211     print prefix "define", macro P[macro] D[macro]
   12212     next
   12213   } else {
   12214     # Replace #undef with comments.  This is necessary, for example,
   12215     # in the case of _POSIX_SOURCE, which is predefined and required
   12216     # on some systems where configure will not decide to define it.
   12217     if (defundef == "undef") {
   12218       print "/*", prefix defundef, macro, "*/"
   12219       next
   12220     }
   12221   }
   12222 }
   12223 { print }
   12224 _ACAWK
   12225 _ACEOF
   12226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12227   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12228 fi # test -n "$CONFIG_HEADERS"
   12229 
   12230 
   12231 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12232 shift
   12233 for ac_tag
   12234 do
   12235   case $ac_tag in
   12236   :[FHLC]) ac_mode=$ac_tag; continue;;
   12237   esac
   12238   case $ac_mode$ac_tag in
   12239   :[FHL]*:*);;
   12240   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12241   :[FH]-) ac_tag=-:-;;
   12242   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12243   esac
   12244   ac_save_IFS=$IFS
   12245   IFS=:
   12246   set x $ac_tag
   12247   IFS=$ac_save_IFS
   12248   shift
   12249   ac_file=$1
   12250   shift
   12251 
   12252   case $ac_mode in
   12253   :L) ac_source=$1;;
   12254   :[FH])
   12255     ac_file_inputs=
   12256     for ac_f
   12257     do
   12258       case $ac_f in
   12259       -) ac_f="$ac_tmp/stdin";;
   12260       *) # Look for the file first in the build tree, then in the source tree
   12261 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12262 	 # because $ac_f cannot contain `:'.
   12263 	 test -f "$ac_f" ||
   12264 	   case $ac_f in
   12265 	   [\\/$]*) false;;
   12266 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12267 	   esac ||
   12268 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12269       esac
   12270       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12271       as_fn_append ac_file_inputs " '$ac_f'"
   12272     done
   12273 
   12274     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12275     # use $as_me), people would be surprised to read:
   12276     #    /* config.h.  Generated by config.status.  */
   12277     configure_input='Generated from '`
   12278 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12279 	`' by configure.'
   12280     if test x"$ac_file" != x-; then
   12281       configure_input="$ac_file.  $configure_input"
   12282       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12283 $as_echo "$as_me: creating $ac_file" >&6;}
   12284     fi
   12285     # Neutralize special characters interpreted by sed in replacement strings.
   12286     case $configure_input in #(
   12287     *\&* | *\|* | *\\* )
   12288        ac_sed_conf_input=`$as_echo "$configure_input" |
   12289        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12290     *) ac_sed_conf_input=$configure_input;;
   12291     esac
   12292 
   12293     case $ac_tag in
   12294     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12295       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12296     esac
   12297     ;;
   12298   esac
   12299 
   12300   ac_dir=`$as_dirname -- "$ac_file" ||
   12301 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12302 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12303 	 X"$ac_file" : 'X\(//\)$' \| \
   12304 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12305 $as_echo X"$ac_file" |
   12306     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12307 	    s//\1/
   12308 	    q
   12309 	  }
   12310 	  /^X\(\/\/\)[^/].*/{
   12311 	    s//\1/
   12312 	    q
   12313 	  }
   12314 	  /^X\(\/\/\)$/{
   12315 	    s//\1/
   12316 	    q
   12317 	  }
   12318 	  /^X\(\/\).*/{
   12319 	    s//\1/
   12320 	    q
   12321 	  }
   12322 	  s/.*/./; q'`
   12323   as_dir="$ac_dir"; as_fn_mkdir_p
   12324   ac_builddir=.
   12325 
   12326 case "$ac_dir" in
   12327 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12328 *)
   12329   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12330   # A ".." for each directory in $ac_dir_suffix.
   12331   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12332   case $ac_top_builddir_sub in
   12333   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12334   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12335   esac ;;
   12336 esac
   12337 ac_abs_top_builddir=$ac_pwd
   12338 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12339 # for backward compatibility:
   12340 ac_top_builddir=$ac_top_build_prefix
   12341 
   12342 case $srcdir in
   12343   .)  # We are building in place.
   12344     ac_srcdir=.
   12345     ac_top_srcdir=$ac_top_builddir_sub
   12346     ac_abs_top_srcdir=$ac_pwd ;;
   12347   [\\/]* | ?:[\\/]* )  # Absolute name.
   12348     ac_srcdir=$srcdir$ac_dir_suffix;
   12349     ac_top_srcdir=$srcdir
   12350     ac_abs_top_srcdir=$srcdir ;;
   12351   *) # Relative name.
   12352     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12353     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12354     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12355 esac
   12356 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12357 
   12358 
   12359   case $ac_mode in
   12360   :F)
   12361   #
   12362   # CONFIG_FILE
   12363   #
   12364 
   12365   case $INSTALL in
   12366   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12367   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12368   esac
   12369   ac_MKDIR_P=$MKDIR_P
   12370   case $MKDIR_P in
   12371   [\\/$]* | ?:[\\/]* ) ;;
   12372   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12373   esac
   12374 _ACEOF
   12375 
   12376 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12377 # If the template does not know about datarootdir, expand it.
   12378 # FIXME: This hack should be removed a few years after 2.60.
   12379 ac_datarootdir_hack=; ac_datarootdir_seen=
   12380 ac_sed_dataroot='
   12381 /datarootdir/ {
   12382   p
   12383   q
   12384 }
   12385 /@datadir@/p
   12386 /@docdir@/p
   12387 /@infodir@/p
   12388 /@localedir@/p
   12389 /@mandir@/p'
   12390 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12391 *datarootdir*) ac_datarootdir_seen=yes;;
   12392 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12393   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12394 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12395 _ACEOF
   12396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12397   ac_datarootdir_hack='
   12398   s&@datadir@&$datadir&g
   12399   s&@docdir@&$docdir&g
   12400   s&@infodir@&$infodir&g
   12401   s&@localedir@&$localedir&g
   12402   s&@mandir@&$mandir&g
   12403   s&\\\${datarootdir}&$datarootdir&g' ;;
   12404 esac
   12405 _ACEOF
   12406 
   12407 # Neutralize VPATH when `$srcdir' = `.'.
   12408 # Shell code in configure.ac might set extrasub.
   12409 # FIXME: do we really want to maintain this feature?
   12410 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12411 ac_sed_extra="$ac_vpsub
   12412 $extrasub
   12413 _ACEOF
   12414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12415 :t
   12416 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12417 s|@configure_input@|$ac_sed_conf_input|;t t
   12418 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12419 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12420 s&@srcdir@&$ac_srcdir&;t t
   12421 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12422 s&@top_srcdir@&$ac_top_srcdir&;t t
   12423 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12424 s&@builddir@&$ac_builddir&;t t
   12425 s&@abs_builddir@&$ac_abs_builddir&;t t
   12426 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12427 s&@INSTALL@&$ac_INSTALL&;t t
   12428 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12429 $ac_datarootdir_hack
   12430 "
   12431 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12432   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12433 
   12434 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12435   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12436   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12437       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12438   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12439 which seems to be undefined.  Please make sure it is defined" >&5
   12440 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12441 which seems to be undefined.  Please make sure it is defined" >&2;}
   12442 
   12443   rm -f "$ac_tmp/stdin"
   12444   case $ac_file in
   12445   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12446   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12447   esac \
   12448   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12449  ;;
   12450   :H)
   12451   #
   12452   # CONFIG_HEADER
   12453   #
   12454   if test x"$ac_file" != x-; then
   12455     {
   12456       $as_echo "/* $configure_input  */" \
   12457       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12458     } >"$ac_tmp/config.h" \
   12459       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12460     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12461       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12462 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12463     else
   12464       rm -f "$ac_file"
   12465       mv "$ac_tmp/config.h" "$ac_file" \
   12466 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12467     fi
   12468   else
   12469     $as_echo "/* $configure_input  */" \
   12470       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12471       || as_fn_error $? "could not create -" "$LINENO" 5
   12472   fi
   12473 # Compute "$ac_file"'s index in $config_headers.
   12474 _am_arg="$ac_file"
   12475 _am_stamp_count=1
   12476 for _am_header in $config_headers :; do
   12477   case $_am_header in
   12478     $_am_arg | $_am_arg:* )
   12479       break ;;
   12480     * )
   12481       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12482   esac
   12483 done
   12484 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12485 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12486 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12487 	 X"$_am_arg" : 'X\(//\)$' \| \
   12488 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12489 $as_echo X"$_am_arg" |
   12490     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12491 	    s//\1/
   12492 	    q
   12493 	  }
   12494 	  /^X\(\/\/\)[^/].*/{
   12495 	    s//\1/
   12496 	    q
   12497 	  }
   12498 	  /^X\(\/\/\)$/{
   12499 	    s//\1/
   12500 	    q
   12501 	  }
   12502 	  /^X\(\/\).*/{
   12503 	    s//\1/
   12504 	    q
   12505 	  }
   12506 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12507  ;;
   12508 
   12509   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12510 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12511  ;;
   12512   esac
   12513 
   12514 
   12515   case $ac_file$ac_mode in
   12516     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12517   # Older Autoconf quotes --file arguments for eval, but not when files
   12518   # are listed without --file.  Let's play safe and only enable the eval
   12519   # if we detect the quoting.
   12520   case $CONFIG_FILES in
   12521   *\'*) eval set x "$CONFIG_FILES" ;;
   12522   *)   set x $CONFIG_FILES ;;
   12523   esac
   12524   shift
   12525   for mf
   12526   do
   12527     # Strip MF so we end up with the name of the file.
   12528     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12529     # Check whether this is an Automake generated Makefile or not.
   12530     # We used to match only the files named 'Makefile.in', but
   12531     # some people rename them; so instead we look at the file content.
   12532     # Grep'ing the first line is not enough: some people post-process
   12533     # each Makefile.in and add a new line on top of each file to say so.
   12534     # Grep'ing the whole file is not good either: AIX grep has a line
   12535     # limit of 2048, but all sed's we know have understand at least 4000.
   12536     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12537       dirpart=`$as_dirname -- "$mf" ||
   12538 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12539 	 X"$mf" : 'X\(//\)[^/]' \| \
   12540 	 X"$mf" : 'X\(//\)$' \| \
   12541 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12542 $as_echo X"$mf" |
   12543     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12544 	    s//\1/
   12545 	    q
   12546 	  }
   12547 	  /^X\(\/\/\)[^/].*/{
   12548 	    s//\1/
   12549 	    q
   12550 	  }
   12551 	  /^X\(\/\/\)$/{
   12552 	    s//\1/
   12553 	    q
   12554 	  }
   12555 	  /^X\(\/\).*/{
   12556 	    s//\1/
   12557 	    q
   12558 	  }
   12559 	  s/.*/./; q'`
   12560     else
   12561       continue
   12562     fi
   12563     # Extract the definition of DEPDIR, am__include, and am__quote
   12564     # from the Makefile without running 'make'.
   12565     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12566     test -z "$DEPDIR" && continue
   12567     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12568     test -z "$am__include" && continue
   12569     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12570     # Find all dependency output files, they are included files with
   12571     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12572     # simplest approach to changing $(DEPDIR) to its actual value in the
   12573     # expansion.
   12574     for file in `sed -n "
   12575       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12576 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12577       # Make sure the directory exists.
   12578       test -f "$dirpart/$file" && continue
   12579       fdir=`$as_dirname -- "$file" ||
   12580 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12581 	 X"$file" : 'X\(//\)[^/]' \| \
   12582 	 X"$file" : 'X\(//\)$' \| \
   12583 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12584 $as_echo X"$file" |
   12585     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12586 	    s//\1/
   12587 	    q
   12588 	  }
   12589 	  /^X\(\/\/\)[^/].*/{
   12590 	    s//\1/
   12591 	    q
   12592 	  }
   12593 	  /^X\(\/\/\)$/{
   12594 	    s//\1/
   12595 	    q
   12596 	  }
   12597 	  /^X\(\/\).*/{
   12598 	    s//\1/
   12599 	    q
   12600 	  }
   12601 	  s/.*/./; q'`
   12602       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12603       # echo "creating $dirpart/$file"
   12604       echo '# dummy' > "$dirpart/$file"
   12605     done
   12606   done
   12607 }
   12608  ;;
   12609 
   12610   esac
   12611 done # for ac_tag
   12612 
   12613 
   12614 as_fn_exit 0
   12615 _ACEOF
   12616 ac_clean_files=$ac_clean_files_save
   12617 
   12618 test $ac_write_fail = 0 ||
   12619   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12620 
   12621 
   12622 # configure is writing to config.log, and then calls config.status.
   12623 # config.status does its own redirection, appending to config.log.
   12624 # Unfortunately, on DOS this fails, as config.log is still kept open
   12625 # by configure, so config.status won't be able to write to it; its
   12626 # output is simply discarded.  So we exec the FD to /dev/null,
   12627 # effectively closing config.log, so it can be properly (re)opened and
   12628 # appended to by config.status.  When coming back to configure, we
   12629 # need to make the FD available again.
   12630 if test "$no_create" != yes; then
   12631   ac_cs_success=:
   12632   ac_config_status_args=
   12633   test "$silent" = yes &&
   12634     ac_config_status_args="$ac_config_status_args --quiet"
   12635   exec 5>/dev/null
   12636   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12637   exec 5>>config.log
   12638   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12639   # would make configure fail if this is the last instruction.
   12640   $ac_cs_success || as_fn_exit 1
   12641 fi
   12642 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12643   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12644 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12645 fi
   12646 
   12647