Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for bitmap 1.0.7.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1"
    178   if (eval "$as_required") 2>/dev/null; then :
    179   as_have_required=yes
    180 else
    181   as_have_required=no
    182 fi
    183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    184 
    185 else
    186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    187 as_found=false
    188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    189 do
    190   IFS=$as_save_IFS
    191   test -z "$as_dir" && as_dir=.
    192   as_found=:
    193   case $as_dir in #(
    194 	 /*)
    195 	   for as_base in sh bash ksh sh5; do
    196 	     # Try only shells that exist, to save several forks.
    197 	     as_shell=$as_dir/$as_base
    198 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    199 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    200   CONFIG_SHELL=$as_shell as_have_required=yes
    201 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    202   break 2
    203 fi
    204 fi
    205 	   done;;
    206        esac
    207   as_found=false
    208 done
    209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    210 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    211   CONFIG_SHELL=$SHELL as_have_required=yes
    212 fi; }
    213 IFS=$as_save_IFS
    214 
    215 
    216       if test "x$CONFIG_SHELL" != x; then :
    217   # We cannot yet assume a decent shell, so we have to provide a
    218 	# neutralization value for shells without unset; and this also
    219 	# works around shells that cannot unset nonexistent variables.
    220 	# Preserve -v and -x to the replacement shell.
    221 	BASH_ENV=/dev/null
    222 	ENV=/dev/null
    223 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    224 	export CONFIG_SHELL
    225 	case $- in # ((((
    226 	  *v*x* | *x*v* ) as_opts=-vx ;;
    227 	  *v* ) as_opts=-v ;;
    228 	  *x* ) as_opts=-x ;;
    229 	  * ) as_opts= ;;
    230 	esac
    231 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    232 fi
    233 
    234     if test x$as_have_required = xno; then :
    235   $as_echo "$0: This script requires a shell more modern than all"
    236   $as_echo "$0: the shells that I found on your system."
    237   if test x${ZSH_VERSION+set} = xset ; then
    238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    240   else
    241     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    242 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    243 $0: about your system, including any error possibly output
    244 $0: before this message. Then install a modern shell, or
    245 $0: manually run the script under such a shell if you do
    246 $0: have one."
    247   fi
    248   exit 1
    249 fi
    250 fi
    251 fi
    252 SHELL=${CONFIG_SHELL-/bin/sh}
    253 export SHELL
    254 # Unset more variables known to interfere with behavior of common tools.
    255 CLICOLOR_FORCE= GREP_OPTIONS=
    256 unset CLICOLOR_FORCE GREP_OPTIONS
    257 
    258 ## --------------------- ##
    259 ## M4sh Shell Functions. ##
    260 ## --------------------- ##
    261 # as_fn_unset VAR
    262 # ---------------
    263 # Portably unset VAR.
    264 as_fn_unset ()
    265 {
    266   { eval $1=; unset $1;}
    267 }
    268 as_unset=as_fn_unset
    269 
    270 # as_fn_set_status STATUS
    271 # -----------------------
    272 # Set $? to STATUS, without forking.
    273 as_fn_set_status ()
    274 {
    275   return $1
    276 } # as_fn_set_status
    277 
    278 # as_fn_exit STATUS
    279 # -----------------
    280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    281 as_fn_exit ()
    282 {
    283   set +e
    284   as_fn_set_status $1
    285   exit $1
    286 } # as_fn_exit
    287 
    288 # as_fn_mkdir_p
    289 # -------------
    290 # Create "$as_dir" as a directory, including parents if necessary.
    291 as_fn_mkdir_p ()
    292 {
    293 
    294   case $as_dir in #(
    295   -*) as_dir=./$as_dir;;
    296   esac
    297   test -d "$as_dir" || eval $as_mkdir_p || {
    298     as_dirs=
    299     while :; do
    300       case $as_dir in #(
    301       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    302       *) as_qdir=$as_dir;;
    303       esac
    304       as_dirs="'$as_qdir' $as_dirs"
    305       as_dir=`$as_dirname -- "$as_dir" ||
    306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    307 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    308 	 X"$as_dir" : 'X\(//\)$' \| \
    309 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    310 $as_echo X"$as_dir" |
    311     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    312 	    s//\1/
    313 	    q
    314 	  }
    315 	  /^X\(\/\/\)[^/].*/{
    316 	    s//\1/
    317 	    q
    318 	  }
    319 	  /^X\(\/\/\)$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\).*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  s/.*/./; q'`
    328       test -d "$as_dir" && break
    329     done
    330     test -z "$as_dirs" || eval "mkdir $as_dirs"
    331   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    332 
    333 
    334 } # as_fn_mkdir_p
    335 # as_fn_append VAR VALUE
    336 # ----------------------
    337 # Append the text in VALUE to the end of the definition contained in VAR. Take
    338 # advantage of any shell optimizations that allow amortized linear growth over
    339 # repeated appends, instead of the typical quadratic growth present in naive
    340 # implementations.
    341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    342   eval 'as_fn_append ()
    343   {
    344     eval $1+=\$2
    345   }'
    346 else
    347   as_fn_append ()
    348   {
    349     eval $1=\$$1\$2
    350   }
    351 fi # as_fn_append
    352 
    353 # as_fn_arith ARG...
    354 # ------------------
    355 # Perform arithmetic evaluation on the ARGs, and store the result in the
    356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    357 # must be portable across $(()) and expr.
    358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    359   eval 'as_fn_arith ()
    360   {
    361     as_val=$(( $* ))
    362   }'
    363 else
    364   as_fn_arith ()
    365   {
    366     as_val=`expr "$@" || test $? -eq 1`
    367   }
    368 fi # as_fn_arith
    369 
    370 
    371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    372 # ----------------------------------------
    373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    375 # script with STATUS, using 1 if that was 0.
    376 as_fn_error ()
    377 {
    378   as_status=$1; test $as_status -eq 0 && as_status=1
    379   if test "$4"; then
    380     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    381     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    382   fi
    383   $as_echo "$as_me: error: $2" >&2
    384   as_fn_exit $as_status
    385 } # as_fn_error
    386 
    387 if expr a : '\(a\)' >/dev/null 2>&1 &&
    388    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    389   as_expr=expr
    390 else
    391   as_expr=false
    392 fi
    393 
    394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    395   as_basename=basename
    396 else
    397   as_basename=false
    398 fi
    399 
    400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    401   as_dirname=dirname
    402 else
    403   as_dirname=false
    404 fi
    405 
    406 as_me=`$as_basename -- "$0" ||
    407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    408 	 X"$0" : 'X\(//\)$' \| \
    409 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    410 $as_echo X/"$0" |
    411     sed '/^.*\/\([^/][^/]*\)\/*$/{
    412 	    s//\1/
    413 	    q
    414 	  }
    415 	  /^X\/\(\/\/\)$/{
    416 	    s//\1/
    417 	    q
    418 	  }
    419 	  /^X\/\(\/\).*/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  s/.*/./; q'`
    424 
    425 # Avoid depending upon Character Ranges.
    426 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    429 as_cr_digits='0123456789'
    430 as_cr_alnum=$as_cr_Letters$as_cr_digits
    431 
    432 
    433   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    434   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    435   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    436   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    437   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    438   sed -n '
    439     p
    440     /[$]LINENO/=
    441   ' <$as_myself |
    442     sed '
    443       s/[$]LINENO.*/&-/
    444       t lineno
    445       b
    446       :lineno
    447       N
    448       :loop
    449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    450       t loop
    451       s/-\n.*//
    452     ' >$as_me.lineno &&
    453   chmod +x "$as_me.lineno" ||
    454     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    455 
    456   # Don't try to exec as it changes $[0], causing all sort of problems
    457   # (the dirname of $[0] is not the place where we might find the
    458   # original and so on.  Autoconf is especially sensitive to this).
    459   . "./$as_me.lineno"
    460   # Exit status is that of the last command.
    461   exit
    462 }
    463 
    464 ECHO_C= ECHO_N= ECHO_T=
    465 case `echo -n x` in #(((((
    466 -n*)
    467   case `echo 'xy\c'` in
    468   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    469   xy)  ECHO_C='\c';;
    470   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    471        ECHO_T='	';;
    472   esac;;
    473 *)
    474   ECHO_N='-n';;
    475 esac
    476 
    477 rm -f conf$$ conf$$.exe conf$$.file
    478 if test -d conf$$.dir; then
    479   rm -f conf$$.dir/conf$$.file
    480 else
    481   rm -f conf$$.dir
    482   mkdir conf$$.dir 2>/dev/null
    483 fi
    484 if (echo >conf$$.file) 2>/dev/null; then
    485   if ln -s conf$$.file conf$$ 2>/dev/null; then
    486     as_ln_s='ln -s'
    487     # ... but there are two gotchas:
    488     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    489     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    490     # In both cases, we have to default to `cp -p'.
    491     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    492       as_ln_s='cp -p'
    493   elif ln conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s=ln
    495   else
    496     as_ln_s='cp -p'
    497   fi
    498 else
    499   as_ln_s='cp -p'
    500 fi
    501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    502 rmdir conf$$.dir 2>/dev/null
    503 
    504 if mkdir -p . 2>/dev/null; then
    505   as_mkdir_p='mkdir -p "$as_dir"'
    506 else
    507   test -d ./-p && rmdir ./-p
    508   as_mkdir_p=false
    509 fi
    510 
    511 if test -x / >/dev/null 2>&1; then
    512   as_test_x='test -x'
    513 else
    514   if ls -dL / >/dev/null 2>&1; then
    515     as_ls_L_option=L
    516   else
    517     as_ls_L_option=
    518   fi
    519   as_test_x='
    520     eval sh -c '\''
    521       if test -d "$1"; then
    522 	test -d "$1/.";
    523       else
    524 	case $1 in #(
    525 	-*)set "./$1";;
    526 	esac;
    527 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    528 	???[sx]*):;;*)false;;esac;fi
    529     '\'' sh
    530   '
    531 fi
    532 as_executable_p=$as_test_x
    533 
    534 # Sed expression to map a string onto a valid CPP name.
    535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    536 
    537 # Sed expression to map a string onto a valid variable name.
    538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    539 
    540 
    541 test -n "$DJDIR" || exec 7<&0 </dev/null
    542 exec 6>&1
    543 
    544 # Name of the host.
    545 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    546 # so uname gets run too.
    547 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    548 
    549 #
    550 # Initializations.
    551 #
    552 ac_default_prefix=/usr/local
    553 ac_clean_files=
    554 ac_config_libobj_dir=.
    555 LIBOBJS=
    556 cross_compiling=no
    557 subdirs=
    558 MFLAGS=
    559 MAKEFLAGS=
    560 
    561 # Identity of this package.
    562 PACKAGE_NAME='bitmap'
    563 PACKAGE_TARNAME='bitmap'
    564 PACKAGE_VERSION='1.0.7'
    565 PACKAGE_STRING='bitmap 1.0.7'
    566 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    567 PACKAGE_URL=''
    568 
    569 ac_unique_file="Makefile.am"
    570 # Factoring default headers for most tests.
    571 ac_includes_default="\
    572 #include <stdio.h>
    573 #ifdef HAVE_SYS_TYPES_H
    574 # include <sys/types.h>
    575 #endif
    576 #ifdef HAVE_SYS_STAT_H
    577 # include <sys/stat.h>
    578 #endif
    579 #ifdef STDC_HEADERS
    580 # include <stdlib.h>
    581 # include <stddef.h>
    582 #else
    583 # ifdef HAVE_STDLIB_H
    584 #  include <stdlib.h>
    585 # endif
    586 #endif
    587 #ifdef HAVE_STRING_H
    588 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    589 #  include <memory.h>
    590 # endif
    591 # include <string.h>
    592 #endif
    593 #ifdef HAVE_STRINGS_H
    594 # include <strings.h>
    595 #endif
    596 #ifdef HAVE_INTTYPES_H
    597 # include <inttypes.h>
    598 #endif
    599 #ifdef HAVE_STDINT_H
    600 # include <stdint.h>
    601 #endif
    602 #ifdef HAVE_UNISTD_H
    603 # include <unistd.h>
    604 #endif"
    605 
    606 ac_subst_vars='am__EXEEXT_FALSE
    607 am__EXEEXT_TRUE
    608 LTLIBOBJS
    609 LIBOBJS
    610 appdefaultdir
    611 APPDEFS_LIBS
    612 APPDEFS_CFLAGS
    613 BITMAP_LIBS
    614 BITMAP_CFLAGS
    615 ATOBM_LIBS
    616 ATOBM_CFLAGS
    617 BMTOA_LIBS
    618 BMTOA_CFLAGS
    619 MATH_LIBS
    620 MAN_SUBSTS
    621 XORG_MAN_PAGE
    622 ADMIN_MAN_DIR
    623 DRIVER_MAN_DIR
    624 MISC_MAN_DIR
    625 FILE_MAN_DIR
    626 LIB_MAN_DIR
    627 APP_MAN_DIR
    628 ADMIN_MAN_SUFFIX
    629 DRIVER_MAN_SUFFIX
    630 MISC_MAN_SUFFIX
    631 FILE_MAN_SUFFIX
    632 LIB_MAN_SUFFIX
    633 APP_MAN_SUFFIX
    634 SED
    635 host_os
    636 host_vendor
    637 host_cpu
    638 host
    639 build_os
    640 build_vendor
    641 build_cpu
    642 build
    643 INSTALL_CMD
    644 PKG_CONFIG
    645 CHANGELOG_CMD
    646 STRICT_CFLAGS
    647 CWARNFLAGS
    648 BASE_CFLAGS
    649 EGREP
    650 GREP
    651 CPP
    652 am__fastdepCC_FALSE
    653 am__fastdepCC_TRUE
    654 CCDEPMODE
    655 am__nodep
    656 AMDEPBACKSLASH
    657 AMDEP_FALSE
    658 AMDEP_TRUE
    659 am__quote
    660 am__include
    661 DEPDIR
    662 OBJEXT
    663 EXEEXT
    664 ac_ct_CC
    665 CPPFLAGS
    666 LDFLAGS
    667 CFLAGS
    668 CC
    669 MAINT
    670 MAINTAINER_MODE_FALSE
    671 MAINTAINER_MODE_TRUE
    672 AM_BACKSLASH
    673 AM_DEFAULT_VERBOSITY
    674 AM_DEFAULT_V
    675 AM_V
    676 am__untar
    677 am__tar
    678 AMTAR
    679 am__leading_dot
    680 SET_MAKE
    681 AWK
    682 mkdir_p
    683 MKDIR_P
    684 INSTALL_STRIP_PROGRAM
    685 STRIP
    686 install_sh
    687 MAKEINFO
    688 AUTOHEADER
    689 AUTOMAKE
    690 AUTOCONF
    691 ACLOCAL
    692 VERSION
    693 PACKAGE
    694 CYGPATH_W
    695 am__isrc
    696 INSTALL_DATA
    697 INSTALL_SCRIPT
    698 INSTALL_PROGRAM
    699 target_alias
    700 host_alias
    701 build_alias
    702 LIBS
    703 ECHO_T
    704 ECHO_N
    705 ECHO_C
    706 DEFS
    707 mandir
    708 localedir
    709 libdir
    710 psdir
    711 pdfdir
    712 dvidir
    713 htmldir
    714 infodir
    715 docdir
    716 oldincludedir
    717 includedir
    718 localstatedir
    719 sharedstatedir
    720 sysconfdir
    721 datadir
    722 datarootdir
    723 libexecdir
    724 sbindir
    725 bindir
    726 program_transform_name
    727 prefix
    728 exec_prefix
    729 PACKAGE_URL
    730 PACKAGE_BUGREPORT
    731 PACKAGE_STRING
    732 PACKAGE_VERSION
    733 PACKAGE_TARNAME
    734 PACKAGE_NAME
    735 PATH_SEPARATOR
    736 SHELL'
    737 ac_subst_files=''
    738 ac_user_opts='
    739 enable_option_checking
    740 enable_silent_rules
    741 enable_maintainer_mode
    742 enable_dependency_tracking
    743 enable_selective_werror
    744 enable_strict_compilation
    745 with_appdefaultdir
    746 '
    747       ac_precious_vars='build_alias
    748 host_alias
    749 target_alias
    750 CC
    751 CFLAGS
    752 LDFLAGS
    753 LIBS
    754 CPPFLAGS
    755 CPP
    756 PKG_CONFIG
    757 BMTOA_CFLAGS
    758 BMTOA_LIBS
    759 ATOBM_CFLAGS
    760 ATOBM_LIBS
    761 BITMAP_CFLAGS
    762 BITMAP_LIBS
    763 APPDEFS_CFLAGS
    764 APPDEFS_LIBS'
    765 
    766 
    767 # Initialize some variables set by options.
    768 ac_init_help=
    769 ac_init_version=false
    770 ac_unrecognized_opts=
    771 ac_unrecognized_sep=
    772 # The variables have the same names as the options, with
    773 # dashes changed to underlines.
    774 cache_file=/dev/null
    775 exec_prefix=NONE
    776 no_create=
    777 no_recursion=
    778 prefix=NONE
    779 program_prefix=NONE
    780 program_suffix=NONE
    781 program_transform_name=s,x,x,
    782 silent=
    783 site=
    784 srcdir=
    785 verbose=
    786 x_includes=NONE
    787 x_libraries=NONE
    788 
    789 # Installation directory options.
    790 # These are left unexpanded so users can "make install exec_prefix=/foo"
    791 # and all the variables that are supposed to be based on exec_prefix
    792 # by default will actually change.
    793 # Use braces instead of parens because sh, perl, etc. also accept them.
    794 # (The list follows the same order as the GNU Coding Standards.)
    795 bindir='${exec_prefix}/bin'
    796 sbindir='${exec_prefix}/sbin'
    797 libexecdir='${exec_prefix}/libexec'
    798 datarootdir='${prefix}/share'
    799 datadir='${datarootdir}'
    800 sysconfdir='${prefix}/etc'
    801 sharedstatedir='${prefix}/com'
    802 localstatedir='${prefix}/var'
    803 includedir='${prefix}/include'
    804 oldincludedir='/usr/include'
    805 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    806 infodir='${datarootdir}/info'
    807 htmldir='${docdir}'
    808 dvidir='${docdir}'
    809 pdfdir='${docdir}'
    810 psdir='${docdir}'
    811 libdir='${exec_prefix}/lib'
    812 localedir='${datarootdir}/locale'
    813 mandir='${datarootdir}/man'
    814 
    815 ac_prev=
    816 ac_dashdash=
    817 for ac_option
    818 do
    819   # If the previous option needs an argument, assign it.
    820   if test -n "$ac_prev"; then
    821     eval $ac_prev=\$ac_option
    822     ac_prev=
    823     continue
    824   fi
    825 
    826   case $ac_option in
    827   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    828   *=)   ac_optarg= ;;
    829   *)    ac_optarg=yes ;;
    830   esac
    831 
    832   # Accept the important Cygnus configure options, so we can diagnose typos.
    833 
    834   case $ac_dashdash$ac_option in
    835   --)
    836     ac_dashdash=yes ;;
    837 
    838   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    839     ac_prev=bindir ;;
    840   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    841     bindir=$ac_optarg ;;
    842 
    843   -build | --build | --buil | --bui | --bu)
    844     ac_prev=build_alias ;;
    845   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    846     build_alias=$ac_optarg ;;
    847 
    848   -cache-file | --cache-file | --cache-fil | --cache-fi \
    849   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    850     ac_prev=cache_file ;;
    851   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    852   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    853     cache_file=$ac_optarg ;;
    854 
    855   --config-cache | -C)
    856     cache_file=config.cache ;;
    857 
    858   -datadir | --datadir | --datadi | --datad)
    859     ac_prev=datadir ;;
    860   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    861     datadir=$ac_optarg ;;
    862 
    863   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    864   | --dataroo | --dataro | --datar)
    865     ac_prev=datarootdir ;;
    866   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    867   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    868     datarootdir=$ac_optarg ;;
    869 
    870   -disable-* | --disable-*)
    871     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    872     # Reject names that are not valid shell variable names.
    873     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    874       as_fn_error $? "invalid feature name: $ac_useropt"
    875     ac_useropt_orig=$ac_useropt
    876     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    877     case $ac_user_opts in
    878       *"
    879 "enable_$ac_useropt"
    880 "*) ;;
    881       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    882 	 ac_unrecognized_sep=', ';;
    883     esac
    884     eval enable_$ac_useropt=no ;;
    885 
    886   -docdir | --docdir | --docdi | --doc | --do)
    887     ac_prev=docdir ;;
    888   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    889     docdir=$ac_optarg ;;
    890 
    891   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    892     ac_prev=dvidir ;;
    893   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    894     dvidir=$ac_optarg ;;
    895 
    896   -enable-* | --enable-*)
    897     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    898     # Reject names that are not valid shell variable names.
    899     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    900       as_fn_error $? "invalid feature name: $ac_useropt"
    901     ac_useropt_orig=$ac_useropt
    902     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    903     case $ac_user_opts in
    904       *"
    905 "enable_$ac_useropt"
    906 "*) ;;
    907       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    908 	 ac_unrecognized_sep=', ';;
    909     esac
    910     eval enable_$ac_useropt=\$ac_optarg ;;
    911 
    912   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    913   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    914   | --exec | --exe | --ex)
    915     ac_prev=exec_prefix ;;
    916   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    917   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    918   | --exec=* | --exe=* | --ex=*)
    919     exec_prefix=$ac_optarg ;;
    920 
    921   -gas | --gas | --ga | --g)
    922     # Obsolete; use --with-gas.
    923     with_gas=yes ;;
    924 
    925   -help | --help | --hel | --he | -h)
    926     ac_init_help=long ;;
    927   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    928     ac_init_help=recursive ;;
    929   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    930     ac_init_help=short ;;
    931 
    932   -host | --host | --hos | --ho)
    933     ac_prev=host_alias ;;
    934   -host=* | --host=* | --hos=* | --ho=*)
    935     host_alias=$ac_optarg ;;
    936 
    937   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    938     ac_prev=htmldir ;;
    939   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    940   | --ht=*)
    941     htmldir=$ac_optarg ;;
    942 
    943   -includedir | --includedir | --includedi | --included | --include \
    944   | --includ | --inclu | --incl | --inc)
    945     ac_prev=includedir ;;
    946   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    947   | --includ=* | --inclu=* | --incl=* | --inc=*)
    948     includedir=$ac_optarg ;;
    949 
    950   -infodir | --infodir | --infodi | --infod | --info | --inf)
    951     ac_prev=infodir ;;
    952   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    953     infodir=$ac_optarg ;;
    954 
    955   -libdir | --libdir | --libdi | --libd)
    956     ac_prev=libdir ;;
    957   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    958     libdir=$ac_optarg ;;
    959 
    960   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    961   | --libexe | --libex | --libe)
    962     ac_prev=libexecdir ;;
    963   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    964   | --libexe=* | --libex=* | --libe=*)
    965     libexecdir=$ac_optarg ;;
    966 
    967   -localedir | --localedir | --localedi | --localed | --locale)
    968     ac_prev=localedir ;;
    969   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    970     localedir=$ac_optarg ;;
    971 
    972   -localstatedir | --localstatedir | --localstatedi | --localstated \
    973   | --localstate | --localstat | --localsta | --localst | --locals)
    974     ac_prev=localstatedir ;;
    975   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    976   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    977     localstatedir=$ac_optarg ;;
    978 
    979   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    980     ac_prev=mandir ;;
    981   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    982     mandir=$ac_optarg ;;
    983 
    984   -nfp | --nfp | --nf)
    985     # Obsolete; use --without-fp.
    986     with_fp=no ;;
    987 
    988   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    989   | --no-cr | --no-c | -n)
    990     no_create=yes ;;
    991 
    992   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    993   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    994     no_recursion=yes ;;
    995 
    996   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    997   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    998   | --oldin | --oldi | --old | --ol | --o)
    999     ac_prev=oldincludedir ;;
   1000   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1001   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1002   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1003     oldincludedir=$ac_optarg ;;
   1004 
   1005   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1006     ac_prev=prefix ;;
   1007   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1008     prefix=$ac_optarg ;;
   1009 
   1010   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1011   | --program-pre | --program-pr | --program-p)
   1012     ac_prev=program_prefix ;;
   1013   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1014   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1015     program_prefix=$ac_optarg ;;
   1016 
   1017   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1018   | --program-suf | --program-su | --program-s)
   1019     ac_prev=program_suffix ;;
   1020   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1021   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1022     program_suffix=$ac_optarg ;;
   1023 
   1024   -program-transform-name | --program-transform-name \
   1025   | --program-transform-nam | --program-transform-na \
   1026   | --program-transform-n | --program-transform- \
   1027   | --program-transform | --program-transfor \
   1028   | --program-transfo | --program-transf \
   1029   | --program-trans | --program-tran \
   1030   | --progr-tra | --program-tr | --program-t)
   1031     ac_prev=program_transform_name ;;
   1032   -program-transform-name=* | --program-transform-name=* \
   1033   | --program-transform-nam=* | --program-transform-na=* \
   1034   | --program-transform-n=* | --program-transform-=* \
   1035   | --program-transform=* | --program-transfor=* \
   1036   | --program-transfo=* | --program-transf=* \
   1037   | --program-trans=* | --program-tran=* \
   1038   | --progr-tra=* | --program-tr=* | --program-t=*)
   1039     program_transform_name=$ac_optarg ;;
   1040 
   1041   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1042     ac_prev=pdfdir ;;
   1043   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1044     pdfdir=$ac_optarg ;;
   1045 
   1046   -psdir | --psdir | --psdi | --psd | --ps)
   1047     ac_prev=psdir ;;
   1048   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1049     psdir=$ac_optarg ;;
   1050 
   1051   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1052   | -silent | --silent | --silen | --sile | --sil)
   1053     silent=yes ;;
   1054 
   1055   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1056     ac_prev=sbindir ;;
   1057   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1058   | --sbi=* | --sb=*)
   1059     sbindir=$ac_optarg ;;
   1060 
   1061   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1062   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1063   | --sharedst | --shareds | --shared | --share | --shar \
   1064   | --sha | --sh)
   1065     ac_prev=sharedstatedir ;;
   1066   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1067   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1068   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1069   | --sha=* | --sh=*)
   1070     sharedstatedir=$ac_optarg ;;
   1071 
   1072   -site | --site | --sit)
   1073     ac_prev=site ;;
   1074   -site=* | --site=* | --sit=*)
   1075     site=$ac_optarg ;;
   1076 
   1077   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1078     ac_prev=srcdir ;;
   1079   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1080     srcdir=$ac_optarg ;;
   1081 
   1082   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1083   | --syscon | --sysco | --sysc | --sys | --sy)
   1084     ac_prev=sysconfdir ;;
   1085   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1086   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1087     sysconfdir=$ac_optarg ;;
   1088 
   1089   -target | --target | --targe | --targ | --tar | --ta | --t)
   1090     ac_prev=target_alias ;;
   1091   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1092     target_alias=$ac_optarg ;;
   1093 
   1094   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1095     verbose=yes ;;
   1096 
   1097   -version | --version | --versio | --versi | --vers | -V)
   1098     ac_init_version=: ;;
   1099 
   1100   -with-* | --with-*)
   1101     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1102     # Reject names that are not valid shell variable names.
   1103     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1104       as_fn_error $? "invalid package name: $ac_useropt"
   1105     ac_useropt_orig=$ac_useropt
   1106     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1107     case $ac_user_opts in
   1108       *"
   1109 "with_$ac_useropt"
   1110 "*) ;;
   1111       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1112 	 ac_unrecognized_sep=', ';;
   1113     esac
   1114     eval with_$ac_useropt=\$ac_optarg ;;
   1115 
   1116   -without-* | --without-*)
   1117     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   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--without-$ac_useropt_orig"
   1128 	 ac_unrecognized_sep=', ';;
   1129     esac
   1130     eval with_$ac_useropt=no ;;
   1131 
   1132   --x)
   1133     # Obsolete; use --with-x.
   1134     with_x=yes ;;
   1135 
   1136   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1137   | --x-incl | --x-inc | --x-in | --x-i)
   1138     ac_prev=x_includes ;;
   1139   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1140   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1141     x_includes=$ac_optarg ;;
   1142 
   1143   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1144   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1145     ac_prev=x_libraries ;;
   1146   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1147   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1148     x_libraries=$ac_optarg ;;
   1149 
   1150   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1151 Try \`$0 --help' for more information"
   1152     ;;
   1153 
   1154   *=*)
   1155     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1156     # Reject names that are not valid shell variable names.
   1157     case $ac_envvar in #(
   1158       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1159       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1160     esac
   1161     eval $ac_envvar=\$ac_optarg
   1162     export $ac_envvar ;;
   1163 
   1164   *)
   1165     # FIXME: should be removed in autoconf 3.0.
   1166     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1167     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1168       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1169     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1170     ;;
   1171 
   1172   esac
   1173 done
   1174 
   1175 if test -n "$ac_prev"; then
   1176   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1177   as_fn_error $? "missing argument to $ac_option"
   1178 fi
   1179 
   1180 if test -n "$ac_unrecognized_opts"; then
   1181   case $enable_option_checking in
   1182     no) ;;
   1183     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1184     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1185   esac
   1186 fi
   1187 
   1188 # Check all directory arguments for consistency.
   1189 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1190 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1191 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1192 		libdir localedir mandir
   1193 do
   1194   eval ac_val=\$$ac_var
   1195   # Remove trailing slashes.
   1196   case $ac_val in
   1197     */ )
   1198       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1199       eval $ac_var=\$ac_val;;
   1200   esac
   1201   # Be sure to have absolute directory names.
   1202   case $ac_val in
   1203     [\\/$]* | ?:[\\/]* )  continue;;
   1204     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1205   esac
   1206   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1207 done
   1208 
   1209 # There might be people who depend on the old broken behavior: `$host'
   1210 # used to hold the argument of --host etc.
   1211 # FIXME: To remove some day.
   1212 build=$build_alias
   1213 host=$host_alias
   1214 target=$target_alias
   1215 
   1216 # FIXME: To remove some day.
   1217 if test "x$host_alias" != x; then
   1218   if test "x$build_alias" = x; then
   1219     cross_compiling=maybe
   1220     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1221     If a cross compiler is detected then cross compile mode will be used" >&2
   1222   elif test "x$build_alias" != "x$host_alias"; then
   1223     cross_compiling=yes
   1224   fi
   1225 fi
   1226 
   1227 ac_tool_prefix=
   1228 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1229 
   1230 test "$silent" = yes && exec 6>/dev/null
   1231 
   1232 
   1233 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1234 ac_ls_di=`ls -di .` &&
   1235 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1236   as_fn_error $? "working directory cannot be determined"
   1237 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1238   as_fn_error $? "pwd does not report name of working directory"
   1239 
   1240 
   1241 # Find the source files, if location was not specified.
   1242 if test -z "$srcdir"; then
   1243   ac_srcdir_defaulted=yes
   1244   # Try the directory containing this script, then the parent directory.
   1245   ac_confdir=`$as_dirname -- "$as_myself" ||
   1246 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1247 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1248 	 X"$as_myself" : 'X\(//\)$' \| \
   1249 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1250 $as_echo X"$as_myself" |
   1251     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1252 	    s//\1/
   1253 	    q
   1254 	  }
   1255 	  /^X\(\/\/\)[^/].*/{
   1256 	    s//\1/
   1257 	    q
   1258 	  }
   1259 	  /^X\(\/\/\)$/{
   1260 	    s//\1/
   1261 	    q
   1262 	  }
   1263 	  /^X\(\/\).*/{
   1264 	    s//\1/
   1265 	    q
   1266 	  }
   1267 	  s/.*/./; q'`
   1268   srcdir=$ac_confdir
   1269   if test ! -r "$srcdir/$ac_unique_file"; then
   1270     srcdir=..
   1271   fi
   1272 else
   1273   ac_srcdir_defaulted=no
   1274 fi
   1275 if test ! -r "$srcdir/$ac_unique_file"; then
   1276   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1277   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1278 fi
   1279 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1280 ac_abs_confdir=`(
   1281 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1282 	pwd)`
   1283 # When building in place, set srcdir=.
   1284 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1285   srcdir=.
   1286 fi
   1287 # Remove unnecessary trailing slashes from srcdir.
   1288 # Double slashes in file names in object file debugging info
   1289 # mess up M-x gdb in Emacs.
   1290 case $srcdir in
   1291 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1292 esac
   1293 for ac_var in $ac_precious_vars; do
   1294   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1295   eval ac_env_${ac_var}_value=\$${ac_var}
   1296   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1297   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1298 done
   1299 
   1300 #
   1301 # Report the --help message.
   1302 #
   1303 if test "$ac_init_help" = "long"; then
   1304   # Omit some internal or obsolete options to make the list less imposing.
   1305   # This message is too long to be a string in the A/UX 3.1 sh.
   1306   cat <<_ACEOF
   1307 \`configure' configures bitmap 1.0.7 to adapt to many kinds of systems.
   1308 
   1309 Usage: $0 [OPTION]... [VAR=VALUE]...
   1310 
   1311 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1312 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1313 
   1314 Defaults for the options are specified in brackets.
   1315 
   1316 Configuration:
   1317   -h, --help              display this help and exit
   1318       --help=short        display options specific to this package
   1319       --help=recursive    display the short help of all the included packages
   1320   -V, --version           display version information and exit
   1321   -q, --quiet, --silent   do not print \`checking ...' messages
   1322       --cache-file=FILE   cache test results in FILE [disabled]
   1323   -C, --config-cache      alias for \`--cache-file=config.cache'
   1324   -n, --no-create         do not create output files
   1325       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1326 
   1327 Installation directories:
   1328   --prefix=PREFIX         install architecture-independent files in PREFIX
   1329                           [$ac_default_prefix]
   1330   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1331                           [PREFIX]
   1332 
   1333 By default, \`make install' will install all the files in
   1334 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1335 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1336 for instance \`--prefix=\$HOME'.
   1337 
   1338 For better control, use the options below.
   1339 
   1340 Fine tuning of the installation directories:
   1341   --bindir=DIR            user executables [EPREFIX/bin]
   1342   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1343   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1344   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1345   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1346   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1347   --libdir=DIR            object code libraries [EPREFIX/lib]
   1348   --includedir=DIR        C header files [PREFIX/include]
   1349   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1350   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1351   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1352   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1353   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1354   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1355   --docdir=DIR            documentation root [DATAROOTDIR/doc/bitmap]
   1356   --htmldir=DIR           html documentation [DOCDIR]
   1357   --dvidir=DIR            dvi documentation [DOCDIR]
   1358   --pdfdir=DIR            pdf documentation [DOCDIR]
   1359   --psdir=DIR             ps documentation [DOCDIR]
   1360 _ACEOF
   1361 
   1362   cat <<\_ACEOF
   1363 
   1364 Program names:
   1365   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1366   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1367   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1368 
   1369 System types:
   1370   --build=BUILD     configure for building on BUILD [guessed]
   1371   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1372 _ACEOF
   1373 fi
   1374 
   1375 if test -n "$ac_init_help"; then
   1376   case $ac_init_help in
   1377      short | recursive ) echo "Configuration of bitmap 1.0.7:";;
   1378    esac
   1379   cat <<\_ACEOF
   1380 
   1381 Optional Features:
   1382   --disable-option-checking  ignore unrecognized --enable/--with options
   1383   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1384   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1385   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1386   --disable-silent-rules  verbose build output (undo: "make V=0")
   1387   --enable-maintainer-mode
   1388                           enable make rules and dependencies not useful (and
   1389                           sometimes confusing) to the casual installer
   1390   --enable-dependency-tracking
   1391                           do not reject slow dependency extractors
   1392   --disable-dependency-tracking
   1393                           speeds up one-time build
   1394   --disable-selective-werror
   1395                           Turn off selective compiler errors. (default:
   1396                           enabled)
   1397   --enable-strict-compilation
   1398                           Enable all warnings from compiler and make them
   1399                           errors (default: disabled)
   1400 
   1401 Optional Packages:
   1402   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1403   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1404   --with-appdefaultdir=<pathname>
   1405                           specify directory for app-defaults files (default is
   1406                           autodetected)
   1407 
   1408 Some influential environment variables:
   1409   CC          C compiler command
   1410   CFLAGS      C compiler flags
   1411   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1412               nonstandard directory <lib dir>
   1413   LIBS        libraries to pass to the linker, e.g. -l<library>
   1414   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1415               you have headers in a nonstandard directory <include dir>
   1416   CPP         C preprocessor
   1417   PKG_CONFIG  path to pkg-config utility
   1418   BMTOA_CFLAGS
   1419               C compiler flags for BMTOA, overriding pkg-config
   1420   BMTOA_LIBS  linker flags for BMTOA, overriding pkg-config
   1421   ATOBM_CFLAGS
   1422               C compiler flags for ATOBM, overriding pkg-config
   1423   ATOBM_LIBS  linker flags for ATOBM, overriding pkg-config
   1424   BITMAP_CFLAGS
   1425               C compiler flags for BITMAP, overriding pkg-config
   1426   BITMAP_LIBS linker flags for BITMAP, overriding pkg-config
   1427   APPDEFS_CFLAGS
   1428               C compiler flags for APPDEFS, overriding pkg-config
   1429   APPDEFS_LIBS
   1430               linker flags for APPDEFS, overriding pkg-config
   1431 
   1432 Use these variables to override the choices made by `configure' or to help
   1433 it to find libraries and programs with nonstandard names/locations.
   1434 
   1435 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1436 _ACEOF
   1437 ac_status=$?
   1438 fi
   1439 
   1440 if test "$ac_init_help" = "recursive"; then
   1441   # If there are subdirs, report their specific --help.
   1442   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1443     test -d "$ac_dir" ||
   1444       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1445       continue
   1446     ac_builddir=.
   1447 
   1448 case "$ac_dir" in
   1449 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1450 *)
   1451   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1452   # A ".." for each directory in $ac_dir_suffix.
   1453   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1454   case $ac_top_builddir_sub in
   1455   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1456   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1457   esac ;;
   1458 esac
   1459 ac_abs_top_builddir=$ac_pwd
   1460 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1461 # for backward compatibility:
   1462 ac_top_builddir=$ac_top_build_prefix
   1463 
   1464 case $srcdir in
   1465   .)  # We are building in place.
   1466     ac_srcdir=.
   1467     ac_top_srcdir=$ac_top_builddir_sub
   1468     ac_abs_top_srcdir=$ac_pwd ;;
   1469   [\\/]* | ?:[\\/]* )  # Absolute name.
   1470     ac_srcdir=$srcdir$ac_dir_suffix;
   1471     ac_top_srcdir=$srcdir
   1472     ac_abs_top_srcdir=$srcdir ;;
   1473   *) # Relative name.
   1474     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1475     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1476     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1477 esac
   1478 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1479 
   1480     cd "$ac_dir" || { ac_status=$?; continue; }
   1481     # Check for guested configure.
   1482     if test -f "$ac_srcdir/configure.gnu"; then
   1483       echo &&
   1484       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1485     elif test -f "$ac_srcdir/configure"; then
   1486       echo &&
   1487       $SHELL "$ac_srcdir/configure" --help=recursive
   1488     else
   1489       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1490     fi || ac_status=$?
   1491     cd "$ac_pwd" || { ac_status=$?; break; }
   1492   done
   1493 fi
   1494 
   1495 test -n "$ac_init_help" && exit $ac_status
   1496 if $ac_init_version; then
   1497   cat <<\_ACEOF
   1498 bitmap configure 1.0.7
   1499 generated by GNU Autoconf 2.68
   1500 
   1501 Copyright (C) 2010 Free Software Foundation, Inc.
   1502 This configure script is free software; the Free Software Foundation
   1503 gives unlimited permission to copy, distribute and modify it.
   1504 _ACEOF
   1505   exit
   1506 fi
   1507 
   1508 ## ------------------------ ##
   1509 ## Autoconf initialization. ##
   1510 ## ------------------------ ##
   1511 
   1512 # ac_fn_c_try_compile LINENO
   1513 # --------------------------
   1514 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1515 ac_fn_c_try_compile ()
   1516 {
   1517   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1518   rm -f conftest.$ac_objext
   1519   if { { ac_try="$ac_compile"
   1520 case "(($ac_try" in
   1521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1522   *) ac_try_echo=$ac_try;;
   1523 esac
   1524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1525 $as_echo "$ac_try_echo"; } >&5
   1526   (eval "$ac_compile") 2>conftest.err
   1527   ac_status=$?
   1528   if test -s conftest.err; then
   1529     grep -v '^ *+' conftest.err >conftest.er1
   1530     cat conftest.er1 >&5
   1531     mv -f conftest.er1 conftest.err
   1532   fi
   1533   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1534   test $ac_status = 0; } && {
   1535 	 test -z "$ac_c_werror_flag" ||
   1536 	 test ! -s conftest.err
   1537        } && test -s conftest.$ac_objext; then :
   1538   ac_retval=0
   1539 else
   1540   $as_echo "$as_me: failed program was:" >&5
   1541 sed 's/^/| /' conftest.$ac_ext >&5
   1542 
   1543 	ac_retval=1
   1544 fi
   1545   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1546   as_fn_set_status $ac_retval
   1547 
   1548 } # ac_fn_c_try_compile
   1549 
   1550 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1551 # ---------------------------------------------
   1552 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1553 # accordingly.
   1554 ac_fn_c_check_decl ()
   1555 {
   1556   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1557   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1558   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1560 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1561 if eval \${$3+:} false; then :
   1562   $as_echo_n "(cached) " >&6
   1563 else
   1564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1565 /* end confdefs.h.  */
   1566 $4
   1567 int
   1568 main ()
   1569 {
   1570 #ifndef $as_decl_name
   1571 #ifdef __cplusplus
   1572   (void) $as_decl_use;
   1573 #else
   1574   (void) $as_decl_name;
   1575 #endif
   1576 #endif
   1577 
   1578   ;
   1579   return 0;
   1580 }
   1581 _ACEOF
   1582 if ac_fn_c_try_compile "$LINENO"; then :
   1583   eval "$3=yes"
   1584 else
   1585   eval "$3=no"
   1586 fi
   1587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1588 fi
   1589 eval ac_res=\$$3
   1590 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1591 $as_echo "$ac_res" >&6; }
   1592   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1593 
   1594 } # ac_fn_c_check_decl
   1595 
   1596 # ac_fn_c_try_cpp LINENO
   1597 # ----------------------
   1598 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1599 ac_fn_c_try_cpp ()
   1600 {
   1601   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1602   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1603 case "(($ac_try" in
   1604   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1605   *) ac_try_echo=$ac_try;;
   1606 esac
   1607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1608 $as_echo "$ac_try_echo"; } >&5
   1609   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1610   ac_status=$?
   1611   if test -s conftest.err; then
   1612     grep -v '^ *+' conftest.err >conftest.er1
   1613     cat conftest.er1 >&5
   1614     mv -f conftest.er1 conftest.err
   1615   fi
   1616   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1617   test $ac_status = 0; } > conftest.i && {
   1618 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1619 	 test ! -s conftest.err
   1620        }; then :
   1621   ac_retval=0
   1622 else
   1623   $as_echo "$as_me: failed program was:" >&5
   1624 sed 's/^/| /' conftest.$ac_ext >&5
   1625 
   1626     ac_retval=1
   1627 fi
   1628   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1629   as_fn_set_status $ac_retval
   1630 
   1631 } # ac_fn_c_try_cpp
   1632 
   1633 # ac_fn_c_try_run LINENO
   1634 # ----------------------
   1635 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1636 # that executables *can* be run.
   1637 ac_fn_c_try_run ()
   1638 {
   1639   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1640   if { { ac_try="$ac_link"
   1641 case "(($ac_try" in
   1642   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1643   *) ac_try_echo=$ac_try;;
   1644 esac
   1645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1646 $as_echo "$ac_try_echo"; } >&5
   1647   (eval "$ac_link") 2>&5
   1648   ac_status=$?
   1649   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1650   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1651   { { case "(($ac_try" in
   1652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1653   *) ac_try_echo=$ac_try;;
   1654 esac
   1655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1656 $as_echo "$ac_try_echo"; } >&5
   1657   (eval "$ac_try") 2>&5
   1658   ac_status=$?
   1659   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1660   test $ac_status = 0; }; }; then :
   1661   ac_retval=0
   1662 else
   1663   $as_echo "$as_me: program exited with status $ac_status" >&5
   1664        $as_echo "$as_me: failed program was:" >&5
   1665 sed 's/^/| /' conftest.$ac_ext >&5
   1666 
   1667        ac_retval=$ac_status
   1668 fi
   1669   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1670   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1671   as_fn_set_status $ac_retval
   1672 
   1673 } # ac_fn_c_try_run
   1674 
   1675 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1676 # -------------------------------------------------------
   1677 # Tests whether HEADER exists and can be compiled using the include files in
   1678 # INCLUDES, setting the cache variable VAR accordingly.
   1679 ac_fn_c_check_header_compile ()
   1680 {
   1681   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1683 $as_echo_n "checking for $2... " >&6; }
   1684 if eval \${$3+:} false; then :
   1685   $as_echo_n "(cached) " >&6
   1686 else
   1687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1688 /* end confdefs.h.  */
   1689 $4
   1690 #include <$2>
   1691 _ACEOF
   1692 if ac_fn_c_try_compile "$LINENO"; then :
   1693   eval "$3=yes"
   1694 else
   1695   eval "$3=no"
   1696 fi
   1697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1698 fi
   1699 eval ac_res=\$$3
   1700 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1701 $as_echo "$ac_res" >&6; }
   1702   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1703 
   1704 } # ac_fn_c_check_header_compile
   1705 
   1706 # ac_fn_c_try_link LINENO
   1707 # -----------------------
   1708 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1709 ac_fn_c_try_link ()
   1710 {
   1711   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1712   rm -f conftest.$ac_objext conftest$ac_exeext
   1713   if { { ac_try="$ac_link"
   1714 case "(($ac_try" in
   1715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1716   *) ac_try_echo=$ac_try;;
   1717 esac
   1718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1719 $as_echo "$ac_try_echo"; } >&5
   1720   (eval "$ac_link") 2>conftest.err
   1721   ac_status=$?
   1722   if test -s conftest.err; then
   1723     grep -v '^ *+' conftest.err >conftest.er1
   1724     cat conftest.er1 >&5
   1725     mv -f conftest.er1 conftest.err
   1726   fi
   1727   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1728   test $ac_status = 0; } && {
   1729 	 test -z "$ac_c_werror_flag" ||
   1730 	 test ! -s conftest.err
   1731        } && test -s conftest$ac_exeext && {
   1732 	 test "$cross_compiling" = yes ||
   1733 	 $as_test_x conftest$ac_exeext
   1734        }; then :
   1735   ac_retval=0
   1736 else
   1737   $as_echo "$as_me: failed program was:" >&5
   1738 sed 's/^/| /' conftest.$ac_ext >&5
   1739 
   1740 	ac_retval=1
   1741 fi
   1742   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1743   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1744   # interfere with the next link command; also delete a directory that is
   1745   # left behind by Apple's compiler.  We do this before executing the actions.
   1746   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1747   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1748   as_fn_set_status $ac_retval
   1749 
   1750 } # ac_fn_c_try_link
   1751 
   1752 # ac_fn_c_check_func LINENO FUNC VAR
   1753 # ----------------------------------
   1754 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1755 ac_fn_c_check_func ()
   1756 {
   1757   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1759 $as_echo_n "checking for $2... " >&6; }
   1760 if eval \${$3+:} false; then :
   1761   $as_echo_n "(cached) " >&6
   1762 else
   1763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1764 /* end confdefs.h.  */
   1765 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1766    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1767 #define $2 innocuous_$2
   1768 
   1769 /* System header to define __stub macros and hopefully few prototypes,
   1770     which can conflict with char $2 (); below.
   1771     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1772     <limits.h> exists even on freestanding compilers.  */
   1773 
   1774 #ifdef __STDC__
   1775 # include <limits.h>
   1776 #else
   1777 # include <assert.h>
   1778 #endif
   1779 
   1780 #undef $2
   1781 
   1782 /* Override any GCC internal prototype to avoid an error.
   1783    Use char because int might match the return type of a GCC
   1784    builtin and then its argument prototype would still apply.  */
   1785 #ifdef __cplusplus
   1786 extern "C"
   1787 #endif
   1788 char $2 ();
   1789 /* The GNU C library defines this for functions which it implements
   1790     to always fail with ENOSYS.  Some functions are actually named
   1791     something starting with __ and the normal name is an alias.  */
   1792 #if defined __stub_$2 || defined __stub___$2
   1793 choke me
   1794 #endif
   1795 
   1796 int
   1797 main ()
   1798 {
   1799 return $2 ();
   1800   ;
   1801   return 0;
   1802 }
   1803 _ACEOF
   1804 if ac_fn_c_try_link "$LINENO"; then :
   1805   eval "$3=yes"
   1806 else
   1807   eval "$3=no"
   1808 fi
   1809 rm -f core conftest.err conftest.$ac_objext \
   1810     conftest$ac_exeext conftest.$ac_ext
   1811 fi
   1812 eval ac_res=\$$3
   1813 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1814 $as_echo "$ac_res" >&6; }
   1815   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1816 
   1817 } # ac_fn_c_check_func
   1818 cat >config.log <<_ACEOF
   1819 This file contains any messages produced by compilers while
   1820 running configure, to aid debugging if configure makes a mistake.
   1821 
   1822 It was created by bitmap $as_me 1.0.7, which was
   1823 generated by GNU Autoconf 2.68.  Invocation command line was
   1824 
   1825   $ $0 $@
   1826 
   1827 _ACEOF
   1828 exec 5>>config.log
   1829 {
   1830 cat <<_ASUNAME
   1831 ## --------- ##
   1832 ## Platform. ##
   1833 ## --------- ##
   1834 
   1835 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1836 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1837 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1838 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1839 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1840 
   1841 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1842 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1843 
   1844 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1845 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1846 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1847 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1848 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1849 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1850 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1851 
   1852 _ASUNAME
   1853 
   1854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1855 for as_dir in $PATH
   1856 do
   1857   IFS=$as_save_IFS
   1858   test -z "$as_dir" && as_dir=.
   1859     $as_echo "PATH: $as_dir"
   1860   done
   1861 IFS=$as_save_IFS
   1862 
   1863 } >&5
   1864 
   1865 cat >&5 <<_ACEOF
   1866 
   1867 
   1868 ## ----------- ##
   1869 ## Core tests. ##
   1870 ## ----------- ##
   1871 
   1872 _ACEOF
   1873 
   1874 
   1875 # Keep a trace of the command line.
   1876 # Strip out --no-create and --no-recursion so they do not pile up.
   1877 # Strip out --silent because we don't want to record it for future runs.
   1878 # Also quote any args containing shell meta-characters.
   1879 # Make two passes to allow for proper duplicate-argument suppression.
   1880 ac_configure_args=
   1881 ac_configure_args0=
   1882 ac_configure_args1=
   1883 ac_must_keep_next=false
   1884 for ac_pass in 1 2
   1885 do
   1886   for ac_arg
   1887   do
   1888     case $ac_arg in
   1889     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1890     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1891     | -silent | --silent | --silen | --sile | --sil)
   1892       continue ;;
   1893     *\'*)
   1894       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1895     esac
   1896     case $ac_pass in
   1897     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1898     2)
   1899       as_fn_append ac_configure_args1 " '$ac_arg'"
   1900       if test $ac_must_keep_next = true; then
   1901 	ac_must_keep_next=false # Got value, back to normal.
   1902       else
   1903 	case $ac_arg in
   1904 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1905 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1906 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1907 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1908 	    case "$ac_configure_args0 " in
   1909 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1910 	    esac
   1911 	    ;;
   1912 	  -* ) ac_must_keep_next=true ;;
   1913 	esac
   1914       fi
   1915       as_fn_append ac_configure_args " '$ac_arg'"
   1916       ;;
   1917     esac
   1918   done
   1919 done
   1920 { ac_configure_args0=; unset ac_configure_args0;}
   1921 { ac_configure_args1=; unset ac_configure_args1;}
   1922 
   1923 # When interrupted or exit'd, cleanup temporary files, and complete
   1924 # config.log.  We remove comments because anyway the quotes in there
   1925 # would cause problems or look ugly.
   1926 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1927 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1928 trap 'exit_status=$?
   1929   # Save into config.log some information that might help in debugging.
   1930   {
   1931     echo
   1932 
   1933     $as_echo "## ---------------- ##
   1934 ## Cache variables. ##
   1935 ## ---------------- ##"
   1936     echo
   1937     # The following way of writing the cache mishandles newlines in values,
   1938 (
   1939   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1940     eval ac_val=\$$ac_var
   1941     case $ac_val in #(
   1942     *${as_nl}*)
   1943       case $ac_var in #(
   1944       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1945 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1946       esac
   1947       case $ac_var in #(
   1948       _ | IFS | as_nl) ;; #(
   1949       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1950       *) { eval $ac_var=; unset $ac_var;} ;;
   1951       esac ;;
   1952     esac
   1953   done
   1954   (set) 2>&1 |
   1955     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1956     *${as_nl}ac_space=\ *)
   1957       sed -n \
   1958 	"s/'\''/'\''\\\\'\'''\''/g;
   1959 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1960       ;; #(
   1961     *)
   1962       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1963       ;;
   1964     esac |
   1965     sort
   1966 )
   1967     echo
   1968 
   1969     $as_echo "## ----------------- ##
   1970 ## Output variables. ##
   1971 ## ----------------- ##"
   1972     echo
   1973     for ac_var in $ac_subst_vars
   1974     do
   1975       eval ac_val=\$$ac_var
   1976       case $ac_val in
   1977       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1978       esac
   1979       $as_echo "$ac_var='\''$ac_val'\''"
   1980     done | sort
   1981     echo
   1982 
   1983     if test -n "$ac_subst_files"; then
   1984       $as_echo "## ------------------- ##
   1985 ## File substitutions. ##
   1986 ## ------------------- ##"
   1987       echo
   1988       for ac_var in $ac_subst_files
   1989       do
   1990 	eval ac_val=\$$ac_var
   1991 	case $ac_val in
   1992 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1993 	esac
   1994 	$as_echo "$ac_var='\''$ac_val'\''"
   1995       done | sort
   1996       echo
   1997     fi
   1998 
   1999     if test -s confdefs.h; then
   2000       $as_echo "## ----------- ##
   2001 ## confdefs.h. ##
   2002 ## ----------- ##"
   2003       echo
   2004       cat confdefs.h
   2005       echo
   2006     fi
   2007     test "$ac_signal" != 0 &&
   2008       $as_echo "$as_me: caught signal $ac_signal"
   2009     $as_echo "$as_me: exit $exit_status"
   2010   } >&5
   2011   rm -f core *.core core.conftest.* &&
   2012     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2013     exit $exit_status
   2014 ' 0
   2015 for ac_signal in 1 2 13 15; do
   2016   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2017 done
   2018 ac_signal=0
   2019 
   2020 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2021 rm -f -r conftest* confdefs.h
   2022 
   2023 $as_echo "/* confdefs.h */" > confdefs.h
   2024 
   2025 # Predefined preprocessor variables.
   2026 
   2027 cat >>confdefs.h <<_ACEOF
   2028 #define PACKAGE_NAME "$PACKAGE_NAME"
   2029 _ACEOF
   2030 
   2031 cat >>confdefs.h <<_ACEOF
   2032 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2033 _ACEOF
   2034 
   2035 cat >>confdefs.h <<_ACEOF
   2036 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2037 _ACEOF
   2038 
   2039 cat >>confdefs.h <<_ACEOF
   2040 #define PACKAGE_STRING "$PACKAGE_STRING"
   2041 _ACEOF
   2042 
   2043 cat >>confdefs.h <<_ACEOF
   2044 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2045 _ACEOF
   2046 
   2047 cat >>confdefs.h <<_ACEOF
   2048 #define PACKAGE_URL "$PACKAGE_URL"
   2049 _ACEOF
   2050 
   2051 
   2052 # Let the site file select an alternate cache file if it wants to.
   2053 # Prefer an explicitly selected file to automatically selected ones.
   2054 ac_site_file1=NONE
   2055 ac_site_file2=NONE
   2056 if test -n "$CONFIG_SITE"; then
   2057   # We do not want a PATH search for config.site.
   2058   case $CONFIG_SITE in #((
   2059     -*)  ac_site_file1=./$CONFIG_SITE;;
   2060     */*) ac_site_file1=$CONFIG_SITE;;
   2061     *)   ac_site_file1=./$CONFIG_SITE;;
   2062   esac
   2063 elif test "x$prefix" != xNONE; then
   2064   ac_site_file1=$prefix/share/config.site
   2065   ac_site_file2=$prefix/etc/config.site
   2066 else
   2067   ac_site_file1=$ac_default_prefix/share/config.site
   2068   ac_site_file2=$ac_default_prefix/etc/config.site
   2069 fi
   2070 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2071 do
   2072   test "x$ac_site_file" = xNONE && continue
   2073   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2074     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2075 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2076     sed 's/^/| /' "$ac_site_file" >&5
   2077     . "$ac_site_file" \
   2078       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2080 as_fn_error $? "failed to load site script $ac_site_file
   2081 See \`config.log' for more details" "$LINENO" 5; }
   2082   fi
   2083 done
   2084 
   2085 if test -r "$cache_file"; then
   2086   # Some versions of bash will fail to source /dev/null (special files
   2087   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2088   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2089     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2090 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2091     case $cache_file in
   2092       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2093       *)                      . "./$cache_file";;
   2094     esac
   2095   fi
   2096 else
   2097   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2098 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2099   >$cache_file
   2100 fi
   2101 
   2102 # Check that the precious variables saved in the cache have kept the same
   2103 # value.
   2104 ac_cache_corrupted=false
   2105 for ac_var in $ac_precious_vars; do
   2106   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2107   eval ac_new_set=\$ac_env_${ac_var}_set
   2108   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2109   eval ac_new_val=\$ac_env_${ac_var}_value
   2110   case $ac_old_set,$ac_new_set in
   2111     set,)
   2112       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2113 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2114       ac_cache_corrupted=: ;;
   2115     ,set)
   2116       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2117 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2118       ac_cache_corrupted=: ;;
   2119     ,);;
   2120     *)
   2121       if test "x$ac_old_val" != "x$ac_new_val"; then
   2122 	# differences in whitespace do not lead to failure.
   2123 	ac_old_val_w=`echo x $ac_old_val`
   2124 	ac_new_val_w=`echo x $ac_new_val`
   2125 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2126 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2127 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2128 	  ac_cache_corrupted=:
   2129 	else
   2130 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2131 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2132 	  eval $ac_var=\$ac_old_val
   2133 	fi
   2134 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2135 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2136 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2137 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2138       fi;;
   2139   esac
   2140   # Pass precious variables to config.status.
   2141   if test "$ac_new_set" = set; then
   2142     case $ac_new_val in
   2143     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2144     *) ac_arg=$ac_var=$ac_new_val ;;
   2145     esac
   2146     case " $ac_configure_args " in
   2147       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2148       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2149     esac
   2150   fi
   2151 done
   2152 if $ac_cache_corrupted; then
   2153   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2155   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2156 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2157   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2158 fi
   2159 ## -------------------- ##
   2160 ## Main body of script. ##
   2161 ## -------------------- ##
   2162 
   2163 ac_ext=c
   2164 ac_cpp='$CPP $CPPFLAGS'
   2165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2168 
   2169 
   2170 
   2171 ac_config_headers="$ac_config_headers config.h"
   2172 
   2173 
   2174 # Initialize Automake
   2175 am__api_version='1.13'
   2176 
   2177 ac_aux_dir=
   2178 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2179   if test -f "$ac_dir/install-sh"; then
   2180     ac_aux_dir=$ac_dir
   2181     ac_install_sh="$ac_aux_dir/install-sh -c"
   2182     break
   2183   elif test -f "$ac_dir/install.sh"; then
   2184     ac_aux_dir=$ac_dir
   2185     ac_install_sh="$ac_aux_dir/install.sh -c"
   2186     break
   2187   elif test -f "$ac_dir/shtool"; then
   2188     ac_aux_dir=$ac_dir
   2189     ac_install_sh="$ac_aux_dir/shtool install -c"
   2190     break
   2191   fi
   2192 done
   2193 if test -z "$ac_aux_dir"; then
   2194   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2195 fi
   2196 
   2197 # These three variables are undocumented and unsupported,
   2198 # and are intended to be withdrawn in a future Autoconf release.
   2199 # They can cause serious problems if a builder's source tree is in a directory
   2200 # whose full name contains unusual characters.
   2201 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2202 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2203 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2204 
   2205 
   2206 # Find a good install program.  We prefer a C program (faster),
   2207 # so one script is as good as another.  But avoid the broken or
   2208 # incompatible versions:
   2209 # SysV /etc/install, /usr/sbin/install
   2210 # SunOS /usr/etc/install
   2211 # IRIX /sbin/install
   2212 # AIX /bin/install
   2213 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2214 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2215 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2216 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2217 # OS/2's system install, which has a completely different semantic
   2218 # ./install, which can be erroneously created by make from ./install.sh.
   2219 # Reject install programs that cannot install multiple files.
   2220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2221 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2222 if test -z "$INSTALL"; then
   2223 if ${ac_cv_path_install+:} false; then :
   2224   $as_echo_n "(cached) " >&6
   2225 else
   2226   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2227 for as_dir in $PATH
   2228 do
   2229   IFS=$as_save_IFS
   2230   test -z "$as_dir" && as_dir=.
   2231     # Account for people who put trailing slashes in PATH elements.
   2232 case $as_dir/ in #((
   2233   ./ | .// | /[cC]/* | \
   2234   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2235   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2236   /usr/ucb/* ) ;;
   2237   *)
   2238     # OSF1 and SCO ODT 3.0 have their own names for install.
   2239     # Don't use installbsd from OSF since it installs stuff as root
   2240     # by default.
   2241     for ac_prog in ginstall scoinst install; do
   2242       for ac_exec_ext in '' $ac_executable_extensions; do
   2243 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2244 	  if test $ac_prog = install &&
   2245 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2246 	    # AIX install.  It has an incompatible calling convention.
   2247 	    :
   2248 	  elif test $ac_prog = install &&
   2249 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2250 	    # program-specific install script used by HP pwplus--don't use.
   2251 	    :
   2252 	  else
   2253 	    rm -rf conftest.one conftest.two conftest.dir
   2254 	    echo one > conftest.one
   2255 	    echo two > conftest.two
   2256 	    mkdir conftest.dir
   2257 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2258 	      test -s conftest.one && test -s conftest.two &&
   2259 	      test -s conftest.dir/conftest.one &&
   2260 	      test -s conftest.dir/conftest.two
   2261 	    then
   2262 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2263 	      break 3
   2264 	    fi
   2265 	  fi
   2266 	fi
   2267       done
   2268     done
   2269     ;;
   2270 esac
   2271 
   2272   done
   2273 IFS=$as_save_IFS
   2274 
   2275 rm -rf conftest.one conftest.two conftest.dir
   2276 
   2277 fi
   2278   if test "${ac_cv_path_install+set}" = set; then
   2279     INSTALL=$ac_cv_path_install
   2280   else
   2281     # As a last resort, use the slow shell script.  Don't cache a
   2282     # value for INSTALL within a source directory, because that will
   2283     # break other packages using the cache if that directory is
   2284     # removed, or if the value is a relative name.
   2285     INSTALL=$ac_install_sh
   2286   fi
   2287 fi
   2288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2289 $as_echo "$INSTALL" >&6; }
   2290 
   2291 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2292 # It thinks the first close brace ends the variable substitution.
   2293 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2294 
   2295 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2296 
   2297 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2298 
   2299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2300 $as_echo_n "checking whether build environment is sane... " >&6; }
   2301 # Reject unsafe characters in $srcdir or the absolute working directory
   2302 # name.  Accept space and tab only in the latter.
   2303 am_lf='
   2304 '
   2305 case `pwd` in
   2306   *[\\\"\#\$\&\'\`$am_lf]*)
   2307     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2308 esac
   2309 case $srcdir in
   2310   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2311     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2312 esac
   2313 
   2314 # Do 'set' in a subshell so we don't clobber the current shell's
   2315 # arguments.  Must try -L first in case configure is actually a
   2316 # symlink; some systems play weird games with the mod time of symlinks
   2317 # (eg FreeBSD returns the mod time of the symlink's containing
   2318 # directory).
   2319 if (
   2320    am_has_slept=no
   2321    for am_try in 1 2; do
   2322      echo "timestamp, slept: $am_has_slept" > conftest.file
   2323      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2324      if test "$*" = "X"; then
   2325 	# -L didn't work.
   2326 	set X `ls -t "$srcdir/configure" conftest.file`
   2327      fi
   2328      if test "$*" != "X $srcdir/configure conftest.file" \
   2329 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2330 
   2331 	# If neither matched, then we have a broken ls.  This can happen
   2332 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2333 	# broken ls alias from the environment.  This has actually
   2334 	# happened.  Such a system could not be considered "sane".
   2335 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2336   alias in your environment" "$LINENO" 5
   2337      fi
   2338      if test "$2" = conftest.file || test $am_try -eq 2; then
   2339        break
   2340      fi
   2341      # Just in case.
   2342      sleep 1
   2343      am_has_slept=yes
   2344    done
   2345    test "$2" = conftest.file
   2346    )
   2347 then
   2348    # Ok.
   2349    :
   2350 else
   2351    as_fn_error $? "newly created file is older than distributed files!
   2352 Check your system clock" "$LINENO" 5
   2353 fi
   2354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2355 $as_echo "yes" >&6; }
   2356 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2357 # generated files are strictly newer.
   2358 am_sleep_pid=
   2359 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2360   ( sleep 1 ) &
   2361   am_sleep_pid=$!
   2362 fi
   2363 
   2364 rm -f conftest.file
   2365 
   2366 test "$program_prefix" != NONE &&
   2367   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2368 # Use a double $ so make ignores it.
   2369 test "$program_suffix" != NONE &&
   2370   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2371 # Double any \ or $.
   2372 # By default was `s,x,x', remove it if useless.
   2373 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2374 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2375 
   2376 # expand $ac_aux_dir to an absolute path
   2377 am_aux_dir=`cd $ac_aux_dir && pwd`
   2378 
   2379 if test x"${MISSING+set}" != xset; then
   2380   case $am_aux_dir in
   2381   *\ * | *\	*)
   2382     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2383   *)
   2384     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2385   esac
   2386 fi
   2387 # Use eval to expand $SHELL
   2388 if eval "$MISSING --is-lightweight"; then
   2389   am_missing_run="$MISSING "
   2390 else
   2391   am_missing_run=
   2392   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2393 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2394 fi
   2395 
   2396 if test x"${install_sh}" != xset; then
   2397   case $am_aux_dir in
   2398   *\ * | *\	*)
   2399     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2400   *)
   2401     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2402   esac
   2403 fi
   2404 
   2405 # Installed binaries are usually stripped using 'strip' when the user
   2406 # run "make install-strip".  However 'strip' might not be the right
   2407 # tool to use in cross-compilation environments, therefore Automake
   2408 # will honor the 'STRIP' environment variable to overrule this program.
   2409 if test "$cross_compiling" != no; then
   2410   if test -n "$ac_tool_prefix"; then
   2411   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2412 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2414 $as_echo_n "checking for $ac_word... " >&6; }
   2415 if ${ac_cv_prog_STRIP+:} false; then :
   2416   $as_echo_n "(cached) " >&6
   2417 else
   2418   if test -n "$STRIP"; then
   2419   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2420 else
   2421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2422 for as_dir in $PATH
   2423 do
   2424   IFS=$as_save_IFS
   2425   test -z "$as_dir" && as_dir=.
   2426     for ac_exec_ext in '' $ac_executable_extensions; do
   2427   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2428     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2429     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2430     break 2
   2431   fi
   2432 done
   2433   done
   2434 IFS=$as_save_IFS
   2435 
   2436 fi
   2437 fi
   2438 STRIP=$ac_cv_prog_STRIP
   2439 if test -n "$STRIP"; then
   2440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2441 $as_echo "$STRIP" >&6; }
   2442 else
   2443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2444 $as_echo "no" >&6; }
   2445 fi
   2446 
   2447 
   2448 fi
   2449 if test -z "$ac_cv_prog_STRIP"; then
   2450   ac_ct_STRIP=$STRIP
   2451   # Extract the first word of "strip", so it can be a program name with args.
   2452 set dummy strip; ac_word=$2
   2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2454 $as_echo_n "checking for $ac_word... " >&6; }
   2455 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2456   $as_echo_n "(cached) " >&6
   2457 else
   2458   if test -n "$ac_ct_STRIP"; then
   2459   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2460 else
   2461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2462 for as_dir in $PATH
   2463 do
   2464   IFS=$as_save_IFS
   2465   test -z "$as_dir" && as_dir=.
   2466     for ac_exec_ext in '' $ac_executable_extensions; do
   2467   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2468     ac_cv_prog_ac_ct_STRIP="strip"
   2469     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2470     break 2
   2471   fi
   2472 done
   2473   done
   2474 IFS=$as_save_IFS
   2475 
   2476 fi
   2477 fi
   2478 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2479 if test -n "$ac_ct_STRIP"; then
   2480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2481 $as_echo "$ac_ct_STRIP" >&6; }
   2482 else
   2483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2484 $as_echo "no" >&6; }
   2485 fi
   2486 
   2487   if test "x$ac_ct_STRIP" = x; then
   2488     STRIP=":"
   2489   else
   2490     case $cross_compiling:$ac_tool_warned in
   2491 yes:)
   2492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2494 ac_tool_warned=yes ;;
   2495 esac
   2496     STRIP=$ac_ct_STRIP
   2497   fi
   2498 else
   2499   STRIP="$ac_cv_prog_STRIP"
   2500 fi
   2501 
   2502 fi
   2503 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2504 
   2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2506 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2507 if test -z "$MKDIR_P"; then
   2508   if ${ac_cv_path_mkdir+:} false; then :
   2509   $as_echo_n "(cached) " >&6
   2510 else
   2511   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2512 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2513 do
   2514   IFS=$as_save_IFS
   2515   test -z "$as_dir" && as_dir=.
   2516     for ac_prog in mkdir gmkdir; do
   2517 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2518 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2519 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2520 	     'mkdir (GNU coreutils) '* | \
   2521 	     'mkdir (coreutils) '* | \
   2522 	     'mkdir (fileutils) '4.1*)
   2523 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2524 	       break 3;;
   2525 	   esac
   2526 	 done
   2527        done
   2528   done
   2529 IFS=$as_save_IFS
   2530 
   2531 fi
   2532 
   2533   test -d ./--version && rmdir ./--version
   2534   if test "${ac_cv_path_mkdir+set}" = set; then
   2535     MKDIR_P="$ac_cv_path_mkdir -p"
   2536   else
   2537     # As a last resort, use the slow shell script.  Don't cache a
   2538     # value for MKDIR_P within a source directory, because that will
   2539     # break other packages using the cache if that directory is
   2540     # removed, or if the value is a relative name.
   2541     MKDIR_P="$ac_install_sh -d"
   2542   fi
   2543 fi
   2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2545 $as_echo "$MKDIR_P" >&6; }
   2546 
   2547 for ac_prog in gawk mawk nawk awk
   2548 do
   2549   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2550 set dummy $ac_prog; ac_word=$2
   2551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2552 $as_echo_n "checking for $ac_word... " >&6; }
   2553 if ${ac_cv_prog_AWK+:} false; then :
   2554   $as_echo_n "(cached) " >&6
   2555 else
   2556   if test -n "$AWK"; then
   2557   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2558 else
   2559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2560 for as_dir in $PATH
   2561 do
   2562   IFS=$as_save_IFS
   2563   test -z "$as_dir" && as_dir=.
   2564     for ac_exec_ext in '' $ac_executable_extensions; do
   2565   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2566     ac_cv_prog_AWK="$ac_prog"
   2567     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2568     break 2
   2569   fi
   2570 done
   2571   done
   2572 IFS=$as_save_IFS
   2573 
   2574 fi
   2575 fi
   2576 AWK=$ac_cv_prog_AWK
   2577 if test -n "$AWK"; then
   2578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2579 $as_echo "$AWK" >&6; }
   2580 else
   2581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2582 $as_echo "no" >&6; }
   2583 fi
   2584 
   2585 
   2586   test -n "$AWK" && break
   2587 done
   2588 
   2589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2590 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2591 set x ${MAKE-make}
   2592 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2593 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2594   $as_echo_n "(cached) " >&6
   2595 else
   2596   cat >conftest.make <<\_ACEOF
   2597 SHELL = /bin/sh
   2598 all:
   2599 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2600 _ACEOF
   2601 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2602 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2603   *@@@%%%=?*=@@@%%%*)
   2604     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2605   *)
   2606     eval ac_cv_prog_make_${ac_make}_set=no;;
   2607 esac
   2608 rm -f conftest.make
   2609 fi
   2610 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2612 $as_echo "yes" >&6; }
   2613   SET_MAKE=
   2614 else
   2615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2616 $as_echo "no" >&6; }
   2617   SET_MAKE="MAKE=${MAKE-make}"
   2618 fi
   2619 
   2620 rm -rf .tst 2>/dev/null
   2621 mkdir .tst 2>/dev/null
   2622 if test -d .tst; then
   2623   am__leading_dot=.
   2624 else
   2625   am__leading_dot=_
   2626 fi
   2627 rmdir .tst 2>/dev/null
   2628 
   2629 # Check whether --enable-silent-rules was given.
   2630 if test "${enable_silent_rules+set}" = set; then :
   2631   enableval=$enable_silent_rules;
   2632 fi
   2633 
   2634 case $enable_silent_rules in # (((
   2635   yes) AM_DEFAULT_VERBOSITY=0;;
   2636    no) AM_DEFAULT_VERBOSITY=1;;
   2637     *) AM_DEFAULT_VERBOSITY=1;;
   2638 esac
   2639 am_make=${MAKE-make}
   2640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2641 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2642 if ${am_cv_make_support_nested_variables+:} false; then :
   2643   $as_echo_n "(cached) " >&6
   2644 else
   2645   if $as_echo 'TRUE=$(BAR$(V))
   2646 BAR0=false
   2647 BAR1=true
   2648 V=1
   2649 am__doit:
   2650 	@$(TRUE)
   2651 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2652   am_cv_make_support_nested_variables=yes
   2653 else
   2654   am_cv_make_support_nested_variables=no
   2655 fi
   2656 fi
   2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2658 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2659 if test $am_cv_make_support_nested_variables = yes; then
   2660     AM_V='$(V)'
   2661   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2662 else
   2663   AM_V=$AM_DEFAULT_VERBOSITY
   2664   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2665 fi
   2666 AM_BACKSLASH='\'
   2667 
   2668 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2669   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2670   # is not polluted with repeated "-I."
   2671   am__isrc=' -I$(srcdir)'
   2672   # test to see if srcdir already configured
   2673   if test -f $srcdir/config.status; then
   2674     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2675   fi
   2676 fi
   2677 
   2678 # test whether we have cygpath
   2679 if test -z "$CYGPATH_W"; then
   2680   if (cygpath --version) >/dev/null 2>/dev/null; then
   2681     CYGPATH_W='cygpath -w'
   2682   else
   2683     CYGPATH_W=echo
   2684   fi
   2685 fi
   2686 
   2687 
   2688 # Define the identity of the package.
   2689  PACKAGE='bitmap'
   2690  VERSION='1.0.7'
   2691 
   2692 
   2693 cat >>confdefs.h <<_ACEOF
   2694 #define PACKAGE "$PACKAGE"
   2695 _ACEOF
   2696 
   2697 
   2698 cat >>confdefs.h <<_ACEOF
   2699 #define VERSION "$VERSION"
   2700 _ACEOF
   2701 
   2702 # Some tools Automake needs.
   2703 
   2704 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2705 
   2706 
   2707 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2708 
   2709 
   2710 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2711 
   2712 
   2713 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2714 
   2715 
   2716 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2717 
   2718 # For better backward compatibility.  To be removed once Automake 1.9.x
   2719 # dies out for good.  For more background, see:
   2720 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2721 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2722 mkdir_p='$(MKDIR_P)'
   2723 
   2724 # We need awk for the "check" target.  The system "awk" is bad on
   2725 # some platforms.
   2726 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2727 # in the wild :-(  We should find a proper way to deprecate it ...
   2728 AMTAR='$${TAR-tar}'
   2729 
   2730 
   2731 # We'll loop over all known methods to create a tar archive until one works.
   2732 _am_tools='gnutar  pax cpio none'
   2733 
   2734 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2735 
   2736 
   2737 
   2738 
   2739 
   2740 
   2741 
   2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2743 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2744     # Check whether --enable-maintainer-mode was given.
   2745 if test "${enable_maintainer_mode+set}" = set; then :
   2746   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2747 else
   2748   USE_MAINTAINER_MODE=no
   2749 fi
   2750 
   2751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2752 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2753    if test $USE_MAINTAINER_MODE = yes; then
   2754   MAINTAINER_MODE_TRUE=
   2755   MAINTAINER_MODE_FALSE='#'
   2756 else
   2757   MAINTAINER_MODE_TRUE='#'
   2758   MAINTAINER_MODE_FALSE=
   2759 fi
   2760 
   2761   MAINT=$MAINTAINER_MODE_TRUE
   2762 
   2763 
   2764 
   2765 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2766 
   2767 
   2768 
   2769 
   2770 
   2771 
   2772 
   2773 
   2774 
   2775 
   2776 
   2777 DEPDIR="${am__leading_dot}deps"
   2778 
   2779 ac_config_commands="$ac_config_commands depfiles"
   2780 
   2781 
   2782 am_make=${MAKE-make}
   2783 cat > confinc << 'END'
   2784 am__doit:
   2785 	@echo this is the am__doit target
   2786 .PHONY: am__doit
   2787 END
   2788 # If we don't find an include directive, just comment out the code.
   2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2790 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2791 am__include="#"
   2792 am__quote=
   2793 _am_result=none
   2794 # First try GNU make style include.
   2795 echo "include confinc" > confmf
   2796 # Ignore all kinds of additional output from 'make'.
   2797 case `$am_make -s -f confmf 2> /dev/null` in #(
   2798 *the\ am__doit\ target*)
   2799   am__include=include
   2800   am__quote=
   2801   _am_result=GNU
   2802   ;;
   2803 esac
   2804 # Now try BSD make style include.
   2805 if test "$am__include" = "#"; then
   2806    echo '.include "confinc"' > confmf
   2807    case `$am_make -s -f confmf 2> /dev/null` in #(
   2808    *the\ am__doit\ target*)
   2809      am__include=.include
   2810      am__quote="\""
   2811      _am_result=BSD
   2812      ;;
   2813    esac
   2814 fi
   2815 
   2816 
   2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2818 $as_echo "$_am_result" >&6; }
   2819 rm -f confinc confmf
   2820 
   2821 # Check whether --enable-dependency-tracking was given.
   2822 if test "${enable_dependency_tracking+set}" = set; then :
   2823   enableval=$enable_dependency_tracking;
   2824 fi
   2825 
   2826 if test "x$enable_dependency_tracking" != xno; then
   2827   am_depcomp="$ac_aux_dir/depcomp"
   2828   AMDEPBACKSLASH='\'
   2829   am__nodep='_no'
   2830 fi
   2831  if test "x$enable_dependency_tracking" != xno; then
   2832   AMDEP_TRUE=
   2833   AMDEP_FALSE='#'
   2834 else
   2835   AMDEP_TRUE='#'
   2836   AMDEP_FALSE=
   2837 fi
   2838 
   2839 
   2840 ac_ext=c
   2841 ac_cpp='$CPP $CPPFLAGS'
   2842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2845 if test -n "$ac_tool_prefix"; then
   2846   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2847 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2849 $as_echo_n "checking for $ac_word... " >&6; }
   2850 if ${ac_cv_prog_CC+:} false; then :
   2851   $as_echo_n "(cached) " >&6
   2852 else
   2853   if test -n "$CC"; then
   2854   ac_cv_prog_CC="$CC" # Let the user override the test.
   2855 else
   2856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2857 for as_dir in $PATH
   2858 do
   2859   IFS=$as_save_IFS
   2860   test -z "$as_dir" && as_dir=.
   2861     for ac_exec_ext in '' $ac_executable_extensions; do
   2862   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2863     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2864     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2865     break 2
   2866   fi
   2867 done
   2868   done
   2869 IFS=$as_save_IFS
   2870 
   2871 fi
   2872 fi
   2873 CC=$ac_cv_prog_CC
   2874 if test -n "$CC"; then
   2875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2876 $as_echo "$CC" >&6; }
   2877 else
   2878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2879 $as_echo "no" >&6; }
   2880 fi
   2881 
   2882 
   2883 fi
   2884 if test -z "$ac_cv_prog_CC"; then
   2885   ac_ct_CC=$CC
   2886   # Extract the first word of "gcc", so it can be a program name with args.
   2887 set dummy gcc; ac_word=$2
   2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2889 $as_echo_n "checking for $ac_word... " >&6; }
   2890 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2891   $as_echo_n "(cached) " >&6
   2892 else
   2893   if test -n "$ac_ct_CC"; then
   2894   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2895 else
   2896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2897 for as_dir in $PATH
   2898 do
   2899   IFS=$as_save_IFS
   2900   test -z "$as_dir" && as_dir=.
   2901     for ac_exec_ext in '' $ac_executable_extensions; do
   2902   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2903     ac_cv_prog_ac_ct_CC="gcc"
   2904     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2905     break 2
   2906   fi
   2907 done
   2908   done
   2909 IFS=$as_save_IFS
   2910 
   2911 fi
   2912 fi
   2913 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2914 if test -n "$ac_ct_CC"; then
   2915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2916 $as_echo "$ac_ct_CC" >&6; }
   2917 else
   2918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2919 $as_echo "no" >&6; }
   2920 fi
   2921 
   2922   if test "x$ac_ct_CC" = x; then
   2923     CC=""
   2924   else
   2925     case $cross_compiling:$ac_tool_warned in
   2926 yes:)
   2927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2929 ac_tool_warned=yes ;;
   2930 esac
   2931     CC=$ac_ct_CC
   2932   fi
   2933 else
   2934   CC="$ac_cv_prog_CC"
   2935 fi
   2936 
   2937 if test -z "$CC"; then
   2938           if test -n "$ac_tool_prefix"; then
   2939     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2940 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2942 $as_echo_n "checking for $ac_word... " >&6; }
   2943 if ${ac_cv_prog_CC+:} false; then :
   2944   $as_echo_n "(cached) " >&6
   2945 else
   2946   if test -n "$CC"; then
   2947   ac_cv_prog_CC="$CC" # Let the user override the test.
   2948 else
   2949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2950 for as_dir in $PATH
   2951 do
   2952   IFS=$as_save_IFS
   2953   test -z "$as_dir" && as_dir=.
   2954     for ac_exec_ext in '' $ac_executable_extensions; do
   2955   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2956     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2957     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2958     break 2
   2959   fi
   2960 done
   2961   done
   2962 IFS=$as_save_IFS
   2963 
   2964 fi
   2965 fi
   2966 CC=$ac_cv_prog_CC
   2967 if test -n "$CC"; then
   2968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2969 $as_echo "$CC" >&6; }
   2970 else
   2971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2972 $as_echo "no" >&6; }
   2973 fi
   2974 
   2975 
   2976   fi
   2977 fi
   2978 if test -z "$CC"; then
   2979   # Extract the first word of "cc", so it can be a program name with args.
   2980 set dummy cc; ac_word=$2
   2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2982 $as_echo_n "checking for $ac_word... " >&6; }
   2983 if ${ac_cv_prog_CC+:} false; then :
   2984   $as_echo_n "(cached) " >&6
   2985 else
   2986   if test -n "$CC"; then
   2987   ac_cv_prog_CC="$CC" # Let the user override the test.
   2988 else
   2989   ac_prog_rejected=no
   2990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2991 for as_dir in $PATH
   2992 do
   2993   IFS=$as_save_IFS
   2994   test -z "$as_dir" && as_dir=.
   2995     for ac_exec_ext in '' $ac_executable_extensions; do
   2996   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2997     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2998        ac_prog_rejected=yes
   2999        continue
   3000      fi
   3001     ac_cv_prog_CC="cc"
   3002     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3003     break 2
   3004   fi
   3005 done
   3006   done
   3007 IFS=$as_save_IFS
   3008 
   3009 if test $ac_prog_rejected = yes; then
   3010   # We found a bogon in the path, so make sure we never use it.
   3011   set dummy $ac_cv_prog_CC
   3012   shift
   3013   if test $# != 0; then
   3014     # We chose a different compiler from the bogus one.
   3015     # However, it has the same basename, so the bogon will be chosen
   3016     # first if we set CC to just the basename; use the full file name.
   3017     shift
   3018     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3019   fi
   3020 fi
   3021 fi
   3022 fi
   3023 CC=$ac_cv_prog_CC
   3024 if test -n "$CC"; then
   3025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3026 $as_echo "$CC" >&6; }
   3027 else
   3028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3029 $as_echo "no" >&6; }
   3030 fi
   3031 
   3032 
   3033 fi
   3034 if test -z "$CC"; then
   3035   if test -n "$ac_tool_prefix"; then
   3036   for ac_prog in cl.exe
   3037   do
   3038     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3039 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3041 $as_echo_n "checking for $ac_word... " >&6; }
   3042 if ${ac_cv_prog_CC+:} false; then :
   3043   $as_echo_n "(cached) " >&6
   3044 else
   3045   if test -n "$CC"; then
   3046   ac_cv_prog_CC="$CC" # Let the user override the test.
   3047 else
   3048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3049 for as_dir in $PATH
   3050 do
   3051   IFS=$as_save_IFS
   3052   test -z "$as_dir" && as_dir=.
   3053     for ac_exec_ext in '' $ac_executable_extensions; do
   3054   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3055     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3056     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3057     break 2
   3058   fi
   3059 done
   3060   done
   3061 IFS=$as_save_IFS
   3062 
   3063 fi
   3064 fi
   3065 CC=$ac_cv_prog_CC
   3066 if test -n "$CC"; then
   3067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3068 $as_echo "$CC" >&6; }
   3069 else
   3070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3071 $as_echo "no" >&6; }
   3072 fi
   3073 
   3074 
   3075     test -n "$CC" && break
   3076   done
   3077 fi
   3078 if test -z "$CC"; then
   3079   ac_ct_CC=$CC
   3080   for ac_prog in cl.exe
   3081 do
   3082   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3083 set dummy $ac_prog; ac_word=$2
   3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3085 $as_echo_n "checking for $ac_word... " >&6; }
   3086 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3087   $as_echo_n "(cached) " >&6
   3088 else
   3089   if test -n "$ac_ct_CC"; then
   3090   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3091 else
   3092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3093 for as_dir in $PATH
   3094 do
   3095   IFS=$as_save_IFS
   3096   test -z "$as_dir" && as_dir=.
   3097     for ac_exec_ext in '' $ac_executable_extensions; do
   3098   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3099     ac_cv_prog_ac_ct_CC="$ac_prog"
   3100     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3101     break 2
   3102   fi
   3103 done
   3104   done
   3105 IFS=$as_save_IFS
   3106 
   3107 fi
   3108 fi
   3109 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3110 if test -n "$ac_ct_CC"; then
   3111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3112 $as_echo "$ac_ct_CC" >&6; }
   3113 else
   3114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3115 $as_echo "no" >&6; }
   3116 fi
   3117 
   3118 
   3119   test -n "$ac_ct_CC" && break
   3120 done
   3121 
   3122   if test "x$ac_ct_CC" = x; then
   3123     CC=""
   3124   else
   3125     case $cross_compiling:$ac_tool_warned in
   3126 yes:)
   3127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3128 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3129 ac_tool_warned=yes ;;
   3130 esac
   3131     CC=$ac_ct_CC
   3132   fi
   3133 fi
   3134 
   3135 fi
   3136 
   3137 
   3138 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3140 as_fn_error $? "no acceptable C compiler found in \$PATH
   3141 See \`config.log' for more details" "$LINENO" 5; }
   3142 
   3143 # Provide some information about the compiler.
   3144 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3145 set X $ac_compile
   3146 ac_compiler=$2
   3147 for ac_option in --version -v -V -qversion; do
   3148   { { ac_try="$ac_compiler $ac_option >&5"
   3149 case "(($ac_try" in
   3150   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3151   *) ac_try_echo=$ac_try;;
   3152 esac
   3153 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3154 $as_echo "$ac_try_echo"; } >&5
   3155   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3156   ac_status=$?
   3157   if test -s conftest.err; then
   3158     sed '10a\
   3159 ... rest of stderr output deleted ...
   3160          10q' conftest.err >conftest.er1
   3161     cat conftest.er1 >&5
   3162   fi
   3163   rm -f conftest.er1 conftest.err
   3164   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3165   test $ac_status = 0; }
   3166 done
   3167 
   3168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3169 /* end confdefs.h.  */
   3170 
   3171 int
   3172 main ()
   3173 {
   3174 
   3175   ;
   3176   return 0;
   3177 }
   3178 _ACEOF
   3179 ac_clean_files_save=$ac_clean_files
   3180 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3181 # Try to create an executable without -o first, disregard a.out.
   3182 # It will help us diagnose broken compilers, and finding out an intuition
   3183 # of exeext.
   3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3185 $as_echo_n "checking whether the C compiler works... " >&6; }
   3186 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3187 
   3188 # The possible output files:
   3189 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3190 
   3191 ac_rmfiles=
   3192 for ac_file in $ac_files
   3193 do
   3194   case $ac_file in
   3195     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3196     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3197   esac
   3198 done
   3199 rm -f $ac_rmfiles
   3200 
   3201 if { { ac_try="$ac_link_default"
   3202 case "(($ac_try" in
   3203   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3204   *) ac_try_echo=$ac_try;;
   3205 esac
   3206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3207 $as_echo "$ac_try_echo"; } >&5
   3208   (eval "$ac_link_default") 2>&5
   3209   ac_status=$?
   3210   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3211   test $ac_status = 0; }; then :
   3212   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3213 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3214 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3215 # so that the user can short-circuit this test for compilers unknown to
   3216 # Autoconf.
   3217 for ac_file in $ac_files ''
   3218 do
   3219   test -f "$ac_file" || continue
   3220   case $ac_file in
   3221     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3222 	;;
   3223     [ab].out )
   3224 	# We found the default executable, but exeext='' is most
   3225 	# certainly right.
   3226 	break;;
   3227     *.* )
   3228 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3229 	then :; else
   3230 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3231 	fi
   3232 	# We set ac_cv_exeext here because the later test for it is not
   3233 	# safe: cross compilers may not add the suffix if given an `-o'
   3234 	# argument, so we may need to know it at that point already.
   3235 	# Even if this section looks crufty: it has the advantage of
   3236 	# actually working.
   3237 	break;;
   3238     * )
   3239 	break;;
   3240   esac
   3241 done
   3242 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3243 
   3244 else
   3245   ac_file=''
   3246 fi
   3247 if test -z "$ac_file"; then :
   3248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3249 $as_echo "no" >&6; }
   3250 $as_echo "$as_me: failed program was:" >&5
   3251 sed 's/^/| /' conftest.$ac_ext >&5
   3252 
   3253 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3255 as_fn_error 77 "C compiler cannot create executables
   3256 See \`config.log' for more details" "$LINENO" 5; }
   3257 else
   3258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3259 $as_echo "yes" >&6; }
   3260 fi
   3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3262 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3264 $as_echo "$ac_file" >&6; }
   3265 ac_exeext=$ac_cv_exeext
   3266 
   3267 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3268 ac_clean_files=$ac_clean_files_save
   3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3270 $as_echo_n "checking for suffix of executables... " >&6; }
   3271 if { { ac_try="$ac_link"
   3272 case "(($ac_try" in
   3273   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3274   *) ac_try_echo=$ac_try;;
   3275 esac
   3276 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3277 $as_echo "$ac_try_echo"; } >&5
   3278   (eval "$ac_link") 2>&5
   3279   ac_status=$?
   3280   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3281   test $ac_status = 0; }; then :
   3282   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3283 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3284 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3285 # `rm'.
   3286 for ac_file in conftest.exe conftest conftest.*; do
   3287   test -f "$ac_file" || continue
   3288   case $ac_file in
   3289     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3290     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3291 	  break;;
   3292     * ) break;;
   3293   esac
   3294 done
   3295 else
   3296   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3298 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3299 See \`config.log' for more details" "$LINENO" 5; }
   3300 fi
   3301 rm -f conftest conftest$ac_cv_exeext
   3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3303 $as_echo "$ac_cv_exeext" >&6; }
   3304 
   3305 rm -f conftest.$ac_ext
   3306 EXEEXT=$ac_cv_exeext
   3307 ac_exeext=$EXEEXT
   3308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3309 /* end confdefs.h.  */
   3310 #include <stdio.h>
   3311 int
   3312 main ()
   3313 {
   3314 FILE *f = fopen ("conftest.out", "w");
   3315  return ferror (f) || fclose (f) != 0;
   3316 
   3317   ;
   3318   return 0;
   3319 }
   3320 _ACEOF
   3321 ac_clean_files="$ac_clean_files conftest.out"
   3322 # Check that the compiler produces executables we can run.  If not, either
   3323 # the compiler is broken, or we cross compile.
   3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3325 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3326 if test "$cross_compiling" != yes; then
   3327   { { ac_try="$ac_link"
   3328 case "(($ac_try" in
   3329   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3330   *) ac_try_echo=$ac_try;;
   3331 esac
   3332 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3333 $as_echo "$ac_try_echo"; } >&5
   3334   (eval "$ac_link") 2>&5
   3335   ac_status=$?
   3336   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3337   test $ac_status = 0; }
   3338   if { ac_try='./conftest$ac_cv_exeext'
   3339   { { case "(($ac_try" in
   3340   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3341   *) ac_try_echo=$ac_try;;
   3342 esac
   3343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3344 $as_echo "$ac_try_echo"; } >&5
   3345   (eval "$ac_try") 2>&5
   3346   ac_status=$?
   3347   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3348   test $ac_status = 0; }; }; then
   3349     cross_compiling=no
   3350   else
   3351     if test "$cross_compiling" = maybe; then
   3352 	cross_compiling=yes
   3353     else
   3354 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3356 as_fn_error $? "cannot run C compiled programs.
   3357 If you meant to cross compile, use \`--host'.
   3358 See \`config.log' for more details" "$LINENO" 5; }
   3359     fi
   3360   fi
   3361 fi
   3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3363 $as_echo "$cross_compiling" >&6; }
   3364 
   3365 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3366 ac_clean_files=$ac_clean_files_save
   3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3368 $as_echo_n "checking for suffix of object files... " >&6; }
   3369 if ${ac_cv_objext+:} false; then :
   3370   $as_echo_n "(cached) " >&6
   3371 else
   3372   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3373 /* end confdefs.h.  */
   3374 
   3375 int
   3376 main ()
   3377 {
   3378 
   3379   ;
   3380   return 0;
   3381 }
   3382 _ACEOF
   3383 rm -f conftest.o conftest.obj
   3384 if { { ac_try="$ac_compile"
   3385 case "(($ac_try" in
   3386   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3387   *) ac_try_echo=$ac_try;;
   3388 esac
   3389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3390 $as_echo "$ac_try_echo"; } >&5
   3391   (eval "$ac_compile") 2>&5
   3392   ac_status=$?
   3393   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3394   test $ac_status = 0; }; then :
   3395   for ac_file in conftest.o conftest.obj conftest.*; do
   3396   test -f "$ac_file" || continue;
   3397   case $ac_file in
   3398     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3399     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3400        break;;
   3401   esac
   3402 done
   3403 else
   3404   $as_echo "$as_me: failed program was:" >&5
   3405 sed 's/^/| /' conftest.$ac_ext >&5
   3406 
   3407 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3408 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3409 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3410 See \`config.log' for more details" "$LINENO" 5; }
   3411 fi
   3412 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3413 fi
   3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3415 $as_echo "$ac_cv_objext" >&6; }
   3416 OBJEXT=$ac_cv_objext
   3417 ac_objext=$OBJEXT
   3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3419 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3420 if ${ac_cv_c_compiler_gnu+:} false; then :
   3421   $as_echo_n "(cached) " >&6
   3422 else
   3423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3424 /* end confdefs.h.  */
   3425 
   3426 int
   3427 main ()
   3428 {
   3429 #ifndef __GNUC__
   3430        choke me
   3431 #endif
   3432 
   3433   ;
   3434   return 0;
   3435 }
   3436 _ACEOF
   3437 if ac_fn_c_try_compile "$LINENO"; then :
   3438   ac_compiler_gnu=yes
   3439 else
   3440   ac_compiler_gnu=no
   3441 fi
   3442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3443 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3444 
   3445 fi
   3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3447 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3448 if test $ac_compiler_gnu = yes; then
   3449   GCC=yes
   3450 else
   3451   GCC=
   3452 fi
   3453 ac_test_CFLAGS=${CFLAGS+set}
   3454 ac_save_CFLAGS=$CFLAGS
   3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3456 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3457 if ${ac_cv_prog_cc_g+:} false; then :
   3458   $as_echo_n "(cached) " >&6
   3459 else
   3460   ac_save_c_werror_flag=$ac_c_werror_flag
   3461    ac_c_werror_flag=yes
   3462    ac_cv_prog_cc_g=no
   3463    CFLAGS="-g"
   3464    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3465 /* end confdefs.h.  */
   3466 
   3467 int
   3468 main ()
   3469 {
   3470 
   3471   ;
   3472   return 0;
   3473 }
   3474 _ACEOF
   3475 if ac_fn_c_try_compile "$LINENO"; then :
   3476   ac_cv_prog_cc_g=yes
   3477 else
   3478   CFLAGS=""
   3479       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3480 /* end confdefs.h.  */
   3481 
   3482 int
   3483 main ()
   3484 {
   3485 
   3486   ;
   3487   return 0;
   3488 }
   3489 _ACEOF
   3490 if ac_fn_c_try_compile "$LINENO"; then :
   3491 
   3492 else
   3493   ac_c_werror_flag=$ac_save_c_werror_flag
   3494 	 CFLAGS="-g"
   3495 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3496 /* end confdefs.h.  */
   3497 
   3498 int
   3499 main ()
   3500 {
   3501 
   3502   ;
   3503   return 0;
   3504 }
   3505 _ACEOF
   3506 if ac_fn_c_try_compile "$LINENO"; then :
   3507   ac_cv_prog_cc_g=yes
   3508 fi
   3509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3510 fi
   3511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3512 fi
   3513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3514    ac_c_werror_flag=$ac_save_c_werror_flag
   3515 fi
   3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3517 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3518 if test "$ac_test_CFLAGS" = set; then
   3519   CFLAGS=$ac_save_CFLAGS
   3520 elif test $ac_cv_prog_cc_g = yes; then
   3521   if test "$GCC" = yes; then
   3522     CFLAGS="-g -O2"
   3523   else
   3524     CFLAGS="-g"
   3525   fi
   3526 else
   3527   if test "$GCC" = yes; then
   3528     CFLAGS="-O2"
   3529   else
   3530     CFLAGS=
   3531   fi
   3532 fi
   3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3534 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3535 if ${ac_cv_prog_cc_c89+:} false; then :
   3536   $as_echo_n "(cached) " >&6
   3537 else
   3538   ac_cv_prog_cc_c89=no
   3539 ac_save_CC=$CC
   3540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3541 /* end confdefs.h.  */
   3542 #include <stdarg.h>
   3543 #include <stdio.h>
   3544 #include <sys/types.h>
   3545 #include <sys/stat.h>
   3546 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3547 struct buf { int x; };
   3548 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3549 static char *e (p, i)
   3550      char **p;
   3551      int i;
   3552 {
   3553   return p[i];
   3554 }
   3555 static char *f (char * (*g) (char **, int), char **p, ...)
   3556 {
   3557   char *s;
   3558   va_list v;
   3559   va_start (v,p);
   3560   s = g (p, va_arg (v,int));
   3561   va_end (v);
   3562   return s;
   3563 }
   3564 
   3565 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3566    function prototypes and stuff, but not '\xHH' hex character constants.
   3567    These don't provoke an error unfortunately, instead are silently treated
   3568    as 'x'.  The following induces an error, until -std is added to get
   3569    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3570    array size at least.  It's necessary to write '\x00'==0 to get something
   3571    that's true only with -std.  */
   3572 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3573 
   3574 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3575    inside strings and character constants.  */
   3576 #define FOO(x) 'x'
   3577 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3578 
   3579 int test (int i, double x);
   3580 struct s1 {int (*f) (int a);};
   3581 struct s2 {int (*f) (double a);};
   3582 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3583 int argc;
   3584 char **argv;
   3585 int
   3586 main ()
   3587 {
   3588 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3589   ;
   3590   return 0;
   3591 }
   3592 _ACEOF
   3593 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3594 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3595 do
   3596   CC="$ac_save_CC $ac_arg"
   3597   if ac_fn_c_try_compile "$LINENO"; then :
   3598   ac_cv_prog_cc_c89=$ac_arg
   3599 fi
   3600 rm -f core conftest.err conftest.$ac_objext
   3601   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3602 done
   3603 rm -f conftest.$ac_ext
   3604 CC=$ac_save_CC
   3605 
   3606 fi
   3607 # AC_CACHE_VAL
   3608 case "x$ac_cv_prog_cc_c89" in
   3609   x)
   3610     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3611 $as_echo "none needed" >&6; } ;;
   3612   xno)
   3613     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3614 $as_echo "unsupported" >&6; } ;;
   3615   *)
   3616     CC="$CC $ac_cv_prog_cc_c89"
   3617     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3618 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3619 esac
   3620 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3621 
   3622 fi
   3623 
   3624 ac_ext=c
   3625 ac_cpp='$CPP $CPPFLAGS'
   3626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3629 
   3630 depcc="$CC"   am_compiler_list=
   3631 
   3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3633 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3634 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3635   $as_echo_n "(cached) " >&6
   3636 else
   3637   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3638   # We make a subdir and do the tests there.  Otherwise we can end up
   3639   # making bogus files that we don't know about and never remove.  For
   3640   # instance it was reported that on HP-UX the gcc test will end up
   3641   # making a dummy file named 'D' -- because '-MD' means "put the output
   3642   # in D".
   3643   rm -rf conftest.dir
   3644   mkdir conftest.dir
   3645   # Copy depcomp to subdir because otherwise we won't find it if we're
   3646   # using a relative directory.
   3647   cp "$am_depcomp" conftest.dir
   3648   cd conftest.dir
   3649   # We will build objects and dependencies in a subdirectory because
   3650   # it helps to detect inapplicable dependency modes.  For instance
   3651   # both Tru64's cc and ICC support -MD to output dependencies as a
   3652   # side effect of compilation, but ICC will put the dependencies in
   3653   # the current directory while Tru64 will put them in the object
   3654   # directory.
   3655   mkdir sub
   3656 
   3657   am_cv_CC_dependencies_compiler_type=none
   3658   if test "$am_compiler_list" = ""; then
   3659      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3660   fi
   3661   am__universal=false
   3662   case " $depcc " in #(
   3663      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3664      esac
   3665 
   3666   for depmode in $am_compiler_list; do
   3667     # Setup a source with many dependencies, because some compilers
   3668     # like to wrap large dependency lists on column 80 (with \), and
   3669     # we should not choose a depcomp mode which is confused by this.
   3670     #
   3671     # We need to recreate these files for each test, as the compiler may
   3672     # overwrite some of them when testing with obscure command lines.
   3673     # This happens at least with the AIX C compiler.
   3674     : > sub/conftest.c
   3675     for i in 1 2 3 4 5 6; do
   3676       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3677       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3678       # Solaris 10 /bin/sh.
   3679       echo '/* dummy */' > sub/conftst$i.h
   3680     done
   3681     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3682 
   3683     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3684     # mode.  It turns out that the SunPro C++ compiler does not properly
   3685     # handle '-M -o', and we need to detect this.  Also, some Intel
   3686     # versions had trouble with output in subdirs.
   3687     am__obj=sub/conftest.${OBJEXT-o}
   3688     am__minus_obj="-o $am__obj"
   3689     case $depmode in
   3690     gcc)
   3691       # This depmode causes a compiler race in universal mode.
   3692       test "$am__universal" = false || continue
   3693       ;;
   3694     nosideeffect)
   3695       # After this tag, mechanisms are not by side-effect, so they'll
   3696       # only be used when explicitly requested.
   3697       if test "x$enable_dependency_tracking" = xyes; then
   3698 	continue
   3699       else
   3700 	break
   3701       fi
   3702       ;;
   3703     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3704       # This compiler won't grok '-c -o', but also, the minuso test has
   3705       # not run yet.  These depmodes are late enough in the game, and
   3706       # so weak that their functioning should not be impacted.
   3707       am__obj=conftest.${OBJEXT-o}
   3708       am__minus_obj=
   3709       ;;
   3710     none) break ;;
   3711     esac
   3712     if depmode=$depmode \
   3713        source=sub/conftest.c object=$am__obj \
   3714        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3715        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3716          >/dev/null 2>conftest.err &&
   3717        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3718        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3719        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3720        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3721       # icc doesn't choke on unknown options, it will just issue warnings
   3722       # or remarks (even with -Werror).  So we grep stderr for any message
   3723       # that says an option was ignored or not supported.
   3724       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3725       #   icc: Command line warning: ignoring option '-M'; no argument required
   3726       # The diagnosis changed in icc 8.0:
   3727       #   icc: Command line remark: option '-MP' not supported
   3728       if (grep 'ignoring option' conftest.err ||
   3729           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3730         am_cv_CC_dependencies_compiler_type=$depmode
   3731         break
   3732       fi
   3733     fi
   3734   done
   3735 
   3736   cd ..
   3737   rm -rf conftest.dir
   3738 else
   3739   am_cv_CC_dependencies_compiler_type=none
   3740 fi
   3741 
   3742 fi
   3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3744 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3745 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3746 
   3747  if
   3748   test "x$enable_dependency_tracking" != xno \
   3749   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3750   am__fastdepCC_TRUE=
   3751   am__fastdepCC_FALSE='#'
   3752 else
   3753   am__fastdepCC_TRUE='#'
   3754   am__fastdepCC_FALSE=
   3755 fi
   3756 
   3757 
   3758    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3759 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3760 if ${ac_cv_prog_cc_c99+:} false; then :
   3761   $as_echo_n "(cached) " >&6
   3762 else
   3763   ac_cv_prog_cc_c99=no
   3764 ac_save_CC=$CC
   3765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3766 /* end confdefs.h.  */
   3767 #include <stdarg.h>
   3768 #include <stdbool.h>
   3769 #include <stdlib.h>
   3770 #include <wchar.h>
   3771 #include <stdio.h>
   3772 
   3773 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3774 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3775 #define showlist(...) puts (#__VA_ARGS__)
   3776 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3777 static void
   3778 test_varargs_macros (void)
   3779 {
   3780   int x = 1234;
   3781   int y = 5678;
   3782   debug ("Flag");
   3783   debug ("X = %d\n", x);
   3784   showlist (The first, second, and third items.);
   3785   report (x>y, "x is %d but y is %d", x, y);
   3786 }
   3787 
   3788 // Check long long types.
   3789 #define BIG64 18446744073709551615ull
   3790 #define BIG32 4294967295ul
   3791 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3792 #if !BIG_OK
   3793   your preprocessor is broken;
   3794 #endif
   3795 #if BIG_OK
   3796 #else
   3797   your preprocessor is broken;
   3798 #endif
   3799 static long long int bignum = -9223372036854775807LL;
   3800 static unsigned long long int ubignum = BIG64;
   3801 
   3802 struct incomplete_array
   3803 {
   3804   int datasize;
   3805   double data[];
   3806 };
   3807 
   3808 struct named_init {
   3809   int number;
   3810   const wchar_t *name;
   3811   double average;
   3812 };
   3813 
   3814 typedef const char *ccp;
   3815 
   3816 static inline int
   3817 test_restrict (ccp restrict text)
   3818 {
   3819   // See if C++-style comments work.
   3820   // Iterate through items via the restricted pointer.
   3821   // Also check for declarations in for loops.
   3822   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3823     continue;
   3824   return 0;
   3825 }
   3826 
   3827 // Check varargs and va_copy.
   3828 static void
   3829 test_varargs (const char *format, ...)
   3830 {
   3831   va_list args;
   3832   va_start (args, format);
   3833   va_list args_copy;
   3834   va_copy (args_copy, args);
   3835 
   3836   const char *str;
   3837   int number;
   3838   float fnumber;
   3839 
   3840   while (*format)
   3841     {
   3842       switch (*format++)
   3843 	{
   3844 	case 's': // string
   3845 	  str = va_arg (args_copy, const char *);
   3846 	  break;
   3847 	case 'd': // int
   3848 	  number = va_arg (args_copy, int);
   3849 	  break;
   3850 	case 'f': // float
   3851 	  fnumber = va_arg (args_copy, double);
   3852 	  break;
   3853 	default:
   3854 	  break;
   3855 	}
   3856     }
   3857   va_end (args_copy);
   3858   va_end (args);
   3859 }
   3860 
   3861 int
   3862 main ()
   3863 {
   3864 
   3865   // Check bool.
   3866   _Bool success = false;
   3867 
   3868   // Check restrict.
   3869   if (test_restrict ("String literal") == 0)
   3870     success = true;
   3871   char *restrict newvar = "Another string";
   3872 
   3873   // Check varargs.
   3874   test_varargs ("s, d' f .", "string", 65, 34.234);
   3875   test_varargs_macros ();
   3876 
   3877   // Check flexible array members.
   3878   struct incomplete_array *ia =
   3879     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3880   ia->datasize = 10;
   3881   for (int i = 0; i < ia->datasize; ++i)
   3882     ia->data[i] = i * 1.234;
   3883 
   3884   // Check named initializers.
   3885   struct named_init ni = {
   3886     .number = 34,
   3887     .name = L"Test wide string",
   3888     .average = 543.34343,
   3889   };
   3890 
   3891   ni.number = 58;
   3892 
   3893   int dynamic_array[ni.number];
   3894   dynamic_array[ni.number - 1] = 543;
   3895 
   3896   // work around unused variable warnings
   3897   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3898 	  || dynamic_array[ni.number - 1] != 543);
   3899 
   3900   ;
   3901   return 0;
   3902 }
   3903 _ACEOF
   3904 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3905 do
   3906   CC="$ac_save_CC $ac_arg"
   3907   if ac_fn_c_try_compile "$LINENO"; then :
   3908   ac_cv_prog_cc_c99=$ac_arg
   3909 fi
   3910 rm -f core conftest.err conftest.$ac_objext
   3911   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3912 done
   3913 rm -f conftest.$ac_ext
   3914 CC=$ac_save_CC
   3915 
   3916 fi
   3917 # AC_CACHE_VAL
   3918 case "x$ac_cv_prog_cc_c99" in
   3919   x)
   3920     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3921 $as_echo "none needed" >&6; } ;;
   3922   xno)
   3923     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3924 $as_echo "unsupported" >&6; } ;;
   3925   *)
   3926     CC="$CC $ac_cv_prog_cc_c99"
   3927     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3928 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3929 esac
   3930 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3931 
   3932 fi
   3933 
   3934 
   3935 
   3936 ac_ext=c
   3937 ac_cpp='$CPP $CPPFLAGS'
   3938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3942 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3943 # On Suns, sometimes $CPP names a directory.
   3944 if test -n "$CPP" && test -d "$CPP"; then
   3945   CPP=
   3946 fi
   3947 if test -z "$CPP"; then
   3948   if ${ac_cv_prog_CPP+:} false; then :
   3949   $as_echo_n "(cached) " >&6
   3950 else
   3951       # Double quotes because CPP needs to be expanded
   3952     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3953     do
   3954       ac_preproc_ok=false
   3955 for ac_c_preproc_warn_flag in '' yes
   3956 do
   3957   # Use a header file that comes with gcc, so configuring glibc
   3958   # with a fresh cross-compiler works.
   3959   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3960   # <limits.h> exists even on freestanding compilers.
   3961   # On the NeXT, cc -E runs the code through the compiler's parser,
   3962   # not just through cpp. "Syntax error" is here to catch this case.
   3963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3964 /* end confdefs.h.  */
   3965 #ifdef __STDC__
   3966 # include <limits.h>
   3967 #else
   3968 # include <assert.h>
   3969 #endif
   3970 		     Syntax error
   3971 _ACEOF
   3972 if ac_fn_c_try_cpp "$LINENO"; then :
   3973 
   3974 else
   3975   # Broken: fails on valid input.
   3976 continue
   3977 fi
   3978 rm -f conftest.err conftest.i conftest.$ac_ext
   3979 
   3980   # OK, works on sane cases.  Now check whether nonexistent headers
   3981   # can be detected and how.
   3982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3983 /* end confdefs.h.  */
   3984 #include <ac_nonexistent.h>
   3985 _ACEOF
   3986 if ac_fn_c_try_cpp "$LINENO"; then :
   3987   # Broken: success on invalid input.
   3988 continue
   3989 else
   3990   # Passes both tests.
   3991 ac_preproc_ok=:
   3992 break
   3993 fi
   3994 rm -f conftest.err conftest.i conftest.$ac_ext
   3995 
   3996 done
   3997 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3998 rm -f conftest.i conftest.err conftest.$ac_ext
   3999 if $ac_preproc_ok; then :
   4000   break
   4001 fi
   4002 
   4003     done
   4004     ac_cv_prog_CPP=$CPP
   4005 
   4006 fi
   4007   CPP=$ac_cv_prog_CPP
   4008 else
   4009   ac_cv_prog_CPP=$CPP
   4010 fi
   4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4012 $as_echo "$CPP" >&6; }
   4013 ac_preproc_ok=false
   4014 for ac_c_preproc_warn_flag in '' yes
   4015 do
   4016   # Use a header file that comes with gcc, so configuring glibc
   4017   # with a fresh cross-compiler works.
   4018   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4019   # <limits.h> exists even on freestanding compilers.
   4020   # On the NeXT, cc -E runs the code through the compiler's parser,
   4021   # not just through cpp. "Syntax error" is here to catch this case.
   4022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4023 /* end confdefs.h.  */
   4024 #ifdef __STDC__
   4025 # include <limits.h>
   4026 #else
   4027 # include <assert.h>
   4028 #endif
   4029 		     Syntax error
   4030 _ACEOF
   4031 if ac_fn_c_try_cpp "$LINENO"; then :
   4032 
   4033 else
   4034   # Broken: fails on valid input.
   4035 continue
   4036 fi
   4037 rm -f conftest.err conftest.i conftest.$ac_ext
   4038 
   4039   # OK, works on sane cases.  Now check whether nonexistent headers
   4040   # can be detected and how.
   4041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4042 /* end confdefs.h.  */
   4043 #include <ac_nonexistent.h>
   4044 _ACEOF
   4045 if ac_fn_c_try_cpp "$LINENO"; then :
   4046   # Broken: success on invalid input.
   4047 continue
   4048 else
   4049   # Passes both tests.
   4050 ac_preproc_ok=:
   4051 break
   4052 fi
   4053 rm -f conftest.err conftest.i conftest.$ac_ext
   4054 
   4055 done
   4056 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4057 rm -f conftest.i conftest.err conftest.$ac_ext
   4058 if $ac_preproc_ok; then :
   4059 
   4060 else
   4061   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4062 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4063 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4064 See \`config.log' for more details" "$LINENO" 5; }
   4065 fi
   4066 
   4067 ac_ext=c
   4068 ac_cpp='$CPP $CPPFLAGS'
   4069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4072 
   4073 
   4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4075 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4076 if ${ac_cv_path_GREP+:} false; then :
   4077   $as_echo_n "(cached) " >&6
   4078 else
   4079   if test -z "$GREP"; then
   4080   ac_path_GREP_found=false
   4081   # Loop through the user's path and test for each of PROGNAME-LIST
   4082   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4083 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4084 do
   4085   IFS=$as_save_IFS
   4086   test -z "$as_dir" && as_dir=.
   4087     for ac_prog in grep ggrep; do
   4088     for ac_exec_ext in '' $ac_executable_extensions; do
   4089       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4090       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4091 # Check for GNU ac_path_GREP and select it if it is found.
   4092   # Check for GNU $ac_path_GREP
   4093 case `"$ac_path_GREP" --version 2>&1` in
   4094 *GNU*)
   4095   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4096 *)
   4097   ac_count=0
   4098   $as_echo_n 0123456789 >"conftest.in"
   4099   while :
   4100   do
   4101     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4102     mv "conftest.tmp" "conftest.in"
   4103     cp "conftest.in" "conftest.nl"
   4104     $as_echo 'GREP' >> "conftest.nl"
   4105     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4106     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4107     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4108     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4109       # Best one so far, save it but keep looking for a better one
   4110       ac_cv_path_GREP="$ac_path_GREP"
   4111       ac_path_GREP_max=$ac_count
   4112     fi
   4113     # 10*(2^10) chars as input seems more than enough
   4114     test $ac_count -gt 10 && break
   4115   done
   4116   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4117 esac
   4118 
   4119       $ac_path_GREP_found && break 3
   4120     done
   4121   done
   4122   done
   4123 IFS=$as_save_IFS
   4124   if test -z "$ac_cv_path_GREP"; then
   4125     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4126   fi
   4127 else
   4128   ac_cv_path_GREP=$GREP
   4129 fi
   4130 
   4131 fi
   4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4133 $as_echo "$ac_cv_path_GREP" >&6; }
   4134  GREP="$ac_cv_path_GREP"
   4135 
   4136 
   4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4138 $as_echo_n "checking for egrep... " >&6; }
   4139 if ${ac_cv_path_EGREP+:} false; then :
   4140   $as_echo_n "(cached) " >&6
   4141 else
   4142   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4143    then ac_cv_path_EGREP="$GREP -E"
   4144    else
   4145      if test -z "$EGREP"; then
   4146   ac_path_EGREP_found=false
   4147   # Loop through the user's path and test for each of PROGNAME-LIST
   4148   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4149 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4150 do
   4151   IFS=$as_save_IFS
   4152   test -z "$as_dir" && as_dir=.
   4153     for ac_prog in egrep; do
   4154     for ac_exec_ext in '' $ac_executable_extensions; do
   4155       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4156       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4157 # Check for GNU ac_path_EGREP and select it if it is found.
   4158   # Check for GNU $ac_path_EGREP
   4159 case `"$ac_path_EGREP" --version 2>&1` in
   4160 *GNU*)
   4161   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4162 *)
   4163   ac_count=0
   4164   $as_echo_n 0123456789 >"conftest.in"
   4165   while :
   4166   do
   4167     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4168     mv "conftest.tmp" "conftest.in"
   4169     cp "conftest.in" "conftest.nl"
   4170     $as_echo 'EGREP' >> "conftest.nl"
   4171     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4172     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4173     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4174     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4175       # Best one so far, save it but keep looking for a better one
   4176       ac_cv_path_EGREP="$ac_path_EGREP"
   4177       ac_path_EGREP_max=$ac_count
   4178     fi
   4179     # 10*(2^10) chars as input seems more than enough
   4180     test $ac_count -gt 10 && break
   4181   done
   4182   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4183 esac
   4184 
   4185       $ac_path_EGREP_found && break 3
   4186     done
   4187   done
   4188   done
   4189 IFS=$as_save_IFS
   4190   if test -z "$ac_cv_path_EGREP"; then
   4191     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4192   fi
   4193 else
   4194   ac_cv_path_EGREP=$EGREP
   4195 fi
   4196 
   4197    fi
   4198 fi
   4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4200 $as_echo "$ac_cv_path_EGREP" >&6; }
   4201  EGREP="$ac_cv_path_EGREP"
   4202 
   4203 
   4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4205 $as_echo_n "checking for ANSI C header files... " >&6; }
   4206 if ${ac_cv_header_stdc+:} false; then :
   4207   $as_echo_n "(cached) " >&6
   4208 else
   4209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4210 /* end confdefs.h.  */
   4211 #include <stdlib.h>
   4212 #include <stdarg.h>
   4213 #include <string.h>
   4214 #include <float.h>
   4215 
   4216 int
   4217 main ()
   4218 {
   4219 
   4220   ;
   4221   return 0;
   4222 }
   4223 _ACEOF
   4224 if ac_fn_c_try_compile "$LINENO"; then :
   4225   ac_cv_header_stdc=yes
   4226 else
   4227   ac_cv_header_stdc=no
   4228 fi
   4229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4230 
   4231 if test $ac_cv_header_stdc = yes; then
   4232   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4234 /* end confdefs.h.  */
   4235 #include <string.h>
   4236 
   4237 _ACEOF
   4238 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4239   $EGREP "memchr" >/dev/null 2>&1; then :
   4240 
   4241 else
   4242   ac_cv_header_stdc=no
   4243 fi
   4244 rm -f conftest*
   4245 
   4246 fi
   4247 
   4248 if test $ac_cv_header_stdc = yes; then
   4249   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4251 /* end confdefs.h.  */
   4252 #include <stdlib.h>
   4253 
   4254 _ACEOF
   4255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4256   $EGREP "free" >/dev/null 2>&1; then :
   4257 
   4258 else
   4259   ac_cv_header_stdc=no
   4260 fi
   4261 rm -f conftest*
   4262 
   4263 fi
   4264 
   4265 if test $ac_cv_header_stdc = yes; then
   4266   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4267   if test "$cross_compiling" = yes; then :
   4268   :
   4269 else
   4270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4271 /* end confdefs.h.  */
   4272 #include <ctype.h>
   4273 #include <stdlib.h>
   4274 #if ((' ' & 0x0FF) == 0x020)
   4275 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4276 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4277 #else
   4278 # define ISLOWER(c) \
   4279 		   (('a' <= (c) && (c) <= 'i') \
   4280 		     || ('j' <= (c) && (c) <= 'r') \
   4281 		     || ('s' <= (c) && (c) <= 'z'))
   4282 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4283 #endif
   4284 
   4285 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4286 int
   4287 main ()
   4288 {
   4289   int i;
   4290   for (i = 0; i < 256; i++)
   4291     if (XOR (islower (i), ISLOWER (i))
   4292 	|| toupper (i) != TOUPPER (i))
   4293       return 2;
   4294   return 0;
   4295 }
   4296 _ACEOF
   4297 if ac_fn_c_try_run "$LINENO"; then :
   4298 
   4299 else
   4300   ac_cv_header_stdc=no
   4301 fi
   4302 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4303   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4304 fi
   4305 
   4306 fi
   4307 fi
   4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4309 $as_echo "$ac_cv_header_stdc" >&6; }
   4310 if test $ac_cv_header_stdc = yes; then
   4311 
   4312 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4313 
   4314 fi
   4315 
   4316 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4317 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4318 		  inttypes.h stdint.h unistd.h
   4319 do :
   4320   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4321 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4322 "
   4323 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4324   cat >>confdefs.h <<_ACEOF
   4325 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4326 _ACEOF
   4327 
   4328 fi
   4329 
   4330 done
   4331 
   4332 
   4333 
   4334 
   4335 
   4336 
   4337 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4338 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4339   CLANGCC="yes"
   4340 else
   4341   CLANGCC="no"
   4342 fi
   4343 
   4344 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4345 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4346   INTELCC="yes"
   4347 else
   4348   INTELCC="no"
   4349 fi
   4350 
   4351 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4352 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4353   SUNCC="yes"
   4354 else
   4355   SUNCC="no"
   4356 fi
   4357 
   4358 
   4359 
   4360 
   4361 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4362 	if test -n "$ac_tool_prefix"; then
   4363   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4364 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4366 $as_echo_n "checking for $ac_word... " >&6; }
   4367 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4368   $as_echo_n "(cached) " >&6
   4369 else
   4370   case $PKG_CONFIG in
   4371   [\\/]* | ?:[\\/]*)
   4372   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4373   ;;
   4374   *)
   4375   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4376 for as_dir in $PATH
   4377 do
   4378   IFS=$as_save_IFS
   4379   test -z "$as_dir" && as_dir=.
   4380     for ac_exec_ext in '' $ac_executable_extensions; do
   4381   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4382     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4383     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4384     break 2
   4385   fi
   4386 done
   4387   done
   4388 IFS=$as_save_IFS
   4389 
   4390   ;;
   4391 esac
   4392 fi
   4393 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4394 if test -n "$PKG_CONFIG"; then
   4395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4396 $as_echo "$PKG_CONFIG" >&6; }
   4397 else
   4398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4399 $as_echo "no" >&6; }
   4400 fi
   4401 
   4402 
   4403 fi
   4404 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4405   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4406   # Extract the first word of "pkg-config", so it can be a program name with args.
   4407 set dummy pkg-config; ac_word=$2
   4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4409 $as_echo_n "checking for $ac_word... " >&6; }
   4410 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4411   $as_echo_n "(cached) " >&6
   4412 else
   4413   case $ac_pt_PKG_CONFIG in
   4414   [\\/]* | ?:[\\/]*)
   4415   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4416   ;;
   4417   *)
   4418   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4419 for as_dir in $PATH
   4420 do
   4421   IFS=$as_save_IFS
   4422   test -z "$as_dir" && as_dir=.
   4423     for ac_exec_ext in '' $ac_executable_extensions; do
   4424   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4425     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4426     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4427     break 2
   4428   fi
   4429 done
   4430   done
   4431 IFS=$as_save_IFS
   4432 
   4433   ;;
   4434 esac
   4435 fi
   4436 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4437 if test -n "$ac_pt_PKG_CONFIG"; then
   4438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4439 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4440 else
   4441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4442 $as_echo "no" >&6; }
   4443 fi
   4444 
   4445   if test "x$ac_pt_PKG_CONFIG" = x; then
   4446     PKG_CONFIG=""
   4447   else
   4448     case $cross_compiling:$ac_tool_warned in
   4449 yes:)
   4450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4451 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4452 ac_tool_warned=yes ;;
   4453 esac
   4454     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4455   fi
   4456 else
   4457   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4458 fi
   4459 
   4460 fi
   4461 if test -n "$PKG_CONFIG"; then
   4462 	_pkg_min_version=0.9.0
   4463 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4464 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4465 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4466 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4467 $as_echo "yes" >&6; }
   4468 	else
   4469 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4470 $as_echo "no" >&6; }
   4471 		PKG_CONFIG=""
   4472 	fi
   4473 
   4474 fi
   4475 # Make sure we can run config.sub.
   4476 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4477   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4478 
   4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4480 $as_echo_n "checking build system type... " >&6; }
   4481 if ${ac_cv_build+:} false; then :
   4482   $as_echo_n "(cached) " >&6
   4483 else
   4484   ac_build_alias=$build_alias
   4485 test "x$ac_build_alias" = x &&
   4486   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4487 test "x$ac_build_alias" = x &&
   4488   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4489 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4490   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4491 
   4492 fi
   4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4494 $as_echo "$ac_cv_build" >&6; }
   4495 case $ac_cv_build in
   4496 *-*-*) ;;
   4497 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4498 esac
   4499 build=$ac_cv_build
   4500 ac_save_IFS=$IFS; IFS='-'
   4501 set x $ac_cv_build
   4502 shift
   4503 build_cpu=$1
   4504 build_vendor=$2
   4505 shift; shift
   4506 # Remember, the first character of IFS is used to create $*,
   4507 # except with old shells:
   4508 build_os=$*
   4509 IFS=$ac_save_IFS
   4510 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4511 
   4512 
   4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4514 $as_echo_n "checking host system type... " >&6; }
   4515 if ${ac_cv_host+:} false; then :
   4516   $as_echo_n "(cached) " >&6
   4517 else
   4518   if test "x$host_alias" = x; then
   4519   ac_cv_host=$ac_cv_build
   4520 else
   4521   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4522     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4523 fi
   4524 
   4525 fi
   4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4527 $as_echo "$ac_cv_host" >&6; }
   4528 case $ac_cv_host in
   4529 *-*-*) ;;
   4530 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4531 esac
   4532 host=$ac_cv_host
   4533 ac_save_IFS=$IFS; IFS='-'
   4534 set x $ac_cv_host
   4535 shift
   4536 host_cpu=$1
   4537 host_vendor=$2
   4538 shift; shift
   4539 # Remember, the first character of IFS is used to create $*,
   4540 # except with old shells:
   4541 host_os=$*
   4542 IFS=$ac_save_IFS
   4543 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4544 
   4545 
   4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4547 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4548 if ${ac_cv_path_SED+:} false; then :
   4549   $as_echo_n "(cached) " >&6
   4550 else
   4551             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4552      for ac_i in 1 2 3 4 5 6 7; do
   4553        ac_script="$ac_script$as_nl$ac_script"
   4554      done
   4555      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4556      { ac_script=; unset ac_script;}
   4557      if test -z "$SED"; then
   4558   ac_path_SED_found=false
   4559   # Loop through the user's path and test for each of PROGNAME-LIST
   4560   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4561 for as_dir in $PATH
   4562 do
   4563   IFS=$as_save_IFS
   4564   test -z "$as_dir" && as_dir=.
   4565     for ac_prog in sed gsed; do
   4566     for ac_exec_ext in '' $ac_executable_extensions; do
   4567       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4568       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4569 # Check for GNU ac_path_SED and select it if it is found.
   4570   # Check for GNU $ac_path_SED
   4571 case `"$ac_path_SED" --version 2>&1` in
   4572 *GNU*)
   4573   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4574 *)
   4575   ac_count=0
   4576   $as_echo_n 0123456789 >"conftest.in"
   4577   while :
   4578   do
   4579     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4580     mv "conftest.tmp" "conftest.in"
   4581     cp "conftest.in" "conftest.nl"
   4582     $as_echo '' >> "conftest.nl"
   4583     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4584     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4585     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4586     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4587       # Best one so far, save it but keep looking for a better one
   4588       ac_cv_path_SED="$ac_path_SED"
   4589       ac_path_SED_max=$ac_count
   4590     fi
   4591     # 10*(2^10) chars as input seems more than enough
   4592     test $ac_count -gt 10 && break
   4593   done
   4594   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4595 esac
   4596 
   4597       $ac_path_SED_found && break 3
   4598     done
   4599   done
   4600   done
   4601 IFS=$as_save_IFS
   4602   if test -z "$ac_cv_path_SED"; then
   4603     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4604   fi
   4605 else
   4606   ac_cv_path_SED=$SED
   4607 fi
   4608 
   4609 fi
   4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4611 $as_echo "$ac_cv_path_SED" >&6; }
   4612  SED="$ac_cv_path_SED"
   4613   rm -f conftest.sed
   4614 
   4615 
   4616 
   4617 
   4618 
   4619 
   4620 # Check whether --enable-selective-werror was given.
   4621 if test "${enable_selective_werror+set}" = set; then :
   4622   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4623 else
   4624   SELECTIVE_WERROR=yes
   4625 fi
   4626 
   4627 
   4628 
   4629 
   4630 
   4631 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4632 if test "x$SUNCC" = "xyes"; then
   4633     BASE_CFLAGS="-v"
   4634 else
   4635     BASE_CFLAGS=""
   4636 fi
   4637 
   4638 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4639 
   4640 
   4641 
   4642 
   4643 
   4644 
   4645 
   4646 
   4647 
   4648 
   4649 
   4650 
   4651 
   4652 xorg_testset_save_CFLAGS="$CFLAGS"
   4653 
   4654 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4655 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4656 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4657 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4658 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4659   $as_echo_n "(cached) " >&6
   4660 else
   4661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4662 /* end confdefs.h.  */
   4663 int i;
   4664 _ACEOF
   4665 if ac_fn_c_try_compile "$LINENO"; then :
   4666   xorg_cv_cc_flag_unknown_warning_option=yes
   4667 else
   4668   xorg_cv_cc_flag_unknown_warning_option=no
   4669 fi
   4670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4671 fi
   4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4673 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4674 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4675 	CFLAGS="$xorg_testset_save_CFLAGS"
   4676 fi
   4677 
   4678 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4679 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4680 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4681 	fi
   4682 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4683 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4684 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4685 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4686   $as_echo_n "(cached) " >&6
   4687 else
   4688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4689 /* end confdefs.h.  */
   4690 int i;
   4691 _ACEOF
   4692 if ac_fn_c_try_compile "$LINENO"; then :
   4693   xorg_cv_cc_flag_unused_command_line_argument=yes
   4694 else
   4695   xorg_cv_cc_flag_unused_command_line_argument=no
   4696 fi
   4697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4698 fi
   4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4700 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4701 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4702 	CFLAGS="$xorg_testset_save_CFLAGS"
   4703 fi
   4704 
   4705 found="no"
   4706 
   4707 	if test $found = "no" ; then
   4708 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4709 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4710 		fi
   4711 
   4712 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4713 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4714 		fi
   4715 
   4716 		CFLAGS="$CFLAGS -Wall"
   4717 
   4718 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4719 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4720 		cacheid=xorg_cv_cc_flag__Wall
   4721 		if eval \${$cacheid+:} false; then :
   4722   $as_echo_n "(cached) " >&6
   4723 else
   4724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4725 /* end confdefs.h.  */
   4726 int i;
   4727 int
   4728 main ()
   4729 {
   4730 
   4731   ;
   4732   return 0;
   4733 }
   4734 _ACEOF
   4735 if ac_fn_c_try_link "$LINENO"; then :
   4736   eval $cacheid=yes
   4737 else
   4738   eval $cacheid=no
   4739 fi
   4740 rm -f core conftest.err conftest.$ac_objext \
   4741     conftest$ac_exeext conftest.$ac_ext
   4742 fi
   4743 
   4744 
   4745 		CFLAGS="$xorg_testset_save_CFLAGS"
   4746 
   4747 		eval supported=\$$cacheid
   4748 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4749 $as_echo "$supported" >&6; }
   4750 		if test "$supported" = "yes" ; then
   4751 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4752 			found="yes"
   4753 		fi
   4754 	fi
   4755 
   4756 
   4757 
   4758 
   4759 
   4760 
   4761 
   4762 
   4763 
   4764 
   4765 
   4766 
   4767 
   4768 
   4769 
   4770 xorg_testset_save_CFLAGS="$CFLAGS"
   4771 
   4772 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4773 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4774 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4775 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4776 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4777   $as_echo_n "(cached) " >&6
   4778 else
   4779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4780 /* end confdefs.h.  */
   4781 int i;
   4782 _ACEOF
   4783 if ac_fn_c_try_compile "$LINENO"; then :
   4784   xorg_cv_cc_flag_unknown_warning_option=yes
   4785 else
   4786   xorg_cv_cc_flag_unknown_warning_option=no
   4787 fi
   4788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4789 fi
   4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4791 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4792 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4793 	CFLAGS="$xorg_testset_save_CFLAGS"
   4794 fi
   4795 
   4796 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4797 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4798 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4799 	fi
   4800 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4801 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4802 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4803 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4804   $as_echo_n "(cached) " >&6
   4805 else
   4806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4807 /* end confdefs.h.  */
   4808 int i;
   4809 _ACEOF
   4810 if ac_fn_c_try_compile "$LINENO"; then :
   4811   xorg_cv_cc_flag_unused_command_line_argument=yes
   4812 else
   4813   xorg_cv_cc_flag_unused_command_line_argument=no
   4814 fi
   4815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4816 fi
   4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4818 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4819 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4820 	CFLAGS="$xorg_testset_save_CFLAGS"
   4821 fi
   4822 
   4823 found="no"
   4824 
   4825 	if test $found = "no" ; then
   4826 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4827 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4828 		fi
   4829 
   4830 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4831 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4832 		fi
   4833 
   4834 		CFLAGS="$CFLAGS -Wpointer-arith"
   4835 
   4836 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4837 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4838 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4839 		if eval \${$cacheid+:} false; then :
   4840   $as_echo_n "(cached) " >&6
   4841 else
   4842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4843 /* end confdefs.h.  */
   4844 int i;
   4845 int
   4846 main ()
   4847 {
   4848 
   4849   ;
   4850   return 0;
   4851 }
   4852 _ACEOF
   4853 if ac_fn_c_try_link "$LINENO"; then :
   4854   eval $cacheid=yes
   4855 else
   4856   eval $cacheid=no
   4857 fi
   4858 rm -f core conftest.err conftest.$ac_objext \
   4859     conftest$ac_exeext conftest.$ac_ext
   4860 fi
   4861 
   4862 
   4863 		CFLAGS="$xorg_testset_save_CFLAGS"
   4864 
   4865 		eval supported=\$$cacheid
   4866 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4867 $as_echo "$supported" >&6; }
   4868 		if test "$supported" = "yes" ; then
   4869 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4870 			found="yes"
   4871 		fi
   4872 	fi
   4873 
   4874 
   4875 
   4876 
   4877 
   4878 
   4879 
   4880 
   4881 
   4882 
   4883 
   4884 
   4885 
   4886 
   4887 
   4888 xorg_testset_save_CFLAGS="$CFLAGS"
   4889 
   4890 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4891 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4892 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4893 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4894 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4895   $as_echo_n "(cached) " >&6
   4896 else
   4897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4898 /* end confdefs.h.  */
   4899 int i;
   4900 _ACEOF
   4901 if ac_fn_c_try_compile "$LINENO"; then :
   4902   xorg_cv_cc_flag_unknown_warning_option=yes
   4903 else
   4904   xorg_cv_cc_flag_unknown_warning_option=no
   4905 fi
   4906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4907 fi
   4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4909 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4910 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4911 	CFLAGS="$xorg_testset_save_CFLAGS"
   4912 fi
   4913 
   4914 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4915 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4916 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4917 	fi
   4918 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4919 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4920 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4921 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4922   $as_echo_n "(cached) " >&6
   4923 else
   4924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4925 /* end confdefs.h.  */
   4926 int i;
   4927 _ACEOF
   4928 if ac_fn_c_try_compile "$LINENO"; then :
   4929   xorg_cv_cc_flag_unused_command_line_argument=yes
   4930 else
   4931   xorg_cv_cc_flag_unused_command_line_argument=no
   4932 fi
   4933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4934 fi
   4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4936 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4937 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4938 	CFLAGS="$xorg_testset_save_CFLAGS"
   4939 fi
   4940 
   4941 found="no"
   4942 
   4943 	if test $found = "no" ; then
   4944 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4945 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4946 		fi
   4947 
   4948 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4949 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4950 		fi
   4951 
   4952 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4953 
   4954 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4955 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4956 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   4957 		if eval \${$cacheid+:} false; then :
   4958   $as_echo_n "(cached) " >&6
   4959 else
   4960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4961 /* end confdefs.h.  */
   4962 int i;
   4963 int
   4964 main ()
   4965 {
   4966 
   4967   ;
   4968   return 0;
   4969 }
   4970 _ACEOF
   4971 if ac_fn_c_try_link "$LINENO"; then :
   4972   eval $cacheid=yes
   4973 else
   4974   eval $cacheid=no
   4975 fi
   4976 rm -f core conftest.err conftest.$ac_objext \
   4977     conftest$ac_exeext conftest.$ac_ext
   4978 fi
   4979 
   4980 
   4981 		CFLAGS="$xorg_testset_save_CFLAGS"
   4982 
   4983 		eval supported=\$$cacheid
   4984 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4985 $as_echo "$supported" >&6; }
   4986 		if test "$supported" = "yes" ; then
   4987 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   4988 			found="yes"
   4989 		fi
   4990 	fi
   4991 
   4992 
   4993 
   4994 
   4995 
   4996 
   4997 
   4998 
   4999 
   5000 
   5001 
   5002 
   5003 
   5004 
   5005 
   5006 xorg_testset_save_CFLAGS="$CFLAGS"
   5007 
   5008 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5009 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5010 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5011 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5012 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5013   $as_echo_n "(cached) " >&6
   5014 else
   5015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5016 /* end confdefs.h.  */
   5017 int i;
   5018 _ACEOF
   5019 if ac_fn_c_try_compile "$LINENO"; then :
   5020   xorg_cv_cc_flag_unknown_warning_option=yes
   5021 else
   5022   xorg_cv_cc_flag_unknown_warning_option=no
   5023 fi
   5024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5025 fi
   5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5027 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5028 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5029 	CFLAGS="$xorg_testset_save_CFLAGS"
   5030 fi
   5031 
   5032 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5033 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5034 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5035 	fi
   5036 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5037 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5038 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5039 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5040   $as_echo_n "(cached) " >&6
   5041 else
   5042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5043 /* end confdefs.h.  */
   5044 int i;
   5045 _ACEOF
   5046 if ac_fn_c_try_compile "$LINENO"; then :
   5047   xorg_cv_cc_flag_unused_command_line_argument=yes
   5048 else
   5049   xorg_cv_cc_flag_unused_command_line_argument=no
   5050 fi
   5051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5052 fi
   5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5054 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5055 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5056 	CFLAGS="$xorg_testset_save_CFLAGS"
   5057 fi
   5058 
   5059 found="no"
   5060 
   5061 	if test $found = "no" ; then
   5062 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5063 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5064 		fi
   5065 
   5066 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5067 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5068 		fi
   5069 
   5070 		CFLAGS="$CFLAGS -Wformat=2"
   5071 
   5072 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5073 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5074 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   5075 		if eval \${$cacheid+:} false; then :
   5076   $as_echo_n "(cached) " >&6
   5077 else
   5078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5079 /* end confdefs.h.  */
   5080 int i;
   5081 int
   5082 main ()
   5083 {
   5084 
   5085   ;
   5086   return 0;
   5087 }
   5088 _ACEOF
   5089 if ac_fn_c_try_link "$LINENO"; then :
   5090   eval $cacheid=yes
   5091 else
   5092   eval $cacheid=no
   5093 fi
   5094 rm -f core conftest.err conftest.$ac_objext \
   5095     conftest$ac_exeext conftest.$ac_ext
   5096 fi
   5097 
   5098 
   5099 		CFLAGS="$xorg_testset_save_CFLAGS"
   5100 
   5101 		eval supported=\$$cacheid
   5102 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5103 $as_echo "$supported" >&6; }
   5104 		if test "$supported" = "yes" ; then
   5105 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5106 			found="yes"
   5107 		fi
   5108 	fi
   5109 
   5110 	if test $found = "no" ; then
   5111 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5112 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5113 		fi
   5114 
   5115 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5116 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5117 		fi
   5118 
   5119 		CFLAGS="$CFLAGS -Wformat"
   5120 
   5121 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5122 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5123 		cacheid=xorg_cv_cc_flag__Wformat
   5124 		if eval \${$cacheid+:} false; then :
   5125   $as_echo_n "(cached) " >&6
   5126 else
   5127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5128 /* end confdefs.h.  */
   5129 int i;
   5130 int
   5131 main ()
   5132 {
   5133 
   5134   ;
   5135   return 0;
   5136 }
   5137 _ACEOF
   5138 if ac_fn_c_try_link "$LINENO"; then :
   5139   eval $cacheid=yes
   5140 else
   5141   eval $cacheid=no
   5142 fi
   5143 rm -f core conftest.err conftest.$ac_objext \
   5144     conftest$ac_exeext conftest.$ac_ext
   5145 fi
   5146 
   5147 
   5148 		CFLAGS="$xorg_testset_save_CFLAGS"
   5149 
   5150 		eval supported=\$$cacheid
   5151 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5152 $as_echo "$supported" >&6; }
   5153 		if test "$supported" = "yes" ; then
   5154 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5155 			found="yes"
   5156 		fi
   5157 	fi
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 
   5170 
   5171 
   5172 
   5173 
   5174 
   5175 xorg_testset_save_CFLAGS="$CFLAGS"
   5176 
   5177 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5178 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5179 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5180 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5181 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5182   $as_echo_n "(cached) " >&6
   5183 else
   5184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5185 /* end confdefs.h.  */
   5186 int i;
   5187 _ACEOF
   5188 if ac_fn_c_try_compile "$LINENO"; then :
   5189   xorg_cv_cc_flag_unknown_warning_option=yes
   5190 else
   5191   xorg_cv_cc_flag_unknown_warning_option=no
   5192 fi
   5193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5194 fi
   5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5196 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5197 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5198 	CFLAGS="$xorg_testset_save_CFLAGS"
   5199 fi
   5200 
   5201 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5202 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5203 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5204 	fi
   5205 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5206 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5207 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5208 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5209   $as_echo_n "(cached) " >&6
   5210 else
   5211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5212 /* end confdefs.h.  */
   5213 int i;
   5214 _ACEOF
   5215 if ac_fn_c_try_compile "$LINENO"; then :
   5216   xorg_cv_cc_flag_unused_command_line_argument=yes
   5217 else
   5218   xorg_cv_cc_flag_unused_command_line_argument=no
   5219 fi
   5220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5221 fi
   5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5223 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5224 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5225 	CFLAGS="$xorg_testset_save_CFLAGS"
   5226 fi
   5227 
   5228 found="no"
   5229 
   5230 	if test $found = "no" ; then
   5231 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5232 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5233 		fi
   5234 
   5235 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5236 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5237 		fi
   5238 
   5239 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5240 
   5241 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5242 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5243 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5244 		if eval \${$cacheid+:} false; then :
   5245   $as_echo_n "(cached) " >&6
   5246 else
   5247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5248 /* end confdefs.h.  */
   5249 int i;
   5250 int
   5251 main ()
   5252 {
   5253 
   5254   ;
   5255   return 0;
   5256 }
   5257 _ACEOF
   5258 if ac_fn_c_try_link "$LINENO"; then :
   5259   eval $cacheid=yes
   5260 else
   5261   eval $cacheid=no
   5262 fi
   5263 rm -f core conftest.err conftest.$ac_objext \
   5264     conftest$ac_exeext conftest.$ac_ext
   5265 fi
   5266 
   5267 
   5268 		CFLAGS="$xorg_testset_save_CFLAGS"
   5269 
   5270 		eval supported=\$$cacheid
   5271 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5272 $as_echo "$supported" >&6; }
   5273 		if test "$supported" = "yes" ; then
   5274 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5275 			found="yes"
   5276 		fi
   5277 	fi
   5278 
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 xorg_testset_save_CFLAGS="$CFLAGS"
   5294 
   5295 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5296 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5297 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5298 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5299 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5300   $as_echo_n "(cached) " >&6
   5301 else
   5302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5303 /* end confdefs.h.  */
   5304 int i;
   5305 _ACEOF
   5306 if ac_fn_c_try_compile "$LINENO"; then :
   5307   xorg_cv_cc_flag_unknown_warning_option=yes
   5308 else
   5309   xorg_cv_cc_flag_unknown_warning_option=no
   5310 fi
   5311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5312 fi
   5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5314 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5315 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5316 	CFLAGS="$xorg_testset_save_CFLAGS"
   5317 fi
   5318 
   5319 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5320 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5321 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5322 	fi
   5323 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5324 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5325 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5326 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5327   $as_echo_n "(cached) " >&6
   5328 else
   5329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5330 /* end confdefs.h.  */
   5331 int i;
   5332 _ACEOF
   5333 if ac_fn_c_try_compile "$LINENO"; then :
   5334   xorg_cv_cc_flag_unused_command_line_argument=yes
   5335 else
   5336   xorg_cv_cc_flag_unused_command_line_argument=no
   5337 fi
   5338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5339 fi
   5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5341 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5342 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5343 	CFLAGS="$xorg_testset_save_CFLAGS"
   5344 fi
   5345 
   5346 found="no"
   5347 
   5348 	if test $found = "no" ; then
   5349 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5350 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5351 		fi
   5352 
   5353 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5354 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5355 		fi
   5356 
   5357 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5358 
   5359 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5360 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5361 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5362 		if eval \${$cacheid+:} false; then :
   5363   $as_echo_n "(cached) " >&6
   5364 else
   5365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5366 /* end confdefs.h.  */
   5367 int i;
   5368 int
   5369 main ()
   5370 {
   5371 
   5372   ;
   5373   return 0;
   5374 }
   5375 _ACEOF
   5376 if ac_fn_c_try_link "$LINENO"; then :
   5377   eval $cacheid=yes
   5378 else
   5379   eval $cacheid=no
   5380 fi
   5381 rm -f core conftest.err conftest.$ac_objext \
   5382     conftest$ac_exeext conftest.$ac_ext
   5383 fi
   5384 
   5385 
   5386 		CFLAGS="$xorg_testset_save_CFLAGS"
   5387 
   5388 		eval supported=\$$cacheid
   5389 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5390 $as_echo "$supported" >&6; }
   5391 		if test "$supported" = "yes" ; then
   5392 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5393 			found="yes"
   5394 		fi
   5395 	fi
   5396 
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 
   5409 
   5410 
   5411 xorg_testset_save_CFLAGS="$CFLAGS"
   5412 
   5413 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5414 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5415 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5416 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5417 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5418   $as_echo_n "(cached) " >&6
   5419 else
   5420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5421 /* end confdefs.h.  */
   5422 int i;
   5423 _ACEOF
   5424 if ac_fn_c_try_compile "$LINENO"; then :
   5425   xorg_cv_cc_flag_unknown_warning_option=yes
   5426 else
   5427   xorg_cv_cc_flag_unknown_warning_option=no
   5428 fi
   5429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5430 fi
   5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5432 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5433 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5434 	CFLAGS="$xorg_testset_save_CFLAGS"
   5435 fi
   5436 
   5437 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5438 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5439 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5440 	fi
   5441 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5442 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5443 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5444 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5445   $as_echo_n "(cached) " >&6
   5446 else
   5447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5448 /* end confdefs.h.  */
   5449 int i;
   5450 _ACEOF
   5451 if ac_fn_c_try_compile "$LINENO"; then :
   5452   xorg_cv_cc_flag_unused_command_line_argument=yes
   5453 else
   5454   xorg_cv_cc_flag_unused_command_line_argument=no
   5455 fi
   5456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5457 fi
   5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5459 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5460 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5461 	CFLAGS="$xorg_testset_save_CFLAGS"
   5462 fi
   5463 
   5464 found="no"
   5465 
   5466 	if test $found = "no" ; then
   5467 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5468 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5469 		fi
   5470 
   5471 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5472 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5473 		fi
   5474 
   5475 		CFLAGS="$CFLAGS -Wnested-externs"
   5476 
   5477 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5478 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5479 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5480 		if eval \${$cacheid+:} false; then :
   5481   $as_echo_n "(cached) " >&6
   5482 else
   5483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5484 /* end confdefs.h.  */
   5485 int i;
   5486 int
   5487 main ()
   5488 {
   5489 
   5490   ;
   5491   return 0;
   5492 }
   5493 _ACEOF
   5494 if ac_fn_c_try_link "$LINENO"; then :
   5495   eval $cacheid=yes
   5496 else
   5497   eval $cacheid=no
   5498 fi
   5499 rm -f core conftest.err conftest.$ac_objext \
   5500     conftest$ac_exeext conftest.$ac_ext
   5501 fi
   5502 
   5503 
   5504 		CFLAGS="$xorg_testset_save_CFLAGS"
   5505 
   5506 		eval supported=\$$cacheid
   5507 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5508 $as_echo "$supported" >&6; }
   5509 		if test "$supported" = "yes" ; then
   5510 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5511 			found="yes"
   5512 		fi
   5513 	fi
   5514 
   5515 
   5516 
   5517 
   5518 
   5519 
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 
   5527 
   5528 
   5529 xorg_testset_save_CFLAGS="$CFLAGS"
   5530 
   5531 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5532 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5533 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5534 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5535 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5536   $as_echo_n "(cached) " >&6
   5537 else
   5538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5539 /* end confdefs.h.  */
   5540 int i;
   5541 _ACEOF
   5542 if ac_fn_c_try_compile "$LINENO"; then :
   5543   xorg_cv_cc_flag_unknown_warning_option=yes
   5544 else
   5545   xorg_cv_cc_flag_unknown_warning_option=no
   5546 fi
   5547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5548 fi
   5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5550 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5551 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5552 	CFLAGS="$xorg_testset_save_CFLAGS"
   5553 fi
   5554 
   5555 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5556 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5557 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5558 	fi
   5559 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5560 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5561 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5562 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5563   $as_echo_n "(cached) " >&6
   5564 else
   5565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5566 /* end confdefs.h.  */
   5567 int i;
   5568 _ACEOF
   5569 if ac_fn_c_try_compile "$LINENO"; then :
   5570   xorg_cv_cc_flag_unused_command_line_argument=yes
   5571 else
   5572   xorg_cv_cc_flag_unused_command_line_argument=no
   5573 fi
   5574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5575 fi
   5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5577 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5578 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5579 	CFLAGS="$xorg_testset_save_CFLAGS"
   5580 fi
   5581 
   5582 found="no"
   5583 
   5584 	if test $found = "no" ; then
   5585 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5586 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5587 		fi
   5588 
   5589 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5590 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5591 		fi
   5592 
   5593 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5594 
   5595 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5596 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5597 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5598 		if eval \${$cacheid+:} false; then :
   5599   $as_echo_n "(cached) " >&6
   5600 else
   5601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5602 /* end confdefs.h.  */
   5603 int i;
   5604 int
   5605 main ()
   5606 {
   5607 
   5608   ;
   5609   return 0;
   5610 }
   5611 _ACEOF
   5612 if ac_fn_c_try_link "$LINENO"; then :
   5613   eval $cacheid=yes
   5614 else
   5615   eval $cacheid=no
   5616 fi
   5617 rm -f core conftest.err conftest.$ac_objext \
   5618     conftest$ac_exeext conftest.$ac_ext
   5619 fi
   5620 
   5621 
   5622 		CFLAGS="$xorg_testset_save_CFLAGS"
   5623 
   5624 		eval supported=\$$cacheid
   5625 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5626 $as_echo "$supported" >&6; }
   5627 		if test "$supported" = "yes" ; then
   5628 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5629 			found="yes"
   5630 		fi
   5631 	fi
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 
   5645 
   5646 
   5647 xorg_testset_save_CFLAGS="$CFLAGS"
   5648 
   5649 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5650 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5651 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5652 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5653 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5654   $as_echo_n "(cached) " >&6
   5655 else
   5656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5657 /* end confdefs.h.  */
   5658 int i;
   5659 _ACEOF
   5660 if ac_fn_c_try_compile "$LINENO"; then :
   5661   xorg_cv_cc_flag_unknown_warning_option=yes
   5662 else
   5663   xorg_cv_cc_flag_unknown_warning_option=no
   5664 fi
   5665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5666 fi
   5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5668 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5669 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5670 	CFLAGS="$xorg_testset_save_CFLAGS"
   5671 fi
   5672 
   5673 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5674 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5675 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5676 	fi
   5677 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5678 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5679 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5680 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5681   $as_echo_n "(cached) " >&6
   5682 else
   5683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5684 /* end confdefs.h.  */
   5685 int i;
   5686 _ACEOF
   5687 if ac_fn_c_try_compile "$LINENO"; then :
   5688   xorg_cv_cc_flag_unused_command_line_argument=yes
   5689 else
   5690   xorg_cv_cc_flag_unused_command_line_argument=no
   5691 fi
   5692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5693 fi
   5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5695 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5696 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5697 	CFLAGS="$xorg_testset_save_CFLAGS"
   5698 fi
   5699 
   5700 found="no"
   5701 
   5702 	if test $found = "no" ; then
   5703 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5704 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5705 		fi
   5706 
   5707 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5708 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5709 		fi
   5710 
   5711 		CFLAGS="$CFLAGS -Wold-style-definition"
   5712 
   5713 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5714 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5715 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5716 		if eval \${$cacheid+:} false; then :
   5717   $as_echo_n "(cached) " >&6
   5718 else
   5719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5720 /* end confdefs.h.  */
   5721 int i;
   5722 int
   5723 main ()
   5724 {
   5725 
   5726   ;
   5727   return 0;
   5728 }
   5729 _ACEOF
   5730 if ac_fn_c_try_link "$LINENO"; then :
   5731   eval $cacheid=yes
   5732 else
   5733   eval $cacheid=no
   5734 fi
   5735 rm -f core conftest.err conftest.$ac_objext \
   5736     conftest$ac_exeext conftest.$ac_ext
   5737 fi
   5738 
   5739 
   5740 		CFLAGS="$xorg_testset_save_CFLAGS"
   5741 
   5742 		eval supported=\$$cacheid
   5743 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5744 $as_echo "$supported" >&6; }
   5745 		if test "$supported" = "yes" ; then
   5746 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5747 			found="yes"
   5748 		fi
   5749 	fi
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 xorg_testset_save_CFLAGS="$CFLAGS"
   5766 
   5767 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5768 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5769 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5770 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5771 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5772   $as_echo_n "(cached) " >&6
   5773 else
   5774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5775 /* end confdefs.h.  */
   5776 int i;
   5777 _ACEOF
   5778 if ac_fn_c_try_compile "$LINENO"; then :
   5779   xorg_cv_cc_flag_unknown_warning_option=yes
   5780 else
   5781   xorg_cv_cc_flag_unknown_warning_option=no
   5782 fi
   5783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5784 fi
   5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5786 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5787 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5788 	CFLAGS="$xorg_testset_save_CFLAGS"
   5789 fi
   5790 
   5791 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5792 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5793 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5794 	fi
   5795 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5796 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5797 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5798 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5799   $as_echo_n "(cached) " >&6
   5800 else
   5801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5802 /* end confdefs.h.  */
   5803 int i;
   5804 _ACEOF
   5805 if ac_fn_c_try_compile "$LINENO"; then :
   5806   xorg_cv_cc_flag_unused_command_line_argument=yes
   5807 else
   5808   xorg_cv_cc_flag_unused_command_line_argument=no
   5809 fi
   5810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5811 fi
   5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5813 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5814 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5815 	CFLAGS="$xorg_testset_save_CFLAGS"
   5816 fi
   5817 
   5818 found="no"
   5819 
   5820 	if test $found = "no" ; then
   5821 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5822 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5823 		fi
   5824 
   5825 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5826 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5827 		fi
   5828 
   5829 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5830 
   5831 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5832 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5833 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5834 		if eval \${$cacheid+:} false; then :
   5835   $as_echo_n "(cached) " >&6
   5836 else
   5837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5838 /* end confdefs.h.  */
   5839 int i;
   5840 int
   5841 main ()
   5842 {
   5843 
   5844   ;
   5845   return 0;
   5846 }
   5847 _ACEOF
   5848 if ac_fn_c_try_link "$LINENO"; then :
   5849   eval $cacheid=yes
   5850 else
   5851   eval $cacheid=no
   5852 fi
   5853 rm -f core conftest.err conftest.$ac_objext \
   5854     conftest$ac_exeext conftest.$ac_ext
   5855 fi
   5856 
   5857 
   5858 		CFLAGS="$xorg_testset_save_CFLAGS"
   5859 
   5860 		eval supported=\$$cacheid
   5861 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5862 $as_echo "$supported" >&6; }
   5863 		if test "$supported" = "yes" ; then
   5864 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5865 			found="yes"
   5866 		fi
   5867 	fi
   5868 
   5869 
   5870 
   5871 
   5872 
   5873 # This chunk adds additional warnings that could catch undesired effects.
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 xorg_testset_save_CFLAGS="$CFLAGS"
   5888 
   5889 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5890 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5891 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5892 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5893 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5894   $as_echo_n "(cached) " >&6
   5895 else
   5896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5897 /* end confdefs.h.  */
   5898 int i;
   5899 _ACEOF
   5900 if ac_fn_c_try_compile "$LINENO"; then :
   5901   xorg_cv_cc_flag_unknown_warning_option=yes
   5902 else
   5903   xorg_cv_cc_flag_unknown_warning_option=no
   5904 fi
   5905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5906 fi
   5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5908 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5909 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5910 	CFLAGS="$xorg_testset_save_CFLAGS"
   5911 fi
   5912 
   5913 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5914 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5915 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5916 	fi
   5917 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5918 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5919 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5920 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5921   $as_echo_n "(cached) " >&6
   5922 else
   5923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5924 /* end confdefs.h.  */
   5925 int i;
   5926 _ACEOF
   5927 if ac_fn_c_try_compile "$LINENO"; then :
   5928   xorg_cv_cc_flag_unused_command_line_argument=yes
   5929 else
   5930   xorg_cv_cc_flag_unused_command_line_argument=no
   5931 fi
   5932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5933 fi
   5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5935 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5936 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5937 	CFLAGS="$xorg_testset_save_CFLAGS"
   5938 fi
   5939 
   5940 found="no"
   5941 
   5942 	if test $found = "no" ; then
   5943 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5944 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5945 		fi
   5946 
   5947 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5948 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5949 		fi
   5950 
   5951 		CFLAGS="$CFLAGS -Wunused"
   5952 
   5953 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   5954 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   5955 		cacheid=xorg_cv_cc_flag__Wunused
   5956 		if eval \${$cacheid+:} false; then :
   5957   $as_echo_n "(cached) " >&6
   5958 else
   5959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5960 /* end confdefs.h.  */
   5961 int i;
   5962 int
   5963 main ()
   5964 {
   5965 
   5966   ;
   5967   return 0;
   5968 }
   5969 _ACEOF
   5970 if ac_fn_c_try_link "$LINENO"; then :
   5971   eval $cacheid=yes
   5972 else
   5973   eval $cacheid=no
   5974 fi
   5975 rm -f core conftest.err conftest.$ac_objext \
   5976     conftest$ac_exeext conftest.$ac_ext
   5977 fi
   5978 
   5979 
   5980 		CFLAGS="$xorg_testset_save_CFLAGS"
   5981 
   5982 		eval supported=\$$cacheid
   5983 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5984 $as_echo "$supported" >&6; }
   5985 		if test "$supported" = "yes" ; then
   5986 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   5987 			found="yes"
   5988 		fi
   5989 	fi
   5990 
   5991 
   5992 
   5993 
   5994 
   5995 
   5996 
   5997 
   5998 
   5999 
   6000 
   6001 
   6002 
   6003 
   6004 
   6005 xorg_testset_save_CFLAGS="$CFLAGS"
   6006 
   6007 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6008 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6009 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6010 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6011 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6012   $as_echo_n "(cached) " >&6
   6013 else
   6014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6015 /* end confdefs.h.  */
   6016 int i;
   6017 _ACEOF
   6018 if ac_fn_c_try_compile "$LINENO"; then :
   6019   xorg_cv_cc_flag_unknown_warning_option=yes
   6020 else
   6021   xorg_cv_cc_flag_unknown_warning_option=no
   6022 fi
   6023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6024 fi
   6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6026 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6027 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6028 	CFLAGS="$xorg_testset_save_CFLAGS"
   6029 fi
   6030 
   6031 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6032 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6033 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6034 	fi
   6035 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6036 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6037 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6038 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6039   $as_echo_n "(cached) " >&6
   6040 else
   6041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6042 /* end confdefs.h.  */
   6043 int i;
   6044 _ACEOF
   6045 if ac_fn_c_try_compile "$LINENO"; then :
   6046   xorg_cv_cc_flag_unused_command_line_argument=yes
   6047 else
   6048   xorg_cv_cc_flag_unused_command_line_argument=no
   6049 fi
   6050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6051 fi
   6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6053 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6054 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6055 	CFLAGS="$xorg_testset_save_CFLAGS"
   6056 fi
   6057 
   6058 found="no"
   6059 
   6060 	if test $found = "no" ; then
   6061 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6062 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6063 		fi
   6064 
   6065 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6066 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6067 		fi
   6068 
   6069 		CFLAGS="$CFLAGS -Wuninitialized"
   6070 
   6071 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6072 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6073 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6074 		if eval \${$cacheid+:} false; then :
   6075   $as_echo_n "(cached) " >&6
   6076 else
   6077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6078 /* end confdefs.h.  */
   6079 int i;
   6080 int
   6081 main ()
   6082 {
   6083 
   6084   ;
   6085   return 0;
   6086 }
   6087 _ACEOF
   6088 if ac_fn_c_try_link "$LINENO"; then :
   6089   eval $cacheid=yes
   6090 else
   6091   eval $cacheid=no
   6092 fi
   6093 rm -f core conftest.err conftest.$ac_objext \
   6094     conftest$ac_exeext conftest.$ac_ext
   6095 fi
   6096 
   6097 
   6098 		CFLAGS="$xorg_testset_save_CFLAGS"
   6099 
   6100 		eval supported=\$$cacheid
   6101 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6102 $as_echo "$supported" >&6; }
   6103 		if test "$supported" = "yes" ; then
   6104 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6105 			found="yes"
   6106 		fi
   6107 	fi
   6108 
   6109 
   6110 
   6111 
   6112 
   6113 
   6114 
   6115 
   6116 
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 
   6123 xorg_testset_save_CFLAGS="$CFLAGS"
   6124 
   6125 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6126 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6127 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6128 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6129 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6130   $as_echo_n "(cached) " >&6
   6131 else
   6132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6133 /* end confdefs.h.  */
   6134 int i;
   6135 _ACEOF
   6136 if ac_fn_c_try_compile "$LINENO"; then :
   6137   xorg_cv_cc_flag_unknown_warning_option=yes
   6138 else
   6139   xorg_cv_cc_flag_unknown_warning_option=no
   6140 fi
   6141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6142 fi
   6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6144 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6145 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6146 	CFLAGS="$xorg_testset_save_CFLAGS"
   6147 fi
   6148 
   6149 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6150 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6151 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6152 	fi
   6153 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6154 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6155 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6156 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6157   $as_echo_n "(cached) " >&6
   6158 else
   6159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6160 /* end confdefs.h.  */
   6161 int i;
   6162 _ACEOF
   6163 if ac_fn_c_try_compile "$LINENO"; then :
   6164   xorg_cv_cc_flag_unused_command_line_argument=yes
   6165 else
   6166   xorg_cv_cc_flag_unused_command_line_argument=no
   6167 fi
   6168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6169 fi
   6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6171 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6172 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6173 	CFLAGS="$xorg_testset_save_CFLAGS"
   6174 fi
   6175 
   6176 found="no"
   6177 
   6178 	if test $found = "no" ; then
   6179 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6180 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6181 		fi
   6182 
   6183 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6184 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6185 		fi
   6186 
   6187 		CFLAGS="$CFLAGS -Wshadow"
   6188 
   6189 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6190 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6191 		cacheid=xorg_cv_cc_flag__Wshadow
   6192 		if eval \${$cacheid+:} false; then :
   6193   $as_echo_n "(cached) " >&6
   6194 else
   6195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6196 /* end confdefs.h.  */
   6197 int i;
   6198 int
   6199 main ()
   6200 {
   6201 
   6202   ;
   6203   return 0;
   6204 }
   6205 _ACEOF
   6206 if ac_fn_c_try_link "$LINENO"; then :
   6207   eval $cacheid=yes
   6208 else
   6209   eval $cacheid=no
   6210 fi
   6211 rm -f core conftest.err conftest.$ac_objext \
   6212     conftest$ac_exeext conftest.$ac_ext
   6213 fi
   6214 
   6215 
   6216 		CFLAGS="$xorg_testset_save_CFLAGS"
   6217 
   6218 		eval supported=\$$cacheid
   6219 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6220 $as_echo "$supported" >&6; }
   6221 		if test "$supported" = "yes" ; then
   6222 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6223 			found="yes"
   6224 		fi
   6225 	fi
   6226 
   6227 
   6228 
   6229 
   6230 
   6231 
   6232 
   6233 
   6234 
   6235 
   6236 
   6237 
   6238 
   6239 
   6240 
   6241 xorg_testset_save_CFLAGS="$CFLAGS"
   6242 
   6243 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6244 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6245 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6246 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6247 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6248   $as_echo_n "(cached) " >&6
   6249 else
   6250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6251 /* end confdefs.h.  */
   6252 int i;
   6253 _ACEOF
   6254 if ac_fn_c_try_compile "$LINENO"; then :
   6255   xorg_cv_cc_flag_unknown_warning_option=yes
   6256 else
   6257   xorg_cv_cc_flag_unknown_warning_option=no
   6258 fi
   6259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6260 fi
   6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6262 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6263 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6264 	CFLAGS="$xorg_testset_save_CFLAGS"
   6265 fi
   6266 
   6267 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6268 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6269 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6270 	fi
   6271 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6272 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6273 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6274 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6275   $as_echo_n "(cached) " >&6
   6276 else
   6277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6278 /* end confdefs.h.  */
   6279 int i;
   6280 _ACEOF
   6281 if ac_fn_c_try_compile "$LINENO"; then :
   6282   xorg_cv_cc_flag_unused_command_line_argument=yes
   6283 else
   6284   xorg_cv_cc_flag_unused_command_line_argument=no
   6285 fi
   6286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6287 fi
   6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6289 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6290 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6291 	CFLAGS="$xorg_testset_save_CFLAGS"
   6292 fi
   6293 
   6294 found="no"
   6295 
   6296 	if test $found = "no" ; then
   6297 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6298 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6299 		fi
   6300 
   6301 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6302 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6303 		fi
   6304 
   6305 		CFLAGS="$CFLAGS -Wcast-qual"
   6306 
   6307 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6308 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6309 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6310 		if eval \${$cacheid+:} false; then :
   6311   $as_echo_n "(cached) " >&6
   6312 else
   6313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6314 /* end confdefs.h.  */
   6315 int i;
   6316 int
   6317 main ()
   6318 {
   6319 
   6320   ;
   6321   return 0;
   6322 }
   6323 _ACEOF
   6324 if ac_fn_c_try_link "$LINENO"; then :
   6325   eval $cacheid=yes
   6326 else
   6327   eval $cacheid=no
   6328 fi
   6329 rm -f core conftest.err conftest.$ac_objext \
   6330     conftest$ac_exeext conftest.$ac_ext
   6331 fi
   6332 
   6333 
   6334 		CFLAGS="$xorg_testset_save_CFLAGS"
   6335 
   6336 		eval supported=\$$cacheid
   6337 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6338 $as_echo "$supported" >&6; }
   6339 		if test "$supported" = "yes" ; then
   6340 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6341 			found="yes"
   6342 		fi
   6343 	fi
   6344 
   6345 
   6346 
   6347 
   6348 
   6349 
   6350 
   6351 
   6352 
   6353 
   6354 
   6355 
   6356 
   6357 
   6358 
   6359 xorg_testset_save_CFLAGS="$CFLAGS"
   6360 
   6361 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6362 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6363 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6364 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6365 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6366   $as_echo_n "(cached) " >&6
   6367 else
   6368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6369 /* end confdefs.h.  */
   6370 int i;
   6371 _ACEOF
   6372 if ac_fn_c_try_compile "$LINENO"; then :
   6373   xorg_cv_cc_flag_unknown_warning_option=yes
   6374 else
   6375   xorg_cv_cc_flag_unknown_warning_option=no
   6376 fi
   6377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6378 fi
   6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6380 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6381 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6382 	CFLAGS="$xorg_testset_save_CFLAGS"
   6383 fi
   6384 
   6385 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6386 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6387 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6388 	fi
   6389 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6390 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6391 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6392 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6393   $as_echo_n "(cached) " >&6
   6394 else
   6395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6396 /* end confdefs.h.  */
   6397 int i;
   6398 _ACEOF
   6399 if ac_fn_c_try_compile "$LINENO"; then :
   6400   xorg_cv_cc_flag_unused_command_line_argument=yes
   6401 else
   6402   xorg_cv_cc_flag_unused_command_line_argument=no
   6403 fi
   6404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6405 fi
   6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6407 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6408 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6409 	CFLAGS="$xorg_testset_save_CFLAGS"
   6410 fi
   6411 
   6412 found="no"
   6413 
   6414 	if test $found = "no" ; then
   6415 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6416 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6417 		fi
   6418 
   6419 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6420 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6421 		fi
   6422 
   6423 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6424 
   6425 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6426 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6427 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6428 		if eval \${$cacheid+:} false; then :
   6429   $as_echo_n "(cached) " >&6
   6430 else
   6431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6432 /* end confdefs.h.  */
   6433 int i;
   6434 int
   6435 main ()
   6436 {
   6437 
   6438   ;
   6439   return 0;
   6440 }
   6441 _ACEOF
   6442 if ac_fn_c_try_link "$LINENO"; then :
   6443   eval $cacheid=yes
   6444 else
   6445   eval $cacheid=no
   6446 fi
   6447 rm -f core conftest.err conftest.$ac_objext \
   6448     conftest$ac_exeext conftest.$ac_ext
   6449 fi
   6450 
   6451 
   6452 		CFLAGS="$xorg_testset_save_CFLAGS"
   6453 
   6454 		eval supported=\$$cacheid
   6455 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6456 $as_echo "$supported" >&6; }
   6457 		if test "$supported" = "yes" ; then
   6458 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6459 			found="yes"
   6460 		fi
   6461 	fi
   6462 
   6463 
   6464 
   6465 
   6466 
   6467 
   6468 
   6469 
   6470 
   6471 
   6472 
   6473 
   6474 
   6475 
   6476 
   6477 xorg_testset_save_CFLAGS="$CFLAGS"
   6478 
   6479 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6480 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6481 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6482 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6483 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6484   $as_echo_n "(cached) " >&6
   6485 else
   6486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6487 /* end confdefs.h.  */
   6488 int i;
   6489 _ACEOF
   6490 if ac_fn_c_try_compile "$LINENO"; then :
   6491   xorg_cv_cc_flag_unknown_warning_option=yes
   6492 else
   6493   xorg_cv_cc_flag_unknown_warning_option=no
   6494 fi
   6495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6496 fi
   6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6498 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6499 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6500 	CFLAGS="$xorg_testset_save_CFLAGS"
   6501 fi
   6502 
   6503 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6504 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6505 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6506 	fi
   6507 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6508 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6509 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6510 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6511   $as_echo_n "(cached) " >&6
   6512 else
   6513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6514 /* end confdefs.h.  */
   6515 int i;
   6516 _ACEOF
   6517 if ac_fn_c_try_compile "$LINENO"; then :
   6518   xorg_cv_cc_flag_unused_command_line_argument=yes
   6519 else
   6520   xorg_cv_cc_flag_unused_command_line_argument=no
   6521 fi
   6522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6523 fi
   6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6525 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6526 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6527 	CFLAGS="$xorg_testset_save_CFLAGS"
   6528 fi
   6529 
   6530 found="no"
   6531 
   6532 	if test $found = "no" ; then
   6533 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6534 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6535 		fi
   6536 
   6537 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6538 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6539 		fi
   6540 
   6541 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6542 
   6543 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6544 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6545 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6546 		if eval \${$cacheid+:} false; then :
   6547   $as_echo_n "(cached) " >&6
   6548 else
   6549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6550 /* end confdefs.h.  */
   6551 int i;
   6552 int
   6553 main ()
   6554 {
   6555 
   6556   ;
   6557   return 0;
   6558 }
   6559 _ACEOF
   6560 if ac_fn_c_try_link "$LINENO"; then :
   6561   eval $cacheid=yes
   6562 else
   6563   eval $cacheid=no
   6564 fi
   6565 rm -f core conftest.err conftest.$ac_objext \
   6566     conftest$ac_exeext conftest.$ac_ext
   6567 fi
   6568 
   6569 
   6570 		CFLAGS="$xorg_testset_save_CFLAGS"
   6571 
   6572 		eval supported=\$$cacheid
   6573 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6574 $as_echo "$supported" >&6; }
   6575 		if test "$supported" = "yes" ; then
   6576 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6577 			found="yes"
   6578 		fi
   6579 	fi
   6580 
   6581 
   6582 
   6583 
   6584 
   6585 
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 xorg_testset_save_CFLAGS="$CFLAGS"
   6596 
   6597 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6598 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6599 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6600 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6601 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6602   $as_echo_n "(cached) " >&6
   6603 else
   6604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6605 /* end confdefs.h.  */
   6606 int i;
   6607 _ACEOF
   6608 if ac_fn_c_try_compile "$LINENO"; then :
   6609   xorg_cv_cc_flag_unknown_warning_option=yes
   6610 else
   6611   xorg_cv_cc_flag_unknown_warning_option=no
   6612 fi
   6613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6614 fi
   6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6616 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6617 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6618 	CFLAGS="$xorg_testset_save_CFLAGS"
   6619 fi
   6620 
   6621 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6622 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6623 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6624 	fi
   6625 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6626 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6627 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6628 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6629   $as_echo_n "(cached) " >&6
   6630 else
   6631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6632 /* end confdefs.h.  */
   6633 int i;
   6634 _ACEOF
   6635 if ac_fn_c_try_compile "$LINENO"; then :
   6636   xorg_cv_cc_flag_unused_command_line_argument=yes
   6637 else
   6638   xorg_cv_cc_flag_unused_command_line_argument=no
   6639 fi
   6640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6641 fi
   6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6643 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6644 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6645 	CFLAGS="$xorg_testset_save_CFLAGS"
   6646 fi
   6647 
   6648 found="no"
   6649 
   6650 	if test $found = "no" ; then
   6651 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6652 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6653 		fi
   6654 
   6655 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6656 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6657 		fi
   6658 
   6659 		CFLAGS="$CFLAGS -Wredundant-decls"
   6660 
   6661 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6662 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6663 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6664 		if eval \${$cacheid+:} false; then :
   6665   $as_echo_n "(cached) " >&6
   6666 else
   6667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6668 /* end confdefs.h.  */
   6669 int i;
   6670 int
   6671 main ()
   6672 {
   6673 
   6674   ;
   6675   return 0;
   6676 }
   6677 _ACEOF
   6678 if ac_fn_c_try_link "$LINENO"; then :
   6679   eval $cacheid=yes
   6680 else
   6681   eval $cacheid=no
   6682 fi
   6683 rm -f core conftest.err conftest.$ac_objext \
   6684     conftest$ac_exeext conftest.$ac_ext
   6685 fi
   6686 
   6687 
   6688 		CFLAGS="$xorg_testset_save_CFLAGS"
   6689 
   6690 		eval supported=\$$cacheid
   6691 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6692 $as_echo "$supported" >&6; }
   6693 		if test "$supported" = "yes" ; then
   6694 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6695 			found="yes"
   6696 		fi
   6697 	fi
   6698 
   6699 
   6700 
   6701 # These are currently disabled because they are noisy.  They will be enabled
   6702 # in the future once the codebase is sufficiently modernized to silence
   6703 # them.  For now, I don't want them to drown out the other warnings.
   6704 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6705 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6706 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6707 
   6708 # Turn some warnings into errors, so we don't accidently get successful builds
   6709 # when there are problems that should be fixed.
   6710 
   6711 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6712 
   6713 
   6714 
   6715 
   6716 
   6717 
   6718 
   6719 
   6720 
   6721 
   6722 
   6723 
   6724 
   6725 xorg_testset_save_CFLAGS="$CFLAGS"
   6726 
   6727 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6728 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6729 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6730 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6731 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6732   $as_echo_n "(cached) " >&6
   6733 else
   6734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6735 /* end confdefs.h.  */
   6736 int i;
   6737 _ACEOF
   6738 if ac_fn_c_try_compile "$LINENO"; then :
   6739   xorg_cv_cc_flag_unknown_warning_option=yes
   6740 else
   6741   xorg_cv_cc_flag_unknown_warning_option=no
   6742 fi
   6743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6744 fi
   6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6746 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6747 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6748 	CFLAGS="$xorg_testset_save_CFLAGS"
   6749 fi
   6750 
   6751 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6752 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6753 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6754 	fi
   6755 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6756 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6757 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6758 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6759   $as_echo_n "(cached) " >&6
   6760 else
   6761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6762 /* end confdefs.h.  */
   6763 int i;
   6764 _ACEOF
   6765 if ac_fn_c_try_compile "$LINENO"; then :
   6766   xorg_cv_cc_flag_unused_command_line_argument=yes
   6767 else
   6768   xorg_cv_cc_flag_unused_command_line_argument=no
   6769 fi
   6770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6771 fi
   6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6773 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6774 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6775 	CFLAGS="$xorg_testset_save_CFLAGS"
   6776 fi
   6777 
   6778 found="no"
   6779 
   6780 	if test $found = "no" ; then
   6781 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6782 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6783 		fi
   6784 
   6785 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6786 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6787 		fi
   6788 
   6789 		CFLAGS="$CFLAGS -Werror=implicit"
   6790 
   6791 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6792 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6793 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   6794 		if eval \${$cacheid+:} false; then :
   6795   $as_echo_n "(cached) " >&6
   6796 else
   6797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6798 /* end confdefs.h.  */
   6799 int i;
   6800 int
   6801 main ()
   6802 {
   6803 
   6804   ;
   6805   return 0;
   6806 }
   6807 _ACEOF
   6808 if ac_fn_c_try_link "$LINENO"; then :
   6809   eval $cacheid=yes
   6810 else
   6811   eval $cacheid=no
   6812 fi
   6813 rm -f core conftest.err conftest.$ac_objext \
   6814     conftest$ac_exeext conftest.$ac_ext
   6815 fi
   6816 
   6817 
   6818 		CFLAGS="$xorg_testset_save_CFLAGS"
   6819 
   6820 		eval supported=\$$cacheid
   6821 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6822 $as_echo "$supported" >&6; }
   6823 		if test "$supported" = "yes" ; then
   6824 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6825 			found="yes"
   6826 		fi
   6827 	fi
   6828 
   6829 	if test $found = "no" ; then
   6830 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6831 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6832 		fi
   6833 
   6834 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6835 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6836 		fi
   6837 
   6838 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6839 
   6840 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6841 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6842 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   6843 		if eval \${$cacheid+:} false; then :
   6844   $as_echo_n "(cached) " >&6
   6845 else
   6846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6847 /* end confdefs.h.  */
   6848 int i;
   6849 int
   6850 main ()
   6851 {
   6852 
   6853   ;
   6854   return 0;
   6855 }
   6856 _ACEOF
   6857 if ac_fn_c_try_link "$LINENO"; then :
   6858   eval $cacheid=yes
   6859 else
   6860   eval $cacheid=no
   6861 fi
   6862 rm -f core conftest.err conftest.$ac_objext \
   6863     conftest$ac_exeext conftest.$ac_ext
   6864 fi
   6865 
   6866 
   6867 		CFLAGS="$xorg_testset_save_CFLAGS"
   6868 
   6869 		eval supported=\$$cacheid
   6870 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6871 $as_echo "$supported" >&6; }
   6872 		if test "$supported" = "yes" ; then
   6873 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6874 			found="yes"
   6875 		fi
   6876 	fi
   6877 
   6878 
   6879 
   6880 
   6881 
   6882 
   6883 
   6884 
   6885 
   6886 
   6887 
   6888 
   6889 
   6890 
   6891 
   6892 xorg_testset_save_CFLAGS="$CFLAGS"
   6893 
   6894 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6895 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6896 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6897 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6898 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6899   $as_echo_n "(cached) " >&6
   6900 else
   6901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6902 /* end confdefs.h.  */
   6903 int i;
   6904 _ACEOF
   6905 if ac_fn_c_try_compile "$LINENO"; then :
   6906   xorg_cv_cc_flag_unknown_warning_option=yes
   6907 else
   6908   xorg_cv_cc_flag_unknown_warning_option=no
   6909 fi
   6910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6911 fi
   6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6913 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6914 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6915 	CFLAGS="$xorg_testset_save_CFLAGS"
   6916 fi
   6917 
   6918 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6919 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6920 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6921 	fi
   6922 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6923 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6924 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6925 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6926   $as_echo_n "(cached) " >&6
   6927 else
   6928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6929 /* end confdefs.h.  */
   6930 int i;
   6931 _ACEOF
   6932 if ac_fn_c_try_compile "$LINENO"; then :
   6933   xorg_cv_cc_flag_unused_command_line_argument=yes
   6934 else
   6935   xorg_cv_cc_flag_unused_command_line_argument=no
   6936 fi
   6937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6938 fi
   6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6940 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6941 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6942 	CFLAGS="$xorg_testset_save_CFLAGS"
   6943 fi
   6944 
   6945 found="no"
   6946 
   6947 	if test $found = "no" ; then
   6948 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6949 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6950 		fi
   6951 
   6952 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6953 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6954 		fi
   6955 
   6956 		CFLAGS="$CFLAGS -Werror=nonnull"
   6957 
   6958 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   6959 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   6960 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   6961 		if eval \${$cacheid+:} false; then :
   6962   $as_echo_n "(cached) " >&6
   6963 else
   6964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6965 /* end confdefs.h.  */
   6966 int i;
   6967 int
   6968 main ()
   6969 {
   6970 
   6971   ;
   6972   return 0;
   6973 }
   6974 _ACEOF
   6975 if ac_fn_c_try_link "$LINENO"; then :
   6976   eval $cacheid=yes
   6977 else
   6978   eval $cacheid=no
   6979 fi
   6980 rm -f core conftest.err conftest.$ac_objext \
   6981     conftest$ac_exeext conftest.$ac_ext
   6982 fi
   6983 
   6984 
   6985 		CFLAGS="$xorg_testset_save_CFLAGS"
   6986 
   6987 		eval supported=\$$cacheid
   6988 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6989 $as_echo "$supported" >&6; }
   6990 		if test "$supported" = "yes" ; then
   6991 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   6992 			found="yes"
   6993 		fi
   6994 	fi
   6995 
   6996 
   6997 
   6998 
   6999 
   7000 
   7001 
   7002 
   7003 
   7004 
   7005 
   7006 
   7007 
   7008 
   7009 
   7010 xorg_testset_save_CFLAGS="$CFLAGS"
   7011 
   7012 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7013 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7014 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7015 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7016 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7017   $as_echo_n "(cached) " >&6
   7018 else
   7019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7020 /* end confdefs.h.  */
   7021 int i;
   7022 _ACEOF
   7023 if ac_fn_c_try_compile "$LINENO"; then :
   7024   xorg_cv_cc_flag_unknown_warning_option=yes
   7025 else
   7026   xorg_cv_cc_flag_unknown_warning_option=no
   7027 fi
   7028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7029 fi
   7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7031 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7032 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7033 	CFLAGS="$xorg_testset_save_CFLAGS"
   7034 fi
   7035 
   7036 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7037 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7038 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7039 	fi
   7040 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7041 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7042 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7043 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7044   $as_echo_n "(cached) " >&6
   7045 else
   7046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7047 /* end confdefs.h.  */
   7048 int i;
   7049 _ACEOF
   7050 if ac_fn_c_try_compile "$LINENO"; then :
   7051   xorg_cv_cc_flag_unused_command_line_argument=yes
   7052 else
   7053   xorg_cv_cc_flag_unused_command_line_argument=no
   7054 fi
   7055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7056 fi
   7057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7058 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7059 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7060 	CFLAGS="$xorg_testset_save_CFLAGS"
   7061 fi
   7062 
   7063 found="no"
   7064 
   7065 	if test $found = "no" ; then
   7066 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7067 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7068 		fi
   7069 
   7070 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7071 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7072 		fi
   7073 
   7074 		CFLAGS="$CFLAGS -Werror=init-self"
   7075 
   7076 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7077 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7078 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   7079 		if eval \${$cacheid+:} false; then :
   7080   $as_echo_n "(cached) " >&6
   7081 else
   7082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7083 /* end confdefs.h.  */
   7084 int i;
   7085 int
   7086 main ()
   7087 {
   7088 
   7089   ;
   7090   return 0;
   7091 }
   7092 _ACEOF
   7093 if ac_fn_c_try_link "$LINENO"; then :
   7094   eval $cacheid=yes
   7095 else
   7096   eval $cacheid=no
   7097 fi
   7098 rm -f core conftest.err conftest.$ac_objext \
   7099     conftest$ac_exeext conftest.$ac_ext
   7100 fi
   7101 
   7102 
   7103 		CFLAGS="$xorg_testset_save_CFLAGS"
   7104 
   7105 		eval supported=\$$cacheid
   7106 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7107 $as_echo "$supported" >&6; }
   7108 		if test "$supported" = "yes" ; then
   7109 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7110 			found="yes"
   7111 		fi
   7112 	fi
   7113 
   7114 
   7115 
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 
   7125 
   7126 
   7127 
   7128 xorg_testset_save_CFLAGS="$CFLAGS"
   7129 
   7130 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7131 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7132 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7133 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7134 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7135   $as_echo_n "(cached) " >&6
   7136 else
   7137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7138 /* end confdefs.h.  */
   7139 int i;
   7140 _ACEOF
   7141 if ac_fn_c_try_compile "$LINENO"; then :
   7142   xorg_cv_cc_flag_unknown_warning_option=yes
   7143 else
   7144   xorg_cv_cc_flag_unknown_warning_option=no
   7145 fi
   7146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7147 fi
   7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7149 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7150 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7151 	CFLAGS="$xorg_testset_save_CFLAGS"
   7152 fi
   7153 
   7154 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7155 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7156 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7157 	fi
   7158 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7159 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7160 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7161 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7162   $as_echo_n "(cached) " >&6
   7163 else
   7164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7165 /* end confdefs.h.  */
   7166 int i;
   7167 _ACEOF
   7168 if ac_fn_c_try_compile "$LINENO"; then :
   7169   xorg_cv_cc_flag_unused_command_line_argument=yes
   7170 else
   7171   xorg_cv_cc_flag_unused_command_line_argument=no
   7172 fi
   7173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7174 fi
   7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7176 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7177 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7178 	CFLAGS="$xorg_testset_save_CFLAGS"
   7179 fi
   7180 
   7181 found="no"
   7182 
   7183 	if test $found = "no" ; then
   7184 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7185 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7186 		fi
   7187 
   7188 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7189 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7190 		fi
   7191 
   7192 		CFLAGS="$CFLAGS -Werror=main"
   7193 
   7194 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7195 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7196 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   7197 		if eval \${$cacheid+:} false; then :
   7198   $as_echo_n "(cached) " >&6
   7199 else
   7200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7201 /* end confdefs.h.  */
   7202 int i;
   7203 int
   7204 main ()
   7205 {
   7206 
   7207   ;
   7208   return 0;
   7209 }
   7210 _ACEOF
   7211 if ac_fn_c_try_link "$LINENO"; then :
   7212   eval $cacheid=yes
   7213 else
   7214   eval $cacheid=no
   7215 fi
   7216 rm -f core conftest.err conftest.$ac_objext \
   7217     conftest$ac_exeext conftest.$ac_ext
   7218 fi
   7219 
   7220 
   7221 		CFLAGS="$xorg_testset_save_CFLAGS"
   7222 
   7223 		eval supported=\$$cacheid
   7224 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7225 $as_echo "$supported" >&6; }
   7226 		if test "$supported" = "yes" ; then
   7227 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7228 			found="yes"
   7229 		fi
   7230 	fi
   7231 
   7232 
   7233 
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 
   7244 
   7245 
   7246 xorg_testset_save_CFLAGS="$CFLAGS"
   7247 
   7248 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7249 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7250 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7251 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7252 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7253   $as_echo_n "(cached) " >&6
   7254 else
   7255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7256 /* end confdefs.h.  */
   7257 int i;
   7258 _ACEOF
   7259 if ac_fn_c_try_compile "$LINENO"; then :
   7260   xorg_cv_cc_flag_unknown_warning_option=yes
   7261 else
   7262   xorg_cv_cc_flag_unknown_warning_option=no
   7263 fi
   7264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7265 fi
   7266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7267 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7268 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7269 	CFLAGS="$xorg_testset_save_CFLAGS"
   7270 fi
   7271 
   7272 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7273 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7274 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7275 	fi
   7276 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7277 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7278 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7279 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7280   $as_echo_n "(cached) " >&6
   7281 else
   7282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7283 /* end confdefs.h.  */
   7284 int i;
   7285 _ACEOF
   7286 if ac_fn_c_try_compile "$LINENO"; then :
   7287   xorg_cv_cc_flag_unused_command_line_argument=yes
   7288 else
   7289   xorg_cv_cc_flag_unused_command_line_argument=no
   7290 fi
   7291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7292 fi
   7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7294 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7295 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7296 	CFLAGS="$xorg_testset_save_CFLAGS"
   7297 fi
   7298 
   7299 found="no"
   7300 
   7301 	if test $found = "no" ; then
   7302 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7303 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7304 		fi
   7305 
   7306 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7307 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7308 		fi
   7309 
   7310 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7311 
   7312 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7313 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7314 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   7315 		if eval \${$cacheid+:} false; then :
   7316   $as_echo_n "(cached) " >&6
   7317 else
   7318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7319 /* end confdefs.h.  */
   7320 int i;
   7321 int
   7322 main ()
   7323 {
   7324 
   7325   ;
   7326   return 0;
   7327 }
   7328 _ACEOF
   7329 if ac_fn_c_try_link "$LINENO"; then :
   7330   eval $cacheid=yes
   7331 else
   7332   eval $cacheid=no
   7333 fi
   7334 rm -f core conftest.err conftest.$ac_objext \
   7335     conftest$ac_exeext conftest.$ac_ext
   7336 fi
   7337 
   7338 
   7339 		CFLAGS="$xorg_testset_save_CFLAGS"
   7340 
   7341 		eval supported=\$$cacheid
   7342 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7343 $as_echo "$supported" >&6; }
   7344 		if test "$supported" = "yes" ; then
   7345 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7346 			found="yes"
   7347 		fi
   7348 	fi
   7349 
   7350 
   7351 
   7352 
   7353 
   7354 
   7355 
   7356 
   7357 
   7358 
   7359 
   7360 
   7361 
   7362 
   7363 
   7364 xorg_testset_save_CFLAGS="$CFLAGS"
   7365 
   7366 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7367 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7368 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7369 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7370 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7371   $as_echo_n "(cached) " >&6
   7372 else
   7373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7374 /* end confdefs.h.  */
   7375 int i;
   7376 _ACEOF
   7377 if ac_fn_c_try_compile "$LINENO"; then :
   7378   xorg_cv_cc_flag_unknown_warning_option=yes
   7379 else
   7380   xorg_cv_cc_flag_unknown_warning_option=no
   7381 fi
   7382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7383 fi
   7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7385 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7386 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7387 	CFLAGS="$xorg_testset_save_CFLAGS"
   7388 fi
   7389 
   7390 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7391 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7392 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7393 	fi
   7394 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7395 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7396 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7397 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7398   $as_echo_n "(cached) " >&6
   7399 else
   7400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7401 /* end confdefs.h.  */
   7402 int i;
   7403 _ACEOF
   7404 if ac_fn_c_try_compile "$LINENO"; then :
   7405   xorg_cv_cc_flag_unused_command_line_argument=yes
   7406 else
   7407   xorg_cv_cc_flag_unused_command_line_argument=no
   7408 fi
   7409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7410 fi
   7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7412 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7413 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7414 	CFLAGS="$xorg_testset_save_CFLAGS"
   7415 fi
   7416 
   7417 found="no"
   7418 
   7419 	if test $found = "no" ; then
   7420 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7421 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7422 		fi
   7423 
   7424 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7425 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7426 		fi
   7427 
   7428 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7429 
   7430 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7431 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7432 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   7433 		if eval \${$cacheid+:} false; then :
   7434   $as_echo_n "(cached) " >&6
   7435 else
   7436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7437 /* end confdefs.h.  */
   7438 int i;
   7439 int
   7440 main ()
   7441 {
   7442 
   7443   ;
   7444   return 0;
   7445 }
   7446 _ACEOF
   7447 if ac_fn_c_try_link "$LINENO"; then :
   7448   eval $cacheid=yes
   7449 else
   7450   eval $cacheid=no
   7451 fi
   7452 rm -f core conftest.err conftest.$ac_objext \
   7453     conftest$ac_exeext conftest.$ac_ext
   7454 fi
   7455 
   7456 
   7457 		CFLAGS="$xorg_testset_save_CFLAGS"
   7458 
   7459 		eval supported=\$$cacheid
   7460 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7461 $as_echo "$supported" >&6; }
   7462 		if test "$supported" = "yes" ; then
   7463 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7464 			found="yes"
   7465 		fi
   7466 	fi
   7467 
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 xorg_testset_save_CFLAGS="$CFLAGS"
   7483 
   7484 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7485 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7486 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7487 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7488 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7489   $as_echo_n "(cached) " >&6
   7490 else
   7491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7492 /* end confdefs.h.  */
   7493 int i;
   7494 _ACEOF
   7495 if ac_fn_c_try_compile "$LINENO"; then :
   7496   xorg_cv_cc_flag_unknown_warning_option=yes
   7497 else
   7498   xorg_cv_cc_flag_unknown_warning_option=no
   7499 fi
   7500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7501 fi
   7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7503 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7504 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7505 	CFLAGS="$xorg_testset_save_CFLAGS"
   7506 fi
   7507 
   7508 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7509 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7510 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7511 	fi
   7512 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7513 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7514 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7515 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7516   $as_echo_n "(cached) " >&6
   7517 else
   7518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7519 /* end confdefs.h.  */
   7520 int i;
   7521 _ACEOF
   7522 if ac_fn_c_try_compile "$LINENO"; then :
   7523   xorg_cv_cc_flag_unused_command_line_argument=yes
   7524 else
   7525   xorg_cv_cc_flag_unused_command_line_argument=no
   7526 fi
   7527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7528 fi
   7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7530 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7531 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7532 	CFLAGS="$xorg_testset_save_CFLAGS"
   7533 fi
   7534 
   7535 found="no"
   7536 
   7537 	if test $found = "no" ; then
   7538 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7539 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7540 		fi
   7541 
   7542 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7543 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7544 		fi
   7545 
   7546 		CFLAGS="$CFLAGS -Werror=return-type"
   7547 
   7548 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7549 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7550 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   7551 		if eval \${$cacheid+:} false; then :
   7552   $as_echo_n "(cached) " >&6
   7553 else
   7554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7555 /* end confdefs.h.  */
   7556 int i;
   7557 int
   7558 main ()
   7559 {
   7560 
   7561   ;
   7562   return 0;
   7563 }
   7564 _ACEOF
   7565 if ac_fn_c_try_link "$LINENO"; then :
   7566   eval $cacheid=yes
   7567 else
   7568   eval $cacheid=no
   7569 fi
   7570 rm -f core conftest.err conftest.$ac_objext \
   7571     conftest$ac_exeext conftest.$ac_ext
   7572 fi
   7573 
   7574 
   7575 		CFLAGS="$xorg_testset_save_CFLAGS"
   7576 
   7577 		eval supported=\$$cacheid
   7578 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7579 $as_echo "$supported" >&6; }
   7580 		if test "$supported" = "yes" ; then
   7581 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7582 			found="yes"
   7583 		fi
   7584 	fi
   7585 
   7586 	if test $found = "no" ; then
   7587 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7588 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7589 		fi
   7590 
   7591 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7592 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7593 		fi
   7594 
   7595 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7596 
   7597 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7598 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7599 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   7600 		if eval \${$cacheid+:} false; then :
   7601   $as_echo_n "(cached) " >&6
   7602 else
   7603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7604 /* end confdefs.h.  */
   7605 int i;
   7606 int
   7607 main ()
   7608 {
   7609 
   7610   ;
   7611   return 0;
   7612 }
   7613 _ACEOF
   7614 if ac_fn_c_try_link "$LINENO"; then :
   7615   eval $cacheid=yes
   7616 else
   7617   eval $cacheid=no
   7618 fi
   7619 rm -f core conftest.err conftest.$ac_objext \
   7620     conftest$ac_exeext conftest.$ac_ext
   7621 fi
   7622 
   7623 
   7624 		CFLAGS="$xorg_testset_save_CFLAGS"
   7625 
   7626 		eval supported=\$$cacheid
   7627 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7628 $as_echo "$supported" >&6; }
   7629 		if test "$supported" = "yes" ; then
   7630 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7631 			found="yes"
   7632 		fi
   7633 	fi
   7634 
   7635 
   7636 
   7637 
   7638 
   7639 
   7640 
   7641 
   7642 
   7643 
   7644 
   7645 
   7646 
   7647 
   7648 
   7649 xorg_testset_save_CFLAGS="$CFLAGS"
   7650 
   7651 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7652 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7653 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7654 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7655 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7656   $as_echo_n "(cached) " >&6
   7657 else
   7658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7659 /* end confdefs.h.  */
   7660 int i;
   7661 _ACEOF
   7662 if ac_fn_c_try_compile "$LINENO"; then :
   7663   xorg_cv_cc_flag_unknown_warning_option=yes
   7664 else
   7665   xorg_cv_cc_flag_unknown_warning_option=no
   7666 fi
   7667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7668 fi
   7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7670 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7671 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7672 	CFLAGS="$xorg_testset_save_CFLAGS"
   7673 fi
   7674 
   7675 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7676 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7677 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7678 	fi
   7679 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7680 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7681 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7682 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7683   $as_echo_n "(cached) " >&6
   7684 else
   7685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7686 /* end confdefs.h.  */
   7687 int i;
   7688 _ACEOF
   7689 if ac_fn_c_try_compile "$LINENO"; then :
   7690   xorg_cv_cc_flag_unused_command_line_argument=yes
   7691 else
   7692   xorg_cv_cc_flag_unused_command_line_argument=no
   7693 fi
   7694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7695 fi
   7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7697 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7698 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7699 	CFLAGS="$xorg_testset_save_CFLAGS"
   7700 fi
   7701 
   7702 found="no"
   7703 
   7704 	if test $found = "no" ; then
   7705 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7706 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7707 		fi
   7708 
   7709 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7710 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7711 		fi
   7712 
   7713 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7714 
   7715 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7716 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7717 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   7718 		if eval \${$cacheid+:} false; then :
   7719   $as_echo_n "(cached) " >&6
   7720 else
   7721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7722 /* end confdefs.h.  */
   7723 int i;
   7724 int
   7725 main ()
   7726 {
   7727 
   7728   ;
   7729   return 0;
   7730 }
   7731 _ACEOF
   7732 if ac_fn_c_try_link "$LINENO"; then :
   7733   eval $cacheid=yes
   7734 else
   7735   eval $cacheid=no
   7736 fi
   7737 rm -f core conftest.err conftest.$ac_objext \
   7738     conftest$ac_exeext conftest.$ac_ext
   7739 fi
   7740 
   7741 
   7742 		CFLAGS="$xorg_testset_save_CFLAGS"
   7743 
   7744 		eval supported=\$$cacheid
   7745 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7746 $as_echo "$supported" >&6; }
   7747 		if test "$supported" = "yes" ; then
   7748 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7749 			found="yes"
   7750 		fi
   7751 	fi
   7752 
   7753 
   7754 
   7755 
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 xorg_testset_save_CFLAGS="$CFLAGS"
   7768 
   7769 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7770 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7771 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7772 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7773 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7774   $as_echo_n "(cached) " >&6
   7775 else
   7776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7777 /* end confdefs.h.  */
   7778 int i;
   7779 _ACEOF
   7780 if ac_fn_c_try_compile "$LINENO"; then :
   7781   xorg_cv_cc_flag_unknown_warning_option=yes
   7782 else
   7783   xorg_cv_cc_flag_unknown_warning_option=no
   7784 fi
   7785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7786 fi
   7787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7788 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7789 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7790 	CFLAGS="$xorg_testset_save_CFLAGS"
   7791 fi
   7792 
   7793 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7794 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7795 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7796 	fi
   7797 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7798 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7799 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7800 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7801   $as_echo_n "(cached) " >&6
   7802 else
   7803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7804 /* end confdefs.h.  */
   7805 int i;
   7806 _ACEOF
   7807 if ac_fn_c_try_compile "$LINENO"; then :
   7808   xorg_cv_cc_flag_unused_command_line_argument=yes
   7809 else
   7810   xorg_cv_cc_flag_unused_command_line_argument=no
   7811 fi
   7812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7813 fi
   7814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7815 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7816 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7817 	CFLAGS="$xorg_testset_save_CFLAGS"
   7818 fi
   7819 
   7820 found="no"
   7821 
   7822 	if test $found = "no" ; then
   7823 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7824 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7825 		fi
   7826 
   7827 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7828 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7829 		fi
   7830 
   7831 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7832 
   7833 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7834 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7835 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   7836 		if eval \${$cacheid+:} false; then :
   7837   $as_echo_n "(cached) " >&6
   7838 else
   7839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7840 /* end confdefs.h.  */
   7841 int i;
   7842 int
   7843 main ()
   7844 {
   7845 
   7846   ;
   7847   return 0;
   7848 }
   7849 _ACEOF
   7850 if ac_fn_c_try_link "$LINENO"; then :
   7851   eval $cacheid=yes
   7852 else
   7853   eval $cacheid=no
   7854 fi
   7855 rm -f core conftest.err conftest.$ac_objext \
   7856     conftest$ac_exeext conftest.$ac_ext
   7857 fi
   7858 
   7859 
   7860 		CFLAGS="$xorg_testset_save_CFLAGS"
   7861 
   7862 		eval supported=\$$cacheid
   7863 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7864 $as_echo "$supported" >&6; }
   7865 		if test "$supported" = "yes" ; then
   7866 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7867 			found="yes"
   7868 		fi
   7869 	fi
   7870 
   7871 
   7872 
   7873 
   7874 
   7875 
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 xorg_testset_save_CFLAGS="$CFLAGS"
   7886 
   7887 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7888 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7889 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7890 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7891 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7892   $as_echo_n "(cached) " >&6
   7893 else
   7894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7895 /* end confdefs.h.  */
   7896 int i;
   7897 _ACEOF
   7898 if ac_fn_c_try_compile "$LINENO"; then :
   7899   xorg_cv_cc_flag_unknown_warning_option=yes
   7900 else
   7901   xorg_cv_cc_flag_unknown_warning_option=no
   7902 fi
   7903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7904 fi
   7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7906 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7907 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7908 	CFLAGS="$xorg_testset_save_CFLAGS"
   7909 fi
   7910 
   7911 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7912 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7913 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7914 	fi
   7915 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7916 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7917 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7918 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7919   $as_echo_n "(cached) " >&6
   7920 else
   7921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7922 /* end confdefs.h.  */
   7923 int i;
   7924 _ACEOF
   7925 if ac_fn_c_try_compile "$LINENO"; then :
   7926   xorg_cv_cc_flag_unused_command_line_argument=yes
   7927 else
   7928   xorg_cv_cc_flag_unused_command_line_argument=no
   7929 fi
   7930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7931 fi
   7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7933 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7934 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7935 	CFLAGS="$xorg_testset_save_CFLAGS"
   7936 fi
   7937 
   7938 found="no"
   7939 
   7940 	if test $found = "no" ; then
   7941 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7942 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7943 		fi
   7944 
   7945 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7946 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7947 		fi
   7948 
   7949 		CFLAGS="$CFLAGS -Werror=write-strings"
   7950 
   7951 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   7952 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   7953 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   7954 		if eval \${$cacheid+:} false; then :
   7955   $as_echo_n "(cached) " >&6
   7956 else
   7957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7958 /* end confdefs.h.  */
   7959 int i;
   7960 int
   7961 main ()
   7962 {
   7963 
   7964   ;
   7965   return 0;
   7966 }
   7967 _ACEOF
   7968 if ac_fn_c_try_link "$LINENO"; then :
   7969   eval $cacheid=yes
   7970 else
   7971   eval $cacheid=no
   7972 fi
   7973 rm -f core conftest.err conftest.$ac_objext \
   7974     conftest$ac_exeext conftest.$ac_ext
   7975 fi
   7976 
   7977 
   7978 		CFLAGS="$xorg_testset_save_CFLAGS"
   7979 
   7980 		eval supported=\$$cacheid
   7981 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7982 $as_echo "$supported" >&6; }
   7983 		if test "$supported" = "yes" ; then
   7984 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   7985 			found="yes"
   7986 		fi
   7987 	fi
   7988 
   7989 
   7990 
   7991 
   7992 
   7993 
   7994 
   7995 
   7996 
   7997 
   7998 
   7999 
   8000 
   8001 
   8002 
   8003 xorg_testset_save_CFLAGS="$CFLAGS"
   8004 
   8005 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8006 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8007 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8008 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8009 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8010   $as_echo_n "(cached) " >&6
   8011 else
   8012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8013 /* end confdefs.h.  */
   8014 int i;
   8015 _ACEOF
   8016 if ac_fn_c_try_compile "$LINENO"; then :
   8017   xorg_cv_cc_flag_unknown_warning_option=yes
   8018 else
   8019   xorg_cv_cc_flag_unknown_warning_option=no
   8020 fi
   8021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8022 fi
   8023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8024 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8025 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8026 	CFLAGS="$xorg_testset_save_CFLAGS"
   8027 fi
   8028 
   8029 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8030 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8031 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8032 	fi
   8033 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8034 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8035 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8036 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8037   $as_echo_n "(cached) " >&6
   8038 else
   8039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8040 /* end confdefs.h.  */
   8041 int i;
   8042 _ACEOF
   8043 if ac_fn_c_try_compile "$LINENO"; then :
   8044   xorg_cv_cc_flag_unused_command_line_argument=yes
   8045 else
   8046   xorg_cv_cc_flag_unused_command_line_argument=no
   8047 fi
   8048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8049 fi
   8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8051 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8052 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8053 	CFLAGS="$xorg_testset_save_CFLAGS"
   8054 fi
   8055 
   8056 found="no"
   8057 
   8058 	if test $found = "no" ; then
   8059 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8060 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8061 		fi
   8062 
   8063 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8064 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8065 		fi
   8066 
   8067 		CFLAGS="$CFLAGS -Werror=address"
   8068 
   8069 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8070 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8071 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   8072 		if eval \${$cacheid+:} false; then :
   8073   $as_echo_n "(cached) " >&6
   8074 else
   8075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8076 /* end confdefs.h.  */
   8077 int i;
   8078 int
   8079 main ()
   8080 {
   8081 
   8082   ;
   8083   return 0;
   8084 }
   8085 _ACEOF
   8086 if ac_fn_c_try_link "$LINENO"; then :
   8087   eval $cacheid=yes
   8088 else
   8089   eval $cacheid=no
   8090 fi
   8091 rm -f core conftest.err conftest.$ac_objext \
   8092     conftest$ac_exeext conftest.$ac_ext
   8093 fi
   8094 
   8095 
   8096 		CFLAGS="$xorg_testset_save_CFLAGS"
   8097 
   8098 		eval supported=\$$cacheid
   8099 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8100 $as_echo "$supported" >&6; }
   8101 		if test "$supported" = "yes" ; then
   8102 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8103 			found="yes"
   8104 		fi
   8105 	fi
   8106 
   8107 
   8108 
   8109 
   8110 
   8111 
   8112 
   8113 
   8114 
   8115 
   8116 
   8117 
   8118 
   8119 
   8120 
   8121 xorg_testset_save_CFLAGS="$CFLAGS"
   8122 
   8123 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8124 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8125 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8126 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8127 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8128   $as_echo_n "(cached) " >&6
   8129 else
   8130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8131 /* end confdefs.h.  */
   8132 int i;
   8133 _ACEOF
   8134 if ac_fn_c_try_compile "$LINENO"; then :
   8135   xorg_cv_cc_flag_unknown_warning_option=yes
   8136 else
   8137   xorg_cv_cc_flag_unknown_warning_option=no
   8138 fi
   8139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8140 fi
   8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8142 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8143 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8144 	CFLAGS="$xorg_testset_save_CFLAGS"
   8145 fi
   8146 
   8147 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8148 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8149 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8150 	fi
   8151 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8152 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8153 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8154 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8155   $as_echo_n "(cached) " >&6
   8156 else
   8157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8158 /* end confdefs.h.  */
   8159 int i;
   8160 _ACEOF
   8161 if ac_fn_c_try_compile "$LINENO"; then :
   8162   xorg_cv_cc_flag_unused_command_line_argument=yes
   8163 else
   8164   xorg_cv_cc_flag_unused_command_line_argument=no
   8165 fi
   8166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8167 fi
   8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8169 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8170 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8171 	CFLAGS="$xorg_testset_save_CFLAGS"
   8172 fi
   8173 
   8174 found="no"
   8175 
   8176 	if test $found = "no" ; then
   8177 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8178 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8179 		fi
   8180 
   8181 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8182 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8183 		fi
   8184 
   8185 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8186 
   8187 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8188 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8189 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   8190 		if eval \${$cacheid+:} false; then :
   8191   $as_echo_n "(cached) " >&6
   8192 else
   8193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8194 /* end confdefs.h.  */
   8195 int i;
   8196 int
   8197 main ()
   8198 {
   8199 
   8200   ;
   8201   return 0;
   8202 }
   8203 _ACEOF
   8204 if ac_fn_c_try_link "$LINENO"; then :
   8205   eval $cacheid=yes
   8206 else
   8207   eval $cacheid=no
   8208 fi
   8209 rm -f core conftest.err conftest.$ac_objext \
   8210     conftest$ac_exeext conftest.$ac_ext
   8211 fi
   8212 
   8213 
   8214 		CFLAGS="$xorg_testset_save_CFLAGS"
   8215 
   8216 		eval supported=\$$cacheid
   8217 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8218 $as_echo "$supported" >&6; }
   8219 		if test "$supported" = "yes" ; then
   8220 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8221 			found="yes"
   8222 		fi
   8223 	fi
   8224 
   8225 	if test $found = "no" ; then
   8226 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8227 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8228 		fi
   8229 
   8230 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8231 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8232 		fi
   8233 
   8234 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8235 
   8236 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8237 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8238 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   8239 		if eval \${$cacheid+:} false; then :
   8240   $as_echo_n "(cached) " >&6
   8241 else
   8242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8243 /* end confdefs.h.  */
   8244 int i;
   8245 int
   8246 main ()
   8247 {
   8248 
   8249   ;
   8250   return 0;
   8251 }
   8252 _ACEOF
   8253 if ac_fn_c_try_link "$LINENO"; then :
   8254   eval $cacheid=yes
   8255 else
   8256   eval $cacheid=no
   8257 fi
   8258 rm -f core conftest.err conftest.$ac_objext \
   8259     conftest$ac_exeext conftest.$ac_ext
   8260 fi
   8261 
   8262 
   8263 		CFLAGS="$xorg_testset_save_CFLAGS"
   8264 
   8265 		eval supported=\$$cacheid
   8266 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8267 $as_echo "$supported" >&6; }
   8268 		if test "$supported" = "yes" ; then
   8269 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8270 			found="yes"
   8271 		fi
   8272 	fi
   8273 
   8274 
   8275 
   8276 
   8277 
   8278 
   8279 
   8280 
   8281 
   8282 
   8283 
   8284 
   8285 
   8286 
   8287 
   8288 xorg_testset_save_CFLAGS="$CFLAGS"
   8289 
   8290 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8291 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8292 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8293 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8294 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8295   $as_echo_n "(cached) " >&6
   8296 else
   8297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8298 /* end confdefs.h.  */
   8299 int i;
   8300 _ACEOF
   8301 if ac_fn_c_try_compile "$LINENO"; then :
   8302   xorg_cv_cc_flag_unknown_warning_option=yes
   8303 else
   8304   xorg_cv_cc_flag_unknown_warning_option=no
   8305 fi
   8306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8307 fi
   8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8309 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8310 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8311 	CFLAGS="$xorg_testset_save_CFLAGS"
   8312 fi
   8313 
   8314 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8315 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8316 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8317 	fi
   8318 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8319 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8320 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8321 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8322   $as_echo_n "(cached) " >&6
   8323 else
   8324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8325 /* end confdefs.h.  */
   8326 int i;
   8327 _ACEOF
   8328 if ac_fn_c_try_compile "$LINENO"; then :
   8329   xorg_cv_cc_flag_unused_command_line_argument=yes
   8330 else
   8331   xorg_cv_cc_flag_unused_command_line_argument=no
   8332 fi
   8333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8334 fi
   8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8336 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8337 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8338 	CFLAGS="$xorg_testset_save_CFLAGS"
   8339 fi
   8340 
   8341 found="no"
   8342 
   8343 	if test $found = "no" ; then
   8344 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8345 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8346 		fi
   8347 
   8348 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8349 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8350 		fi
   8351 
   8352 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8353 
   8354 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8355 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8356 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   8357 		if eval \${$cacheid+:} false; then :
   8358   $as_echo_n "(cached) " >&6
   8359 else
   8360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8361 /* end confdefs.h.  */
   8362 int i;
   8363 int
   8364 main ()
   8365 {
   8366 
   8367   ;
   8368   return 0;
   8369 }
   8370 _ACEOF
   8371 if ac_fn_c_try_link "$LINENO"; then :
   8372   eval $cacheid=yes
   8373 else
   8374   eval $cacheid=no
   8375 fi
   8376 rm -f core conftest.err conftest.$ac_objext \
   8377     conftest$ac_exeext conftest.$ac_ext
   8378 fi
   8379 
   8380 
   8381 		CFLAGS="$xorg_testset_save_CFLAGS"
   8382 
   8383 		eval supported=\$$cacheid
   8384 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8385 $as_echo "$supported" >&6; }
   8386 		if test "$supported" = "yes" ; then
   8387 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8388 			found="yes"
   8389 		fi
   8390 	fi
   8391 
   8392  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8393 else
   8394 { $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
   8395 $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;}
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 xorg_testset_save_CFLAGS="$CFLAGS"
   8410 
   8411 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8412 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8413 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8414 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8415 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8416   $as_echo_n "(cached) " >&6
   8417 else
   8418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8419 /* end confdefs.h.  */
   8420 int i;
   8421 _ACEOF
   8422 if ac_fn_c_try_compile "$LINENO"; then :
   8423   xorg_cv_cc_flag_unknown_warning_option=yes
   8424 else
   8425   xorg_cv_cc_flag_unknown_warning_option=no
   8426 fi
   8427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8428 fi
   8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8430 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8431 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8432 	CFLAGS="$xorg_testset_save_CFLAGS"
   8433 fi
   8434 
   8435 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8436 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8437 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8438 	fi
   8439 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8440 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8441 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8442 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8443   $as_echo_n "(cached) " >&6
   8444 else
   8445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8446 /* end confdefs.h.  */
   8447 int i;
   8448 _ACEOF
   8449 if ac_fn_c_try_compile "$LINENO"; then :
   8450   xorg_cv_cc_flag_unused_command_line_argument=yes
   8451 else
   8452   xorg_cv_cc_flag_unused_command_line_argument=no
   8453 fi
   8454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8455 fi
   8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8457 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8458 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8459 	CFLAGS="$xorg_testset_save_CFLAGS"
   8460 fi
   8461 
   8462 found="no"
   8463 
   8464 	if test $found = "no" ; then
   8465 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8466 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8467 		fi
   8468 
   8469 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8470 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8471 		fi
   8472 
   8473 		CFLAGS="$CFLAGS -Wimplicit"
   8474 
   8475 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8476 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8477 		cacheid=xorg_cv_cc_flag__Wimplicit
   8478 		if eval \${$cacheid+:} false; then :
   8479   $as_echo_n "(cached) " >&6
   8480 else
   8481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8482 /* end confdefs.h.  */
   8483 int i;
   8484 int
   8485 main ()
   8486 {
   8487 
   8488   ;
   8489   return 0;
   8490 }
   8491 _ACEOF
   8492 if ac_fn_c_try_link "$LINENO"; then :
   8493   eval $cacheid=yes
   8494 else
   8495   eval $cacheid=no
   8496 fi
   8497 rm -f core conftest.err conftest.$ac_objext \
   8498     conftest$ac_exeext conftest.$ac_ext
   8499 fi
   8500 
   8501 
   8502 		CFLAGS="$xorg_testset_save_CFLAGS"
   8503 
   8504 		eval supported=\$$cacheid
   8505 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8506 $as_echo "$supported" >&6; }
   8507 		if test "$supported" = "yes" ; then
   8508 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8509 			found="yes"
   8510 		fi
   8511 	fi
   8512 
   8513 
   8514 
   8515 
   8516 
   8517 
   8518 
   8519 
   8520 
   8521 
   8522 
   8523 
   8524 
   8525 
   8526 
   8527 xorg_testset_save_CFLAGS="$CFLAGS"
   8528 
   8529 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8530 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8531 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8532 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8533 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8534   $as_echo_n "(cached) " >&6
   8535 else
   8536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8537 /* end confdefs.h.  */
   8538 int i;
   8539 _ACEOF
   8540 if ac_fn_c_try_compile "$LINENO"; then :
   8541   xorg_cv_cc_flag_unknown_warning_option=yes
   8542 else
   8543   xorg_cv_cc_flag_unknown_warning_option=no
   8544 fi
   8545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8546 fi
   8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8548 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8549 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8550 	CFLAGS="$xorg_testset_save_CFLAGS"
   8551 fi
   8552 
   8553 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8554 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8555 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8556 	fi
   8557 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8558 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8559 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8560 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8561   $as_echo_n "(cached) " >&6
   8562 else
   8563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8564 /* end confdefs.h.  */
   8565 int i;
   8566 _ACEOF
   8567 if ac_fn_c_try_compile "$LINENO"; then :
   8568   xorg_cv_cc_flag_unused_command_line_argument=yes
   8569 else
   8570   xorg_cv_cc_flag_unused_command_line_argument=no
   8571 fi
   8572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8573 fi
   8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8575 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8576 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8577 	CFLAGS="$xorg_testset_save_CFLAGS"
   8578 fi
   8579 
   8580 found="no"
   8581 
   8582 	if test $found = "no" ; then
   8583 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8584 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8585 		fi
   8586 
   8587 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8588 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8589 		fi
   8590 
   8591 		CFLAGS="$CFLAGS -Wnonnull"
   8592 
   8593 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8594 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8595 		cacheid=xorg_cv_cc_flag__Wnonnull
   8596 		if eval \${$cacheid+:} false; then :
   8597   $as_echo_n "(cached) " >&6
   8598 else
   8599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8600 /* end confdefs.h.  */
   8601 int i;
   8602 int
   8603 main ()
   8604 {
   8605 
   8606   ;
   8607   return 0;
   8608 }
   8609 _ACEOF
   8610 if ac_fn_c_try_link "$LINENO"; then :
   8611   eval $cacheid=yes
   8612 else
   8613   eval $cacheid=no
   8614 fi
   8615 rm -f core conftest.err conftest.$ac_objext \
   8616     conftest$ac_exeext conftest.$ac_ext
   8617 fi
   8618 
   8619 
   8620 		CFLAGS="$xorg_testset_save_CFLAGS"
   8621 
   8622 		eval supported=\$$cacheid
   8623 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8624 $as_echo "$supported" >&6; }
   8625 		if test "$supported" = "yes" ; then
   8626 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8627 			found="yes"
   8628 		fi
   8629 	fi
   8630 
   8631 
   8632 
   8633 
   8634 
   8635 
   8636 
   8637 
   8638 
   8639 
   8640 
   8641 
   8642 
   8643 
   8644 
   8645 xorg_testset_save_CFLAGS="$CFLAGS"
   8646 
   8647 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8648 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8649 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8650 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8651 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8652   $as_echo_n "(cached) " >&6
   8653 else
   8654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8655 /* end confdefs.h.  */
   8656 int i;
   8657 _ACEOF
   8658 if ac_fn_c_try_compile "$LINENO"; then :
   8659   xorg_cv_cc_flag_unknown_warning_option=yes
   8660 else
   8661   xorg_cv_cc_flag_unknown_warning_option=no
   8662 fi
   8663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8664 fi
   8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8666 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8667 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8668 	CFLAGS="$xorg_testset_save_CFLAGS"
   8669 fi
   8670 
   8671 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8672 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8673 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8674 	fi
   8675 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8676 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8677 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8678 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8679   $as_echo_n "(cached) " >&6
   8680 else
   8681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8682 /* end confdefs.h.  */
   8683 int i;
   8684 _ACEOF
   8685 if ac_fn_c_try_compile "$LINENO"; then :
   8686   xorg_cv_cc_flag_unused_command_line_argument=yes
   8687 else
   8688   xorg_cv_cc_flag_unused_command_line_argument=no
   8689 fi
   8690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8691 fi
   8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8693 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8694 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8695 	CFLAGS="$xorg_testset_save_CFLAGS"
   8696 fi
   8697 
   8698 found="no"
   8699 
   8700 	if test $found = "no" ; then
   8701 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8702 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8703 		fi
   8704 
   8705 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8706 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8707 		fi
   8708 
   8709 		CFLAGS="$CFLAGS -Winit-self"
   8710 
   8711 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8712 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8713 		cacheid=xorg_cv_cc_flag__Winit_self
   8714 		if eval \${$cacheid+:} false; then :
   8715   $as_echo_n "(cached) " >&6
   8716 else
   8717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8718 /* end confdefs.h.  */
   8719 int i;
   8720 int
   8721 main ()
   8722 {
   8723 
   8724   ;
   8725   return 0;
   8726 }
   8727 _ACEOF
   8728 if ac_fn_c_try_link "$LINENO"; then :
   8729   eval $cacheid=yes
   8730 else
   8731   eval $cacheid=no
   8732 fi
   8733 rm -f core conftest.err conftest.$ac_objext \
   8734     conftest$ac_exeext conftest.$ac_ext
   8735 fi
   8736 
   8737 
   8738 		CFLAGS="$xorg_testset_save_CFLAGS"
   8739 
   8740 		eval supported=\$$cacheid
   8741 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8742 $as_echo "$supported" >&6; }
   8743 		if test "$supported" = "yes" ; then
   8744 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8745 			found="yes"
   8746 		fi
   8747 	fi
   8748 
   8749 
   8750 
   8751 
   8752 
   8753 
   8754 
   8755 
   8756 
   8757 
   8758 
   8759 
   8760 
   8761 
   8762 
   8763 xorg_testset_save_CFLAGS="$CFLAGS"
   8764 
   8765 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8766 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8767 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8768 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8769 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8770   $as_echo_n "(cached) " >&6
   8771 else
   8772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8773 /* end confdefs.h.  */
   8774 int i;
   8775 _ACEOF
   8776 if ac_fn_c_try_compile "$LINENO"; then :
   8777   xorg_cv_cc_flag_unknown_warning_option=yes
   8778 else
   8779   xorg_cv_cc_flag_unknown_warning_option=no
   8780 fi
   8781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8782 fi
   8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8784 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8785 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8786 	CFLAGS="$xorg_testset_save_CFLAGS"
   8787 fi
   8788 
   8789 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8790 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8791 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8792 	fi
   8793 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8794 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8795 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8796 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8797   $as_echo_n "(cached) " >&6
   8798 else
   8799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8800 /* end confdefs.h.  */
   8801 int i;
   8802 _ACEOF
   8803 if ac_fn_c_try_compile "$LINENO"; then :
   8804   xorg_cv_cc_flag_unused_command_line_argument=yes
   8805 else
   8806   xorg_cv_cc_flag_unused_command_line_argument=no
   8807 fi
   8808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8809 fi
   8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8811 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8812 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8813 	CFLAGS="$xorg_testset_save_CFLAGS"
   8814 fi
   8815 
   8816 found="no"
   8817 
   8818 	if test $found = "no" ; then
   8819 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8820 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8821 		fi
   8822 
   8823 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8824 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8825 		fi
   8826 
   8827 		CFLAGS="$CFLAGS -Wmain"
   8828 
   8829 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8830 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8831 		cacheid=xorg_cv_cc_flag__Wmain
   8832 		if eval \${$cacheid+:} false; then :
   8833   $as_echo_n "(cached) " >&6
   8834 else
   8835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8836 /* end confdefs.h.  */
   8837 int i;
   8838 int
   8839 main ()
   8840 {
   8841 
   8842   ;
   8843   return 0;
   8844 }
   8845 _ACEOF
   8846 if ac_fn_c_try_link "$LINENO"; then :
   8847   eval $cacheid=yes
   8848 else
   8849   eval $cacheid=no
   8850 fi
   8851 rm -f core conftest.err conftest.$ac_objext \
   8852     conftest$ac_exeext conftest.$ac_ext
   8853 fi
   8854 
   8855 
   8856 		CFLAGS="$xorg_testset_save_CFLAGS"
   8857 
   8858 		eval supported=\$$cacheid
   8859 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8860 $as_echo "$supported" >&6; }
   8861 		if test "$supported" = "yes" ; then
   8862 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8863 			found="yes"
   8864 		fi
   8865 	fi
   8866 
   8867 
   8868 
   8869 
   8870 
   8871 
   8872 
   8873 
   8874 
   8875 
   8876 
   8877 
   8878 
   8879 
   8880 
   8881 xorg_testset_save_CFLAGS="$CFLAGS"
   8882 
   8883 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8884 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8885 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8886 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8887 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8888   $as_echo_n "(cached) " >&6
   8889 else
   8890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8891 /* end confdefs.h.  */
   8892 int i;
   8893 _ACEOF
   8894 if ac_fn_c_try_compile "$LINENO"; then :
   8895   xorg_cv_cc_flag_unknown_warning_option=yes
   8896 else
   8897   xorg_cv_cc_flag_unknown_warning_option=no
   8898 fi
   8899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8900 fi
   8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8902 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8903 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8904 	CFLAGS="$xorg_testset_save_CFLAGS"
   8905 fi
   8906 
   8907 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8908 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8909 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8910 	fi
   8911 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8912 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8913 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8914 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8915   $as_echo_n "(cached) " >&6
   8916 else
   8917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8918 /* end confdefs.h.  */
   8919 int i;
   8920 _ACEOF
   8921 if ac_fn_c_try_compile "$LINENO"; then :
   8922   xorg_cv_cc_flag_unused_command_line_argument=yes
   8923 else
   8924   xorg_cv_cc_flag_unused_command_line_argument=no
   8925 fi
   8926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8927 fi
   8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8929 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8930 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8931 	CFLAGS="$xorg_testset_save_CFLAGS"
   8932 fi
   8933 
   8934 found="no"
   8935 
   8936 	if test $found = "no" ; then
   8937 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8938 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8939 		fi
   8940 
   8941 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8942 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8943 		fi
   8944 
   8945 		CFLAGS="$CFLAGS -Wmissing-braces"
   8946 
   8947 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   8948 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   8949 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   8950 		if eval \${$cacheid+:} false; then :
   8951   $as_echo_n "(cached) " >&6
   8952 else
   8953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8954 /* end confdefs.h.  */
   8955 int i;
   8956 int
   8957 main ()
   8958 {
   8959 
   8960   ;
   8961   return 0;
   8962 }
   8963 _ACEOF
   8964 if ac_fn_c_try_link "$LINENO"; then :
   8965   eval $cacheid=yes
   8966 else
   8967   eval $cacheid=no
   8968 fi
   8969 rm -f core conftest.err conftest.$ac_objext \
   8970     conftest$ac_exeext conftest.$ac_ext
   8971 fi
   8972 
   8973 
   8974 		CFLAGS="$xorg_testset_save_CFLAGS"
   8975 
   8976 		eval supported=\$$cacheid
   8977 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8978 $as_echo "$supported" >&6; }
   8979 		if test "$supported" = "yes" ; then
   8980 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   8981 			found="yes"
   8982 		fi
   8983 	fi
   8984 
   8985 
   8986 
   8987 
   8988 
   8989 
   8990 
   8991 
   8992 
   8993 
   8994 
   8995 
   8996 
   8997 
   8998 
   8999 xorg_testset_save_CFLAGS="$CFLAGS"
   9000 
   9001 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9002 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9003 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9004 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9005 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9006   $as_echo_n "(cached) " >&6
   9007 else
   9008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9009 /* end confdefs.h.  */
   9010 int i;
   9011 _ACEOF
   9012 if ac_fn_c_try_compile "$LINENO"; then :
   9013   xorg_cv_cc_flag_unknown_warning_option=yes
   9014 else
   9015   xorg_cv_cc_flag_unknown_warning_option=no
   9016 fi
   9017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9018 fi
   9019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9020 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9021 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9022 	CFLAGS="$xorg_testset_save_CFLAGS"
   9023 fi
   9024 
   9025 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9026 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9027 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9028 	fi
   9029 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9030 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9031 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9032 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9033   $as_echo_n "(cached) " >&6
   9034 else
   9035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9036 /* end confdefs.h.  */
   9037 int i;
   9038 _ACEOF
   9039 if ac_fn_c_try_compile "$LINENO"; then :
   9040   xorg_cv_cc_flag_unused_command_line_argument=yes
   9041 else
   9042   xorg_cv_cc_flag_unused_command_line_argument=no
   9043 fi
   9044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9045 fi
   9046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9047 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9048 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9049 	CFLAGS="$xorg_testset_save_CFLAGS"
   9050 fi
   9051 
   9052 found="no"
   9053 
   9054 	if test $found = "no" ; then
   9055 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9056 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9057 		fi
   9058 
   9059 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9060 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9061 		fi
   9062 
   9063 		CFLAGS="$CFLAGS -Wsequence-point"
   9064 
   9065 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9066 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9067 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9068 		if eval \${$cacheid+:} false; then :
   9069   $as_echo_n "(cached) " >&6
   9070 else
   9071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9072 /* end confdefs.h.  */
   9073 int i;
   9074 int
   9075 main ()
   9076 {
   9077 
   9078   ;
   9079   return 0;
   9080 }
   9081 _ACEOF
   9082 if ac_fn_c_try_link "$LINENO"; then :
   9083   eval $cacheid=yes
   9084 else
   9085   eval $cacheid=no
   9086 fi
   9087 rm -f core conftest.err conftest.$ac_objext \
   9088     conftest$ac_exeext conftest.$ac_ext
   9089 fi
   9090 
   9091 
   9092 		CFLAGS="$xorg_testset_save_CFLAGS"
   9093 
   9094 		eval supported=\$$cacheid
   9095 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9096 $as_echo "$supported" >&6; }
   9097 		if test "$supported" = "yes" ; then
   9098 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9099 			found="yes"
   9100 		fi
   9101 	fi
   9102 
   9103 
   9104 
   9105 
   9106 
   9107 
   9108 
   9109 
   9110 
   9111 
   9112 
   9113 
   9114 
   9115 
   9116 
   9117 xorg_testset_save_CFLAGS="$CFLAGS"
   9118 
   9119 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9120 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9121 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9122 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9123 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9124   $as_echo_n "(cached) " >&6
   9125 else
   9126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9127 /* end confdefs.h.  */
   9128 int i;
   9129 _ACEOF
   9130 if ac_fn_c_try_compile "$LINENO"; then :
   9131   xorg_cv_cc_flag_unknown_warning_option=yes
   9132 else
   9133   xorg_cv_cc_flag_unknown_warning_option=no
   9134 fi
   9135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9136 fi
   9137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9138 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9139 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9140 	CFLAGS="$xorg_testset_save_CFLAGS"
   9141 fi
   9142 
   9143 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9144 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9145 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9146 	fi
   9147 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9148 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9149 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9150 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9151   $as_echo_n "(cached) " >&6
   9152 else
   9153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9154 /* end confdefs.h.  */
   9155 int i;
   9156 _ACEOF
   9157 if ac_fn_c_try_compile "$LINENO"; then :
   9158   xorg_cv_cc_flag_unused_command_line_argument=yes
   9159 else
   9160   xorg_cv_cc_flag_unused_command_line_argument=no
   9161 fi
   9162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9163 fi
   9164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9165 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9166 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9167 	CFLAGS="$xorg_testset_save_CFLAGS"
   9168 fi
   9169 
   9170 found="no"
   9171 
   9172 	if test $found = "no" ; then
   9173 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9174 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9175 		fi
   9176 
   9177 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9178 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9179 		fi
   9180 
   9181 		CFLAGS="$CFLAGS -Wreturn-type"
   9182 
   9183 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9184 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9185 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9186 		if eval \${$cacheid+:} false; then :
   9187   $as_echo_n "(cached) " >&6
   9188 else
   9189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9190 /* end confdefs.h.  */
   9191 int i;
   9192 int
   9193 main ()
   9194 {
   9195 
   9196   ;
   9197   return 0;
   9198 }
   9199 _ACEOF
   9200 if ac_fn_c_try_link "$LINENO"; then :
   9201   eval $cacheid=yes
   9202 else
   9203   eval $cacheid=no
   9204 fi
   9205 rm -f core conftest.err conftest.$ac_objext \
   9206     conftest$ac_exeext conftest.$ac_ext
   9207 fi
   9208 
   9209 
   9210 		CFLAGS="$xorg_testset_save_CFLAGS"
   9211 
   9212 		eval supported=\$$cacheid
   9213 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9214 $as_echo "$supported" >&6; }
   9215 		if test "$supported" = "yes" ; then
   9216 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9217 			found="yes"
   9218 		fi
   9219 	fi
   9220 
   9221 
   9222 
   9223 
   9224 
   9225 
   9226 
   9227 
   9228 
   9229 
   9230 
   9231 
   9232 
   9233 
   9234 
   9235 xorg_testset_save_CFLAGS="$CFLAGS"
   9236 
   9237 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9238 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9239 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9240 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9241 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9242   $as_echo_n "(cached) " >&6
   9243 else
   9244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9245 /* end confdefs.h.  */
   9246 int i;
   9247 _ACEOF
   9248 if ac_fn_c_try_compile "$LINENO"; then :
   9249   xorg_cv_cc_flag_unknown_warning_option=yes
   9250 else
   9251   xorg_cv_cc_flag_unknown_warning_option=no
   9252 fi
   9253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9254 fi
   9255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9256 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9257 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9258 	CFLAGS="$xorg_testset_save_CFLAGS"
   9259 fi
   9260 
   9261 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9262 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9263 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9264 	fi
   9265 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9266 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9267 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9268 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9269   $as_echo_n "(cached) " >&6
   9270 else
   9271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9272 /* end confdefs.h.  */
   9273 int i;
   9274 _ACEOF
   9275 if ac_fn_c_try_compile "$LINENO"; then :
   9276   xorg_cv_cc_flag_unused_command_line_argument=yes
   9277 else
   9278   xorg_cv_cc_flag_unused_command_line_argument=no
   9279 fi
   9280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9281 fi
   9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9283 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9284 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9285 	CFLAGS="$xorg_testset_save_CFLAGS"
   9286 fi
   9287 
   9288 found="no"
   9289 
   9290 	if test $found = "no" ; then
   9291 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9292 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9293 		fi
   9294 
   9295 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9296 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9297 		fi
   9298 
   9299 		CFLAGS="$CFLAGS -Wtrigraphs"
   9300 
   9301 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9302 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9303 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9304 		if eval \${$cacheid+:} false; then :
   9305   $as_echo_n "(cached) " >&6
   9306 else
   9307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9308 /* end confdefs.h.  */
   9309 int i;
   9310 int
   9311 main ()
   9312 {
   9313 
   9314   ;
   9315   return 0;
   9316 }
   9317 _ACEOF
   9318 if ac_fn_c_try_link "$LINENO"; then :
   9319   eval $cacheid=yes
   9320 else
   9321   eval $cacheid=no
   9322 fi
   9323 rm -f core conftest.err conftest.$ac_objext \
   9324     conftest$ac_exeext conftest.$ac_ext
   9325 fi
   9326 
   9327 
   9328 		CFLAGS="$xorg_testset_save_CFLAGS"
   9329 
   9330 		eval supported=\$$cacheid
   9331 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9332 $as_echo "$supported" >&6; }
   9333 		if test "$supported" = "yes" ; then
   9334 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9335 			found="yes"
   9336 		fi
   9337 	fi
   9338 
   9339 
   9340 
   9341 
   9342 
   9343 
   9344 
   9345 
   9346 
   9347 
   9348 
   9349 
   9350 
   9351 
   9352 
   9353 xorg_testset_save_CFLAGS="$CFLAGS"
   9354 
   9355 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9356 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9357 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9358 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9359 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9360   $as_echo_n "(cached) " >&6
   9361 else
   9362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9363 /* end confdefs.h.  */
   9364 int i;
   9365 _ACEOF
   9366 if ac_fn_c_try_compile "$LINENO"; then :
   9367   xorg_cv_cc_flag_unknown_warning_option=yes
   9368 else
   9369   xorg_cv_cc_flag_unknown_warning_option=no
   9370 fi
   9371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9372 fi
   9373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9374 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9375 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9376 	CFLAGS="$xorg_testset_save_CFLAGS"
   9377 fi
   9378 
   9379 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9380 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9381 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9382 	fi
   9383 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9384 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9385 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9386 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9387   $as_echo_n "(cached) " >&6
   9388 else
   9389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9390 /* end confdefs.h.  */
   9391 int i;
   9392 _ACEOF
   9393 if ac_fn_c_try_compile "$LINENO"; then :
   9394   xorg_cv_cc_flag_unused_command_line_argument=yes
   9395 else
   9396   xorg_cv_cc_flag_unused_command_line_argument=no
   9397 fi
   9398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9399 fi
   9400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9401 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9402 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9403 	CFLAGS="$xorg_testset_save_CFLAGS"
   9404 fi
   9405 
   9406 found="no"
   9407 
   9408 	if test $found = "no" ; then
   9409 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9410 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9411 		fi
   9412 
   9413 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9414 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9415 		fi
   9416 
   9417 		CFLAGS="$CFLAGS -Warray-bounds"
   9418 
   9419 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9420 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9421 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9422 		if eval \${$cacheid+:} false; then :
   9423   $as_echo_n "(cached) " >&6
   9424 else
   9425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9426 /* end confdefs.h.  */
   9427 int i;
   9428 int
   9429 main ()
   9430 {
   9431 
   9432   ;
   9433   return 0;
   9434 }
   9435 _ACEOF
   9436 if ac_fn_c_try_link "$LINENO"; then :
   9437   eval $cacheid=yes
   9438 else
   9439   eval $cacheid=no
   9440 fi
   9441 rm -f core conftest.err conftest.$ac_objext \
   9442     conftest$ac_exeext conftest.$ac_ext
   9443 fi
   9444 
   9445 
   9446 		CFLAGS="$xorg_testset_save_CFLAGS"
   9447 
   9448 		eval supported=\$$cacheid
   9449 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9450 $as_echo "$supported" >&6; }
   9451 		if test "$supported" = "yes" ; then
   9452 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9453 			found="yes"
   9454 		fi
   9455 	fi
   9456 
   9457 
   9458 
   9459 
   9460 
   9461 
   9462 
   9463 
   9464 
   9465 
   9466 
   9467 
   9468 
   9469 
   9470 
   9471 xorg_testset_save_CFLAGS="$CFLAGS"
   9472 
   9473 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9474 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9475 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9476 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9477 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9478   $as_echo_n "(cached) " >&6
   9479 else
   9480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9481 /* end confdefs.h.  */
   9482 int i;
   9483 _ACEOF
   9484 if ac_fn_c_try_compile "$LINENO"; then :
   9485   xorg_cv_cc_flag_unknown_warning_option=yes
   9486 else
   9487   xorg_cv_cc_flag_unknown_warning_option=no
   9488 fi
   9489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9490 fi
   9491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9492 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9493 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9494 	CFLAGS="$xorg_testset_save_CFLAGS"
   9495 fi
   9496 
   9497 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9498 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9499 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9500 	fi
   9501 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9502 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9503 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9504 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9505   $as_echo_n "(cached) " >&6
   9506 else
   9507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9508 /* end confdefs.h.  */
   9509 int i;
   9510 _ACEOF
   9511 if ac_fn_c_try_compile "$LINENO"; then :
   9512   xorg_cv_cc_flag_unused_command_line_argument=yes
   9513 else
   9514   xorg_cv_cc_flag_unused_command_line_argument=no
   9515 fi
   9516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9517 fi
   9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9519 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9520 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9521 	CFLAGS="$xorg_testset_save_CFLAGS"
   9522 fi
   9523 
   9524 found="no"
   9525 
   9526 	if test $found = "no" ; then
   9527 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9528 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9529 		fi
   9530 
   9531 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9532 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9533 		fi
   9534 
   9535 		CFLAGS="$CFLAGS -Wwrite-strings"
   9536 
   9537 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9538 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9539 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9540 		if eval \${$cacheid+:} false; then :
   9541   $as_echo_n "(cached) " >&6
   9542 else
   9543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9544 /* end confdefs.h.  */
   9545 int i;
   9546 int
   9547 main ()
   9548 {
   9549 
   9550   ;
   9551   return 0;
   9552 }
   9553 _ACEOF
   9554 if ac_fn_c_try_link "$LINENO"; then :
   9555   eval $cacheid=yes
   9556 else
   9557   eval $cacheid=no
   9558 fi
   9559 rm -f core conftest.err conftest.$ac_objext \
   9560     conftest$ac_exeext conftest.$ac_ext
   9561 fi
   9562 
   9563 
   9564 		CFLAGS="$xorg_testset_save_CFLAGS"
   9565 
   9566 		eval supported=\$$cacheid
   9567 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9568 $as_echo "$supported" >&6; }
   9569 		if test "$supported" = "yes" ; then
   9570 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9571 			found="yes"
   9572 		fi
   9573 	fi
   9574 
   9575 
   9576 
   9577 
   9578 
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 
   9586 
   9587 
   9588 
   9589 xorg_testset_save_CFLAGS="$CFLAGS"
   9590 
   9591 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9592 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9593 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9594 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9595 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9596   $as_echo_n "(cached) " >&6
   9597 else
   9598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9599 /* end confdefs.h.  */
   9600 int i;
   9601 _ACEOF
   9602 if ac_fn_c_try_compile "$LINENO"; then :
   9603   xorg_cv_cc_flag_unknown_warning_option=yes
   9604 else
   9605   xorg_cv_cc_flag_unknown_warning_option=no
   9606 fi
   9607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9608 fi
   9609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9610 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9611 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9612 	CFLAGS="$xorg_testset_save_CFLAGS"
   9613 fi
   9614 
   9615 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9616 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9617 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9618 	fi
   9619 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9620 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9621 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9622 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9623   $as_echo_n "(cached) " >&6
   9624 else
   9625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9626 /* end confdefs.h.  */
   9627 int i;
   9628 _ACEOF
   9629 if ac_fn_c_try_compile "$LINENO"; then :
   9630   xorg_cv_cc_flag_unused_command_line_argument=yes
   9631 else
   9632   xorg_cv_cc_flag_unused_command_line_argument=no
   9633 fi
   9634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9635 fi
   9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9637 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9638 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9639 	CFLAGS="$xorg_testset_save_CFLAGS"
   9640 fi
   9641 
   9642 found="no"
   9643 
   9644 	if test $found = "no" ; then
   9645 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9646 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9647 		fi
   9648 
   9649 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9650 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9651 		fi
   9652 
   9653 		CFLAGS="$CFLAGS -Waddress"
   9654 
   9655 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9656 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9657 		cacheid=xorg_cv_cc_flag__Waddress
   9658 		if eval \${$cacheid+:} false; then :
   9659   $as_echo_n "(cached) " >&6
   9660 else
   9661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9662 /* end confdefs.h.  */
   9663 int i;
   9664 int
   9665 main ()
   9666 {
   9667 
   9668   ;
   9669   return 0;
   9670 }
   9671 _ACEOF
   9672 if ac_fn_c_try_link "$LINENO"; then :
   9673   eval $cacheid=yes
   9674 else
   9675   eval $cacheid=no
   9676 fi
   9677 rm -f core conftest.err conftest.$ac_objext \
   9678     conftest$ac_exeext conftest.$ac_ext
   9679 fi
   9680 
   9681 
   9682 		CFLAGS="$xorg_testset_save_CFLAGS"
   9683 
   9684 		eval supported=\$$cacheid
   9685 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9686 $as_echo "$supported" >&6; }
   9687 		if test "$supported" = "yes" ; then
   9688 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9689 			found="yes"
   9690 		fi
   9691 	fi
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 xorg_testset_save_CFLAGS="$CFLAGS"
   9708 
   9709 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9710 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9711 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9712 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9713 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9714   $as_echo_n "(cached) " >&6
   9715 else
   9716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9717 /* end confdefs.h.  */
   9718 int i;
   9719 _ACEOF
   9720 if ac_fn_c_try_compile "$LINENO"; then :
   9721   xorg_cv_cc_flag_unknown_warning_option=yes
   9722 else
   9723   xorg_cv_cc_flag_unknown_warning_option=no
   9724 fi
   9725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9726 fi
   9727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9728 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9729 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9730 	CFLAGS="$xorg_testset_save_CFLAGS"
   9731 fi
   9732 
   9733 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9734 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9735 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9736 	fi
   9737 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9738 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9739 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9740 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9741   $as_echo_n "(cached) " >&6
   9742 else
   9743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9744 /* end confdefs.h.  */
   9745 int i;
   9746 _ACEOF
   9747 if ac_fn_c_try_compile "$LINENO"; then :
   9748   xorg_cv_cc_flag_unused_command_line_argument=yes
   9749 else
   9750   xorg_cv_cc_flag_unused_command_line_argument=no
   9751 fi
   9752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9753 fi
   9754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9755 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9756 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9757 	CFLAGS="$xorg_testset_save_CFLAGS"
   9758 fi
   9759 
   9760 found="no"
   9761 
   9762 	if test $found = "no" ; then
   9763 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9764 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9765 		fi
   9766 
   9767 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9768 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9769 		fi
   9770 
   9771 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9772 
   9773 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9774 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9775 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9776 		if eval \${$cacheid+:} false; then :
   9777   $as_echo_n "(cached) " >&6
   9778 else
   9779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9780 /* end confdefs.h.  */
   9781 int i;
   9782 int
   9783 main ()
   9784 {
   9785 
   9786   ;
   9787   return 0;
   9788 }
   9789 _ACEOF
   9790 if ac_fn_c_try_link "$LINENO"; then :
   9791   eval $cacheid=yes
   9792 else
   9793   eval $cacheid=no
   9794 fi
   9795 rm -f core conftest.err conftest.$ac_objext \
   9796     conftest$ac_exeext conftest.$ac_ext
   9797 fi
   9798 
   9799 
   9800 		CFLAGS="$xorg_testset_save_CFLAGS"
   9801 
   9802 		eval supported=\$$cacheid
   9803 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9804 $as_echo "$supported" >&6; }
   9805 		if test "$supported" = "yes" ; then
   9806 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9807 			found="yes"
   9808 		fi
   9809 	fi
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 xorg_testset_save_CFLAGS="$CFLAGS"
   9826 
   9827 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9828 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9829 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9830 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9831 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9832   $as_echo_n "(cached) " >&6
   9833 else
   9834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9835 /* end confdefs.h.  */
   9836 int i;
   9837 _ACEOF
   9838 if ac_fn_c_try_compile "$LINENO"; then :
   9839   xorg_cv_cc_flag_unknown_warning_option=yes
   9840 else
   9841   xorg_cv_cc_flag_unknown_warning_option=no
   9842 fi
   9843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9844 fi
   9845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9846 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9847 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9848 	CFLAGS="$xorg_testset_save_CFLAGS"
   9849 fi
   9850 
   9851 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9852 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9853 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9854 	fi
   9855 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9856 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9857 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9858 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9859   $as_echo_n "(cached) " >&6
   9860 else
   9861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9862 /* end confdefs.h.  */
   9863 int i;
   9864 _ACEOF
   9865 if ac_fn_c_try_compile "$LINENO"; then :
   9866   xorg_cv_cc_flag_unused_command_line_argument=yes
   9867 else
   9868   xorg_cv_cc_flag_unused_command_line_argument=no
   9869 fi
   9870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9871 fi
   9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9873 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9874 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9875 	CFLAGS="$xorg_testset_save_CFLAGS"
   9876 fi
   9877 
   9878 found="no"
   9879 
   9880 	if test $found = "no" ; then
   9881 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9882 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9883 		fi
   9884 
   9885 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9886 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9887 		fi
   9888 
   9889 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9890 
   9891 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9892 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9893 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9894 		if eval \${$cacheid+:} false; then :
   9895   $as_echo_n "(cached) " >&6
   9896 else
   9897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9898 /* end confdefs.h.  */
   9899 int i;
   9900 int
   9901 main ()
   9902 {
   9903 
   9904   ;
   9905   return 0;
   9906 }
   9907 _ACEOF
   9908 if ac_fn_c_try_link "$LINENO"; then :
   9909   eval $cacheid=yes
   9910 else
   9911   eval $cacheid=no
   9912 fi
   9913 rm -f core conftest.err conftest.$ac_objext \
   9914     conftest$ac_exeext conftest.$ac_ext
   9915 fi
   9916 
   9917 
   9918 		CFLAGS="$xorg_testset_save_CFLAGS"
   9919 
   9920 		eval supported=\$$cacheid
   9921 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9922 $as_echo "$supported" >&6; }
   9923 		if test "$supported" = "yes" ; then
   9924 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9925 			found="yes"
   9926 		fi
   9927 	fi
   9928 
   9929 
   9930 fi
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 		CWARNFLAGS="$BASE_CFLAGS"
   9939 		if  test "x$GCC" = xyes ; then
   9940 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9941 		fi
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 # Check whether --enable-strict-compilation was given.
   9951 if test "${enable_strict_compilation+set}" = set; then :
   9952   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   9953 else
   9954   STRICT_COMPILE=no
   9955 fi
   9956 
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 STRICT_CFLAGS=""
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 xorg_testset_save_CFLAGS="$CFLAGS"
   9977 
   9978 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9979 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9980 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9981 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9982 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9983   $as_echo_n "(cached) " >&6
   9984 else
   9985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9986 /* end confdefs.h.  */
   9987 int i;
   9988 _ACEOF
   9989 if ac_fn_c_try_compile "$LINENO"; then :
   9990   xorg_cv_cc_flag_unknown_warning_option=yes
   9991 else
   9992   xorg_cv_cc_flag_unknown_warning_option=no
   9993 fi
   9994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9995 fi
   9996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9997 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9998 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9999 	CFLAGS="$xorg_testset_save_CFLAGS"
   10000 fi
   10001 
   10002 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10003 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10004 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10005 	fi
   10006 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10007 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10008 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10009 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10010   $as_echo_n "(cached) " >&6
   10011 else
   10012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10013 /* end confdefs.h.  */
   10014 int i;
   10015 _ACEOF
   10016 if ac_fn_c_try_compile "$LINENO"; then :
   10017   xorg_cv_cc_flag_unused_command_line_argument=yes
   10018 else
   10019   xorg_cv_cc_flag_unused_command_line_argument=no
   10020 fi
   10021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10022 fi
   10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10024 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10025 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10026 	CFLAGS="$xorg_testset_save_CFLAGS"
   10027 fi
   10028 
   10029 found="no"
   10030 
   10031 	if test $found = "no" ; then
   10032 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10033 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10034 		fi
   10035 
   10036 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10037 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10038 		fi
   10039 
   10040 		CFLAGS="$CFLAGS -pedantic"
   10041 
   10042 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10043 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10044 		cacheid=xorg_cv_cc_flag__pedantic
   10045 		if eval \${$cacheid+:} false; then :
   10046   $as_echo_n "(cached) " >&6
   10047 else
   10048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10049 /* end confdefs.h.  */
   10050 int i;
   10051 int
   10052 main ()
   10053 {
   10054 
   10055   ;
   10056   return 0;
   10057 }
   10058 _ACEOF
   10059 if ac_fn_c_try_link "$LINENO"; then :
   10060   eval $cacheid=yes
   10061 else
   10062   eval $cacheid=no
   10063 fi
   10064 rm -f core conftest.err conftest.$ac_objext \
   10065     conftest$ac_exeext conftest.$ac_ext
   10066 fi
   10067 
   10068 
   10069 		CFLAGS="$xorg_testset_save_CFLAGS"
   10070 
   10071 		eval supported=\$$cacheid
   10072 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10073 $as_echo "$supported" >&6; }
   10074 		if test "$supported" = "yes" ; then
   10075 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10076 			found="yes"
   10077 		fi
   10078 	fi
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 xorg_testset_save_CFLAGS="$CFLAGS"
   10095 
   10096 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10097 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10098 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10099 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10100 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10101   $as_echo_n "(cached) " >&6
   10102 else
   10103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10104 /* end confdefs.h.  */
   10105 int i;
   10106 _ACEOF
   10107 if ac_fn_c_try_compile "$LINENO"; then :
   10108   xorg_cv_cc_flag_unknown_warning_option=yes
   10109 else
   10110   xorg_cv_cc_flag_unknown_warning_option=no
   10111 fi
   10112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10113 fi
   10114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10115 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10116 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10117 	CFLAGS="$xorg_testset_save_CFLAGS"
   10118 fi
   10119 
   10120 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10121 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10122 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10123 	fi
   10124 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10125 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10126 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10127 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10128   $as_echo_n "(cached) " >&6
   10129 else
   10130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10131 /* end confdefs.h.  */
   10132 int i;
   10133 _ACEOF
   10134 if ac_fn_c_try_compile "$LINENO"; then :
   10135   xorg_cv_cc_flag_unused_command_line_argument=yes
   10136 else
   10137   xorg_cv_cc_flag_unused_command_line_argument=no
   10138 fi
   10139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10140 fi
   10141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10142 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10143 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10144 	CFLAGS="$xorg_testset_save_CFLAGS"
   10145 fi
   10146 
   10147 found="no"
   10148 
   10149 	if test $found = "no" ; then
   10150 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10151 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10152 		fi
   10153 
   10154 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10155 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10156 		fi
   10157 
   10158 		CFLAGS="$CFLAGS -Werror"
   10159 
   10160 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10161 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10162 		cacheid=xorg_cv_cc_flag__Werror
   10163 		if eval \${$cacheid+:} false; then :
   10164   $as_echo_n "(cached) " >&6
   10165 else
   10166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10167 /* end confdefs.h.  */
   10168 int i;
   10169 int
   10170 main ()
   10171 {
   10172 
   10173   ;
   10174   return 0;
   10175 }
   10176 _ACEOF
   10177 if ac_fn_c_try_link "$LINENO"; then :
   10178   eval $cacheid=yes
   10179 else
   10180   eval $cacheid=no
   10181 fi
   10182 rm -f core conftest.err conftest.$ac_objext \
   10183     conftest$ac_exeext conftest.$ac_ext
   10184 fi
   10185 
   10186 
   10187 		CFLAGS="$xorg_testset_save_CFLAGS"
   10188 
   10189 		eval supported=\$$cacheid
   10190 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10191 $as_echo "$supported" >&6; }
   10192 		if test "$supported" = "yes" ; then
   10193 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10194 			found="yes"
   10195 		fi
   10196 	fi
   10197 
   10198 	if test $found = "no" ; then
   10199 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10200 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10201 		fi
   10202 
   10203 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10204 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10205 		fi
   10206 
   10207 		CFLAGS="$CFLAGS -errwarn"
   10208 
   10209 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10210 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10211 		cacheid=xorg_cv_cc_flag__errwarn
   10212 		if eval \${$cacheid+:} false; then :
   10213   $as_echo_n "(cached) " >&6
   10214 else
   10215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10216 /* end confdefs.h.  */
   10217 int i;
   10218 int
   10219 main ()
   10220 {
   10221 
   10222   ;
   10223   return 0;
   10224 }
   10225 _ACEOF
   10226 if ac_fn_c_try_link "$LINENO"; then :
   10227   eval $cacheid=yes
   10228 else
   10229   eval $cacheid=no
   10230 fi
   10231 rm -f core conftest.err conftest.$ac_objext \
   10232     conftest$ac_exeext conftest.$ac_ext
   10233 fi
   10234 
   10235 
   10236 		CFLAGS="$xorg_testset_save_CFLAGS"
   10237 
   10238 		eval supported=\$$cacheid
   10239 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10240 $as_echo "$supported" >&6; }
   10241 		if test "$supported" = "yes" ; then
   10242 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10243 			found="yes"
   10244 		fi
   10245 	fi
   10246 
   10247 
   10248 
   10249 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10250 # activate it with -Werror, so we add it here explicitly.
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 
   10264 xorg_testset_save_CFLAGS="$CFLAGS"
   10265 
   10266 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10267 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10268 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10269 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10270 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10271   $as_echo_n "(cached) " >&6
   10272 else
   10273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10274 /* end confdefs.h.  */
   10275 int i;
   10276 _ACEOF
   10277 if ac_fn_c_try_compile "$LINENO"; then :
   10278   xorg_cv_cc_flag_unknown_warning_option=yes
   10279 else
   10280   xorg_cv_cc_flag_unknown_warning_option=no
   10281 fi
   10282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10283 fi
   10284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10285 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10286 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10287 	CFLAGS="$xorg_testset_save_CFLAGS"
   10288 fi
   10289 
   10290 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10291 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10292 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10293 	fi
   10294 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10295 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10296 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10297 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10298   $as_echo_n "(cached) " >&6
   10299 else
   10300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10301 /* end confdefs.h.  */
   10302 int i;
   10303 _ACEOF
   10304 if ac_fn_c_try_compile "$LINENO"; then :
   10305   xorg_cv_cc_flag_unused_command_line_argument=yes
   10306 else
   10307   xorg_cv_cc_flag_unused_command_line_argument=no
   10308 fi
   10309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10310 fi
   10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10312 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10313 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10314 	CFLAGS="$xorg_testset_save_CFLAGS"
   10315 fi
   10316 
   10317 found="no"
   10318 
   10319 	if test $found = "no" ; then
   10320 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10321 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10322 		fi
   10323 
   10324 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10325 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10326 		fi
   10327 
   10328 		CFLAGS="$CFLAGS -Werror=attributes"
   10329 
   10330 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10331 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10332 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   10333 		if eval \${$cacheid+:} false; then :
   10334   $as_echo_n "(cached) " >&6
   10335 else
   10336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10337 /* end confdefs.h.  */
   10338 int i;
   10339 int
   10340 main ()
   10341 {
   10342 
   10343   ;
   10344   return 0;
   10345 }
   10346 _ACEOF
   10347 if ac_fn_c_try_link "$LINENO"; then :
   10348   eval $cacheid=yes
   10349 else
   10350   eval $cacheid=no
   10351 fi
   10352 rm -f core conftest.err conftest.$ac_objext \
   10353     conftest$ac_exeext conftest.$ac_ext
   10354 fi
   10355 
   10356 
   10357 		CFLAGS="$xorg_testset_save_CFLAGS"
   10358 
   10359 		eval supported=\$$cacheid
   10360 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10361 $as_echo "$supported" >&6; }
   10362 		if test "$supported" = "yes" ; then
   10363 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10364 			found="yes"
   10365 		fi
   10366 	fi
   10367 
   10368 
   10369 
   10370 if test "x$STRICT_COMPILE" = "xyes"; then
   10371     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10372     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10373 fi
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 cat >>confdefs.h <<_ACEOF
   10381 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10382 _ACEOF
   10383 
   10384 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10385 	if test "x$PVM" = "x"; then
   10386 		PVM="0"
   10387 	fi
   10388 
   10389 cat >>confdefs.h <<_ACEOF
   10390 #define PACKAGE_VERSION_MINOR $PVM
   10391 _ACEOF
   10392 
   10393 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10394 	if test "x$PVP" = "x"; then
   10395 		PVP="0"
   10396 	fi
   10397 
   10398 cat >>confdefs.h <<_ACEOF
   10399 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10400 _ACEOF
   10401 
   10402 
   10403 
   10404 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10405 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10406 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10407 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10408 
   10409 
   10410 
   10411 
   10412 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10413 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10414 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10415 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10416 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10417 
   10418 
   10419 
   10420 
   10421 
   10422 
   10423 if test x$APP_MAN_SUFFIX = x    ; then
   10424     APP_MAN_SUFFIX=1
   10425 fi
   10426 if test x$APP_MAN_DIR = x    ; then
   10427     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10428 fi
   10429 
   10430 if test x$LIB_MAN_SUFFIX = x    ; then
   10431     LIB_MAN_SUFFIX=3
   10432 fi
   10433 if test x$LIB_MAN_DIR = x    ; then
   10434     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10435 fi
   10436 
   10437 if test x$FILE_MAN_SUFFIX = x    ; then
   10438     case $host_os in
   10439 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10440 	*)		FILE_MAN_SUFFIX=5  ;;
   10441     esac
   10442 fi
   10443 if test x$FILE_MAN_DIR = x    ; then
   10444     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10445 fi
   10446 
   10447 if test x$MISC_MAN_SUFFIX = x    ; then
   10448     case $host_os in
   10449 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10450 	*)		MISC_MAN_SUFFIX=7  ;;
   10451     esac
   10452 fi
   10453 if test x$MISC_MAN_DIR = x    ; then
   10454     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10455 fi
   10456 
   10457 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10458     case $host_os in
   10459 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10460 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10461     esac
   10462 fi
   10463 if test x$DRIVER_MAN_DIR = x    ; then
   10464     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10465 fi
   10466 
   10467 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10468     case $host_os in
   10469 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10470 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10471     esac
   10472 fi
   10473 if test x$ADMIN_MAN_DIR = x    ; then
   10474     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10475 fi
   10476 
   10477 
   10478 
   10479 
   10480 
   10481 
   10482 
   10483 
   10484 
   10485 
   10486 
   10487 
   10488 
   10489 
   10490 
   10491 XORG_MAN_PAGE="X Version 11"
   10492 
   10493 MAN_SUBSTS="\
   10494 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10495 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10496 	-e 's|__xservername__|Xorg|g' \
   10497 	-e 's|__xconfigfile__|xorg.conf|g' \
   10498 	-e 's|__projectroot__|\$(prefix)|g' \
   10499 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10500 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10501 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10502 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10503 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10504 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10505 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10506 
   10507 
   10508 
   10509 # Check whether --enable-silent-rules was given.
   10510 if test "${enable_silent_rules+set}" = set; then :
   10511   enableval=$enable_silent_rules;
   10512 fi
   10513 
   10514 case $enable_silent_rules in # (((
   10515   yes) AM_DEFAULT_VERBOSITY=0;;
   10516    no) AM_DEFAULT_VERBOSITY=1;;
   10517     *) AM_DEFAULT_VERBOSITY=0;;
   10518 esac
   10519 am_make=${MAKE-make}
   10520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10521 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10522 if ${am_cv_make_support_nested_variables+:} false; then :
   10523   $as_echo_n "(cached) " >&6
   10524 else
   10525   if $as_echo 'TRUE=$(BAR$(V))
   10526 BAR0=false
   10527 BAR1=true
   10528 V=1
   10529 am__doit:
   10530 	@$(TRUE)
   10531 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10532   am_cv_make_support_nested_variables=yes
   10533 else
   10534   am_cv_make_support_nested_variables=no
   10535 fi
   10536 fi
   10537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10538 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10539 if test $am_cv_make_support_nested_variables = yes; then
   10540     AM_V='$(V)'
   10541   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10542 else
   10543   AM_V=$AM_DEFAULT_VERBOSITY
   10544   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10545 fi
   10546 AM_BACKSLASH='\'
   10547 
   10548 
   10549 
   10550 if test "x$CC" != xcc; then
   10551   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
   10552 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
   10553 else
   10554   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
   10555 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
   10556 fi
   10557 set dummy $CC; ac_cc=`$as_echo "$2" |
   10558 		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
   10559 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
   10560   $as_echo_n "(cached) " >&6
   10561 else
   10562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10563 /* end confdefs.h.  */
   10564 
   10565 int
   10566 main ()
   10567 {
   10568 
   10569   ;
   10570   return 0;
   10571 }
   10572 _ACEOF
   10573 # Make sure it works both with $CC and with simple cc.
   10574 # We do the test twice because some compilers refuse to overwrite an
   10575 # existing .o file with -o, though they will create one.
   10576 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
   10577 rm -f conftest2.*
   10578 if { { case "(($ac_try" in
   10579   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10580   *) ac_try_echo=$ac_try;;
   10581 esac
   10582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   10583 $as_echo "$ac_try_echo"; } >&5
   10584   (eval "$ac_try") 2>&5
   10585   ac_status=$?
   10586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10587   test $ac_status = 0; } &&
   10588    test -f conftest2.$ac_objext && { { case "(($ac_try" in
   10589   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10590   *) ac_try_echo=$ac_try;;
   10591 esac
   10592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   10593 $as_echo "$ac_try_echo"; } >&5
   10594   (eval "$ac_try") 2>&5
   10595   ac_status=$?
   10596   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10597   test $ac_status = 0; };
   10598 then
   10599   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
   10600   if test "x$CC" != xcc; then
   10601     # Test first that cc exists at all.
   10602     if { ac_try='cc -c conftest.$ac_ext >&5'
   10603   { { case "(($ac_try" in
   10604   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10605   *) ac_try_echo=$ac_try;;
   10606 esac
   10607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   10608 $as_echo "$ac_try_echo"; } >&5
   10609   (eval "$ac_try") 2>&5
   10610   ac_status=$?
   10611   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10612   test $ac_status = 0; }; }; then
   10613       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
   10614       rm -f conftest2.*
   10615       if { { case "(($ac_try" in
   10616   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10617   *) ac_try_echo=$ac_try;;
   10618 esac
   10619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   10620 $as_echo "$ac_try_echo"; } >&5
   10621   (eval "$ac_try") 2>&5
   10622   ac_status=$?
   10623   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10624   test $ac_status = 0; } &&
   10625 	 test -f conftest2.$ac_objext && { { case "(($ac_try" in
   10626   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10627   *) ac_try_echo=$ac_try;;
   10628 esac
   10629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   10630 $as_echo "$ac_try_echo"; } >&5
   10631   (eval "$ac_try") 2>&5
   10632   ac_status=$?
   10633   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10634   test $ac_status = 0; };
   10635       then
   10636 	# cc works too.
   10637 	:
   10638       else
   10639 	# cc exists but doesn't like -o.
   10640 	eval ac_cv_prog_cc_${ac_cc}_c_o=no
   10641       fi
   10642     fi
   10643   fi
   10644 else
   10645   eval ac_cv_prog_cc_${ac_cc}_c_o=no
   10646 fi
   10647 rm -f core conftest*
   10648 
   10649 fi
   10650 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
   10651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10652 $as_echo "yes" >&6; }
   10653 else
   10654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10655 $as_echo "no" >&6; }
   10656 
   10657 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
   10658 
   10659 fi
   10660 
   10661 # FIXME: we rely on the cache variable name because
   10662 # there is no other way.
   10663 set dummy $CC
   10664 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
   10665 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
   10666 if test "$am_t" != yes; then
   10667    # Losing compiler, so override with the script.
   10668    # FIXME: It is wrong to rewrite CC.
   10669    # But if we don't then we get into trouble of one sort or another.
   10670    # A longer-term fix would be to have automake use am__CC in this case,
   10671    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   10672    CC="$am_aux_dir/compile $CC"
   10673 fi
   10674 
   10675 
   10676 
   10677 for ac_func in mkstemp
   10678 do :
   10679   ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
   10680 if test "x$ac_cv_func_mkstemp" = xyes; then :
   10681   cat >>confdefs.h <<_ACEOF
   10682 #define HAVE_MKSTEMP 1
   10683 _ACEOF
   10684 
   10685 fi
   10686 done
   10687 
   10688 
   10689 # Math libraries & functions
   10690 # - some compilers use builtin inlines for floor when optimizing
   10691 # - lrint() is a C99 addition not found on some older systems
   10692 # - must do the libm check first so that the lrint check will have it in $LIBS
   10693 save_LIBS="$LIBS"
   10694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5
   10695 $as_echo_n "checking for library containing floor... " >&6; }
   10696 if ${ac_cv_search_floor+:} false; then :
   10697   $as_echo_n "(cached) " >&6
   10698 else
   10699   ac_func_search_save_LIBS=$LIBS
   10700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10701 /* end confdefs.h.  */
   10702 
   10703 /* Override any GCC internal prototype to avoid an error.
   10704    Use char because int might match the return type of a GCC
   10705    builtin and then its argument prototype would still apply.  */
   10706 #ifdef __cplusplus
   10707 extern "C"
   10708 #endif
   10709 char floor ();
   10710 int
   10711 main ()
   10712 {
   10713 return floor ();
   10714   ;
   10715   return 0;
   10716 }
   10717 _ACEOF
   10718 for ac_lib in '' m; do
   10719   if test -z "$ac_lib"; then
   10720     ac_res="none required"
   10721   else
   10722     ac_res=-l$ac_lib
   10723     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   10724   fi
   10725   if ac_fn_c_try_link "$LINENO"; then :
   10726   ac_cv_search_floor=$ac_res
   10727 fi
   10728 rm -f core conftest.err conftest.$ac_objext \
   10729     conftest$ac_exeext
   10730   if ${ac_cv_search_floor+:} false; then :
   10731   break
   10732 fi
   10733 done
   10734 if ${ac_cv_search_floor+:} false; then :
   10735 
   10736 else
   10737   ac_cv_search_floor=no
   10738 fi
   10739 rm conftest.$ac_ext
   10740 LIBS=$ac_func_search_save_LIBS
   10741 fi
   10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floor" >&5
   10743 $as_echo "$ac_cv_search_floor" >&6; }
   10744 ac_res=$ac_cv_search_floor
   10745 if test "$ac_res" != no; then :
   10746   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   10747 
   10748 fi
   10749 
   10750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing lrint" >&5
   10751 $as_echo_n "checking for library containing lrint... " >&6; }
   10752 if ${ac_cv_search_lrint+:} false; then :
   10753   $as_echo_n "(cached) " >&6
   10754 else
   10755   ac_func_search_save_LIBS=$LIBS
   10756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10757 /* end confdefs.h.  */
   10758 
   10759 /* Override any GCC internal prototype to avoid an error.
   10760    Use char because int might match the return type of a GCC
   10761    builtin and then its argument prototype would still apply.  */
   10762 #ifdef __cplusplus
   10763 extern "C"
   10764 #endif
   10765 char lrint ();
   10766 int
   10767 main ()
   10768 {
   10769 return lrint ();
   10770   ;
   10771   return 0;
   10772 }
   10773 _ACEOF
   10774 for ac_lib in '' m; do
   10775   if test -z "$ac_lib"; then
   10776     ac_res="none required"
   10777   else
   10778     ac_res=-l$ac_lib
   10779     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   10780   fi
   10781   if ac_fn_c_try_link "$LINENO"; then :
   10782   ac_cv_search_lrint=$ac_res
   10783 fi
   10784 rm -f core conftest.err conftest.$ac_objext \
   10785     conftest$ac_exeext
   10786   if ${ac_cv_search_lrint+:} false; then :
   10787   break
   10788 fi
   10789 done
   10790 if ${ac_cv_search_lrint+:} false; then :
   10791 
   10792 else
   10793   ac_cv_search_lrint=no
   10794 fi
   10795 rm conftest.$ac_ext
   10796 LIBS=$ac_func_search_save_LIBS
   10797 fi
   10798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_lrint" >&5
   10799 $as_echo "$ac_cv_search_lrint" >&6; }
   10800 ac_res=$ac_cv_search_lrint
   10801 if test "$ac_res" != no; then :
   10802   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   10803 
   10804 fi
   10805 
   10806 for ac_func in lrint
   10807 do :
   10808   ac_fn_c_check_func "$LINENO" "lrint" "ac_cv_func_lrint"
   10809 if test "x$ac_cv_func_lrint" = xyes; then :
   10810   cat >>confdefs.h <<_ACEOF
   10811 #define HAVE_LRINT 1
   10812 _ACEOF
   10813 
   10814 fi
   10815 done
   10816 
   10817 MATH_LIBS="$LIBS"
   10818 LIBS="$save_LIBS"
   10819 
   10820 
   10821 # Obtain compiler/linker options from dependencies
   10822 
   10823 pkg_failed=no
   10824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BMTOA" >&5
   10825 $as_echo_n "checking for BMTOA... " >&6; }
   10826 
   10827 if test -n "$BMTOA_CFLAGS"; then
   10828     pkg_cv_BMTOA_CFLAGS="$BMTOA_CFLAGS"
   10829  elif test -n "$PKG_CONFIG"; then
   10830     if test -n "$PKG_CONFIG" && \
   10831     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xmu xproto >= 7.0.17\""; } >&5
   10832   ($PKG_CONFIG --exists --print-errors "x11 xmu xproto >= 7.0.17") 2>&5
   10833   ac_status=$?
   10834   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10835   test $ac_status = 0; }; then
   10836   pkg_cv_BMTOA_CFLAGS=`$PKG_CONFIG --cflags "x11 xmu xproto >= 7.0.17" 2>/dev/null`
   10837 else
   10838   pkg_failed=yes
   10839 fi
   10840  else
   10841     pkg_failed=untried
   10842 fi
   10843 if test -n "$BMTOA_LIBS"; then
   10844     pkg_cv_BMTOA_LIBS="$BMTOA_LIBS"
   10845  elif test -n "$PKG_CONFIG"; then
   10846     if test -n "$PKG_CONFIG" && \
   10847     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xmu xproto >= 7.0.17\""; } >&5
   10848   ($PKG_CONFIG --exists --print-errors "x11 xmu xproto >= 7.0.17") 2>&5
   10849   ac_status=$?
   10850   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10851   test $ac_status = 0; }; then
   10852   pkg_cv_BMTOA_LIBS=`$PKG_CONFIG --libs "x11 xmu xproto >= 7.0.17" 2>/dev/null`
   10853 else
   10854   pkg_failed=yes
   10855 fi
   10856  else
   10857     pkg_failed=untried
   10858 fi
   10859 
   10860 
   10861 
   10862 if test $pkg_failed = yes; then
   10863 
   10864 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10865         _pkg_short_errors_supported=yes
   10866 else
   10867         _pkg_short_errors_supported=no
   10868 fi
   10869         if test $_pkg_short_errors_supported = yes; then
   10870 	        BMTOA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xmu xproto >= 7.0.17" 2>&1`
   10871         else
   10872 	        BMTOA_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xmu xproto >= 7.0.17" 2>&1`
   10873         fi
   10874 	# Put the nasty error message in config.log where it belongs
   10875 	echo "$BMTOA_PKG_ERRORS" >&5
   10876 
   10877 	as_fn_error $? "Package requirements (x11 xmu xproto >= 7.0.17) were not met:
   10878 
   10879 $BMTOA_PKG_ERRORS
   10880 
   10881 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10882 installed software in a non-standard prefix.
   10883 
   10884 Alternatively, you may set the environment variables BMTOA_CFLAGS
   10885 and BMTOA_LIBS to avoid the need to call pkg-config.
   10886 See the pkg-config man page for more details.
   10887 " "$LINENO" 5
   10888 elif test $pkg_failed = untried; then
   10889 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10890 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10891 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10892 is in your PATH or set the PKG_CONFIG environment variable to the full
   10893 path to pkg-config.
   10894 
   10895 Alternatively, you may set the environment variables BMTOA_CFLAGS
   10896 and BMTOA_LIBS to avoid the need to call pkg-config.
   10897 See the pkg-config man page for more details.
   10898 
   10899 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10900 See \`config.log' for more details" "$LINENO" 5; }
   10901 else
   10902 	BMTOA_CFLAGS=$pkg_cv_BMTOA_CFLAGS
   10903 	BMTOA_LIBS=$pkg_cv_BMTOA_LIBS
   10904         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10905 $as_echo "yes" >&6; }
   10906 	:
   10907 fi
   10908 
   10909 pkg_failed=no
   10910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATOBM" >&5
   10911 $as_echo_n "checking for ATOBM... " >&6; }
   10912 
   10913 if test -n "$ATOBM_CFLAGS"; then
   10914     pkg_cv_ATOBM_CFLAGS="$ATOBM_CFLAGS"
   10915  elif test -n "$PKG_CONFIG"; then
   10916     if test -n "$PKG_CONFIG" && \
   10917     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.17\""; } >&5
   10918   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.17") 2>&5
   10919   ac_status=$?
   10920   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10921   test $ac_status = 0; }; then
   10922   pkg_cv_ATOBM_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.17" 2>/dev/null`
   10923 else
   10924   pkg_failed=yes
   10925 fi
   10926  else
   10927     pkg_failed=untried
   10928 fi
   10929 if test -n "$ATOBM_LIBS"; then
   10930     pkg_cv_ATOBM_LIBS="$ATOBM_LIBS"
   10931  elif test -n "$PKG_CONFIG"; then
   10932     if test -n "$PKG_CONFIG" && \
   10933     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.17\""; } >&5
   10934   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.17") 2>&5
   10935   ac_status=$?
   10936   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10937   test $ac_status = 0; }; then
   10938   pkg_cv_ATOBM_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.17" 2>/dev/null`
   10939 else
   10940   pkg_failed=yes
   10941 fi
   10942  else
   10943     pkg_failed=untried
   10944 fi
   10945 
   10946 
   10947 
   10948 if test $pkg_failed = yes; then
   10949 
   10950 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10951         _pkg_short_errors_supported=yes
   10952 else
   10953         _pkg_short_errors_supported=no
   10954 fi
   10955         if test $_pkg_short_errors_supported = yes; then
   10956 	        ATOBM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto >= 7.0.17" 2>&1`
   10957         else
   10958 	        ATOBM_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto >= 7.0.17" 2>&1`
   10959         fi
   10960 	# Put the nasty error message in config.log where it belongs
   10961 	echo "$ATOBM_PKG_ERRORS" >&5
   10962 
   10963 	as_fn_error $? "Package requirements (xproto >= 7.0.17) were not met:
   10964 
   10965 $ATOBM_PKG_ERRORS
   10966 
   10967 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10968 installed software in a non-standard prefix.
   10969 
   10970 Alternatively, you may set the environment variables ATOBM_CFLAGS
   10971 and ATOBM_LIBS to avoid the need to call pkg-config.
   10972 See the pkg-config man page for more details.
   10973 " "$LINENO" 5
   10974 elif test $pkg_failed = untried; then
   10975 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10976 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10977 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10978 is in your PATH or set the PKG_CONFIG environment variable to the full
   10979 path to pkg-config.
   10980 
   10981 Alternatively, you may set the environment variables ATOBM_CFLAGS
   10982 and ATOBM_LIBS to avoid the need to call pkg-config.
   10983 See the pkg-config man page for more details.
   10984 
   10985 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10986 See \`config.log' for more details" "$LINENO" 5; }
   10987 else
   10988 	ATOBM_CFLAGS=$pkg_cv_ATOBM_CFLAGS
   10989 	ATOBM_LIBS=$pkg_cv_ATOBM_LIBS
   10990         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10991 $as_echo "yes" >&6; }
   10992 	:
   10993 fi
   10994 
   10995 pkg_failed=no
   10996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BITMAP" >&5
   10997 $as_echo_n "checking for BITMAP... " >&6; }
   10998 
   10999 if test -n "$BITMAP_CFLAGS"; then
   11000     pkg_cv_BITMAP_CFLAGS="$BITMAP_CFLAGS"
   11001  elif test -n "$PKG_CONFIG"; then
   11002     if test -n "$PKG_CONFIG" && \
   11003     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xbitmaps xaw7 xmu\""; } >&5
   11004   ($PKG_CONFIG --exists --print-errors "xbitmaps xaw7 xmu") 2>&5
   11005   ac_status=$?
   11006   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11007   test $ac_status = 0; }; then
   11008   pkg_cv_BITMAP_CFLAGS=`$PKG_CONFIG --cflags "xbitmaps xaw7 xmu" 2>/dev/null`
   11009 else
   11010   pkg_failed=yes
   11011 fi
   11012  else
   11013     pkg_failed=untried
   11014 fi
   11015 if test -n "$BITMAP_LIBS"; then
   11016     pkg_cv_BITMAP_LIBS="$BITMAP_LIBS"
   11017  elif test -n "$PKG_CONFIG"; then
   11018     if test -n "$PKG_CONFIG" && \
   11019     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xbitmaps xaw7 xmu\""; } >&5
   11020   ($PKG_CONFIG --exists --print-errors "xbitmaps xaw7 xmu") 2>&5
   11021   ac_status=$?
   11022   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11023   test $ac_status = 0; }; then
   11024   pkg_cv_BITMAP_LIBS=`$PKG_CONFIG --libs "xbitmaps xaw7 xmu" 2>/dev/null`
   11025 else
   11026   pkg_failed=yes
   11027 fi
   11028  else
   11029     pkg_failed=untried
   11030 fi
   11031 
   11032 
   11033 
   11034 if test $pkg_failed = yes; then
   11035 
   11036 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11037         _pkg_short_errors_supported=yes
   11038 else
   11039         _pkg_short_errors_supported=no
   11040 fi
   11041         if test $_pkg_short_errors_supported = yes; then
   11042 	        BITMAP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xbitmaps xaw7 xmu" 2>&1`
   11043         else
   11044 	        BITMAP_PKG_ERRORS=`$PKG_CONFIG --print-errors "xbitmaps xaw7 xmu" 2>&1`
   11045         fi
   11046 	# Put the nasty error message in config.log where it belongs
   11047 	echo "$BITMAP_PKG_ERRORS" >&5
   11048 
   11049 	as_fn_error $? "Package requirements (xbitmaps xaw7 xmu) were not met:
   11050 
   11051 $BITMAP_PKG_ERRORS
   11052 
   11053 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11054 installed software in a non-standard prefix.
   11055 
   11056 Alternatively, you may set the environment variables BITMAP_CFLAGS
   11057 and BITMAP_LIBS to avoid the need to call pkg-config.
   11058 See the pkg-config man page for more details.
   11059 " "$LINENO" 5
   11060 elif test $pkg_failed = untried; then
   11061 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11062 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11063 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11064 is in your PATH or set the PKG_CONFIG environment variable to the full
   11065 path to pkg-config.
   11066 
   11067 Alternatively, you may set the environment variables BITMAP_CFLAGS
   11068 and BITMAP_LIBS to avoid the need to call pkg-config.
   11069 See the pkg-config man page for more details.
   11070 
   11071 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11072 See \`config.log' for more details" "$LINENO" 5; }
   11073 else
   11074 	BITMAP_CFLAGS=$pkg_cv_BITMAP_CFLAGS
   11075 	BITMAP_LIBS=$pkg_cv_BITMAP_LIBS
   11076         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11077 $as_echo "yes" >&6; }
   11078 	:
   11079 fi
   11080 
   11081 
   11082 pkg_failed=no
   11083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   11084 $as_echo_n "checking for APPDEFS... " >&6; }
   11085 
   11086 if test -n "$APPDEFS_CFLAGS"; then
   11087     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   11088  elif test -n "$PKG_CONFIG"; then
   11089     if test -n "$PKG_CONFIG" && \
   11090     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   11091   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   11092   ac_status=$?
   11093   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11094   test $ac_status = 0; }; then
   11095   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   11096 else
   11097   pkg_failed=yes
   11098 fi
   11099  else
   11100     pkg_failed=untried
   11101 fi
   11102 if test -n "$APPDEFS_LIBS"; then
   11103     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   11104  elif test -n "$PKG_CONFIG"; then
   11105     if test -n "$PKG_CONFIG" && \
   11106     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   11107   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   11108   ac_status=$?
   11109   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11110   test $ac_status = 0; }; then
   11111   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   11112 else
   11113   pkg_failed=yes
   11114 fi
   11115  else
   11116     pkg_failed=untried
   11117 fi
   11118 
   11119 
   11120 
   11121 if test $pkg_failed = yes; then
   11122 
   11123 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11124         _pkg_short_errors_supported=yes
   11125 else
   11126         _pkg_short_errors_supported=no
   11127 fi
   11128         if test $_pkg_short_errors_supported = yes; then
   11129 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xt" 2>&1`
   11130         else
   11131 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors "xt" 2>&1`
   11132         fi
   11133 	# Put the nasty error message in config.log where it belongs
   11134 	echo "$APPDEFS_PKG_ERRORS" >&5
   11135 
   11136 	as_fn_error $? "Package requirements (xt) were not met:
   11137 
   11138 $APPDEFS_PKG_ERRORS
   11139 
   11140 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11141 installed software in a non-standard prefix.
   11142 
   11143 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   11144 and APPDEFS_LIBS to avoid the need to call pkg-config.
   11145 See the pkg-config man page for more details.
   11146 " "$LINENO" 5
   11147 elif test $pkg_failed = untried; then
   11148 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11149 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11150 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11151 is in your PATH or set the PKG_CONFIG environment variable to the full
   11152 path to pkg-config.
   11153 
   11154 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   11155 and APPDEFS_LIBS to avoid the need to call pkg-config.
   11156 See the pkg-config man page for more details.
   11157 
   11158 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11159 See \`config.log' for more details" "$LINENO" 5; }
   11160 else
   11161 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   11162 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   11163         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11164 $as_echo "yes" >&6; }
   11165 	:
   11166 fi
   11167 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   11168 
   11169 # Check whether --with-appdefaultdir was given.
   11170 if test "${with_appdefaultdir+set}" = set; then :
   11171   withval=$with_appdefaultdir; appdefaultdir="$withval"
   11172 else
   11173   appdefaultdir="${xt_appdefaultdir}"
   11174 fi
   11175 
   11176 
   11177 
   11178 ac_config_files="$ac_config_files Makefile man/Makefile"
   11179 
   11180 cat >confcache <<\_ACEOF
   11181 # This file is a shell script that caches the results of configure
   11182 # tests run on this system so they can be shared between configure
   11183 # scripts and configure runs, see configure's option --config-cache.
   11184 # It is not useful on other systems.  If it contains results you don't
   11185 # want to keep, you may remove or edit it.
   11186 #
   11187 # config.status only pays attention to the cache file if you give it
   11188 # the --recheck option to rerun configure.
   11189 #
   11190 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11191 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11192 # following values.
   11193 
   11194 _ACEOF
   11195 
   11196 # The following way of writing the cache mishandles newlines in values,
   11197 # but we know of no workaround that is simple, portable, and efficient.
   11198 # So, we kill variables containing newlines.
   11199 # Ultrix sh set writes to stderr and can't be redirected directly,
   11200 # and sets the high bit in the cache file unless we assign to the vars.
   11201 (
   11202   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11203     eval ac_val=\$$ac_var
   11204     case $ac_val in #(
   11205     *${as_nl}*)
   11206       case $ac_var in #(
   11207       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11208 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11209       esac
   11210       case $ac_var in #(
   11211       _ | IFS | as_nl) ;; #(
   11212       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11213       *) { eval $ac_var=; unset $ac_var;} ;;
   11214       esac ;;
   11215     esac
   11216   done
   11217 
   11218   (set) 2>&1 |
   11219     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11220     *${as_nl}ac_space=\ *)
   11221       # `set' does not quote correctly, so add quotes: double-quote
   11222       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11223       sed -n \
   11224 	"s/'/'\\\\''/g;
   11225 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11226       ;; #(
   11227     *)
   11228       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11229       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11230       ;;
   11231     esac |
   11232     sort
   11233 ) |
   11234   sed '
   11235      /^ac_cv_env_/b end
   11236      t clear
   11237      :clear
   11238      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11239      t end
   11240      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11241      :end' >>confcache
   11242 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11243   if test -w "$cache_file"; then
   11244     if test "x$cache_file" != "x/dev/null"; then
   11245       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11246 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11247       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11248 	cat confcache >"$cache_file"
   11249       else
   11250         case $cache_file in #(
   11251         */* | ?:*)
   11252 	  mv -f confcache "$cache_file"$$ &&
   11253 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11254         *)
   11255 	  mv -f confcache "$cache_file" ;;
   11256 	esac
   11257       fi
   11258     fi
   11259   else
   11260     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11261 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11262   fi
   11263 fi
   11264 rm -f confcache
   11265 
   11266 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11267 # Let make expand exec_prefix.
   11268 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11269 
   11270 DEFS=-DHAVE_CONFIG_H
   11271 
   11272 ac_libobjs=
   11273 ac_ltlibobjs=
   11274 U=
   11275 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11276   # 1. Remove the extension, and $U if already installed.
   11277   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11278   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11279   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11280   #    will be set to the directory where LIBOBJS objects are built.
   11281   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11282   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11283 done
   11284 LIBOBJS=$ac_libobjs
   11285 
   11286 LTLIBOBJS=$ac_ltlibobjs
   11287 
   11288 
   11289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11290 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11291    if test -n "$am_sleep_pid"; then
   11292      # Hide warnings about reused PIDs.
   11293      wait $am_sleep_pid 2>/dev/null
   11294    fi
   11295    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11296 $as_echo "done" >&6; }
   11297  if test -n "$EXEEXT"; then
   11298   am__EXEEXT_TRUE=
   11299   am__EXEEXT_FALSE='#'
   11300 else
   11301   am__EXEEXT_TRUE='#'
   11302   am__EXEEXT_FALSE=
   11303 fi
   11304 
   11305 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   11306   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   11307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11308 fi
   11309 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11310   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11312 fi
   11313 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11314   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11316 fi
   11317 
   11318 : "${CONFIG_STATUS=./config.status}"
   11319 ac_write_fail=0
   11320 ac_clean_files_save=$ac_clean_files
   11321 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11322 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11323 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11324 as_write_fail=0
   11325 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11326 #! $SHELL
   11327 # Generated by $as_me.
   11328 # Run this file to recreate the current configuration.
   11329 # Compiler output produced by configure, useful for debugging
   11330 # configure, is in config.log if it exists.
   11331 
   11332 debug=false
   11333 ac_cs_recheck=false
   11334 ac_cs_silent=false
   11335 
   11336 SHELL=\${CONFIG_SHELL-$SHELL}
   11337 export SHELL
   11338 _ASEOF
   11339 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11340 ## -------------------- ##
   11341 ## M4sh Initialization. ##
   11342 ## -------------------- ##
   11343 
   11344 # Be more Bourne compatible
   11345 DUALCASE=1; export DUALCASE # for MKS sh
   11346 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11347   emulate sh
   11348   NULLCMD=:
   11349   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11350   # is contrary to our usage.  Disable this feature.
   11351   alias -g '${1+"$@"}'='"$@"'
   11352   setopt NO_GLOB_SUBST
   11353 else
   11354   case `(set -o) 2>/dev/null` in #(
   11355   *posix*) :
   11356     set -o posix ;; #(
   11357   *) :
   11358      ;;
   11359 esac
   11360 fi
   11361 
   11362 
   11363 as_nl='
   11364 '
   11365 export as_nl
   11366 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11367 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11368 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11369 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11370 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11371 # but without wasting forks for bash or zsh.
   11372 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11373     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11374   as_echo='print -r --'
   11375   as_echo_n='print -rn --'
   11376 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11377   as_echo='printf %s\n'
   11378   as_echo_n='printf %s'
   11379 else
   11380   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11381     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11382     as_echo_n='/usr/ucb/echo -n'
   11383   else
   11384     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11385     as_echo_n_body='eval
   11386       arg=$1;
   11387       case $arg in #(
   11388       *"$as_nl"*)
   11389 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11390 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11391       esac;
   11392       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11393     '
   11394     export as_echo_n_body
   11395     as_echo_n='sh -c $as_echo_n_body as_echo'
   11396   fi
   11397   export as_echo_body
   11398   as_echo='sh -c $as_echo_body as_echo'
   11399 fi
   11400 
   11401 # The user is always right.
   11402 if test "${PATH_SEPARATOR+set}" != set; then
   11403   PATH_SEPARATOR=:
   11404   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11405     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11406       PATH_SEPARATOR=';'
   11407   }
   11408 fi
   11409 
   11410 
   11411 # IFS
   11412 # We need space, tab and new line, in precisely that order.  Quoting is
   11413 # there to prevent editors from complaining about space-tab.
   11414 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11415 # splitting by setting IFS to empty value.)
   11416 IFS=" ""	$as_nl"
   11417 
   11418 # Find who we are.  Look in the path if we contain no directory separator.
   11419 as_myself=
   11420 case $0 in #((
   11421   *[\\/]* ) as_myself=$0 ;;
   11422   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11423 for as_dir in $PATH
   11424 do
   11425   IFS=$as_save_IFS
   11426   test -z "$as_dir" && as_dir=.
   11427     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11428   done
   11429 IFS=$as_save_IFS
   11430 
   11431      ;;
   11432 esac
   11433 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11434 # in which case we are not to be found in the path.
   11435 if test "x$as_myself" = x; then
   11436   as_myself=$0
   11437 fi
   11438 if test ! -f "$as_myself"; then
   11439   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11440   exit 1
   11441 fi
   11442 
   11443 # Unset variables that we do not need and which cause bugs (e.g. in
   11444 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11445 # suppresses any "Segmentation fault" message there.  '((' could
   11446 # trigger a bug in pdksh 5.2.14.
   11447 for as_var in BASH_ENV ENV MAIL MAILPATH
   11448 do eval test x\${$as_var+set} = xset \
   11449   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11450 done
   11451 PS1='$ '
   11452 PS2='> '
   11453 PS4='+ '
   11454 
   11455 # NLS nuisances.
   11456 LC_ALL=C
   11457 export LC_ALL
   11458 LANGUAGE=C
   11459 export LANGUAGE
   11460 
   11461 # CDPATH.
   11462 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11463 
   11464 
   11465 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11466 # ----------------------------------------
   11467 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11468 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11469 # script with STATUS, using 1 if that was 0.
   11470 as_fn_error ()
   11471 {
   11472   as_status=$1; test $as_status -eq 0 && as_status=1
   11473   if test "$4"; then
   11474     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11475     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11476   fi
   11477   $as_echo "$as_me: error: $2" >&2
   11478   as_fn_exit $as_status
   11479 } # as_fn_error
   11480 
   11481 
   11482 # as_fn_set_status STATUS
   11483 # -----------------------
   11484 # Set $? to STATUS, without forking.
   11485 as_fn_set_status ()
   11486 {
   11487   return $1
   11488 } # as_fn_set_status
   11489 
   11490 # as_fn_exit STATUS
   11491 # -----------------
   11492 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11493 as_fn_exit ()
   11494 {
   11495   set +e
   11496   as_fn_set_status $1
   11497   exit $1
   11498 } # as_fn_exit
   11499 
   11500 # as_fn_unset VAR
   11501 # ---------------
   11502 # Portably unset VAR.
   11503 as_fn_unset ()
   11504 {
   11505   { eval $1=; unset $1;}
   11506 }
   11507 as_unset=as_fn_unset
   11508 # as_fn_append VAR VALUE
   11509 # ----------------------
   11510 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11511 # advantage of any shell optimizations that allow amortized linear growth over
   11512 # repeated appends, instead of the typical quadratic growth present in naive
   11513 # implementations.
   11514 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11515   eval 'as_fn_append ()
   11516   {
   11517     eval $1+=\$2
   11518   }'
   11519 else
   11520   as_fn_append ()
   11521   {
   11522     eval $1=\$$1\$2
   11523   }
   11524 fi # as_fn_append
   11525 
   11526 # as_fn_arith ARG...
   11527 # ------------------
   11528 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11529 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11530 # must be portable across $(()) and expr.
   11531 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11532   eval 'as_fn_arith ()
   11533   {
   11534     as_val=$(( $* ))
   11535   }'
   11536 else
   11537   as_fn_arith ()
   11538   {
   11539     as_val=`expr "$@" || test $? -eq 1`
   11540   }
   11541 fi # as_fn_arith
   11542 
   11543 
   11544 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11545    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11546   as_expr=expr
   11547 else
   11548   as_expr=false
   11549 fi
   11550 
   11551 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11552   as_basename=basename
   11553 else
   11554   as_basename=false
   11555 fi
   11556 
   11557 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11558   as_dirname=dirname
   11559 else
   11560   as_dirname=false
   11561 fi
   11562 
   11563 as_me=`$as_basename -- "$0" ||
   11564 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11565 	 X"$0" : 'X\(//\)$' \| \
   11566 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11567 $as_echo X/"$0" |
   11568     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11569 	    s//\1/
   11570 	    q
   11571 	  }
   11572 	  /^X\/\(\/\/\)$/{
   11573 	    s//\1/
   11574 	    q
   11575 	  }
   11576 	  /^X\/\(\/\).*/{
   11577 	    s//\1/
   11578 	    q
   11579 	  }
   11580 	  s/.*/./; q'`
   11581 
   11582 # Avoid depending upon Character Ranges.
   11583 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11584 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11585 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11586 as_cr_digits='0123456789'
   11587 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11588 
   11589 ECHO_C= ECHO_N= ECHO_T=
   11590 case `echo -n x` in #(((((
   11591 -n*)
   11592   case `echo 'xy\c'` in
   11593   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11594   xy)  ECHO_C='\c';;
   11595   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11596        ECHO_T='	';;
   11597   esac;;
   11598 *)
   11599   ECHO_N='-n';;
   11600 esac
   11601 
   11602 rm -f conf$$ conf$$.exe conf$$.file
   11603 if test -d conf$$.dir; then
   11604   rm -f conf$$.dir/conf$$.file
   11605 else
   11606   rm -f conf$$.dir
   11607   mkdir conf$$.dir 2>/dev/null
   11608 fi
   11609 if (echo >conf$$.file) 2>/dev/null; then
   11610   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11611     as_ln_s='ln -s'
   11612     # ... but there are two gotchas:
   11613     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11614     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11615     # In both cases, we have to default to `cp -p'.
   11616     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11617       as_ln_s='cp -p'
   11618   elif ln conf$$.file conf$$ 2>/dev/null; then
   11619     as_ln_s=ln
   11620   else
   11621     as_ln_s='cp -p'
   11622   fi
   11623 else
   11624   as_ln_s='cp -p'
   11625 fi
   11626 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11627 rmdir conf$$.dir 2>/dev/null
   11628 
   11629 
   11630 # as_fn_mkdir_p
   11631 # -------------
   11632 # Create "$as_dir" as a directory, including parents if necessary.
   11633 as_fn_mkdir_p ()
   11634 {
   11635 
   11636   case $as_dir in #(
   11637   -*) as_dir=./$as_dir;;
   11638   esac
   11639   test -d "$as_dir" || eval $as_mkdir_p || {
   11640     as_dirs=
   11641     while :; do
   11642       case $as_dir in #(
   11643       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11644       *) as_qdir=$as_dir;;
   11645       esac
   11646       as_dirs="'$as_qdir' $as_dirs"
   11647       as_dir=`$as_dirname -- "$as_dir" ||
   11648 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11649 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11650 	 X"$as_dir" : 'X\(//\)$' \| \
   11651 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11652 $as_echo X"$as_dir" |
   11653     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11654 	    s//\1/
   11655 	    q
   11656 	  }
   11657 	  /^X\(\/\/\)[^/].*/{
   11658 	    s//\1/
   11659 	    q
   11660 	  }
   11661 	  /^X\(\/\/\)$/{
   11662 	    s//\1/
   11663 	    q
   11664 	  }
   11665 	  /^X\(\/\).*/{
   11666 	    s//\1/
   11667 	    q
   11668 	  }
   11669 	  s/.*/./; q'`
   11670       test -d "$as_dir" && break
   11671     done
   11672     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11673   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11674 
   11675 
   11676 } # as_fn_mkdir_p
   11677 if mkdir -p . 2>/dev/null; then
   11678   as_mkdir_p='mkdir -p "$as_dir"'
   11679 else
   11680   test -d ./-p && rmdir ./-p
   11681   as_mkdir_p=false
   11682 fi
   11683 
   11684 if test -x / >/dev/null 2>&1; then
   11685   as_test_x='test -x'
   11686 else
   11687   if ls -dL / >/dev/null 2>&1; then
   11688     as_ls_L_option=L
   11689   else
   11690     as_ls_L_option=
   11691   fi
   11692   as_test_x='
   11693     eval sh -c '\''
   11694       if test -d "$1"; then
   11695 	test -d "$1/.";
   11696       else
   11697 	case $1 in #(
   11698 	-*)set "./$1";;
   11699 	esac;
   11700 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   11701 	???[sx]*):;;*)false;;esac;fi
   11702     '\'' sh
   11703   '
   11704 fi
   11705 as_executable_p=$as_test_x
   11706 
   11707 # Sed expression to map a string onto a valid CPP name.
   11708 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11709 
   11710 # Sed expression to map a string onto a valid variable name.
   11711 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11712 
   11713 
   11714 exec 6>&1
   11715 ## ----------------------------------- ##
   11716 ## Main body of $CONFIG_STATUS script. ##
   11717 ## ----------------------------------- ##
   11718 _ASEOF
   11719 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11720 
   11721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11722 # Save the log message, to keep $0 and so on meaningful, and to
   11723 # report actual input values of CONFIG_FILES etc. instead of their
   11724 # values after options handling.
   11725 ac_log="
   11726 This file was extended by bitmap $as_me 1.0.7, which was
   11727 generated by GNU Autoconf 2.68.  Invocation command line was
   11728 
   11729   CONFIG_FILES    = $CONFIG_FILES
   11730   CONFIG_HEADERS  = $CONFIG_HEADERS
   11731   CONFIG_LINKS    = $CONFIG_LINKS
   11732   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11733   $ $0 $@
   11734 
   11735 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11736 "
   11737 
   11738 _ACEOF
   11739 
   11740 case $ac_config_files in *"
   11741 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11742 esac
   11743 
   11744 case $ac_config_headers in *"
   11745 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11746 esac
   11747 
   11748 
   11749 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11750 # Files that config.status was made for.
   11751 config_files="$ac_config_files"
   11752 config_headers="$ac_config_headers"
   11753 config_commands="$ac_config_commands"
   11754 
   11755 _ACEOF
   11756 
   11757 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11758 ac_cs_usage="\
   11759 \`$as_me' instantiates files and other configuration actions
   11760 from templates according to the current configuration.  Unless the files
   11761 and actions are specified as TAGs, all are instantiated by default.
   11762 
   11763 Usage: $0 [OPTION]... [TAG]...
   11764 
   11765   -h, --help       print this help, then exit
   11766   -V, --version    print version number and configuration settings, then exit
   11767       --config     print configuration, then exit
   11768   -q, --quiet, --silent
   11769                    do not print progress messages
   11770   -d, --debug      don't remove temporary files
   11771       --recheck    update $as_me by reconfiguring in the same conditions
   11772       --file=FILE[:TEMPLATE]
   11773                    instantiate the configuration file FILE
   11774       --header=FILE[:TEMPLATE]
   11775                    instantiate the configuration header FILE
   11776 
   11777 Configuration files:
   11778 $config_files
   11779 
   11780 Configuration headers:
   11781 $config_headers
   11782 
   11783 Configuration commands:
   11784 $config_commands
   11785 
   11786 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11787 
   11788 _ACEOF
   11789 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11790 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11791 ac_cs_version="\\
   11792 bitmap config.status 1.0.7
   11793 configured by $0, generated by GNU Autoconf 2.68,
   11794   with options \\"\$ac_cs_config\\"
   11795 
   11796 Copyright (C) 2010 Free Software Foundation, Inc.
   11797 This config.status script is free software; the Free Software Foundation
   11798 gives unlimited permission to copy, distribute and modify it."
   11799 
   11800 ac_pwd='$ac_pwd'
   11801 srcdir='$srcdir'
   11802 INSTALL='$INSTALL'
   11803 MKDIR_P='$MKDIR_P'
   11804 AWK='$AWK'
   11805 test -n "\$AWK" || AWK=awk
   11806 _ACEOF
   11807 
   11808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11809 # The default lists apply if the user does not specify any file.
   11810 ac_need_defaults=:
   11811 while test $# != 0
   11812 do
   11813   case $1 in
   11814   --*=?*)
   11815     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11816     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11817     ac_shift=:
   11818     ;;
   11819   --*=)
   11820     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11821     ac_optarg=
   11822     ac_shift=:
   11823     ;;
   11824   *)
   11825     ac_option=$1
   11826     ac_optarg=$2
   11827     ac_shift=shift
   11828     ;;
   11829   esac
   11830 
   11831   case $ac_option in
   11832   # Handling of the options.
   11833   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11834     ac_cs_recheck=: ;;
   11835   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11836     $as_echo "$ac_cs_version"; exit ;;
   11837   --config | --confi | --conf | --con | --co | --c )
   11838     $as_echo "$ac_cs_config"; exit ;;
   11839   --debug | --debu | --deb | --de | --d | -d )
   11840     debug=: ;;
   11841   --file | --fil | --fi | --f )
   11842     $ac_shift
   11843     case $ac_optarg in
   11844     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11845     '') as_fn_error $? "missing file argument" ;;
   11846     esac
   11847     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11848     ac_need_defaults=false;;
   11849   --header | --heade | --head | --hea )
   11850     $ac_shift
   11851     case $ac_optarg in
   11852     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11853     esac
   11854     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11855     ac_need_defaults=false;;
   11856   --he | --h)
   11857     # Conflict between --help and --header
   11858     as_fn_error $? "ambiguous option: \`$1'
   11859 Try \`$0 --help' for more information.";;
   11860   --help | --hel | -h )
   11861     $as_echo "$ac_cs_usage"; exit ;;
   11862   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11863   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11864     ac_cs_silent=: ;;
   11865 
   11866   # This is an error.
   11867   -*) as_fn_error $? "unrecognized option: \`$1'
   11868 Try \`$0 --help' for more information." ;;
   11869 
   11870   *) as_fn_append ac_config_targets " $1"
   11871      ac_need_defaults=false ;;
   11872 
   11873   esac
   11874   shift
   11875 done
   11876 
   11877 ac_configure_extra_args=
   11878 
   11879 if $ac_cs_silent; then
   11880   exec 6>/dev/null
   11881   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11882 fi
   11883 
   11884 _ACEOF
   11885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11886 if \$ac_cs_recheck; then
   11887   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11888   shift
   11889   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11890   CONFIG_SHELL='$SHELL'
   11891   export CONFIG_SHELL
   11892   exec "\$@"
   11893 fi
   11894 
   11895 _ACEOF
   11896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11897 exec 5>>config.log
   11898 {
   11899   echo
   11900   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11901 ## Running $as_me. ##
   11902 _ASBOX
   11903   $as_echo "$ac_log"
   11904 } >&5
   11905 
   11906 _ACEOF
   11907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11908 #
   11909 # INIT-COMMANDS
   11910 #
   11911 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11912 
   11913 _ACEOF
   11914 
   11915 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11916 
   11917 # Handling of arguments.
   11918 for ac_config_target in $ac_config_targets
   11919 do
   11920   case $ac_config_target in
   11921     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11922     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11923     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11924     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11925 
   11926   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11927   esac
   11928 done
   11929 
   11930 
   11931 # If the user did not use the arguments to specify the items to instantiate,
   11932 # then the envvar interface is used.  Set only those that are not.
   11933 # We use the long form for the default assignment because of an extremely
   11934 # bizarre bug on SunOS 4.1.3.
   11935 if $ac_need_defaults; then
   11936   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11937   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11938   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11939 fi
   11940 
   11941 # Have a temporary directory for convenience.  Make it in the build tree
   11942 # simply because there is no reason against having it here, and in addition,
   11943 # creating and moving files from /tmp can sometimes cause problems.
   11944 # Hook for its removal unless debugging.
   11945 # Note that there is a small window in which the directory will not be cleaned:
   11946 # after its creation but before its name has been assigned to `$tmp'.
   11947 $debug ||
   11948 {
   11949   tmp= ac_tmp=
   11950   trap 'exit_status=$?
   11951   : "${ac_tmp:=$tmp}"
   11952   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11953 ' 0
   11954   trap 'as_fn_exit 1' 1 2 13 15
   11955 }
   11956 # Create a (secure) tmp directory for tmp files.
   11957 
   11958 {
   11959   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11960   test -d "$tmp"
   11961 }  ||
   11962 {
   11963   tmp=./conf$$-$RANDOM
   11964   (umask 077 && mkdir "$tmp")
   11965 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11966 ac_tmp=$tmp
   11967 
   11968 # Set up the scripts for CONFIG_FILES section.
   11969 # No need to generate them if there are no CONFIG_FILES.
   11970 # This happens for instance with `./config.status config.h'.
   11971 if test -n "$CONFIG_FILES"; then
   11972 
   11973 
   11974 ac_cr=`echo X | tr X '\015'`
   11975 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11976 # But we know of no other shell where ac_cr would be empty at this
   11977 # point, so we can use a bashism as a fallback.
   11978 if test "x$ac_cr" = x; then
   11979   eval ac_cr=\$\'\\r\'
   11980 fi
   11981 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11982 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11983   ac_cs_awk_cr='\\r'
   11984 else
   11985   ac_cs_awk_cr=$ac_cr
   11986 fi
   11987 
   11988 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11989 _ACEOF
   11990 
   11991 
   11992 {
   11993   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11994   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11995   echo "_ACEOF"
   11996 } >conf$$subs.sh ||
   11997   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11998 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11999 ac_delim='%!_!# '
   12000 for ac_last_try in false false false false false :; do
   12001   . ./conf$$subs.sh ||
   12002     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12003 
   12004   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12005   if test $ac_delim_n = $ac_delim_num; then
   12006     break
   12007   elif $ac_last_try; then
   12008     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12009   else
   12010     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12011   fi
   12012 done
   12013 rm -f conf$$subs.sh
   12014 
   12015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12016 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12017 _ACEOF
   12018 sed -n '
   12019 h
   12020 s/^/S["/; s/!.*/"]=/
   12021 p
   12022 g
   12023 s/^[^!]*!//
   12024 :repl
   12025 t repl
   12026 s/'"$ac_delim"'$//
   12027 t delim
   12028 :nl
   12029 h
   12030 s/\(.\{148\}\)..*/\1/
   12031 t more1
   12032 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12033 p
   12034 n
   12035 b repl
   12036 :more1
   12037 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12038 p
   12039 g
   12040 s/.\{148\}//
   12041 t nl
   12042 :delim
   12043 h
   12044 s/\(.\{148\}\)..*/\1/
   12045 t more2
   12046 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12047 p
   12048 b
   12049 :more2
   12050 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12051 p
   12052 g
   12053 s/.\{148\}//
   12054 t delim
   12055 ' <conf$$subs.awk | sed '
   12056 /^[^""]/{
   12057   N
   12058   s/\n//
   12059 }
   12060 ' >>$CONFIG_STATUS || ac_write_fail=1
   12061 rm -f conf$$subs.awk
   12062 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12063 _ACAWK
   12064 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12065   for (key in S) S_is_set[key] = 1
   12066   FS = ""
   12067 
   12068 }
   12069 {
   12070   line = $ 0
   12071   nfields = split(line, field, "@")
   12072   substed = 0
   12073   len = length(field[1])
   12074   for (i = 2; i < nfields; i++) {
   12075     key = field[i]
   12076     keylen = length(key)
   12077     if (S_is_set[key]) {
   12078       value = S[key]
   12079       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12080       len += length(value) + length(field[++i])
   12081       substed = 1
   12082     } else
   12083       len += 1 + keylen
   12084   }
   12085 
   12086   print line
   12087 }
   12088 
   12089 _ACAWK
   12090 _ACEOF
   12091 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12092 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12093   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12094 else
   12095   cat
   12096 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12097   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12098 _ACEOF
   12099 
   12100 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12101 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12102 # trailing colons and then remove the whole line if VPATH becomes empty
   12103 # (actually we leave an empty line to preserve line numbers).
   12104 if test "x$srcdir" = x.; then
   12105   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12106 h
   12107 s///
   12108 s/^/:/
   12109 s/[	 ]*$/:/
   12110 s/:\$(srcdir):/:/g
   12111 s/:\${srcdir}:/:/g
   12112 s/:@srcdir@:/:/g
   12113 s/^:*//
   12114 s/:*$//
   12115 x
   12116 s/\(=[	 ]*\).*/\1/
   12117 G
   12118 s/\n//
   12119 s/^[^=]*=[	 ]*$//
   12120 }'
   12121 fi
   12122 
   12123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12124 fi # test -n "$CONFIG_FILES"
   12125 
   12126 # Set up the scripts for CONFIG_HEADERS section.
   12127 # No need to generate them if there are no CONFIG_HEADERS.
   12128 # This happens for instance with `./config.status Makefile'.
   12129 if test -n "$CONFIG_HEADERS"; then
   12130 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12131 BEGIN {
   12132 _ACEOF
   12133 
   12134 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12135 # here-document in config.status, that substitutes the proper values into
   12136 # config.h.in to produce config.h.
   12137 
   12138 # Create a delimiter string that does not exist in confdefs.h, to ease
   12139 # handling of long lines.
   12140 ac_delim='%!_!# '
   12141 for ac_last_try in false false :; do
   12142   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12143   if test -z "$ac_tt"; then
   12144     break
   12145   elif $ac_last_try; then
   12146     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12147   else
   12148     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12149   fi
   12150 done
   12151 
   12152 # For the awk script, D is an array of macro values keyed by name,
   12153 # likewise P contains macro parameters if any.  Preserve backslash
   12154 # newline sequences.
   12155 
   12156 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12157 sed -n '
   12158 s/.\{148\}/&'"$ac_delim"'/g
   12159 t rset
   12160 :rset
   12161 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12162 t def
   12163 d
   12164 :def
   12165 s/\\$//
   12166 t bsnl
   12167 s/["\\]/\\&/g
   12168 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12169 D["\1"]=" \3"/p
   12170 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12171 d
   12172 :bsnl
   12173 s/["\\]/\\&/g
   12174 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12175 D["\1"]=" \3\\\\\\n"\\/p
   12176 t cont
   12177 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12178 t cont
   12179 d
   12180 :cont
   12181 n
   12182 s/.\{148\}/&'"$ac_delim"'/g
   12183 t clear
   12184 :clear
   12185 s/\\$//
   12186 t bsnlc
   12187 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12188 d
   12189 :bsnlc
   12190 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12191 b cont
   12192 ' <confdefs.h | sed '
   12193 s/'"$ac_delim"'/"\\\
   12194 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12195 
   12196 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12197   for (key in D) D_is_set[key] = 1
   12198   FS = ""
   12199 }
   12200 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12201   line = \$ 0
   12202   split(line, arg, " ")
   12203   if (arg[1] == "#") {
   12204     defundef = arg[2]
   12205     mac1 = arg[3]
   12206   } else {
   12207     defundef = substr(arg[1], 2)
   12208     mac1 = arg[2]
   12209   }
   12210   split(mac1, mac2, "(") #)
   12211   macro = mac2[1]
   12212   prefix = substr(line, 1, index(line, defundef) - 1)
   12213   if (D_is_set[macro]) {
   12214     # Preserve the white space surrounding the "#".
   12215     print prefix "define", macro P[macro] D[macro]
   12216     next
   12217   } else {
   12218     # Replace #undef with comments.  This is necessary, for example,
   12219     # in the case of _POSIX_SOURCE, which is predefined and required
   12220     # on some systems where configure will not decide to define it.
   12221     if (defundef == "undef") {
   12222       print "/*", prefix defundef, macro, "*/"
   12223       next
   12224     }
   12225   }
   12226 }
   12227 { print }
   12228 _ACAWK
   12229 _ACEOF
   12230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12231   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12232 fi # test -n "$CONFIG_HEADERS"
   12233 
   12234 
   12235 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12236 shift
   12237 for ac_tag
   12238 do
   12239   case $ac_tag in
   12240   :[FHLC]) ac_mode=$ac_tag; continue;;
   12241   esac
   12242   case $ac_mode$ac_tag in
   12243   :[FHL]*:*);;
   12244   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12245   :[FH]-) ac_tag=-:-;;
   12246   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12247   esac
   12248   ac_save_IFS=$IFS
   12249   IFS=:
   12250   set x $ac_tag
   12251   IFS=$ac_save_IFS
   12252   shift
   12253   ac_file=$1
   12254   shift
   12255 
   12256   case $ac_mode in
   12257   :L) ac_source=$1;;
   12258   :[FH])
   12259     ac_file_inputs=
   12260     for ac_f
   12261     do
   12262       case $ac_f in
   12263       -) ac_f="$ac_tmp/stdin";;
   12264       *) # Look for the file first in the build tree, then in the source tree
   12265 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12266 	 # because $ac_f cannot contain `:'.
   12267 	 test -f "$ac_f" ||
   12268 	   case $ac_f in
   12269 	   [\\/$]*) false;;
   12270 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12271 	   esac ||
   12272 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12273       esac
   12274       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12275       as_fn_append ac_file_inputs " '$ac_f'"
   12276     done
   12277 
   12278     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12279     # use $as_me), people would be surprised to read:
   12280     #    /* config.h.  Generated by config.status.  */
   12281     configure_input='Generated from '`
   12282 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12283 	`' by configure.'
   12284     if test x"$ac_file" != x-; then
   12285       configure_input="$ac_file.  $configure_input"
   12286       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12287 $as_echo "$as_me: creating $ac_file" >&6;}
   12288     fi
   12289     # Neutralize special characters interpreted by sed in replacement strings.
   12290     case $configure_input in #(
   12291     *\&* | *\|* | *\\* )
   12292        ac_sed_conf_input=`$as_echo "$configure_input" |
   12293        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12294     *) ac_sed_conf_input=$configure_input;;
   12295     esac
   12296 
   12297     case $ac_tag in
   12298     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12299       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12300     esac
   12301     ;;
   12302   esac
   12303 
   12304   ac_dir=`$as_dirname -- "$ac_file" ||
   12305 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12306 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12307 	 X"$ac_file" : 'X\(//\)$' \| \
   12308 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12309 $as_echo X"$ac_file" |
   12310     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12311 	    s//\1/
   12312 	    q
   12313 	  }
   12314 	  /^X\(\/\/\)[^/].*/{
   12315 	    s//\1/
   12316 	    q
   12317 	  }
   12318 	  /^X\(\/\/\)$/{
   12319 	    s//\1/
   12320 	    q
   12321 	  }
   12322 	  /^X\(\/\).*/{
   12323 	    s//\1/
   12324 	    q
   12325 	  }
   12326 	  s/.*/./; q'`
   12327   as_dir="$ac_dir"; as_fn_mkdir_p
   12328   ac_builddir=.
   12329 
   12330 case "$ac_dir" in
   12331 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12332 *)
   12333   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12334   # A ".." for each directory in $ac_dir_suffix.
   12335   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12336   case $ac_top_builddir_sub in
   12337   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12338   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12339   esac ;;
   12340 esac
   12341 ac_abs_top_builddir=$ac_pwd
   12342 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12343 # for backward compatibility:
   12344 ac_top_builddir=$ac_top_build_prefix
   12345 
   12346 case $srcdir in
   12347   .)  # We are building in place.
   12348     ac_srcdir=.
   12349     ac_top_srcdir=$ac_top_builddir_sub
   12350     ac_abs_top_srcdir=$ac_pwd ;;
   12351   [\\/]* | ?:[\\/]* )  # Absolute name.
   12352     ac_srcdir=$srcdir$ac_dir_suffix;
   12353     ac_top_srcdir=$srcdir
   12354     ac_abs_top_srcdir=$srcdir ;;
   12355   *) # Relative name.
   12356     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12357     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12358     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12359 esac
   12360 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12361 
   12362 
   12363   case $ac_mode in
   12364   :F)
   12365   #
   12366   # CONFIG_FILE
   12367   #
   12368 
   12369   case $INSTALL in
   12370   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12371   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12372   esac
   12373   ac_MKDIR_P=$MKDIR_P
   12374   case $MKDIR_P in
   12375   [\\/$]* | ?:[\\/]* ) ;;
   12376   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12377   esac
   12378 _ACEOF
   12379 
   12380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12381 # If the template does not know about datarootdir, expand it.
   12382 # FIXME: This hack should be removed a few years after 2.60.
   12383 ac_datarootdir_hack=; ac_datarootdir_seen=
   12384 ac_sed_dataroot='
   12385 /datarootdir/ {
   12386   p
   12387   q
   12388 }
   12389 /@datadir@/p
   12390 /@docdir@/p
   12391 /@infodir@/p
   12392 /@localedir@/p
   12393 /@mandir@/p'
   12394 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12395 *datarootdir*) ac_datarootdir_seen=yes;;
   12396 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12397   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12398 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12399 _ACEOF
   12400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12401   ac_datarootdir_hack='
   12402   s&@datadir@&$datadir&g
   12403   s&@docdir@&$docdir&g
   12404   s&@infodir@&$infodir&g
   12405   s&@localedir@&$localedir&g
   12406   s&@mandir@&$mandir&g
   12407   s&\\\${datarootdir}&$datarootdir&g' ;;
   12408 esac
   12409 _ACEOF
   12410 
   12411 # Neutralize VPATH when `$srcdir' = `.'.
   12412 # Shell code in configure.ac might set extrasub.
   12413 # FIXME: do we really want to maintain this feature?
   12414 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12415 ac_sed_extra="$ac_vpsub
   12416 $extrasub
   12417 _ACEOF
   12418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12419 :t
   12420 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12421 s|@configure_input@|$ac_sed_conf_input|;t t
   12422 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12423 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12424 s&@srcdir@&$ac_srcdir&;t t
   12425 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12426 s&@top_srcdir@&$ac_top_srcdir&;t t
   12427 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12428 s&@builddir@&$ac_builddir&;t t
   12429 s&@abs_builddir@&$ac_abs_builddir&;t t
   12430 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12431 s&@INSTALL@&$ac_INSTALL&;t t
   12432 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12433 $ac_datarootdir_hack
   12434 "
   12435 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12436   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12437 
   12438 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12439   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12440   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12441       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12442   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12443 which seems to be undefined.  Please make sure it is defined" >&5
   12444 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12445 which seems to be undefined.  Please make sure it is defined" >&2;}
   12446 
   12447   rm -f "$ac_tmp/stdin"
   12448   case $ac_file in
   12449   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12450   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12451   esac \
   12452   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12453  ;;
   12454   :H)
   12455   #
   12456   # CONFIG_HEADER
   12457   #
   12458   if test x"$ac_file" != x-; then
   12459     {
   12460       $as_echo "/* $configure_input  */" \
   12461       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12462     } >"$ac_tmp/config.h" \
   12463       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12464     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12465       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12466 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12467     else
   12468       rm -f "$ac_file"
   12469       mv "$ac_tmp/config.h" "$ac_file" \
   12470 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12471     fi
   12472   else
   12473     $as_echo "/* $configure_input  */" \
   12474       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12475       || as_fn_error $? "could not create -" "$LINENO" 5
   12476   fi
   12477 # Compute "$ac_file"'s index in $config_headers.
   12478 _am_arg="$ac_file"
   12479 _am_stamp_count=1
   12480 for _am_header in $config_headers :; do
   12481   case $_am_header in
   12482     $_am_arg | $_am_arg:* )
   12483       break ;;
   12484     * )
   12485       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12486   esac
   12487 done
   12488 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12489 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12490 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12491 	 X"$_am_arg" : 'X\(//\)$' \| \
   12492 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12493 $as_echo X"$_am_arg" |
   12494     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12495 	    s//\1/
   12496 	    q
   12497 	  }
   12498 	  /^X\(\/\/\)[^/].*/{
   12499 	    s//\1/
   12500 	    q
   12501 	  }
   12502 	  /^X\(\/\/\)$/{
   12503 	    s//\1/
   12504 	    q
   12505 	  }
   12506 	  /^X\(\/\).*/{
   12507 	    s//\1/
   12508 	    q
   12509 	  }
   12510 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12511  ;;
   12512 
   12513   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12514 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12515  ;;
   12516   esac
   12517 
   12518 
   12519   case $ac_file$ac_mode in
   12520     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12521   # Older Autoconf quotes --file arguments for eval, but not when files
   12522   # are listed without --file.  Let's play safe and only enable the eval
   12523   # if we detect the quoting.
   12524   case $CONFIG_FILES in
   12525   *\'*) eval set x "$CONFIG_FILES" ;;
   12526   *)   set x $CONFIG_FILES ;;
   12527   esac
   12528   shift
   12529   for mf
   12530   do
   12531     # Strip MF so we end up with the name of the file.
   12532     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12533     # Check whether this is an Automake generated Makefile or not.
   12534     # We used to match only the files named 'Makefile.in', but
   12535     # some people rename them; so instead we look at the file content.
   12536     # Grep'ing the first line is not enough: some people post-process
   12537     # each Makefile.in and add a new line on top of each file to say so.
   12538     # Grep'ing the whole file is not good either: AIX grep has a line
   12539     # limit of 2048, but all sed's we know have understand at least 4000.
   12540     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12541       dirpart=`$as_dirname -- "$mf" ||
   12542 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12543 	 X"$mf" : 'X\(//\)[^/]' \| \
   12544 	 X"$mf" : 'X\(//\)$' \| \
   12545 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12546 $as_echo X"$mf" |
   12547     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12548 	    s//\1/
   12549 	    q
   12550 	  }
   12551 	  /^X\(\/\/\)[^/].*/{
   12552 	    s//\1/
   12553 	    q
   12554 	  }
   12555 	  /^X\(\/\/\)$/{
   12556 	    s//\1/
   12557 	    q
   12558 	  }
   12559 	  /^X\(\/\).*/{
   12560 	    s//\1/
   12561 	    q
   12562 	  }
   12563 	  s/.*/./; q'`
   12564     else
   12565       continue
   12566     fi
   12567     # Extract the definition of DEPDIR, am__include, and am__quote
   12568     # from the Makefile without running 'make'.
   12569     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12570     test -z "$DEPDIR" && continue
   12571     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12572     test -z "$am__include" && continue
   12573     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12574     # Find all dependency output files, they are included files with
   12575     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12576     # simplest approach to changing $(DEPDIR) to its actual value in the
   12577     # expansion.
   12578     for file in `sed -n "
   12579       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12580 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12581       # Make sure the directory exists.
   12582       test -f "$dirpart/$file" && continue
   12583       fdir=`$as_dirname -- "$file" ||
   12584 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12585 	 X"$file" : 'X\(//\)[^/]' \| \
   12586 	 X"$file" : 'X\(//\)$' \| \
   12587 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12588 $as_echo X"$file" |
   12589     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12590 	    s//\1/
   12591 	    q
   12592 	  }
   12593 	  /^X\(\/\/\)[^/].*/{
   12594 	    s//\1/
   12595 	    q
   12596 	  }
   12597 	  /^X\(\/\/\)$/{
   12598 	    s//\1/
   12599 	    q
   12600 	  }
   12601 	  /^X\(\/\).*/{
   12602 	    s//\1/
   12603 	    q
   12604 	  }
   12605 	  s/.*/./; q'`
   12606       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12607       # echo "creating $dirpart/$file"
   12608       echo '# dummy' > "$dirpart/$file"
   12609     done
   12610   done
   12611 }
   12612  ;;
   12613 
   12614   esac
   12615 done # for ac_tag
   12616 
   12617 
   12618 as_fn_exit 0
   12619 _ACEOF
   12620 ac_clean_files=$ac_clean_files_save
   12621 
   12622 test $ac_write_fail = 0 ||
   12623   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12624 
   12625 
   12626 # configure is writing to config.log, and then calls config.status.
   12627 # config.status does its own redirection, appending to config.log.
   12628 # Unfortunately, on DOS this fails, as config.log is still kept open
   12629 # by configure, so config.status won't be able to write to it; its
   12630 # output is simply discarded.  So we exec the FD to /dev/null,
   12631 # effectively closing config.log, so it can be properly (re)opened and
   12632 # appended to by config.status.  When coming back to configure, we
   12633 # need to make the FD available again.
   12634 if test "$no_create" != yes; then
   12635   ac_cs_success=:
   12636   ac_config_status_args=
   12637   test "$silent" = yes &&
   12638     ac_config_status_args="$ac_config_status_args --quiet"
   12639   exec 5>/dev/null
   12640   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12641   exec 5>>config.log
   12642   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12643   # would make configure fail if this is the last instruction.
   12644   $ac_cs_success || as_fn_exit 1
   12645 fi
   12646 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12647   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12648 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12649 fi
   12650 
   12651