Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for xclipboard 1.1.3.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1"
    178   if (eval "$as_required") 2>/dev/null; then :
    179   as_have_required=yes
    180 else
    181   as_have_required=no
    182 fi
    183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    184 
    185 else
    186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    187 as_found=false
    188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    189 do
    190   IFS=$as_save_IFS
    191   test -z "$as_dir" && as_dir=.
    192   as_found=:
    193   case $as_dir in #(
    194 	 /*)
    195 	   for as_base in sh bash ksh sh5; do
    196 	     # Try only shells that exist, to save several forks.
    197 	     as_shell=$as_dir/$as_base
    198 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    199 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    200   CONFIG_SHELL=$as_shell as_have_required=yes
    201 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    202   break 2
    203 fi
    204 fi
    205 	   done;;
    206        esac
    207   as_found=false
    208 done
    209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    210 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    211   CONFIG_SHELL=$SHELL as_have_required=yes
    212 fi; }
    213 IFS=$as_save_IFS
    214 
    215 
    216       if test "x$CONFIG_SHELL" != x; then :
    217   # We cannot yet assume a decent shell, so we have to provide a
    218 	# neutralization value for shells without unset; and this also
    219 	# works around shells that cannot unset nonexistent variables.
    220 	# Preserve -v and -x to the replacement shell.
    221 	BASH_ENV=/dev/null
    222 	ENV=/dev/null
    223 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    224 	export CONFIG_SHELL
    225 	case $- in # ((((
    226 	  *v*x* | *x*v* ) as_opts=-vx ;;
    227 	  *v* ) as_opts=-v ;;
    228 	  *x* ) as_opts=-x ;;
    229 	  * ) as_opts= ;;
    230 	esac
    231 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    232 fi
    233 
    234     if test x$as_have_required = xno; then :
    235   $as_echo "$0: This script requires a shell more modern than all"
    236   $as_echo "$0: the shells that I found on your system."
    237   if test x${ZSH_VERSION+set} = xset ; then
    238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    240   else
    241     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    242 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    243 $0: about your system, including any error possibly output
    244 $0: before this message. Then install a modern shell, or
    245 $0: manually run the script under such a shell if you do
    246 $0: have one."
    247   fi
    248   exit 1
    249 fi
    250 fi
    251 fi
    252 SHELL=${CONFIG_SHELL-/bin/sh}
    253 export SHELL
    254 # Unset more variables known to interfere with behavior of common tools.
    255 CLICOLOR_FORCE= GREP_OPTIONS=
    256 unset CLICOLOR_FORCE GREP_OPTIONS
    257 
    258 ## --------------------- ##
    259 ## M4sh Shell Functions. ##
    260 ## --------------------- ##
    261 # as_fn_unset VAR
    262 # ---------------
    263 # Portably unset VAR.
    264 as_fn_unset ()
    265 {
    266   { eval $1=; unset $1;}
    267 }
    268 as_unset=as_fn_unset
    269 
    270 # as_fn_set_status STATUS
    271 # -----------------------
    272 # Set $? to STATUS, without forking.
    273 as_fn_set_status ()
    274 {
    275   return $1
    276 } # as_fn_set_status
    277 
    278 # as_fn_exit STATUS
    279 # -----------------
    280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    281 as_fn_exit ()
    282 {
    283   set +e
    284   as_fn_set_status $1
    285   exit $1
    286 } # as_fn_exit
    287 
    288 # as_fn_mkdir_p
    289 # -------------
    290 # Create "$as_dir" as a directory, including parents if necessary.
    291 as_fn_mkdir_p ()
    292 {
    293 
    294   case $as_dir in #(
    295   -*) as_dir=./$as_dir;;
    296   esac
    297   test -d "$as_dir" || eval $as_mkdir_p || {
    298     as_dirs=
    299     while :; do
    300       case $as_dir in #(
    301       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    302       *) as_qdir=$as_dir;;
    303       esac
    304       as_dirs="'$as_qdir' $as_dirs"
    305       as_dir=`$as_dirname -- "$as_dir" ||
    306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    307 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    308 	 X"$as_dir" : 'X\(//\)$' \| \
    309 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    310 $as_echo X"$as_dir" |
    311     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    312 	    s//\1/
    313 	    q
    314 	  }
    315 	  /^X\(\/\/\)[^/].*/{
    316 	    s//\1/
    317 	    q
    318 	  }
    319 	  /^X\(\/\/\)$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\).*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  s/.*/./; q'`
    328       test -d "$as_dir" && break
    329     done
    330     test -z "$as_dirs" || eval "mkdir $as_dirs"
    331   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    332 
    333 
    334 } # as_fn_mkdir_p
    335 # as_fn_append VAR VALUE
    336 # ----------------------
    337 # Append the text in VALUE to the end of the definition contained in VAR. Take
    338 # advantage of any shell optimizations that allow amortized linear growth over
    339 # repeated appends, instead of the typical quadratic growth present in naive
    340 # implementations.
    341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    342   eval 'as_fn_append ()
    343   {
    344     eval $1+=\$2
    345   }'
    346 else
    347   as_fn_append ()
    348   {
    349     eval $1=\$$1\$2
    350   }
    351 fi # as_fn_append
    352 
    353 # as_fn_arith ARG...
    354 # ------------------
    355 # Perform arithmetic evaluation on the ARGs, and store the result in the
    356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    357 # must be portable across $(()) and expr.
    358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    359   eval 'as_fn_arith ()
    360   {
    361     as_val=$(( $* ))
    362   }'
    363 else
    364   as_fn_arith ()
    365   {
    366     as_val=`expr "$@" || test $? -eq 1`
    367   }
    368 fi # as_fn_arith
    369 
    370 
    371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    372 # ----------------------------------------
    373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    375 # script with STATUS, using 1 if that was 0.
    376 as_fn_error ()
    377 {
    378   as_status=$1; test $as_status -eq 0 && as_status=1
    379   if test "$4"; then
    380     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    381     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    382   fi
    383   $as_echo "$as_me: error: $2" >&2
    384   as_fn_exit $as_status
    385 } # as_fn_error
    386 
    387 if expr a : '\(a\)' >/dev/null 2>&1 &&
    388    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    389   as_expr=expr
    390 else
    391   as_expr=false
    392 fi
    393 
    394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    395   as_basename=basename
    396 else
    397   as_basename=false
    398 fi
    399 
    400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    401   as_dirname=dirname
    402 else
    403   as_dirname=false
    404 fi
    405 
    406 as_me=`$as_basename -- "$0" ||
    407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    408 	 X"$0" : 'X\(//\)$' \| \
    409 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    410 $as_echo X/"$0" |
    411     sed '/^.*\/\([^/][^/]*\)\/*$/{
    412 	    s//\1/
    413 	    q
    414 	  }
    415 	  /^X\/\(\/\/\)$/{
    416 	    s//\1/
    417 	    q
    418 	  }
    419 	  /^X\/\(\/\).*/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  s/.*/./; q'`
    424 
    425 # Avoid depending upon Character Ranges.
    426 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    429 as_cr_digits='0123456789'
    430 as_cr_alnum=$as_cr_Letters$as_cr_digits
    431 
    432 
    433   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    434   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    435   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    436   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    437   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    438   sed -n '
    439     p
    440     /[$]LINENO/=
    441   ' <$as_myself |
    442     sed '
    443       s/[$]LINENO.*/&-/
    444       t lineno
    445       b
    446       :lineno
    447       N
    448       :loop
    449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    450       t loop
    451       s/-\n.*//
    452     ' >$as_me.lineno &&
    453   chmod +x "$as_me.lineno" ||
    454     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    455 
    456   # Don't try to exec as it changes $[0], causing all sort of problems
    457   # (the dirname of $[0] is not the place where we might find the
    458   # original and so on.  Autoconf is especially sensitive to this).
    459   . "./$as_me.lineno"
    460   # Exit status is that of the last command.
    461   exit
    462 }
    463 
    464 ECHO_C= ECHO_N= ECHO_T=
    465 case `echo -n x` in #(((((
    466 -n*)
    467   case `echo 'xy\c'` in
    468   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    469   xy)  ECHO_C='\c';;
    470   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    471        ECHO_T='	';;
    472   esac;;
    473 *)
    474   ECHO_N='-n';;
    475 esac
    476 
    477 rm -f conf$$ conf$$.exe conf$$.file
    478 if test -d conf$$.dir; then
    479   rm -f conf$$.dir/conf$$.file
    480 else
    481   rm -f conf$$.dir
    482   mkdir conf$$.dir 2>/dev/null
    483 fi
    484 if (echo >conf$$.file) 2>/dev/null; then
    485   if ln -s conf$$.file conf$$ 2>/dev/null; then
    486     as_ln_s='ln -s'
    487     # ... but there are two gotchas:
    488     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    489     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    490     # In both cases, we have to default to `cp -p'.
    491     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    492       as_ln_s='cp -p'
    493   elif ln conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s=ln
    495   else
    496     as_ln_s='cp -p'
    497   fi
    498 else
    499   as_ln_s='cp -p'
    500 fi
    501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    502 rmdir conf$$.dir 2>/dev/null
    503 
    504 if mkdir -p . 2>/dev/null; then
    505   as_mkdir_p='mkdir -p "$as_dir"'
    506 else
    507   test -d ./-p && rmdir ./-p
    508   as_mkdir_p=false
    509 fi
    510 
    511 if test -x / >/dev/null 2>&1; then
    512   as_test_x='test -x'
    513 else
    514   if ls -dL / >/dev/null 2>&1; then
    515     as_ls_L_option=L
    516   else
    517     as_ls_L_option=
    518   fi
    519   as_test_x='
    520     eval sh -c '\''
    521       if test -d "$1"; then
    522 	test -d "$1/.";
    523       else
    524 	case $1 in #(
    525 	-*)set "./$1";;
    526 	esac;
    527 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    528 	???[sx]*):;;*)false;;esac;fi
    529     '\'' sh
    530   '
    531 fi
    532 as_executable_p=$as_test_x
    533 
    534 # Sed expression to map a string onto a valid CPP name.
    535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    536 
    537 # Sed expression to map a string onto a valid variable name.
    538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    539 
    540 
    541 test -n "$DJDIR" || exec 7<&0 </dev/null
    542 exec 6>&1
    543 
    544 # Name of the host.
    545 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    546 # so uname gets run too.
    547 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    548 
    549 #
    550 # Initializations.
    551 #
    552 ac_default_prefix=/usr/local
    553 ac_clean_files=
    554 ac_config_libobj_dir=.
    555 LIBOBJS=
    556 cross_compiling=no
    557 subdirs=
    558 MFLAGS=
    559 MAKEFLAGS=
    560 
    561 # Identity of this package.
    562 PACKAGE_NAME='xclipboard'
    563 PACKAGE_TARNAME='xclipboard'
    564 PACKAGE_VERSION='1.1.3'
    565 PACKAGE_STRING='xclipboard 1.1.3'
    566 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    567 PACKAGE_URL=''
    568 
    569 ac_unique_file="Makefile.am"
    570 # Factoring default headers for most tests.
    571 ac_includes_default="\
    572 #include <stdio.h>
    573 #ifdef HAVE_SYS_TYPES_H
    574 # include <sys/types.h>
    575 #endif
    576 #ifdef HAVE_SYS_STAT_H
    577 # include <sys/stat.h>
    578 #endif
    579 #ifdef STDC_HEADERS
    580 # include <stdlib.h>
    581 # include <stddef.h>
    582 #else
    583 # ifdef HAVE_STDLIB_H
    584 #  include <stdlib.h>
    585 # endif
    586 #endif
    587 #ifdef HAVE_STRING_H
    588 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    589 #  include <memory.h>
    590 # endif
    591 # include <string.h>
    592 #endif
    593 #ifdef HAVE_STRINGS_H
    594 # include <strings.h>
    595 #endif
    596 #ifdef HAVE_INTTYPES_H
    597 # include <inttypes.h>
    598 #endif
    599 #ifdef HAVE_STDINT_H
    600 # include <stdint.h>
    601 #endif
    602 #ifdef HAVE_UNISTD_H
    603 # include <unistd.h>
    604 #endif"
    605 
    606 ac_subst_vars='am__EXEEXT_FALSE
    607 am__EXEEXT_TRUE
    608 LTLIBOBJS
    609 LIBOBJS
    610 appdefaultdir
    611 APPDEFS_LIBS
    612 APPDEFS_CFLAGS
    613 XCLIPBOARD_LIBS
    614 XCLIPBOARD_CFLAGS
    615 MAN_SUBSTS
    616 XORG_MAN_PAGE
    617 ADMIN_MAN_DIR
    618 DRIVER_MAN_DIR
    619 MISC_MAN_DIR
    620 FILE_MAN_DIR
    621 LIB_MAN_DIR
    622 APP_MAN_DIR
    623 ADMIN_MAN_SUFFIX
    624 DRIVER_MAN_SUFFIX
    625 MISC_MAN_SUFFIX
    626 FILE_MAN_SUFFIX
    627 LIB_MAN_SUFFIX
    628 APP_MAN_SUFFIX
    629 SED
    630 host_os
    631 host_vendor
    632 host_cpu
    633 host
    634 build_os
    635 build_vendor
    636 build_cpu
    637 build
    638 INSTALL_CMD
    639 PKG_CONFIG
    640 CHANGELOG_CMD
    641 STRICT_CFLAGS
    642 CWARNFLAGS
    643 BASE_CFLAGS
    644 EGREP
    645 GREP
    646 CPP
    647 am__fastdepCC_FALSE
    648 am__fastdepCC_TRUE
    649 CCDEPMODE
    650 am__nodep
    651 AMDEPBACKSLASH
    652 AMDEP_FALSE
    653 AMDEP_TRUE
    654 am__quote
    655 am__include
    656 DEPDIR
    657 OBJEXT
    658 EXEEXT
    659 ac_ct_CC
    660 CPPFLAGS
    661 LDFLAGS
    662 CFLAGS
    663 CC
    664 MAINT
    665 MAINTAINER_MODE_FALSE
    666 MAINTAINER_MODE_TRUE
    667 AM_BACKSLASH
    668 AM_DEFAULT_VERBOSITY
    669 AM_DEFAULT_V
    670 AM_V
    671 am__untar
    672 am__tar
    673 AMTAR
    674 am__leading_dot
    675 SET_MAKE
    676 AWK
    677 mkdir_p
    678 MKDIR_P
    679 INSTALL_STRIP_PROGRAM
    680 STRIP
    681 install_sh
    682 MAKEINFO
    683 AUTOHEADER
    684 AUTOMAKE
    685 AUTOCONF
    686 ACLOCAL
    687 VERSION
    688 PACKAGE
    689 CYGPATH_W
    690 am__isrc
    691 INSTALL_DATA
    692 INSTALL_SCRIPT
    693 INSTALL_PROGRAM
    694 target_alias
    695 host_alias
    696 build_alias
    697 LIBS
    698 ECHO_T
    699 ECHO_N
    700 ECHO_C
    701 DEFS
    702 mandir
    703 localedir
    704 libdir
    705 psdir
    706 pdfdir
    707 dvidir
    708 htmldir
    709 infodir
    710 docdir
    711 oldincludedir
    712 includedir
    713 localstatedir
    714 sharedstatedir
    715 sysconfdir
    716 datadir
    717 datarootdir
    718 libexecdir
    719 sbindir
    720 bindir
    721 program_transform_name
    722 prefix
    723 exec_prefix
    724 PACKAGE_URL
    725 PACKAGE_BUGREPORT
    726 PACKAGE_STRING
    727 PACKAGE_VERSION
    728 PACKAGE_TARNAME
    729 PACKAGE_NAME
    730 PATH_SEPARATOR
    731 SHELL'
    732 ac_subst_files=''
    733 ac_user_opts='
    734 enable_option_checking
    735 enable_silent_rules
    736 enable_maintainer_mode
    737 enable_dependency_tracking
    738 enable_selective_werror
    739 enable_strict_compilation
    740 with_appdefaultdir
    741 '
    742       ac_precious_vars='build_alias
    743 host_alias
    744 target_alias
    745 CC
    746 CFLAGS
    747 LDFLAGS
    748 LIBS
    749 CPPFLAGS
    750 CPP
    751 PKG_CONFIG
    752 XCLIPBOARD_CFLAGS
    753 XCLIPBOARD_LIBS
    754 APPDEFS_CFLAGS
    755 APPDEFS_LIBS'
    756 
    757 
    758 # Initialize some variables set by options.
    759 ac_init_help=
    760 ac_init_version=false
    761 ac_unrecognized_opts=
    762 ac_unrecognized_sep=
    763 # The variables have the same names as the options, with
    764 # dashes changed to underlines.
    765 cache_file=/dev/null
    766 exec_prefix=NONE
    767 no_create=
    768 no_recursion=
    769 prefix=NONE
    770 program_prefix=NONE
    771 program_suffix=NONE
    772 program_transform_name=s,x,x,
    773 silent=
    774 site=
    775 srcdir=
    776 verbose=
    777 x_includes=NONE
    778 x_libraries=NONE
    779 
    780 # Installation directory options.
    781 # These are left unexpanded so users can "make install exec_prefix=/foo"
    782 # and all the variables that are supposed to be based on exec_prefix
    783 # by default will actually change.
    784 # Use braces instead of parens because sh, perl, etc. also accept them.
    785 # (The list follows the same order as the GNU Coding Standards.)
    786 bindir='${exec_prefix}/bin'
    787 sbindir='${exec_prefix}/sbin'
    788 libexecdir='${exec_prefix}/libexec'
    789 datarootdir='${prefix}/share'
    790 datadir='${datarootdir}'
    791 sysconfdir='${prefix}/etc'
    792 sharedstatedir='${prefix}/com'
    793 localstatedir='${prefix}/var'
    794 includedir='${prefix}/include'
    795 oldincludedir='/usr/include'
    796 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    797 infodir='${datarootdir}/info'
    798 htmldir='${docdir}'
    799 dvidir='${docdir}'
    800 pdfdir='${docdir}'
    801 psdir='${docdir}'
    802 libdir='${exec_prefix}/lib'
    803 localedir='${datarootdir}/locale'
    804 mandir='${datarootdir}/man'
    805 
    806 ac_prev=
    807 ac_dashdash=
    808 for ac_option
    809 do
    810   # If the previous option needs an argument, assign it.
    811   if test -n "$ac_prev"; then
    812     eval $ac_prev=\$ac_option
    813     ac_prev=
    814     continue
    815   fi
    816 
    817   case $ac_option in
    818   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    819   *=)   ac_optarg= ;;
    820   *)    ac_optarg=yes ;;
    821   esac
    822 
    823   # Accept the important Cygnus configure options, so we can diagnose typos.
    824 
    825   case $ac_dashdash$ac_option in
    826   --)
    827     ac_dashdash=yes ;;
    828 
    829   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    830     ac_prev=bindir ;;
    831   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    832     bindir=$ac_optarg ;;
    833 
    834   -build | --build | --buil | --bui | --bu)
    835     ac_prev=build_alias ;;
    836   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    837     build_alias=$ac_optarg ;;
    838 
    839   -cache-file | --cache-file | --cache-fil | --cache-fi \
    840   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    841     ac_prev=cache_file ;;
    842   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    843   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    844     cache_file=$ac_optarg ;;
    845 
    846   --config-cache | -C)
    847     cache_file=config.cache ;;
    848 
    849   -datadir | --datadir | --datadi | --datad)
    850     ac_prev=datadir ;;
    851   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    852     datadir=$ac_optarg ;;
    853 
    854   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    855   | --dataroo | --dataro | --datar)
    856     ac_prev=datarootdir ;;
    857   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    858   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    859     datarootdir=$ac_optarg ;;
    860 
    861   -disable-* | --disable-*)
    862     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    863     # Reject names that are not valid shell variable names.
    864     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    865       as_fn_error $? "invalid feature name: $ac_useropt"
    866     ac_useropt_orig=$ac_useropt
    867     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    868     case $ac_user_opts in
    869       *"
    870 "enable_$ac_useropt"
    871 "*) ;;
    872       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    873 	 ac_unrecognized_sep=', ';;
    874     esac
    875     eval enable_$ac_useropt=no ;;
    876 
    877   -docdir | --docdir | --docdi | --doc | --do)
    878     ac_prev=docdir ;;
    879   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    880     docdir=$ac_optarg ;;
    881 
    882   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    883     ac_prev=dvidir ;;
    884   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    885     dvidir=$ac_optarg ;;
    886 
    887   -enable-* | --enable-*)
    888     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    889     # Reject names that are not valid shell variable names.
    890     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    891       as_fn_error $? "invalid feature name: $ac_useropt"
    892     ac_useropt_orig=$ac_useropt
    893     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    894     case $ac_user_opts in
    895       *"
    896 "enable_$ac_useropt"
    897 "*) ;;
    898       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    899 	 ac_unrecognized_sep=', ';;
    900     esac
    901     eval enable_$ac_useropt=\$ac_optarg ;;
    902 
    903   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    904   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    905   | --exec | --exe | --ex)
    906     ac_prev=exec_prefix ;;
    907   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    908   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    909   | --exec=* | --exe=* | --ex=*)
    910     exec_prefix=$ac_optarg ;;
    911 
    912   -gas | --gas | --ga | --g)
    913     # Obsolete; use --with-gas.
    914     with_gas=yes ;;
    915 
    916   -help | --help | --hel | --he | -h)
    917     ac_init_help=long ;;
    918   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    919     ac_init_help=recursive ;;
    920   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    921     ac_init_help=short ;;
    922 
    923   -host | --host | --hos | --ho)
    924     ac_prev=host_alias ;;
    925   -host=* | --host=* | --hos=* | --ho=*)
    926     host_alias=$ac_optarg ;;
    927 
    928   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    929     ac_prev=htmldir ;;
    930   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    931   | --ht=*)
    932     htmldir=$ac_optarg ;;
    933 
    934   -includedir | --includedir | --includedi | --included | --include \
    935   | --includ | --inclu | --incl | --inc)
    936     ac_prev=includedir ;;
    937   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    938   | --includ=* | --inclu=* | --incl=* | --inc=*)
    939     includedir=$ac_optarg ;;
    940 
    941   -infodir | --infodir | --infodi | --infod | --info | --inf)
    942     ac_prev=infodir ;;
    943   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    944     infodir=$ac_optarg ;;
    945 
    946   -libdir | --libdir | --libdi | --libd)
    947     ac_prev=libdir ;;
    948   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    949     libdir=$ac_optarg ;;
    950 
    951   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    952   | --libexe | --libex | --libe)
    953     ac_prev=libexecdir ;;
    954   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    955   | --libexe=* | --libex=* | --libe=*)
    956     libexecdir=$ac_optarg ;;
    957 
    958   -localedir | --localedir | --localedi | --localed | --locale)
    959     ac_prev=localedir ;;
    960   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    961     localedir=$ac_optarg ;;
    962 
    963   -localstatedir | --localstatedir | --localstatedi | --localstated \
    964   | --localstate | --localstat | --localsta | --localst | --locals)
    965     ac_prev=localstatedir ;;
    966   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    967   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    968     localstatedir=$ac_optarg ;;
    969 
    970   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    971     ac_prev=mandir ;;
    972   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    973     mandir=$ac_optarg ;;
    974 
    975   -nfp | --nfp | --nf)
    976     # Obsolete; use --without-fp.
    977     with_fp=no ;;
    978 
    979   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    980   | --no-cr | --no-c | -n)
    981     no_create=yes ;;
    982 
    983   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    984   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    985     no_recursion=yes ;;
    986 
    987   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    988   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    989   | --oldin | --oldi | --old | --ol | --o)
    990     ac_prev=oldincludedir ;;
    991   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    992   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    993   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    994     oldincludedir=$ac_optarg ;;
    995 
    996   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    997     ac_prev=prefix ;;
    998   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    999     prefix=$ac_optarg ;;
   1000 
   1001   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1002   | --program-pre | --program-pr | --program-p)
   1003     ac_prev=program_prefix ;;
   1004   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1005   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1006     program_prefix=$ac_optarg ;;
   1007 
   1008   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1009   | --program-suf | --program-su | --program-s)
   1010     ac_prev=program_suffix ;;
   1011   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1012   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1013     program_suffix=$ac_optarg ;;
   1014 
   1015   -program-transform-name | --program-transform-name \
   1016   | --program-transform-nam | --program-transform-na \
   1017   | --program-transform-n | --program-transform- \
   1018   | --program-transform | --program-transfor \
   1019   | --program-transfo | --program-transf \
   1020   | --program-trans | --program-tran \
   1021   | --progr-tra | --program-tr | --program-t)
   1022     ac_prev=program_transform_name ;;
   1023   -program-transform-name=* | --program-transform-name=* \
   1024   | --program-transform-nam=* | --program-transform-na=* \
   1025   | --program-transform-n=* | --program-transform-=* \
   1026   | --program-transform=* | --program-transfor=* \
   1027   | --program-transfo=* | --program-transf=* \
   1028   | --program-trans=* | --program-tran=* \
   1029   | --progr-tra=* | --program-tr=* | --program-t=*)
   1030     program_transform_name=$ac_optarg ;;
   1031 
   1032   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1033     ac_prev=pdfdir ;;
   1034   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1035     pdfdir=$ac_optarg ;;
   1036 
   1037   -psdir | --psdir | --psdi | --psd | --ps)
   1038     ac_prev=psdir ;;
   1039   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1040     psdir=$ac_optarg ;;
   1041 
   1042   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1043   | -silent | --silent | --silen | --sile | --sil)
   1044     silent=yes ;;
   1045 
   1046   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1047     ac_prev=sbindir ;;
   1048   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1049   | --sbi=* | --sb=*)
   1050     sbindir=$ac_optarg ;;
   1051 
   1052   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1053   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1054   | --sharedst | --shareds | --shared | --share | --shar \
   1055   | --sha | --sh)
   1056     ac_prev=sharedstatedir ;;
   1057   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1058   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1059   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1060   | --sha=* | --sh=*)
   1061     sharedstatedir=$ac_optarg ;;
   1062 
   1063   -site | --site | --sit)
   1064     ac_prev=site ;;
   1065   -site=* | --site=* | --sit=*)
   1066     site=$ac_optarg ;;
   1067 
   1068   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1069     ac_prev=srcdir ;;
   1070   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1071     srcdir=$ac_optarg ;;
   1072 
   1073   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1074   | --syscon | --sysco | --sysc | --sys | --sy)
   1075     ac_prev=sysconfdir ;;
   1076   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1077   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1078     sysconfdir=$ac_optarg ;;
   1079 
   1080   -target | --target | --targe | --targ | --tar | --ta | --t)
   1081     ac_prev=target_alias ;;
   1082   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1083     target_alias=$ac_optarg ;;
   1084 
   1085   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1086     verbose=yes ;;
   1087 
   1088   -version | --version | --versio | --versi | --vers | -V)
   1089     ac_init_version=: ;;
   1090 
   1091   -with-* | --with-*)
   1092     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1093     # Reject names that are not valid shell variable names.
   1094     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1095       as_fn_error $? "invalid package name: $ac_useropt"
   1096     ac_useropt_orig=$ac_useropt
   1097     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1098     case $ac_user_opts in
   1099       *"
   1100 "with_$ac_useropt"
   1101 "*) ;;
   1102       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1103 	 ac_unrecognized_sep=', ';;
   1104     esac
   1105     eval with_$ac_useropt=\$ac_optarg ;;
   1106 
   1107   -without-* | --without-*)
   1108     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1109     # Reject names that are not valid shell variable names.
   1110     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1111       as_fn_error $? "invalid package name: $ac_useropt"
   1112     ac_useropt_orig=$ac_useropt
   1113     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1114     case $ac_user_opts in
   1115       *"
   1116 "with_$ac_useropt"
   1117 "*) ;;
   1118       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1119 	 ac_unrecognized_sep=', ';;
   1120     esac
   1121     eval with_$ac_useropt=no ;;
   1122 
   1123   --x)
   1124     # Obsolete; use --with-x.
   1125     with_x=yes ;;
   1126 
   1127   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1128   | --x-incl | --x-inc | --x-in | --x-i)
   1129     ac_prev=x_includes ;;
   1130   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1131   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1132     x_includes=$ac_optarg ;;
   1133 
   1134   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1135   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1136     ac_prev=x_libraries ;;
   1137   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1138   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1139     x_libraries=$ac_optarg ;;
   1140 
   1141   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1142 Try \`$0 --help' for more information"
   1143     ;;
   1144 
   1145   *=*)
   1146     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1147     # Reject names that are not valid shell variable names.
   1148     case $ac_envvar in #(
   1149       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1150       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1151     esac
   1152     eval $ac_envvar=\$ac_optarg
   1153     export $ac_envvar ;;
   1154 
   1155   *)
   1156     # FIXME: should be removed in autoconf 3.0.
   1157     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1158     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1159       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1160     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1161     ;;
   1162 
   1163   esac
   1164 done
   1165 
   1166 if test -n "$ac_prev"; then
   1167   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1168   as_fn_error $? "missing argument to $ac_option"
   1169 fi
   1170 
   1171 if test -n "$ac_unrecognized_opts"; then
   1172   case $enable_option_checking in
   1173     no) ;;
   1174     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1175     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1176   esac
   1177 fi
   1178 
   1179 # Check all directory arguments for consistency.
   1180 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1181 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1182 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1183 		libdir localedir mandir
   1184 do
   1185   eval ac_val=\$$ac_var
   1186   # Remove trailing slashes.
   1187   case $ac_val in
   1188     */ )
   1189       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1190       eval $ac_var=\$ac_val;;
   1191   esac
   1192   # Be sure to have absolute directory names.
   1193   case $ac_val in
   1194     [\\/$]* | ?:[\\/]* )  continue;;
   1195     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1196   esac
   1197   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1198 done
   1199 
   1200 # There might be people who depend on the old broken behavior: `$host'
   1201 # used to hold the argument of --host etc.
   1202 # FIXME: To remove some day.
   1203 build=$build_alias
   1204 host=$host_alias
   1205 target=$target_alias
   1206 
   1207 # FIXME: To remove some day.
   1208 if test "x$host_alias" != x; then
   1209   if test "x$build_alias" = x; then
   1210     cross_compiling=maybe
   1211     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1212     If a cross compiler is detected then cross compile mode will be used" >&2
   1213   elif test "x$build_alias" != "x$host_alias"; then
   1214     cross_compiling=yes
   1215   fi
   1216 fi
   1217 
   1218 ac_tool_prefix=
   1219 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1220 
   1221 test "$silent" = yes && exec 6>/dev/null
   1222 
   1223 
   1224 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1225 ac_ls_di=`ls -di .` &&
   1226 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1227   as_fn_error $? "working directory cannot be determined"
   1228 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1229   as_fn_error $? "pwd does not report name of working directory"
   1230 
   1231 
   1232 # Find the source files, if location was not specified.
   1233 if test -z "$srcdir"; then
   1234   ac_srcdir_defaulted=yes
   1235   # Try the directory containing this script, then the parent directory.
   1236   ac_confdir=`$as_dirname -- "$as_myself" ||
   1237 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1238 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1239 	 X"$as_myself" : 'X\(//\)$' \| \
   1240 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1241 $as_echo X"$as_myself" |
   1242     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1243 	    s//\1/
   1244 	    q
   1245 	  }
   1246 	  /^X\(\/\/\)[^/].*/{
   1247 	    s//\1/
   1248 	    q
   1249 	  }
   1250 	  /^X\(\/\/\)$/{
   1251 	    s//\1/
   1252 	    q
   1253 	  }
   1254 	  /^X\(\/\).*/{
   1255 	    s//\1/
   1256 	    q
   1257 	  }
   1258 	  s/.*/./; q'`
   1259   srcdir=$ac_confdir
   1260   if test ! -r "$srcdir/$ac_unique_file"; then
   1261     srcdir=..
   1262   fi
   1263 else
   1264   ac_srcdir_defaulted=no
   1265 fi
   1266 if test ! -r "$srcdir/$ac_unique_file"; then
   1267   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1268   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1269 fi
   1270 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1271 ac_abs_confdir=`(
   1272 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1273 	pwd)`
   1274 # When building in place, set srcdir=.
   1275 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1276   srcdir=.
   1277 fi
   1278 # Remove unnecessary trailing slashes from srcdir.
   1279 # Double slashes in file names in object file debugging info
   1280 # mess up M-x gdb in Emacs.
   1281 case $srcdir in
   1282 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1283 esac
   1284 for ac_var in $ac_precious_vars; do
   1285   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1286   eval ac_env_${ac_var}_value=\$${ac_var}
   1287   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1288   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1289 done
   1290 
   1291 #
   1292 # Report the --help message.
   1293 #
   1294 if test "$ac_init_help" = "long"; then
   1295   # Omit some internal or obsolete options to make the list less imposing.
   1296   # This message is too long to be a string in the A/UX 3.1 sh.
   1297   cat <<_ACEOF
   1298 \`configure' configures xclipboard 1.1.3 to adapt to many kinds of systems.
   1299 
   1300 Usage: $0 [OPTION]... [VAR=VALUE]...
   1301 
   1302 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1303 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1304 
   1305 Defaults for the options are specified in brackets.
   1306 
   1307 Configuration:
   1308   -h, --help              display this help and exit
   1309       --help=short        display options specific to this package
   1310       --help=recursive    display the short help of all the included packages
   1311   -V, --version           display version information and exit
   1312   -q, --quiet, --silent   do not print \`checking ...' messages
   1313       --cache-file=FILE   cache test results in FILE [disabled]
   1314   -C, --config-cache      alias for \`--cache-file=config.cache'
   1315   -n, --no-create         do not create output files
   1316       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1317 
   1318 Installation directories:
   1319   --prefix=PREFIX         install architecture-independent files in PREFIX
   1320                           [$ac_default_prefix]
   1321   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1322                           [PREFIX]
   1323 
   1324 By default, \`make install' will install all the files in
   1325 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1326 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1327 for instance \`--prefix=\$HOME'.
   1328 
   1329 For better control, use the options below.
   1330 
   1331 Fine tuning of the installation directories:
   1332   --bindir=DIR            user executables [EPREFIX/bin]
   1333   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1334   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1335   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1336   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1337   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1338   --libdir=DIR            object code libraries [EPREFIX/lib]
   1339   --includedir=DIR        C header files [PREFIX/include]
   1340   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1341   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1342   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1343   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1344   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1345   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1346   --docdir=DIR            documentation root [DATAROOTDIR/doc/xclipboard]
   1347   --htmldir=DIR           html documentation [DOCDIR]
   1348   --dvidir=DIR            dvi documentation [DOCDIR]
   1349   --pdfdir=DIR            pdf documentation [DOCDIR]
   1350   --psdir=DIR             ps documentation [DOCDIR]
   1351 _ACEOF
   1352 
   1353   cat <<\_ACEOF
   1354 
   1355 Program names:
   1356   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1357   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1358   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1359 
   1360 System types:
   1361   --build=BUILD     configure for building on BUILD [guessed]
   1362   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1363 _ACEOF
   1364 fi
   1365 
   1366 if test -n "$ac_init_help"; then
   1367   case $ac_init_help in
   1368      short | recursive ) echo "Configuration of xclipboard 1.1.3:";;
   1369    esac
   1370   cat <<\_ACEOF
   1371 
   1372 Optional Features:
   1373   --disable-option-checking  ignore unrecognized --enable/--with options
   1374   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1375   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1376   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1377   --disable-silent-rules  verbose build output (undo: "make V=0")
   1378   --enable-maintainer-mode
   1379                           enable make rules and dependencies not useful (and
   1380                           sometimes confusing) to the casual installer
   1381   --enable-dependency-tracking
   1382                           do not reject slow dependency extractors
   1383   --disable-dependency-tracking
   1384                           speeds up one-time build
   1385   --disable-selective-werror
   1386                           Turn off selective compiler errors. (default:
   1387                           enabled)
   1388   --enable-strict-compilation
   1389                           Enable all warnings from compiler and make them
   1390                           errors (default: disabled)
   1391 
   1392 Optional Packages:
   1393   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1394   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1395   --with-appdefaultdir=<pathname>
   1396                           specify directory for app-defaults files (default is
   1397                           autodetected)
   1398 
   1399 Some influential environment variables:
   1400   CC          C compiler command
   1401   CFLAGS      C compiler flags
   1402   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1403               nonstandard directory <lib dir>
   1404   LIBS        libraries to pass to the linker, e.g. -l<library>
   1405   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1406               you have headers in a nonstandard directory <include dir>
   1407   CPP         C preprocessor
   1408   PKG_CONFIG  path to pkg-config utility
   1409   XCLIPBOARD_CFLAGS
   1410               C compiler flags for XCLIPBOARD, overriding pkg-config
   1411   XCLIPBOARD_LIBS
   1412               linker flags for XCLIPBOARD, overriding pkg-config
   1413   APPDEFS_CFLAGS
   1414               C compiler flags for APPDEFS, overriding pkg-config
   1415   APPDEFS_LIBS
   1416               linker flags for APPDEFS, overriding pkg-config
   1417 
   1418 Use these variables to override the choices made by `configure' or to help
   1419 it to find libraries and programs with nonstandard names/locations.
   1420 
   1421 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1422 _ACEOF
   1423 ac_status=$?
   1424 fi
   1425 
   1426 if test "$ac_init_help" = "recursive"; then
   1427   # If there are subdirs, report their specific --help.
   1428   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1429     test -d "$ac_dir" ||
   1430       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1431       continue
   1432     ac_builddir=.
   1433 
   1434 case "$ac_dir" in
   1435 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1436 *)
   1437   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1438   # A ".." for each directory in $ac_dir_suffix.
   1439   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1440   case $ac_top_builddir_sub in
   1441   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1442   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1443   esac ;;
   1444 esac
   1445 ac_abs_top_builddir=$ac_pwd
   1446 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1447 # for backward compatibility:
   1448 ac_top_builddir=$ac_top_build_prefix
   1449 
   1450 case $srcdir in
   1451   .)  # We are building in place.
   1452     ac_srcdir=.
   1453     ac_top_srcdir=$ac_top_builddir_sub
   1454     ac_abs_top_srcdir=$ac_pwd ;;
   1455   [\\/]* | ?:[\\/]* )  # Absolute name.
   1456     ac_srcdir=$srcdir$ac_dir_suffix;
   1457     ac_top_srcdir=$srcdir
   1458     ac_abs_top_srcdir=$srcdir ;;
   1459   *) # Relative name.
   1460     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1461     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1462     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1463 esac
   1464 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1465 
   1466     cd "$ac_dir" || { ac_status=$?; continue; }
   1467     # Check for guested configure.
   1468     if test -f "$ac_srcdir/configure.gnu"; then
   1469       echo &&
   1470       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1471     elif test -f "$ac_srcdir/configure"; then
   1472       echo &&
   1473       $SHELL "$ac_srcdir/configure" --help=recursive
   1474     else
   1475       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1476     fi || ac_status=$?
   1477     cd "$ac_pwd" || { ac_status=$?; break; }
   1478   done
   1479 fi
   1480 
   1481 test -n "$ac_init_help" && exit $ac_status
   1482 if $ac_init_version; then
   1483   cat <<\_ACEOF
   1484 xclipboard configure 1.1.3
   1485 generated by GNU Autoconf 2.68
   1486 
   1487 Copyright (C) 2010 Free Software Foundation, Inc.
   1488 This configure script is free software; the Free Software Foundation
   1489 gives unlimited permission to copy, distribute and modify it.
   1490 _ACEOF
   1491   exit
   1492 fi
   1493 
   1494 ## ------------------------ ##
   1495 ## Autoconf initialization. ##
   1496 ## ------------------------ ##
   1497 
   1498 # ac_fn_c_try_compile LINENO
   1499 # --------------------------
   1500 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1501 ac_fn_c_try_compile ()
   1502 {
   1503   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1504   rm -f conftest.$ac_objext
   1505   if { { ac_try="$ac_compile"
   1506 case "(($ac_try" in
   1507   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1508   *) ac_try_echo=$ac_try;;
   1509 esac
   1510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1511 $as_echo "$ac_try_echo"; } >&5
   1512   (eval "$ac_compile") 2>conftest.err
   1513   ac_status=$?
   1514   if test -s conftest.err; then
   1515     grep -v '^ *+' conftest.err >conftest.er1
   1516     cat conftest.er1 >&5
   1517     mv -f conftest.er1 conftest.err
   1518   fi
   1519   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1520   test $ac_status = 0; } && {
   1521 	 test -z "$ac_c_werror_flag" ||
   1522 	 test ! -s conftest.err
   1523        } && test -s conftest.$ac_objext; then :
   1524   ac_retval=0
   1525 else
   1526   $as_echo "$as_me: failed program was:" >&5
   1527 sed 's/^/| /' conftest.$ac_ext >&5
   1528 
   1529 	ac_retval=1
   1530 fi
   1531   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1532   as_fn_set_status $ac_retval
   1533 
   1534 } # ac_fn_c_try_compile
   1535 
   1536 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1537 # ---------------------------------------------
   1538 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1539 # accordingly.
   1540 ac_fn_c_check_decl ()
   1541 {
   1542   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1543   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1544   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1545   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1546 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1547 if eval \${$3+:} false; then :
   1548   $as_echo_n "(cached) " >&6
   1549 else
   1550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1551 /* end confdefs.h.  */
   1552 $4
   1553 int
   1554 main ()
   1555 {
   1556 #ifndef $as_decl_name
   1557 #ifdef __cplusplus
   1558   (void) $as_decl_use;
   1559 #else
   1560   (void) $as_decl_name;
   1561 #endif
   1562 #endif
   1563 
   1564   ;
   1565   return 0;
   1566 }
   1567 _ACEOF
   1568 if ac_fn_c_try_compile "$LINENO"; then :
   1569   eval "$3=yes"
   1570 else
   1571   eval "$3=no"
   1572 fi
   1573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1574 fi
   1575 eval ac_res=\$$3
   1576 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1577 $as_echo "$ac_res" >&6; }
   1578   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1579 
   1580 } # ac_fn_c_check_decl
   1581 
   1582 # ac_fn_c_try_cpp LINENO
   1583 # ----------------------
   1584 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1585 ac_fn_c_try_cpp ()
   1586 {
   1587   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1588   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1589 case "(($ac_try" in
   1590   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1591   *) ac_try_echo=$ac_try;;
   1592 esac
   1593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1594 $as_echo "$ac_try_echo"; } >&5
   1595   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1596   ac_status=$?
   1597   if test -s conftest.err; then
   1598     grep -v '^ *+' conftest.err >conftest.er1
   1599     cat conftest.er1 >&5
   1600     mv -f conftest.er1 conftest.err
   1601   fi
   1602   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1603   test $ac_status = 0; } > conftest.i && {
   1604 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1605 	 test ! -s conftest.err
   1606        }; then :
   1607   ac_retval=0
   1608 else
   1609   $as_echo "$as_me: failed program was:" >&5
   1610 sed 's/^/| /' conftest.$ac_ext >&5
   1611 
   1612     ac_retval=1
   1613 fi
   1614   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1615   as_fn_set_status $ac_retval
   1616 
   1617 } # ac_fn_c_try_cpp
   1618 
   1619 # ac_fn_c_try_run LINENO
   1620 # ----------------------
   1621 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1622 # that executables *can* be run.
   1623 ac_fn_c_try_run ()
   1624 {
   1625   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1626   if { { ac_try="$ac_link"
   1627 case "(($ac_try" in
   1628   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1629   *) ac_try_echo=$ac_try;;
   1630 esac
   1631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1632 $as_echo "$ac_try_echo"; } >&5
   1633   (eval "$ac_link") 2>&5
   1634   ac_status=$?
   1635   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1636   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1637   { { case "(($ac_try" in
   1638   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1639   *) ac_try_echo=$ac_try;;
   1640 esac
   1641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1642 $as_echo "$ac_try_echo"; } >&5
   1643   (eval "$ac_try") 2>&5
   1644   ac_status=$?
   1645   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1646   test $ac_status = 0; }; }; then :
   1647   ac_retval=0
   1648 else
   1649   $as_echo "$as_me: program exited with status $ac_status" >&5
   1650        $as_echo "$as_me: failed program was:" >&5
   1651 sed 's/^/| /' conftest.$ac_ext >&5
   1652 
   1653        ac_retval=$ac_status
   1654 fi
   1655   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1656   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1657   as_fn_set_status $ac_retval
   1658 
   1659 } # ac_fn_c_try_run
   1660 
   1661 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1662 # -------------------------------------------------------
   1663 # Tests whether HEADER exists and can be compiled using the include files in
   1664 # INCLUDES, setting the cache variable VAR accordingly.
   1665 ac_fn_c_check_header_compile ()
   1666 {
   1667   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1669 $as_echo_n "checking for $2... " >&6; }
   1670 if eval \${$3+:} false; then :
   1671   $as_echo_n "(cached) " >&6
   1672 else
   1673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1674 /* end confdefs.h.  */
   1675 $4
   1676 #include <$2>
   1677 _ACEOF
   1678 if ac_fn_c_try_compile "$LINENO"; then :
   1679   eval "$3=yes"
   1680 else
   1681   eval "$3=no"
   1682 fi
   1683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1684 fi
   1685 eval ac_res=\$$3
   1686 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1687 $as_echo "$ac_res" >&6; }
   1688   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1689 
   1690 } # ac_fn_c_check_header_compile
   1691 
   1692 # ac_fn_c_try_link LINENO
   1693 # -----------------------
   1694 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1695 ac_fn_c_try_link ()
   1696 {
   1697   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1698   rm -f conftest.$ac_objext conftest$ac_exeext
   1699   if { { ac_try="$ac_link"
   1700 case "(($ac_try" in
   1701   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1702   *) ac_try_echo=$ac_try;;
   1703 esac
   1704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1705 $as_echo "$ac_try_echo"; } >&5
   1706   (eval "$ac_link") 2>conftest.err
   1707   ac_status=$?
   1708   if test -s conftest.err; then
   1709     grep -v '^ *+' conftest.err >conftest.er1
   1710     cat conftest.er1 >&5
   1711     mv -f conftest.er1 conftest.err
   1712   fi
   1713   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1714   test $ac_status = 0; } && {
   1715 	 test -z "$ac_c_werror_flag" ||
   1716 	 test ! -s conftest.err
   1717        } && test -s conftest$ac_exeext && {
   1718 	 test "$cross_compiling" = yes ||
   1719 	 $as_test_x conftest$ac_exeext
   1720        }; then :
   1721   ac_retval=0
   1722 else
   1723   $as_echo "$as_me: failed program was:" >&5
   1724 sed 's/^/| /' conftest.$ac_ext >&5
   1725 
   1726 	ac_retval=1
   1727 fi
   1728   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1729   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1730   # interfere with the next link command; also delete a directory that is
   1731   # left behind by Apple's compiler.  We do this before executing the actions.
   1732   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1733   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1734   as_fn_set_status $ac_retval
   1735 
   1736 } # ac_fn_c_try_link
   1737 cat >config.log <<_ACEOF
   1738 This file contains any messages produced by compilers while
   1739 running configure, to aid debugging if configure makes a mistake.
   1740 
   1741 It was created by xclipboard $as_me 1.1.3, which was
   1742 generated by GNU Autoconf 2.68.  Invocation command line was
   1743 
   1744   $ $0 $@
   1745 
   1746 _ACEOF
   1747 exec 5>>config.log
   1748 {
   1749 cat <<_ASUNAME
   1750 ## --------- ##
   1751 ## Platform. ##
   1752 ## --------- ##
   1753 
   1754 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1755 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1756 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1757 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1758 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1759 
   1760 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1761 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1762 
   1763 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1764 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1765 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1766 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1767 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1768 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1769 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1770 
   1771 _ASUNAME
   1772 
   1773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1774 for as_dir in $PATH
   1775 do
   1776   IFS=$as_save_IFS
   1777   test -z "$as_dir" && as_dir=.
   1778     $as_echo "PATH: $as_dir"
   1779   done
   1780 IFS=$as_save_IFS
   1781 
   1782 } >&5
   1783 
   1784 cat >&5 <<_ACEOF
   1785 
   1786 
   1787 ## ----------- ##
   1788 ## Core tests. ##
   1789 ## ----------- ##
   1790 
   1791 _ACEOF
   1792 
   1793 
   1794 # Keep a trace of the command line.
   1795 # Strip out --no-create and --no-recursion so they do not pile up.
   1796 # Strip out --silent because we don't want to record it for future runs.
   1797 # Also quote any args containing shell meta-characters.
   1798 # Make two passes to allow for proper duplicate-argument suppression.
   1799 ac_configure_args=
   1800 ac_configure_args0=
   1801 ac_configure_args1=
   1802 ac_must_keep_next=false
   1803 for ac_pass in 1 2
   1804 do
   1805   for ac_arg
   1806   do
   1807     case $ac_arg in
   1808     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1809     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1810     | -silent | --silent | --silen | --sile | --sil)
   1811       continue ;;
   1812     *\'*)
   1813       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1814     esac
   1815     case $ac_pass in
   1816     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1817     2)
   1818       as_fn_append ac_configure_args1 " '$ac_arg'"
   1819       if test $ac_must_keep_next = true; then
   1820 	ac_must_keep_next=false # Got value, back to normal.
   1821       else
   1822 	case $ac_arg in
   1823 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1824 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1825 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1826 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1827 	    case "$ac_configure_args0 " in
   1828 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1829 	    esac
   1830 	    ;;
   1831 	  -* ) ac_must_keep_next=true ;;
   1832 	esac
   1833       fi
   1834       as_fn_append ac_configure_args " '$ac_arg'"
   1835       ;;
   1836     esac
   1837   done
   1838 done
   1839 { ac_configure_args0=; unset ac_configure_args0;}
   1840 { ac_configure_args1=; unset ac_configure_args1;}
   1841 
   1842 # When interrupted or exit'd, cleanup temporary files, and complete
   1843 # config.log.  We remove comments because anyway the quotes in there
   1844 # would cause problems or look ugly.
   1845 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1846 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1847 trap 'exit_status=$?
   1848   # Save into config.log some information that might help in debugging.
   1849   {
   1850     echo
   1851 
   1852     $as_echo "## ---------------- ##
   1853 ## Cache variables. ##
   1854 ## ---------------- ##"
   1855     echo
   1856     # The following way of writing the cache mishandles newlines in values,
   1857 (
   1858   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1859     eval ac_val=\$$ac_var
   1860     case $ac_val in #(
   1861     *${as_nl}*)
   1862       case $ac_var in #(
   1863       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1864 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1865       esac
   1866       case $ac_var in #(
   1867       _ | IFS | as_nl) ;; #(
   1868       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1869       *) { eval $ac_var=; unset $ac_var;} ;;
   1870       esac ;;
   1871     esac
   1872   done
   1873   (set) 2>&1 |
   1874     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1875     *${as_nl}ac_space=\ *)
   1876       sed -n \
   1877 	"s/'\''/'\''\\\\'\'''\''/g;
   1878 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1879       ;; #(
   1880     *)
   1881       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1882       ;;
   1883     esac |
   1884     sort
   1885 )
   1886     echo
   1887 
   1888     $as_echo "## ----------------- ##
   1889 ## Output variables. ##
   1890 ## ----------------- ##"
   1891     echo
   1892     for ac_var in $ac_subst_vars
   1893     do
   1894       eval ac_val=\$$ac_var
   1895       case $ac_val in
   1896       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1897       esac
   1898       $as_echo "$ac_var='\''$ac_val'\''"
   1899     done | sort
   1900     echo
   1901 
   1902     if test -n "$ac_subst_files"; then
   1903       $as_echo "## ------------------- ##
   1904 ## File substitutions. ##
   1905 ## ------------------- ##"
   1906       echo
   1907       for ac_var in $ac_subst_files
   1908       do
   1909 	eval ac_val=\$$ac_var
   1910 	case $ac_val in
   1911 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1912 	esac
   1913 	$as_echo "$ac_var='\''$ac_val'\''"
   1914       done | sort
   1915       echo
   1916     fi
   1917 
   1918     if test -s confdefs.h; then
   1919       $as_echo "## ----------- ##
   1920 ## confdefs.h. ##
   1921 ## ----------- ##"
   1922       echo
   1923       cat confdefs.h
   1924       echo
   1925     fi
   1926     test "$ac_signal" != 0 &&
   1927       $as_echo "$as_me: caught signal $ac_signal"
   1928     $as_echo "$as_me: exit $exit_status"
   1929   } >&5
   1930   rm -f core *.core core.conftest.* &&
   1931     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1932     exit $exit_status
   1933 ' 0
   1934 for ac_signal in 1 2 13 15; do
   1935   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1936 done
   1937 ac_signal=0
   1938 
   1939 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1940 rm -f -r conftest* confdefs.h
   1941 
   1942 $as_echo "/* confdefs.h */" > confdefs.h
   1943 
   1944 # Predefined preprocessor variables.
   1945 
   1946 cat >>confdefs.h <<_ACEOF
   1947 #define PACKAGE_NAME "$PACKAGE_NAME"
   1948 _ACEOF
   1949 
   1950 cat >>confdefs.h <<_ACEOF
   1951 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1952 _ACEOF
   1953 
   1954 cat >>confdefs.h <<_ACEOF
   1955 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1956 _ACEOF
   1957 
   1958 cat >>confdefs.h <<_ACEOF
   1959 #define PACKAGE_STRING "$PACKAGE_STRING"
   1960 _ACEOF
   1961 
   1962 cat >>confdefs.h <<_ACEOF
   1963 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1964 _ACEOF
   1965 
   1966 cat >>confdefs.h <<_ACEOF
   1967 #define PACKAGE_URL "$PACKAGE_URL"
   1968 _ACEOF
   1969 
   1970 
   1971 # Let the site file select an alternate cache file if it wants to.
   1972 # Prefer an explicitly selected file to automatically selected ones.
   1973 ac_site_file1=NONE
   1974 ac_site_file2=NONE
   1975 if test -n "$CONFIG_SITE"; then
   1976   # We do not want a PATH search for config.site.
   1977   case $CONFIG_SITE in #((
   1978     -*)  ac_site_file1=./$CONFIG_SITE;;
   1979     */*) ac_site_file1=$CONFIG_SITE;;
   1980     *)   ac_site_file1=./$CONFIG_SITE;;
   1981   esac
   1982 elif test "x$prefix" != xNONE; then
   1983   ac_site_file1=$prefix/share/config.site
   1984   ac_site_file2=$prefix/etc/config.site
   1985 else
   1986   ac_site_file1=$ac_default_prefix/share/config.site
   1987   ac_site_file2=$ac_default_prefix/etc/config.site
   1988 fi
   1989 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1990 do
   1991   test "x$ac_site_file" = xNONE && continue
   1992   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   1993     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1994 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1995     sed 's/^/| /' "$ac_site_file" >&5
   1996     . "$ac_site_file" \
   1997       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   1998 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   1999 as_fn_error $? "failed to load site script $ac_site_file
   2000 See \`config.log' for more details" "$LINENO" 5; }
   2001   fi
   2002 done
   2003 
   2004 if test -r "$cache_file"; then
   2005   # Some versions of bash will fail to source /dev/null (special files
   2006   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2007   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2008     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2009 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2010     case $cache_file in
   2011       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2012       *)                      . "./$cache_file";;
   2013     esac
   2014   fi
   2015 else
   2016   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2017 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2018   >$cache_file
   2019 fi
   2020 
   2021 # Check that the precious variables saved in the cache have kept the same
   2022 # value.
   2023 ac_cache_corrupted=false
   2024 for ac_var in $ac_precious_vars; do
   2025   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2026   eval ac_new_set=\$ac_env_${ac_var}_set
   2027   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2028   eval ac_new_val=\$ac_env_${ac_var}_value
   2029   case $ac_old_set,$ac_new_set in
   2030     set,)
   2031       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2032 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2033       ac_cache_corrupted=: ;;
   2034     ,set)
   2035       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2036 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2037       ac_cache_corrupted=: ;;
   2038     ,);;
   2039     *)
   2040       if test "x$ac_old_val" != "x$ac_new_val"; then
   2041 	# differences in whitespace do not lead to failure.
   2042 	ac_old_val_w=`echo x $ac_old_val`
   2043 	ac_new_val_w=`echo x $ac_new_val`
   2044 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2045 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2046 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2047 	  ac_cache_corrupted=:
   2048 	else
   2049 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2050 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2051 	  eval $ac_var=\$ac_old_val
   2052 	fi
   2053 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2054 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2055 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2056 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2057       fi;;
   2058   esac
   2059   # Pass precious variables to config.status.
   2060   if test "$ac_new_set" = set; then
   2061     case $ac_new_val in
   2062     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2063     *) ac_arg=$ac_var=$ac_new_val ;;
   2064     esac
   2065     case " $ac_configure_args " in
   2066       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2067       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2068     esac
   2069   fi
   2070 done
   2071 if $ac_cache_corrupted; then
   2072   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2074   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2075 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2076   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2077 fi
   2078 ## -------------------- ##
   2079 ## Main body of script. ##
   2080 ## -------------------- ##
   2081 
   2082 ac_ext=c
   2083 ac_cpp='$CPP $CPPFLAGS'
   2084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2087 
   2088 
   2089 
   2090 ac_config_headers="$ac_config_headers config.h"
   2091 
   2092 
   2093 # Initialize Automake
   2094 am__api_version='1.14'
   2095 
   2096 ac_aux_dir=
   2097 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2098   if test -f "$ac_dir/install-sh"; then
   2099     ac_aux_dir=$ac_dir
   2100     ac_install_sh="$ac_aux_dir/install-sh -c"
   2101     break
   2102   elif test -f "$ac_dir/install.sh"; then
   2103     ac_aux_dir=$ac_dir
   2104     ac_install_sh="$ac_aux_dir/install.sh -c"
   2105     break
   2106   elif test -f "$ac_dir/shtool"; then
   2107     ac_aux_dir=$ac_dir
   2108     ac_install_sh="$ac_aux_dir/shtool install -c"
   2109     break
   2110   fi
   2111 done
   2112 if test -z "$ac_aux_dir"; then
   2113   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2114 fi
   2115 
   2116 # These three variables are undocumented and unsupported,
   2117 # and are intended to be withdrawn in a future Autoconf release.
   2118 # They can cause serious problems if a builder's source tree is in a directory
   2119 # whose full name contains unusual characters.
   2120 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2121 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2122 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2123 
   2124 
   2125 # Find a good install program.  We prefer a C program (faster),
   2126 # so one script is as good as another.  But avoid the broken or
   2127 # incompatible versions:
   2128 # SysV /etc/install, /usr/sbin/install
   2129 # SunOS /usr/etc/install
   2130 # IRIX /sbin/install
   2131 # AIX /bin/install
   2132 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2133 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2134 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2135 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2136 # OS/2's system install, which has a completely different semantic
   2137 # ./install, which can be erroneously created by make from ./install.sh.
   2138 # Reject install programs that cannot install multiple files.
   2139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2140 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2141 if test -z "$INSTALL"; then
   2142 if ${ac_cv_path_install+:} false; then :
   2143   $as_echo_n "(cached) " >&6
   2144 else
   2145   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2146 for as_dir in $PATH
   2147 do
   2148   IFS=$as_save_IFS
   2149   test -z "$as_dir" && as_dir=.
   2150     # Account for people who put trailing slashes in PATH elements.
   2151 case $as_dir/ in #((
   2152   ./ | .// | /[cC]/* | \
   2153   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2154   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2155   /usr/ucb/* ) ;;
   2156   *)
   2157     # OSF1 and SCO ODT 3.0 have their own names for install.
   2158     # Don't use installbsd from OSF since it installs stuff as root
   2159     # by default.
   2160     for ac_prog in ginstall scoinst install; do
   2161       for ac_exec_ext in '' $ac_executable_extensions; do
   2162 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2163 	  if test $ac_prog = install &&
   2164 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2165 	    # AIX install.  It has an incompatible calling convention.
   2166 	    :
   2167 	  elif test $ac_prog = install &&
   2168 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2169 	    # program-specific install script used by HP pwplus--don't use.
   2170 	    :
   2171 	  else
   2172 	    rm -rf conftest.one conftest.two conftest.dir
   2173 	    echo one > conftest.one
   2174 	    echo two > conftest.two
   2175 	    mkdir conftest.dir
   2176 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2177 	      test -s conftest.one && test -s conftest.two &&
   2178 	      test -s conftest.dir/conftest.one &&
   2179 	      test -s conftest.dir/conftest.two
   2180 	    then
   2181 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2182 	      break 3
   2183 	    fi
   2184 	  fi
   2185 	fi
   2186       done
   2187     done
   2188     ;;
   2189 esac
   2190 
   2191   done
   2192 IFS=$as_save_IFS
   2193 
   2194 rm -rf conftest.one conftest.two conftest.dir
   2195 
   2196 fi
   2197   if test "${ac_cv_path_install+set}" = set; then
   2198     INSTALL=$ac_cv_path_install
   2199   else
   2200     # As a last resort, use the slow shell script.  Don't cache a
   2201     # value for INSTALL within a source directory, because that will
   2202     # break other packages using the cache if that directory is
   2203     # removed, or if the value is a relative name.
   2204     INSTALL=$ac_install_sh
   2205   fi
   2206 fi
   2207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2208 $as_echo "$INSTALL" >&6; }
   2209 
   2210 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2211 # It thinks the first close brace ends the variable substitution.
   2212 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2213 
   2214 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2215 
   2216 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2217 
   2218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2219 $as_echo_n "checking whether build environment is sane... " >&6; }
   2220 # Reject unsafe characters in $srcdir or the absolute working directory
   2221 # name.  Accept space and tab only in the latter.
   2222 am_lf='
   2223 '
   2224 case `pwd` in
   2225   *[\\\"\#\$\&\'\`$am_lf]*)
   2226     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2227 esac
   2228 case $srcdir in
   2229   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2230     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2231 esac
   2232 
   2233 # Do 'set' in a subshell so we don't clobber the current shell's
   2234 # arguments.  Must try -L first in case configure is actually a
   2235 # symlink; some systems play weird games with the mod time of symlinks
   2236 # (eg FreeBSD returns the mod time of the symlink's containing
   2237 # directory).
   2238 if (
   2239    am_has_slept=no
   2240    for am_try in 1 2; do
   2241      echo "timestamp, slept: $am_has_slept" > conftest.file
   2242      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2243      if test "$*" = "X"; then
   2244 	# -L didn't work.
   2245 	set X `ls -t "$srcdir/configure" conftest.file`
   2246      fi
   2247      if test "$*" != "X $srcdir/configure conftest.file" \
   2248 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2249 
   2250 	# If neither matched, then we have a broken ls.  This can happen
   2251 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2252 	# broken ls alias from the environment.  This has actually
   2253 	# happened.  Such a system could not be considered "sane".
   2254 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2255   alias in your environment" "$LINENO" 5
   2256      fi
   2257      if test "$2" = conftest.file || test $am_try -eq 2; then
   2258        break
   2259      fi
   2260      # Just in case.
   2261      sleep 1
   2262      am_has_slept=yes
   2263    done
   2264    test "$2" = conftest.file
   2265    )
   2266 then
   2267    # Ok.
   2268    :
   2269 else
   2270    as_fn_error $? "newly created file is older than distributed files!
   2271 Check your system clock" "$LINENO" 5
   2272 fi
   2273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2274 $as_echo "yes" >&6; }
   2275 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2276 # generated files are strictly newer.
   2277 am_sleep_pid=
   2278 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2279   ( sleep 1 ) &
   2280   am_sleep_pid=$!
   2281 fi
   2282 
   2283 rm -f conftest.file
   2284 
   2285 test "$program_prefix" != NONE &&
   2286   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2287 # Use a double $ so make ignores it.
   2288 test "$program_suffix" != NONE &&
   2289   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2290 # Double any \ or $.
   2291 # By default was `s,x,x', remove it if useless.
   2292 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2293 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2294 
   2295 # expand $ac_aux_dir to an absolute path
   2296 am_aux_dir=`cd $ac_aux_dir && pwd`
   2297 
   2298 if test x"${MISSING+set}" != xset; then
   2299   case $am_aux_dir in
   2300   *\ * | *\	*)
   2301     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2302   *)
   2303     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2304   esac
   2305 fi
   2306 # Use eval to expand $SHELL
   2307 if eval "$MISSING --is-lightweight"; then
   2308   am_missing_run="$MISSING "
   2309 else
   2310   am_missing_run=
   2311   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2312 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2313 fi
   2314 
   2315 if test x"${install_sh}" != xset; then
   2316   case $am_aux_dir in
   2317   *\ * | *\	*)
   2318     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2319   *)
   2320     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2321   esac
   2322 fi
   2323 
   2324 # Installed binaries are usually stripped using 'strip' when the user
   2325 # run "make install-strip".  However 'strip' might not be the right
   2326 # tool to use in cross-compilation environments, therefore Automake
   2327 # will honor the 'STRIP' environment variable to overrule this program.
   2328 if test "$cross_compiling" != no; then
   2329   if test -n "$ac_tool_prefix"; then
   2330   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2331 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2333 $as_echo_n "checking for $ac_word... " >&6; }
   2334 if ${ac_cv_prog_STRIP+:} false; then :
   2335   $as_echo_n "(cached) " >&6
   2336 else
   2337   if test -n "$STRIP"; then
   2338   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2339 else
   2340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2341 for as_dir in $PATH
   2342 do
   2343   IFS=$as_save_IFS
   2344   test -z "$as_dir" && as_dir=.
   2345     for ac_exec_ext in '' $ac_executable_extensions; do
   2346   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2347     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2348     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2349     break 2
   2350   fi
   2351 done
   2352   done
   2353 IFS=$as_save_IFS
   2354 
   2355 fi
   2356 fi
   2357 STRIP=$ac_cv_prog_STRIP
   2358 if test -n "$STRIP"; then
   2359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2360 $as_echo "$STRIP" >&6; }
   2361 else
   2362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2363 $as_echo "no" >&6; }
   2364 fi
   2365 
   2366 
   2367 fi
   2368 if test -z "$ac_cv_prog_STRIP"; then
   2369   ac_ct_STRIP=$STRIP
   2370   # Extract the first word of "strip", so it can be a program name with args.
   2371 set dummy strip; ac_word=$2
   2372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2373 $as_echo_n "checking for $ac_word... " >&6; }
   2374 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2375   $as_echo_n "(cached) " >&6
   2376 else
   2377   if test -n "$ac_ct_STRIP"; then
   2378   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2379 else
   2380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2381 for as_dir in $PATH
   2382 do
   2383   IFS=$as_save_IFS
   2384   test -z "$as_dir" && as_dir=.
   2385     for ac_exec_ext in '' $ac_executable_extensions; do
   2386   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2387     ac_cv_prog_ac_ct_STRIP="strip"
   2388     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2389     break 2
   2390   fi
   2391 done
   2392   done
   2393 IFS=$as_save_IFS
   2394 
   2395 fi
   2396 fi
   2397 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2398 if test -n "$ac_ct_STRIP"; then
   2399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2400 $as_echo "$ac_ct_STRIP" >&6; }
   2401 else
   2402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2403 $as_echo "no" >&6; }
   2404 fi
   2405 
   2406   if test "x$ac_ct_STRIP" = x; then
   2407     STRIP=":"
   2408   else
   2409     case $cross_compiling:$ac_tool_warned in
   2410 yes:)
   2411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2412 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2413 ac_tool_warned=yes ;;
   2414 esac
   2415     STRIP=$ac_ct_STRIP
   2416   fi
   2417 else
   2418   STRIP="$ac_cv_prog_STRIP"
   2419 fi
   2420 
   2421 fi
   2422 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2423 
   2424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2425 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2426 if test -z "$MKDIR_P"; then
   2427   if ${ac_cv_path_mkdir+:} false; then :
   2428   $as_echo_n "(cached) " >&6
   2429 else
   2430   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2431 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2432 do
   2433   IFS=$as_save_IFS
   2434   test -z "$as_dir" && as_dir=.
   2435     for ac_prog in mkdir gmkdir; do
   2436 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2437 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2438 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2439 	     'mkdir (GNU coreutils) '* | \
   2440 	     'mkdir (coreutils) '* | \
   2441 	     'mkdir (fileutils) '4.1*)
   2442 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2443 	       break 3;;
   2444 	   esac
   2445 	 done
   2446        done
   2447   done
   2448 IFS=$as_save_IFS
   2449 
   2450 fi
   2451 
   2452   test -d ./--version && rmdir ./--version
   2453   if test "${ac_cv_path_mkdir+set}" = set; then
   2454     MKDIR_P="$ac_cv_path_mkdir -p"
   2455   else
   2456     # As a last resort, use the slow shell script.  Don't cache a
   2457     # value for MKDIR_P within a source directory, because that will
   2458     # break other packages using the cache if that directory is
   2459     # removed, or if the value is a relative name.
   2460     MKDIR_P="$ac_install_sh -d"
   2461   fi
   2462 fi
   2463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2464 $as_echo "$MKDIR_P" >&6; }
   2465 
   2466 for ac_prog in gawk mawk nawk awk
   2467 do
   2468   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2469 set dummy $ac_prog; ac_word=$2
   2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2471 $as_echo_n "checking for $ac_word... " >&6; }
   2472 if ${ac_cv_prog_AWK+:} false; then :
   2473   $as_echo_n "(cached) " >&6
   2474 else
   2475   if test -n "$AWK"; then
   2476   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2477 else
   2478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2479 for as_dir in $PATH
   2480 do
   2481   IFS=$as_save_IFS
   2482   test -z "$as_dir" && as_dir=.
   2483     for ac_exec_ext in '' $ac_executable_extensions; do
   2484   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2485     ac_cv_prog_AWK="$ac_prog"
   2486     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2487     break 2
   2488   fi
   2489 done
   2490   done
   2491 IFS=$as_save_IFS
   2492 
   2493 fi
   2494 fi
   2495 AWK=$ac_cv_prog_AWK
   2496 if test -n "$AWK"; then
   2497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2498 $as_echo "$AWK" >&6; }
   2499 else
   2500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2501 $as_echo "no" >&6; }
   2502 fi
   2503 
   2504 
   2505   test -n "$AWK" && break
   2506 done
   2507 
   2508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2509 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2510 set x ${MAKE-make}
   2511 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2512 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2513   $as_echo_n "(cached) " >&6
   2514 else
   2515   cat >conftest.make <<\_ACEOF
   2516 SHELL = /bin/sh
   2517 all:
   2518 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2519 _ACEOF
   2520 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2521 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2522   *@@@%%%=?*=@@@%%%*)
   2523     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2524   *)
   2525     eval ac_cv_prog_make_${ac_make}_set=no;;
   2526 esac
   2527 rm -f conftest.make
   2528 fi
   2529 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2531 $as_echo "yes" >&6; }
   2532   SET_MAKE=
   2533 else
   2534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2535 $as_echo "no" >&6; }
   2536   SET_MAKE="MAKE=${MAKE-make}"
   2537 fi
   2538 
   2539 rm -rf .tst 2>/dev/null
   2540 mkdir .tst 2>/dev/null
   2541 if test -d .tst; then
   2542   am__leading_dot=.
   2543 else
   2544   am__leading_dot=_
   2545 fi
   2546 rmdir .tst 2>/dev/null
   2547 
   2548 # Check whether --enable-silent-rules was given.
   2549 if test "${enable_silent_rules+set}" = set; then :
   2550   enableval=$enable_silent_rules;
   2551 fi
   2552 
   2553 case $enable_silent_rules in # (((
   2554   yes) AM_DEFAULT_VERBOSITY=0;;
   2555    no) AM_DEFAULT_VERBOSITY=1;;
   2556     *) AM_DEFAULT_VERBOSITY=1;;
   2557 esac
   2558 am_make=${MAKE-make}
   2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2560 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2561 if ${am_cv_make_support_nested_variables+:} false; then :
   2562   $as_echo_n "(cached) " >&6
   2563 else
   2564   if $as_echo 'TRUE=$(BAR$(V))
   2565 BAR0=false
   2566 BAR1=true
   2567 V=1
   2568 am__doit:
   2569 	@$(TRUE)
   2570 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2571   am_cv_make_support_nested_variables=yes
   2572 else
   2573   am_cv_make_support_nested_variables=no
   2574 fi
   2575 fi
   2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2577 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2578 if test $am_cv_make_support_nested_variables = yes; then
   2579     AM_V='$(V)'
   2580   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2581 else
   2582   AM_V=$AM_DEFAULT_VERBOSITY
   2583   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2584 fi
   2585 AM_BACKSLASH='\'
   2586 
   2587 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2588   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2589   # is not polluted with repeated "-I."
   2590   am__isrc=' -I$(srcdir)'
   2591   # test to see if srcdir already configured
   2592   if test -f $srcdir/config.status; then
   2593     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2594   fi
   2595 fi
   2596 
   2597 # test whether we have cygpath
   2598 if test -z "$CYGPATH_W"; then
   2599   if (cygpath --version) >/dev/null 2>/dev/null; then
   2600     CYGPATH_W='cygpath -w'
   2601   else
   2602     CYGPATH_W=echo
   2603   fi
   2604 fi
   2605 
   2606 
   2607 # Define the identity of the package.
   2608  PACKAGE='xclipboard'
   2609  VERSION='1.1.3'
   2610 
   2611 
   2612 cat >>confdefs.h <<_ACEOF
   2613 #define PACKAGE "$PACKAGE"
   2614 _ACEOF
   2615 
   2616 
   2617 cat >>confdefs.h <<_ACEOF
   2618 #define VERSION "$VERSION"
   2619 _ACEOF
   2620 
   2621 # Some tools Automake needs.
   2622 
   2623 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2624 
   2625 
   2626 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2627 
   2628 
   2629 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2630 
   2631 
   2632 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2633 
   2634 
   2635 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2636 
   2637 # For better backward compatibility.  To be removed once Automake 1.9.x
   2638 # dies out for good.  For more background, see:
   2639 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2640 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2641 mkdir_p='$(MKDIR_P)'
   2642 
   2643 # We need awk for the "check" target.  The system "awk" is bad on
   2644 # some platforms.
   2645 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2646 # in the wild :-(  We should find a proper way to deprecate it ...
   2647 AMTAR='$${TAR-tar}'
   2648 
   2649 
   2650 # We'll loop over all known methods to create a tar archive until one works.
   2651 _am_tools='gnutar  pax cpio none'
   2652 
   2653 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2654 
   2655 
   2656 
   2657 
   2658 
   2659 
   2660 # POSIX will say in a future version that running "rm -f" with no argument
   2661 # is OK; and we want to be able to make that assumption in our Makefile
   2662 # recipes.  So use an aggressive probe to check that the usage we want is
   2663 # actually supported "in the wild" to an acceptable degree.
   2664 # See automake bug#10828.
   2665 # To make any issue more visible, cause the running configure to be aborted
   2666 # by default if the 'rm' program in use doesn't match our expectations; the
   2667 # user can still override this though.
   2668 if rm -f && rm -fr && rm -rf; then : OK; else
   2669   cat >&2 <<'END'
   2670 Oops!
   2671 
   2672 Your 'rm' program seems unable to run without file operands specified
   2673 on the command line, even when the '-f' option is present.  This is contrary
   2674 to the behaviour of most rm programs out there, and not conforming with
   2675 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2676 
   2677 Please tell bug-automake@gnu.org about your system, including the value
   2678 of your $PATH and any error possibly output before this message.  This
   2679 can help us improve future automake versions.
   2680 
   2681 END
   2682   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2683     echo 'Configuration will proceed anyway, since you have set the' >&2
   2684     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2685     echo >&2
   2686   else
   2687     cat >&2 <<'END'
   2688 Aborting the configuration process, to ensure you take notice of the issue.
   2689 
   2690 You can download and install GNU coreutils to get an 'rm' implementation
   2691 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2692 
   2693 If you want to complete the configuration process using your problematic
   2694 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2695 to "yes", and re-run configure.
   2696 
   2697 END
   2698     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2699   fi
   2700 fi
   2701 
   2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2703 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2704     # Check whether --enable-maintainer-mode was given.
   2705 if test "${enable_maintainer_mode+set}" = set; then :
   2706   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2707 else
   2708   USE_MAINTAINER_MODE=no
   2709 fi
   2710 
   2711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2712 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2713    if test $USE_MAINTAINER_MODE = yes; then
   2714   MAINTAINER_MODE_TRUE=
   2715   MAINTAINER_MODE_FALSE='#'
   2716 else
   2717   MAINTAINER_MODE_TRUE='#'
   2718   MAINTAINER_MODE_FALSE=
   2719 fi
   2720 
   2721   MAINT=$MAINTAINER_MODE_TRUE
   2722 
   2723 
   2724 
   2725 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2726 
   2727 
   2728 
   2729 
   2730 
   2731 
   2732 
   2733 
   2734 
   2735 
   2736 
   2737 DEPDIR="${am__leading_dot}deps"
   2738 
   2739 ac_config_commands="$ac_config_commands depfiles"
   2740 
   2741 
   2742 am_make=${MAKE-make}
   2743 cat > confinc << 'END'
   2744 am__doit:
   2745 	@echo this is the am__doit target
   2746 .PHONY: am__doit
   2747 END
   2748 # If we don't find an include directive, just comment out the code.
   2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2750 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2751 am__include="#"
   2752 am__quote=
   2753 _am_result=none
   2754 # First try GNU make style include.
   2755 echo "include confinc" > confmf
   2756 # Ignore all kinds of additional output from 'make'.
   2757 case `$am_make -s -f confmf 2> /dev/null` in #(
   2758 *the\ am__doit\ target*)
   2759   am__include=include
   2760   am__quote=
   2761   _am_result=GNU
   2762   ;;
   2763 esac
   2764 # Now try BSD make style include.
   2765 if test "$am__include" = "#"; then
   2766    echo '.include "confinc"' > confmf
   2767    case `$am_make -s -f confmf 2> /dev/null` in #(
   2768    *the\ am__doit\ target*)
   2769      am__include=.include
   2770      am__quote="\""
   2771      _am_result=BSD
   2772      ;;
   2773    esac
   2774 fi
   2775 
   2776 
   2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2778 $as_echo "$_am_result" >&6; }
   2779 rm -f confinc confmf
   2780 
   2781 # Check whether --enable-dependency-tracking was given.
   2782 if test "${enable_dependency_tracking+set}" = set; then :
   2783   enableval=$enable_dependency_tracking;
   2784 fi
   2785 
   2786 if test "x$enable_dependency_tracking" != xno; then
   2787   am_depcomp="$ac_aux_dir/depcomp"
   2788   AMDEPBACKSLASH='\'
   2789   am__nodep='_no'
   2790 fi
   2791  if test "x$enable_dependency_tracking" != xno; then
   2792   AMDEP_TRUE=
   2793   AMDEP_FALSE='#'
   2794 else
   2795   AMDEP_TRUE='#'
   2796   AMDEP_FALSE=
   2797 fi
   2798 
   2799 
   2800 ac_ext=c
   2801 ac_cpp='$CPP $CPPFLAGS'
   2802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2805 if test -n "$ac_tool_prefix"; then
   2806   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2807 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2809 $as_echo_n "checking for $ac_word... " >&6; }
   2810 if ${ac_cv_prog_CC+:} false; then :
   2811   $as_echo_n "(cached) " >&6
   2812 else
   2813   if test -n "$CC"; then
   2814   ac_cv_prog_CC="$CC" # Let the user override the test.
   2815 else
   2816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2817 for as_dir in $PATH
   2818 do
   2819   IFS=$as_save_IFS
   2820   test -z "$as_dir" && as_dir=.
   2821     for ac_exec_ext in '' $ac_executable_extensions; do
   2822   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2823     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2824     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2825     break 2
   2826   fi
   2827 done
   2828   done
   2829 IFS=$as_save_IFS
   2830 
   2831 fi
   2832 fi
   2833 CC=$ac_cv_prog_CC
   2834 if test -n "$CC"; then
   2835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2836 $as_echo "$CC" >&6; }
   2837 else
   2838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2839 $as_echo "no" >&6; }
   2840 fi
   2841 
   2842 
   2843 fi
   2844 if test -z "$ac_cv_prog_CC"; then
   2845   ac_ct_CC=$CC
   2846   # Extract the first word of "gcc", so it can be a program name with args.
   2847 set dummy 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_ac_ct_CC+:} false; then :
   2851   $as_echo_n "(cached) " >&6
   2852 else
   2853   if test -n "$ac_ct_CC"; then
   2854   ac_cv_prog_ac_ct_CC="$ac_ct_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_ac_ct_CC="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 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2874 if test -n "$ac_ct_CC"; then
   2875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2876 $as_echo "$ac_ct_CC" >&6; }
   2877 else
   2878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2879 $as_echo "no" >&6; }
   2880 fi
   2881 
   2882   if test "x$ac_ct_CC" = x; then
   2883     CC=""
   2884   else
   2885     case $cross_compiling:$ac_tool_warned in
   2886 yes:)
   2887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2889 ac_tool_warned=yes ;;
   2890 esac
   2891     CC=$ac_ct_CC
   2892   fi
   2893 else
   2894   CC="$ac_cv_prog_CC"
   2895 fi
   2896 
   2897 if test -z "$CC"; then
   2898           if test -n "$ac_tool_prefix"; then
   2899     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2900 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2902 $as_echo_n "checking for $ac_word... " >&6; }
   2903 if ${ac_cv_prog_CC+:} false; then :
   2904   $as_echo_n "(cached) " >&6
   2905 else
   2906   if test -n "$CC"; then
   2907   ac_cv_prog_CC="$CC" # Let the user override the test.
   2908 else
   2909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2910 for as_dir in $PATH
   2911 do
   2912   IFS=$as_save_IFS
   2913   test -z "$as_dir" && as_dir=.
   2914     for ac_exec_ext in '' $ac_executable_extensions; do
   2915   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2916     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2917     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2918     break 2
   2919   fi
   2920 done
   2921   done
   2922 IFS=$as_save_IFS
   2923 
   2924 fi
   2925 fi
   2926 CC=$ac_cv_prog_CC
   2927 if test -n "$CC"; then
   2928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2929 $as_echo "$CC" >&6; }
   2930 else
   2931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2932 $as_echo "no" >&6; }
   2933 fi
   2934 
   2935 
   2936   fi
   2937 fi
   2938 if test -z "$CC"; then
   2939   # Extract the first word of "cc", so it can be a program name with args.
   2940 set dummy 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   ac_prog_rejected=no
   2950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2951 for as_dir in $PATH
   2952 do
   2953   IFS=$as_save_IFS
   2954   test -z "$as_dir" && as_dir=.
   2955     for ac_exec_ext in '' $ac_executable_extensions; do
   2956   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2957     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2958        ac_prog_rejected=yes
   2959        continue
   2960      fi
   2961     ac_cv_prog_CC="cc"
   2962     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2963     break 2
   2964   fi
   2965 done
   2966   done
   2967 IFS=$as_save_IFS
   2968 
   2969 if test $ac_prog_rejected = yes; then
   2970   # We found a bogon in the path, so make sure we never use it.
   2971   set dummy $ac_cv_prog_CC
   2972   shift
   2973   if test $# != 0; then
   2974     # We chose a different compiler from the bogus one.
   2975     # However, it has the same basename, so the bogon will be chosen
   2976     # first if we set CC to just the basename; use the full file name.
   2977     shift
   2978     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2979   fi
   2980 fi
   2981 fi
   2982 fi
   2983 CC=$ac_cv_prog_CC
   2984 if test -n "$CC"; then
   2985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2986 $as_echo "$CC" >&6; }
   2987 else
   2988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2989 $as_echo "no" >&6; }
   2990 fi
   2991 
   2992 
   2993 fi
   2994 if test -z "$CC"; then
   2995   if test -n "$ac_tool_prefix"; then
   2996   for ac_prog in cl.exe
   2997   do
   2998     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2999 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3001 $as_echo_n "checking for $ac_word... " >&6; }
   3002 if ${ac_cv_prog_CC+:} false; then :
   3003   $as_echo_n "(cached) " >&6
   3004 else
   3005   if test -n "$CC"; then
   3006   ac_cv_prog_CC="$CC" # Let the user override the test.
   3007 else
   3008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3009 for as_dir in $PATH
   3010 do
   3011   IFS=$as_save_IFS
   3012   test -z "$as_dir" && as_dir=.
   3013     for ac_exec_ext in '' $ac_executable_extensions; do
   3014   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3015     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3016     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3017     break 2
   3018   fi
   3019 done
   3020   done
   3021 IFS=$as_save_IFS
   3022 
   3023 fi
   3024 fi
   3025 CC=$ac_cv_prog_CC
   3026 if test -n "$CC"; then
   3027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3028 $as_echo "$CC" >&6; }
   3029 else
   3030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3031 $as_echo "no" >&6; }
   3032 fi
   3033 
   3034 
   3035     test -n "$CC" && break
   3036   done
   3037 fi
   3038 if test -z "$CC"; then
   3039   ac_ct_CC=$CC
   3040   for ac_prog in cl.exe
   3041 do
   3042   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3043 set dummy $ac_prog; ac_word=$2
   3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3045 $as_echo_n "checking for $ac_word... " >&6; }
   3046 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3047   $as_echo_n "(cached) " >&6
   3048 else
   3049   if test -n "$ac_ct_CC"; then
   3050   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3051 else
   3052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3053 for as_dir in $PATH
   3054 do
   3055   IFS=$as_save_IFS
   3056   test -z "$as_dir" && as_dir=.
   3057     for ac_exec_ext in '' $ac_executable_extensions; do
   3058   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3059     ac_cv_prog_ac_ct_CC="$ac_prog"
   3060     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3061     break 2
   3062   fi
   3063 done
   3064   done
   3065 IFS=$as_save_IFS
   3066 
   3067 fi
   3068 fi
   3069 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3070 if test -n "$ac_ct_CC"; then
   3071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3072 $as_echo "$ac_ct_CC" >&6; }
   3073 else
   3074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3075 $as_echo "no" >&6; }
   3076 fi
   3077 
   3078 
   3079   test -n "$ac_ct_CC" && break
   3080 done
   3081 
   3082   if test "x$ac_ct_CC" = x; then
   3083     CC=""
   3084   else
   3085     case $cross_compiling:$ac_tool_warned in
   3086 yes:)
   3087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3088 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3089 ac_tool_warned=yes ;;
   3090 esac
   3091     CC=$ac_ct_CC
   3092   fi
   3093 fi
   3094 
   3095 fi
   3096 
   3097 
   3098 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3099 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3100 as_fn_error $? "no acceptable C compiler found in \$PATH
   3101 See \`config.log' for more details" "$LINENO" 5; }
   3102 
   3103 # Provide some information about the compiler.
   3104 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3105 set X $ac_compile
   3106 ac_compiler=$2
   3107 for ac_option in --version -v -V -qversion; do
   3108   { { ac_try="$ac_compiler $ac_option >&5"
   3109 case "(($ac_try" in
   3110   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3111   *) ac_try_echo=$ac_try;;
   3112 esac
   3113 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3114 $as_echo "$ac_try_echo"; } >&5
   3115   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3116   ac_status=$?
   3117   if test -s conftest.err; then
   3118     sed '10a\
   3119 ... rest of stderr output deleted ...
   3120          10q' conftest.err >conftest.er1
   3121     cat conftest.er1 >&5
   3122   fi
   3123   rm -f conftest.er1 conftest.err
   3124   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3125   test $ac_status = 0; }
   3126 done
   3127 
   3128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3129 /* end confdefs.h.  */
   3130 
   3131 int
   3132 main ()
   3133 {
   3134 
   3135   ;
   3136   return 0;
   3137 }
   3138 _ACEOF
   3139 ac_clean_files_save=$ac_clean_files
   3140 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3141 # Try to create an executable without -o first, disregard a.out.
   3142 # It will help us diagnose broken compilers, and finding out an intuition
   3143 # of exeext.
   3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3145 $as_echo_n "checking whether the C compiler works... " >&6; }
   3146 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3147 
   3148 # The possible output files:
   3149 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3150 
   3151 ac_rmfiles=
   3152 for ac_file in $ac_files
   3153 do
   3154   case $ac_file in
   3155     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3156     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3157   esac
   3158 done
   3159 rm -f $ac_rmfiles
   3160 
   3161 if { { ac_try="$ac_link_default"
   3162 case "(($ac_try" in
   3163   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3164   *) ac_try_echo=$ac_try;;
   3165 esac
   3166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3167 $as_echo "$ac_try_echo"; } >&5
   3168   (eval "$ac_link_default") 2>&5
   3169   ac_status=$?
   3170   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3171   test $ac_status = 0; }; then :
   3172   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3173 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3174 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3175 # so that the user can short-circuit this test for compilers unknown to
   3176 # Autoconf.
   3177 for ac_file in $ac_files ''
   3178 do
   3179   test -f "$ac_file" || continue
   3180   case $ac_file in
   3181     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3182 	;;
   3183     [ab].out )
   3184 	# We found the default executable, but exeext='' is most
   3185 	# certainly right.
   3186 	break;;
   3187     *.* )
   3188 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3189 	then :; else
   3190 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3191 	fi
   3192 	# We set ac_cv_exeext here because the later test for it is not
   3193 	# safe: cross compilers may not add the suffix if given an `-o'
   3194 	# argument, so we may need to know it at that point already.
   3195 	# Even if this section looks crufty: it has the advantage of
   3196 	# actually working.
   3197 	break;;
   3198     * )
   3199 	break;;
   3200   esac
   3201 done
   3202 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3203 
   3204 else
   3205   ac_file=''
   3206 fi
   3207 if test -z "$ac_file"; then :
   3208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3209 $as_echo "no" >&6; }
   3210 $as_echo "$as_me: failed program was:" >&5
   3211 sed 's/^/| /' conftest.$ac_ext >&5
   3212 
   3213 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3215 as_fn_error 77 "C compiler cannot create executables
   3216 See \`config.log' for more details" "$LINENO" 5; }
   3217 else
   3218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3219 $as_echo "yes" >&6; }
   3220 fi
   3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3222 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3224 $as_echo "$ac_file" >&6; }
   3225 ac_exeext=$ac_cv_exeext
   3226 
   3227 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3228 ac_clean_files=$ac_clean_files_save
   3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3230 $as_echo_n "checking for suffix of executables... " >&6; }
   3231 if { { ac_try="$ac_link"
   3232 case "(($ac_try" in
   3233   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3234   *) ac_try_echo=$ac_try;;
   3235 esac
   3236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3237 $as_echo "$ac_try_echo"; } >&5
   3238   (eval "$ac_link") 2>&5
   3239   ac_status=$?
   3240   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3241   test $ac_status = 0; }; then :
   3242   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3243 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3244 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3245 # `rm'.
   3246 for ac_file in conftest.exe conftest conftest.*; do
   3247   test -f "$ac_file" || continue
   3248   case $ac_file in
   3249     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3250     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3251 	  break;;
   3252     * ) break;;
   3253   esac
   3254 done
   3255 else
   3256   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3258 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3259 See \`config.log' for more details" "$LINENO" 5; }
   3260 fi
   3261 rm -f conftest conftest$ac_cv_exeext
   3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3263 $as_echo "$ac_cv_exeext" >&6; }
   3264 
   3265 rm -f conftest.$ac_ext
   3266 EXEEXT=$ac_cv_exeext
   3267 ac_exeext=$EXEEXT
   3268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3269 /* end confdefs.h.  */
   3270 #include <stdio.h>
   3271 int
   3272 main ()
   3273 {
   3274 FILE *f = fopen ("conftest.out", "w");
   3275  return ferror (f) || fclose (f) != 0;
   3276 
   3277   ;
   3278   return 0;
   3279 }
   3280 _ACEOF
   3281 ac_clean_files="$ac_clean_files conftest.out"
   3282 # Check that the compiler produces executables we can run.  If not, either
   3283 # the compiler is broken, or we cross compile.
   3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3285 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3286 if test "$cross_compiling" != yes; then
   3287   { { ac_try="$ac_link"
   3288 case "(($ac_try" in
   3289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3290   *) ac_try_echo=$ac_try;;
   3291 esac
   3292 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3293 $as_echo "$ac_try_echo"; } >&5
   3294   (eval "$ac_link") 2>&5
   3295   ac_status=$?
   3296   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3297   test $ac_status = 0; }
   3298   if { ac_try='./conftest$ac_cv_exeext'
   3299   { { case "(($ac_try" in
   3300   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3301   *) ac_try_echo=$ac_try;;
   3302 esac
   3303 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3304 $as_echo "$ac_try_echo"; } >&5
   3305   (eval "$ac_try") 2>&5
   3306   ac_status=$?
   3307   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3308   test $ac_status = 0; }; }; then
   3309     cross_compiling=no
   3310   else
   3311     if test "$cross_compiling" = maybe; then
   3312 	cross_compiling=yes
   3313     else
   3314 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3316 as_fn_error $? "cannot run C compiled programs.
   3317 If you meant to cross compile, use \`--host'.
   3318 See \`config.log' for more details" "$LINENO" 5; }
   3319     fi
   3320   fi
   3321 fi
   3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3323 $as_echo "$cross_compiling" >&6; }
   3324 
   3325 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3326 ac_clean_files=$ac_clean_files_save
   3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3328 $as_echo_n "checking for suffix of object files... " >&6; }
   3329 if ${ac_cv_objext+:} false; then :
   3330   $as_echo_n "(cached) " >&6
   3331 else
   3332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3333 /* end confdefs.h.  */
   3334 
   3335 int
   3336 main ()
   3337 {
   3338 
   3339   ;
   3340   return 0;
   3341 }
   3342 _ACEOF
   3343 rm -f conftest.o conftest.obj
   3344 if { { ac_try="$ac_compile"
   3345 case "(($ac_try" in
   3346   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3347   *) ac_try_echo=$ac_try;;
   3348 esac
   3349 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3350 $as_echo "$ac_try_echo"; } >&5
   3351   (eval "$ac_compile") 2>&5
   3352   ac_status=$?
   3353   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3354   test $ac_status = 0; }; then :
   3355   for ac_file in conftest.o conftest.obj conftest.*; do
   3356   test -f "$ac_file" || continue;
   3357   case $ac_file in
   3358     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3359     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3360        break;;
   3361   esac
   3362 done
   3363 else
   3364   $as_echo "$as_me: failed program was:" >&5
   3365 sed 's/^/| /' conftest.$ac_ext >&5
   3366 
   3367 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3369 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3370 See \`config.log' for more details" "$LINENO" 5; }
   3371 fi
   3372 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3373 fi
   3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3375 $as_echo "$ac_cv_objext" >&6; }
   3376 OBJEXT=$ac_cv_objext
   3377 ac_objext=$OBJEXT
   3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3379 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3380 if ${ac_cv_c_compiler_gnu+:} false; then :
   3381   $as_echo_n "(cached) " >&6
   3382 else
   3383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3384 /* end confdefs.h.  */
   3385 
   3386 int
   3387 main ()
   3388 {
   3389 #ifndef __GNUC__
   3390        choke me
   3391 #endif
   3392 
   3393   ;
   3394   return 0;
   3395 }
   3396 _ACEOF
   3397 if ac_fn_c_try_compile "$LINENO"; then :
   3398   ac_compiler_gnu=yes
   3399 else
   3400   ac_compiler_gnu=no
   3401 fi
   3402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3403 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3404 
   3405 fi
   3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3407 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3408 if test $ac_compiler_gnu = yes; then
   3409   GCC=yes
   3410 else
   3411   GCC=
   3412 fi
   3413 ac_test_CFLAGS=${CFLAGS+set}
   3414 ac_save_CFLAGS=$CFLAGS
   3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3416 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3417 if ${ac_cv_prog_cc_g+:} false; then :
   3418   $as_echo_n "(cached) " >&6
   3419 else
   3420   ac_save_c_werror_flag=$ac_c_werror_flag
   3421    ac_c_werror_flag=yes
   3422    ac_cv_prog_cc_g=no
   3423    CFLAGS="-g"
   3424    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3425 /* end confdefs.h.  */
   3426 
   3427 int
   3428 main ()
   3429 {
   3430 
   3431   ;
   3432   return 0;
   3433 }
   3434 _ACEOF
   3435 if ac_fn_c_try_compile "$LINENO"; then :
   3436   ac_cv_prog_cc_g=yes
   3437 else
   3438   CFLAGS=""
   3439       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3440 /* end confdefs.h.  */
   3441 
   3442 int
   3443 main ()
   3444 {
   3445 
   3446   ;
   3447   return 0;
   3448 }
   3449 _ACEOF
   3450 if ac_fn_c_try_compile "$LINENO"; then :
   3451 
   3452 else
   3453   ac_c_werror_flag=$ac_save_c_werror_flag
   3454 	 CFLAGS="-g"
   3455 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3456 /* end confdefs.h.  */
   3457 
   3458 int
   3459 main ()
   3460 {
   3461 
   3462   ;
   3463   return 0;
   3464 }
   3465 _ACEOF
   3466 if ac_fn_c_try_compile "$LINENO"; then :
   3467   ac_cv_prog_cc_g=yes
   3468 fi
   3469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3470 fi
   3471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3472 fi
   3473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3474    ac_c_werror_flag=$ac_save_c_werror_flag
   3475 fi
   3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3477 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3478 if test "$ac_test_CFLAGS" = set; then
   3479   CFLAGS=$ac_save_CFLAGS
   3480 elif test $ac_cv_prog_cc_g = yes; then
   3481   if test "$GCC" = yes; then
   3482     CFLAGS="-g -O2"
   3483   else
   3484     CFLAGS="-g"
   3485   fi
   3486 else
   3487   if test "$GCC" = yes; then
   3488     CFLAGS="-O2"
   3489   else
   3490     CFLAGS=
   3491   fi
   3492 fi
   3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3494 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3495 if ${ac_cv_prog_cc_c89+:} false; then :
   3496   $as_echo_n "(cached) " >&6
   3497 else
   3498   ac_cv_prog_cc_c89=no
   3499 ac_save_CC=$CC
   3500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3501 /* end confdefs.h.  */
   3502 #include <stdarg.h>
   3503 #include <stdio.h>
   3504 #include <sys/types.h>
   3505 #include <sys/stat.h>
   3506 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3507 struct buf { int x; };
   3508 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3509 static char *e (p, i)
   3510      char **p;
   3511      int i;
   3512 {
   3513   return p[i];
   3514 }
   3515 static char *f (char * (*g) (char **, int), char **p, ...)
   3516 {
   3517   char *s;
   3518   va_list v;
   3519   va_start (v,p);
   3520   s = g (p, va_arg (v,int));
   3521   va_end (v);
   3522   return s;
   3523 }
   3524 
   3525 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3526    function prototypes and stuff, but not '\xHH' hex character constants.
   3527    These don't provoke an error unfortunately, instead are silently treated
   3528    as 'x'.  The following induces an error, until -std is added to get
   3529    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3530    array size at least.  It's necessary to write '\x00'==0 to get something
   3531    that's true only with -std.  */
   3532 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3533 
   3534 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3535    inside strings and character constants.  */
   3536 #define FOO(x) 'x'
   3537 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3538 
   3539 int test (int i, double x);
   3540 struct s1 {int (*f) (int a);};
   3541 struct s2 {int (*f) (double a);};
   3542 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3543 int argc;
   3544 char **argv;
   3545 int
   3546 main ()
   3547 {
   3548 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3549   ;
   3550   return 0;
   3551 }
   3552 _ACEOF
   3553 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3554 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3555 do
   3556   CC="$ac_save_CC $ac_arg"
   3557   if ac_fn_c_try_compile "$LINENO"; then :
   3558   ac_cv_prog_cc_c89=$ac_arg
   3559 fi
   3560 rm -f core conftest.err conftest.$ac_objext
   3561   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3562 done
   3563 rm -f conftest.$ac_ext
   3564 CC=$ac_save_CC
   3565 
   3566 fi
   3567 # AC_CACHE_VAL
   3568 case "x$ac_cv_prog_cc_c89" in
   3569   x)
   3570     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3571 $as_echo "none needed" >&6; } ;;
   3572   xno)
   3573     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3574 $as_echo "unsupported" >&6; } ;;
   3575   *)
   3576     CC="$CC $ac_cv_prog_cc_c89"
   3577     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3578 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3579 esac
   3580 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3581 
   3582 fi
   3583 
   3584 ac_ext=c
   3585 ac_cpp='$CPP $CPPFLAGS'
   3586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3589 
   3590 ac_ext=c
   3591 ac_cpp='$CPP $CPPFLAGS'
   3592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3596 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3597 if ${am_cv_prog_cc_c_o+:} false; then :
   3598   $as_echo_n "(cached) " >&6
   3599 else
   3600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3601 /* end confdefs.h.  */
   3602 
   3603 int
   3604 main ()
   3605 {
   3606 
   3607   ;
   3608   return 0;
   3609 }
   3610 _ACEOF
   3611   # Make sure it works both with $CC and with simple cc.
   3612   # Following AC_PROG_CC_C_O, we do the test twice because some
   3613   # compilers refuse to overwrite an existing .o file with -o,
   3614   # though they will create one.
   3615   am_cv_prog_cc_c_o=yes
   3616   for am_i in 1 2; do
   3617     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3618    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3619    ac_status=$?
   3620    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3621    (exit $ac_status); } \
   3622          && test -f conftest2.$ac_objext; then
   3623       : OK
   3624     else
   3625       am_cv_prog_cc_c_o=no
   3626       break
   3627     fi
   3628   done
   3629   rm -f core conftest*
   3630   unset am_i
   3631 fi
   3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3633 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3634 if test "$am_cv_prog_cc_c_o" != yes; then
   3635    # Losing compiler, so override with the script.
   3636    # FIXME: It is wrong to rewrite CC.
   3637    # But if we don't then we get into trouble of one sort or another.
   3638    # A longer-term fix would be to have automake use am__CC in this case,
   3639    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3640    CC="$am_aux_dir/compile $CC"
   3641 fi
   3642 ac_ext=c
   3643 ac_cpp='$CPP $CPPFLAGS'
   3644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3647 
   3648 
   3649 depcc="$CC"   am_compiler_list=
   3650 
   3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3652 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3653 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3654   $as_echo_n "(cached) " >&6
   3655 else
   3656   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3657   # We make a subdir and do the tests there.  Otherwise we can end up
   3658   # making bogus files that we don't know about and never remove.  For
   3659   # instance it was reported that on HP-UX the gcc test will end up
   3660   # making a dummy file named 'D' -- because '-MD' means "put the output
   3661   # in D".
   3662   rm -rf conftest.dir
   3663   mkdir conftest.dir
   3664   # Copy depcomp to subdir because otherwise we won't find it if we're
   3665   # using a relative directory.
   3666   cp "$am_depcomp" conftest.dir
   3667   cd conftest.dir
   3668   # We will build objects and dependencies in a subdirectory because
   3669   # it helps to detect inapplicable dependency modes.  For instance
   3670   # both Tru64's cc and ICC support -MD to output dependencies as a
   3671   # side effect of compilation, but ICC will put the dependencies in
   3672   # the current directory while Tru64 will put them in the object
   3673   # directory.
   3674   mkdir sub
   3675 
   3676   am_cv_CC_dependencies_compiler_type=none
   3677   if test "$am_compiler_list" = ""; then
   3678      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3679   fi
   3680   am__universal=false
   3681   case " $depcc " in #(
   3682      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3683      esac
   3684 
   3685   for depmode in $am_compiler_list; do
   3686     # Setup a source with many dependencies, because some compilers
   3687     # like to wrap large dependency lists on column 80 (with \), and
   3688     # we should not choose a depcomp mode which is confused by this.
   3689     #
   3690     # We need to recreate these files for each test, as the compiler may
   3691     # overwrite some of them when testing with obscure command lines.
   3692     # This happens at least with the AIX C compiler.
   3693     : > sub/conftest.c
   3694     for i in 1 2 3 4 5 6; do
   3695       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3696       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3697       # Solaris 10 /bin/sh.
   3698       echo '/* dummy */' > sub/conftst$i.h
   3699     done
   3700     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3701 
   3702     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3703     # mode.  It turns out that the SunPro C++ compiler does not properly
   3704     # handle '-M -o', and we need to detect this.  Also, some Intel
   3705     # versions had trouble with output in subdirs.
   3706     am__obj=sub/conftest.${OBJEXT-o}
   3707     am__minus_obj="-o $am__obj"
   3708     case $depmode in
   3709     gcc)
   3710       # This depmode causes a compiler race in universal mode.
   3711       test "$am__universal" = false || continue
   3712       ;;
   3713     nosideeffect)
   3714       # After this tag, mechanisms are not by side-effect, so they'll
   3715       # only be used when explicitly requested.
   3716       if test "x$enable_dependency_tracking" = xyes; then
   3717 	continue
   3718       else
   3719 	break
   3720       fi
   3721       ;;
   3722     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3723       # This compiler won't grok '-c -o', but also, the minuso test has
   3724       # not run yet.  These depmodes are late enough in the game, and
   3725       # so weak that their functioning should not be impacted.
   3726       am__obj=conftest.${OBJEXT-o}
   3727       am__minus_obj=
   3728       ;;
   3729     none) break ;;
   3730     esac
   3731     if depmode=$depmode \
   3732        source=sub/conftest.c object=$am__obj \
   3733        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3734        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3735          >/dev/null 2>conftest.err &&
   3736        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3737        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3738        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3739        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3740       # icc doesn't choke on unknown options, it will just issue warnings
   3741       # or remarks (even with -Werror).  So we grep stderr for any message
   3742       # that says an option was ignored or not supported.
   3743       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3744       #   icc: Command line warning: ignoring option '-M'; no argument required
   3745       # The diagnosis changed in icc 8.0:
   3746       #   icc: Command line remark: option '-MP' not supported
   3747       if (grep 'ignoring option' conftest.err ||
   3748           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3749         am_cv_CC_dependencies_compiler_type=$depmode
   3750         break
   3751       fi
   3752     fi
   3753   done
   3754 
   3755   cd ..
   3756   rm -rf conftest.dir
   3757 else
   3758   am_cv_CC_dependencies_compiler_type=none
   3759 fi
   3760 
   3761 fi
   3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3763 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3764 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3765 
   3766  if
   3767   test "x$enable_dependency_tracking" != xno \
   3768   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3769   am__fastdepCC_TRUE=
   3770   am__fastdepCC_FALSE='#'
   3771 else
   3772   am__fastdepCC_TRUE='#'
   3773   am__fastdepCC_FALSE=
   3774 fi
   3775 
   3776 
   3777    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3778 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3779 if ${ac_cv_prog_cc_c99+:} false; then :
   3780   $as_echo_n "(cached) " >&6
   3781 else
   3782   ac_cv_prog_cc_c99=no
   3783 ac_save_CC=$CC
   3784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3785 /* end confdefs.h.  */
   3786 #include <stdarg.h>
   3787 #include <stdbool.h>
   3788 #include <stdlib.h>
   3789 #include <wchar.h>
   3790 #include <stdio.h>
   3791 
   3792 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3793 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3794 #define showlist(...) puts (#__VA_ARGS__)
   3795 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3796 static void
   3797 test_varargs_macros (void)
   3798 {
   3799   int x = 1234;
   3800   int y = 5678;
   3801   debug ("Flag");
   3802   debug ("X = %d\n", x);
   3803   showlist (The first, second, and third items.);
   3804   report (x>y, "x is %d but y is %d", x, y);
   3805 }
   3806 
   3807 // Check long long types.
   3808 #define BIG64 18446744073709551615ull
   3809 #define BIG32 4294967295ul
   3810 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3811 #if !BIG_OK
   3812   your preprocessor is broken;
   3813 #endif
   3814 #if BIG_OK
   3815 #else
   3816   your preprocessor is broken;
   3817 #endif
   3818 static long long int bignum = -9223372036854775807LL;
   3819 static unsigned long long int ubignum = BIG64;
   3820 
   3821 struct incomplete_array
   3822 {
   3823   int datasize;
   3824   double data[];
   3825 };
   3826 
   3827 struct named_init {
   3828   int number;
   3829   const wchar_t *name;
   3830   double average;
   3831 };
   3832 
   3833 typedef const char *ccp;
   3834 
   3835 static inline int
   3836 test_restrict (ccp restrict text)
   3837 {
   3838   // See if C++-style comments work.
   3839   // Iterate through items via the restricted pointer.
   3840   // Also check for declarations in for loops.
   3841   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3842     continue;
   3843   return 0;
   3844 }
   3845 
   3846 // Check varargs and va_copy.
   3847 static void
   3848 test_varargs (const char *format, ...)
   3849 {
   3850   va_list args;
   3851   va_start (args, format);
   3852   va_list args_copy;
   3853   va_copy (args_copy, args);
   3854 
   3855   const char *str;
   3856   int number;
   3857   float fnumber;
   3858 
   3859   while (*format)
   3860     {
   3861       switch (*format++)
   3862 	{
   3863 	case 's': // string
   3864 	  str = va_arg (args_copy, const char *);
   3865 	  break;
   3866 	case 'd': // int
   3867 	  number = va_arg (args_copy, int);
   3868 	  break;
   3869 	case 'f': // float
   3870 	  fnumber = va_arg (args_copy, double);
   3871 	  break;
   3872 	default:
   3873 	  break;
   3874 	}
   3875     }
   3876   va_end (args_copy);
   3877   va_end (args);
   3878 }
   3879 
   3880 int
   3881 main ()
   3882 {
   3883 
   3884   // Check bool.
   3885   _Bool success = false;
   3886 
   3887   // Check restrict.
   3888   if (test_restrict ("String literal") == 0)
   3889     success = true;
   3890   char *restrict newvar = "Another string";
   3891 
   3892   // Check varargs.
   3893   test_varargs ("s, d' f .", "string", 65, 34.234);
   3894   test_varargs_macros ();
   3895 
   3896   // Check flexible array members.
   3897   struct incomplete_array *ia =
   3898     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3899   ia->datasize = 10;
   3900   for (int i = 0; i < ia->datasize; ++i)
   3901     ia->data[i] = i * 1.234;
   3902 
   3903   // Check named initializers.
   3904   struct named_init ni = {
   3905     .number = 34,
   3906     .name = L"Test wide string",
   3907     .average = 543.34343,
   3908   };
   3909 
   3910   ni.number = 58;
   3911 
   3912   int dynamic_array[ni.number];
   3913   dynamic_array[ni.number - 1] = 543;
   3914 
   3915   // work around unused variable warnings
   3916   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3917 	  || dynamic_array[ni.number - 1] != 543);
   3918 
   3919   ;
   3920   return 0;
   3921 }
   3922 _ACEOF
   3923 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3924 do
   3925   CC="$ac_save_CC $ac_arg"
   3926   if ac_fn_c_try_compile "$LINENO"; then :
   3927   ac_cv_prog_cc_c99=$ac_arg
   3928 fi
   3929 rm -f core conftest.err conftest.$ac_objext
   3930   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3931 done
   3932 rm -f conftest.$ac_ext
   3933 CC=$ac_save_CC
   3934 
   3935 fi
   3936 # AC_CACHE_VAL
   3937 case "x$ac_cv_prog_cc_c99" in
   3938   x)
   3939     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3940 $as_echo "none needed" >&6; } ;;
   3941   xno)
   3942     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3943 $as_echo "unsupported" >&6; } ;;
   3944   *)
   3945     CC="$CC $ac_cv_prog_cc_c99"
   3946     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3947 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3948 esac
   3949 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3950 
   3951 fi
   3952 
   3953 
   3954 
   3955 ac_ext=c
   3956 ac_cpp='$CPP $CPPFLAGS'
   3957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3961 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3962 # On Suns, sometimes $CPP names a directory.
   3963 if test -n "$CPP" && test -d "$CPP"; then
   3964   CPP=
   3965 fi
   3966 if test -z "$CPP"; then
   3967   if ${ac_cv_prog_CPP+:} false; then :
   3968   $as_echo_n "(cached) " >&6
   3969 else
   3970       # Double quotes because CPP needs to be expanded
   3971     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3972     do
   3973       ac_preproc_ok=false
   3974 for ac_c_preproc_warn_flag in '' yes
   3975 do
   3976   # Use a header file that comes with gcc, so configuring glibc
   3977   # with a fresh cross-compiler works.
   3978   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3979   # <limits.h> exists even on freestanding compilers.
   3980   # On the NeXT, cc -E runs the code through the compiler's parser,
   3981   # not just through cpp. "Syntax error" is here to catch this case.
   3982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3983 /* end confdefs.h.  */
   3984 #ifdef __STDC__
   3985 # include <limits.h>
   3986 #else
   3987 # include <assert.h>
   3988 #endif
   3989 		     Syntax error
   3990 _ACEOF
   3991 if ac_fn_c_try_cpp "$LINENO"; then :
   3992 
   3993 else
   3994   # Broken: fails on valid input.
   3995 continue
   3996 fi
   3997 rm -f conftest.err conftest.i conftest.$ac_ext
   3998 
   3999   # OK, works on sane cases.  Now check whether nonexistent headers
   4000   # can be detected and how.
   4001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4002 /* end confdefs.h.  */
   4003 #include <ac_nonexistent.h>
   4004 _ACEOF
   4005 if ac_fn_c_try_cpp "$LINENO"; then :
   4006   # Broken: success on invalid input.
   4007 continue
   4008 else
   4009   # Passes both tests.
   4010 ac_preproc_ok=:
   4011 break
   4012 fi
   4013 rm -f conftest.err conftest.i conftest.$ac_ext
   4014 
   4015 done
   4016 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4017 rm -f conftest.i conftest.err conftest.$ac_ext
   4018 if $ac_preproc_ok; then :
   4019   break
   4020 fi
   4021 
   4022     done
   4023     ac_cv_prog_CPP=$CPP
   4024 
   4025 fi
   4026   CPP=$ac_cv_prog_CPP
   4027 else
   4028   ac_cv_prog_CPP=$CPP
   4029 fi
   4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4031 $as_echo "$CPP" >&6; }
   4032 ac_preproc_ok=false
   4033 for ac_c_preproc_warn_flag in '' yes
   4034 do
   4035   # Use a header file that comes with gcc, so configuring glibc
   4036   # with a fresh cross-compiler works.
   4037   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4038   # <limits.h> exists even on freestanding compilers.
   4039   # On the NeXT, cc -E runs the code through the compiler's parser,
   4040   # not just through cpp. "Syntax error" is here to catch this case.
   4041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4042 /* end confdefs.h.  */
   4043 #ifdef __STDC__
   4044 # include <limits.h>
   4045 #else
   4046 # include <assert.h>
   4047 #endif
   4048 		     Syntax error
   4049 _ACEOF
   4050 if ac_fn_c_try_cpp "$LINENO"; then :
   4051 
   4052 else
   4053   # Broken: fails on valid input.
   4054 continue
   4055 fi
   4056 rm -f conftest.err conftest.i conftest.$ac_ext
   4057 
   4058   # OK, works on sane cases.  Now check whether nonexistent headers
   4059   # can be detected and how.
   4060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4061 /* end confdefs.h.  */
   4062 #include <ac_nonexistent.h>
   4063 _ACEOF
   4064 if ac_fn_c_try_cpp "$LINENO"; then :
   4065   # Broken: success on invalid input.
   4066 continue
   4067 else
   4068   # Passes both tests.
   4069 ac_preproc_ok=:
   4070 break
   4071 fi
   4072 rm -f conftest.err conftest.i conftest.$ac_ext
   4073 
   4074 done
   4075 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4076 rm -f conftest.i conftest.err conftest.$ac_ext
   4077 if $ac_preproc_ok; then :
   4078 
   4079 else
   4080   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4082 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4083 See \`config.log' for more details" "$LINENO" 5; }
   4084 fi
   4085 
   4086 ac_ext=c
   4087 ac_cpp='$CPP $CPPFLAGS'
   4088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4091 
   4092 
   4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4094 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4095 if ${ac_cv_path_GREP+:} false; then :
   4096   $as_echo_n "(cached) " >&6
   4097 else
   4098   if test -z "$GREP"; then
   4099   ac_path_GREP_found=false
   4100   # Loop through the user's path and test for each of PROGNAME-LIST
   4101   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4102 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4103 do
   4104   IFS=$as_save_IFS
   4105   test -z "$as_dir" && as_dir=.
   4106     for ac_prog in grep ggrep; do
   4107     for ac_exec_ext in '' $ac_executable_extensions; do
   4108       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4109       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4110 # Check for GNU ac_path_GREP and select it if it is found.
   4111   # Check for GNU $ac_path_GREP
   4112 case `"$ac_path_GREP" --version 2>&1` in
   4113 *GNU*)
   4114   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4115 *)
   4116   ac_count=0
   4117   $as_echo_n 0123456789 >"conftest.in"
   4118   while :
   4119   do
   4120     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4121     mv "conftest.tmp" "conftest.in"
   4122     cp "conftest.in" "conftest.nl"
   4123     $as_echo 'GREP' >> "conftest.nl"
   4124     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4125     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4126     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4127     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4128       # Best one so far, save it but keep looking for a better one
   4129       ac_cv_path_GREP="$ac_path_GREP"
   4130       ac_path_GREP_max=$ac_count
   4131     fi
   4132     # 10*(2^10) chars as input seems more than enough
   4133     test $ac_count -gt 10 && break
   4134   done
   4135   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4136 esac
   4137 
   4138       $ac_path_GREP_found && break 3
   4139     done
   4140   done
   4141   done
   4142 IFS=$as_save_IFS
   4143   if test -z "$ac_cv_path_GREP"; then
   4144     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4145   fi
   4146 else
   4147   ac_cv_path_GREP=$GREP
   4148 fi
   4149 
   4150 fi
   4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4152 $as_echo "$ac_cv_path_GREP" >&6; }
   4153  GREP="$ac_cv_path_GREP"
   4154 
   4155 
   4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4157 $as_echo_n "checking for egrep... " >&6; }
   4158 if ${ac_cv_path_EGREP+:} false; then :
   4159   $as_echo_n "(cached) " >&6
   4160 else
   4161   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4162    then ac_cv_path_EGREP="$GREP -E"
   4163    else
   4164      if test -z "$EGREP"; then
   4165   ac_path_EGREP_found=false
   4166   # Loop through the user's path and test for each of PROGNAME-LIST
   4167   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4168 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4169 do
   4170   IFS=$as_save_IFS
   4171   test -z "$as_dir" && as_dir=.
   4172     for ac_prog in egrep; do
   4173     for ac_exec_ext in '' $ac_executable_extensions; do
   4174       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4175       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4176 # Check for GNU ac_path_EGREP and select it if it is found.
   4177   # Check for GNU $ac_path_EGREP
   4178 case `"$ac_path_EGREP" --version 2>&1` in
   4179 *GNU*)
   4180   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4181 *)
   4182   ac_count=0
   4183   $as_echo_n 0123456789 >"conftest.in"
   4184   while :
   4185   do
   4186     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4187     mv "conftest.tmp" "conftest.in"
   4188     cp "conftest.in" "conftest.nl"
   4189     $as_echo 'EGREP' >> "conftest.nl"
   4190     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4191     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4192     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4193     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4194       # Best one so far, save it but keep looking for a better one
   4195       ac_cv_path_EGREP="$ac_path_EGREP"
   4196       ac_path_EGREP_max=$ac_count
   4197     fi
   4198     # 10*(2^10) chars as input seems more than enough
   4199     test $ac_count -gt 10 && break
   4200   done
   4201   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4202 esac
   4203 
   4204       $ac_path_EGREP_found && break 3
   4205     done
   4206   done
   4207   done
   4208 IFS=$as_save_IFS
   4209   if test -z "$ac_cv_path_EGREP"; then
   4210     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4211   fi
   4212 else
   4213   ac_cv_path_EGREP=$EGREP
   4214 fi
   4215 
   4216    fi
   4217 fi
   4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4219 $as_echo "$ac_cv_path_EGREP" >&6; }
   4220  EGREP="$ac_cv_path_EGREP"
   4221 
   4222 
   4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4224 $as_echo_n "checking for ANSI C header files... " >&6; }
   4225 if ${ac_cv_header_stdc+:} false; then :
   4226   $as_echo_n "(cached) " >&6
   4227 else
   4228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4229 /* end confdefs.h.  */
   4230 #include <stdlib.h>
   4231 #include <stdarg.h>
   4232 #include <string.h>
   4233 #include <float.h>
   4234 
   4235 int
   4236 main ()
   4237 {
   4238 
   4239   ;
   4240   return 0;
   4241 }
   4242 _ACEOF
   4243 if ac_fn_c_try_compile "$LINENO"; then :
   4244   ac_cv_header_stdc=yes
   4245 else
   4246   ac_cv_header_stdc=no
   4247 fi
   4248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4249 
   4250 if test $ac_cv_header_stdc = yes; then
   4251   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4253 /* end confdefs.h.  */
   4254 #include <string.h>
   4255 
   4256 _ACEOF
   4257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4258   $EGREP "memchr" >/dev/null 2>&1; then :
   4259 
   4260 else
   4261   ac_cv_header_stdc=no
   4262 fi
   4263 rm -f conftest*
   4264 
   4265 fi
   4266 
   4267 if test $ac_cv_header_stdc = yes; then
   4268   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4270 /* end confdefs.h.  */
   4271 #include <stdlib.h>
   4272 
   4273 _ACEOF
   4274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4275   $EGREP "free" >/dev/null 2>&1; then :
   4276 
   4277 else
   4278   ac_cv_header_stdc=no
   4279 fi
   4280 rm -f conftest*
   4281 
   4282 fi
   4283 
   4284 if test $ac_cv_header_stdc = yes; then
   4285   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4286   if test "$cross_compiling" = yes; then :
   4287   :
   4288 else
   4289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4290 /* end confdefs.h.  */
   4291 #include <ctype.h>
   4292 #include <stdlib.h>
   4293 #if ((' ' & 0x0FF) == 0x020)
   4294 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4295 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4296 #else
   4297 # define ISLOWER(c) \
   4298 		   (('a' <= (c) && (c) <= 'i') \
   4299 		     || ('j' <= (c) && (c) <= 'r') \
   4300 		     || ('s' <= (c) && (c) <= 'z'))
   4301 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4302 #endif
   4303 
   4304 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4305 int
   4306 main ()
   4307 {
   4308   int i;
   4309   for (i = 0; i < 256; i++)
   4310     if (XOR (islower (i), ISLOWER (i))
   4311 	|| toupper (i) != TOUPPER (i))
   4312       return 2;
   4313   return 0;
   4314 }
   4315 _ACEOF
   4316 if ac_fn_c_try_run "$LINENO"; then :
   4317 
   4318 else
   4319   ac_cv_header_stdc=no
   4320 fi
   4321 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4322   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4323 fi
   4324 
   4325 fi
   4326 fi
   4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4328 $as_echo "$ac_cv_header_stdc" >&6; }
   4329 if test $ac_cv_header_stdc = yes; then
   4330 
   4331 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4332 
   4333 fi
   4334 
   4335 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4336 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4337 		  inttypes.h stdint.h unistd.h
   4338 do :
   4339   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4340 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4341 "
   4342 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4343   cat >>confdefs.h <<_ACEOF
   4344 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4345 _ACEOF
   4346 
   4347 fi
   4348 
   4349 done
   4350 
   4351 
   4352 
   4353 
   4354 
   4355 
   4356 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4357 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4358   CLANGCC="yes"
   4359 else
   4360   CLANGCC="no"
   4361 fi
   4362 
   4363 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4364 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4365   INTELCC="yes"
   4366 else
   4367   INTELCC="no"
   4368 fi
   4369 
   4370 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4371 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4372   SUNCC="yes"
   4373 else
   4374   SUNCC="no"
   4375 fi
   4376 
   4377 
   4378 
   4379 
   4380 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4381 	if test -n "$ac_tool_prefix"; then
   4382   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4383 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4385 $as_echo_n "checking for $ac_word... " >&6; }
   4386 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4387   $as_echo_n "(cached) " >&6
   4388 else
   4389   case $PKG_CONFIG in
   4390   [\\/]* | ?:[\\/]*)
   4391   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4392   ;;
   4393   *)
   4394   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4395 for as_dir in $PATH
   4396 do
   4397   IFS=$as_save_IFS
   4398   test -z "$as_dir" && as_dir=.
   4399     for ac_exec_ext in '' $ac_executable_extensions; do
   4400   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4401     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4402     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4403     break 2
   4404   fi
   4405 done
   4406   done
   4407 IFS=$as_save_IFS
   4408 
   4409   ;;
   4410 esac
   4411 fi
   4412 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4413 if test -n "$PKG_CONFIG"; then
   4414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4415 $as_echo "$PKG_CONFIG" >&6; }
   4416 else
   4417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4418 $as_echo "no" >&6; }
   4419 fi
   4420 
   4421 
   4422 fi
   4423 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4424   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4425   # Extract the first word of "pkg-config", so it can be a program name with args.
   4426 set dummy pkg-config; ac_word=$2
   4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4428 $as_echo_n "checking for $ac_word... " >&6; }
   4429 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4430   $as_echo_n "(cached) " >&6
   4431 else
   4432   case $ac_pt_PKG_CONFIG in
   4433   [\\/]* | ?:[\\/]*)
   4434   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4435   ;;
   4436   *)
   4437   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4438 for as_dir in $PATH
   4439 do
   4440   IFS=$as_save_IFS
   4441   test -z "$as_dir" && as_dir=.
   4442     for ac_exec_ext in '' $ac_executable_extensions; do
   4443   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4444     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4445     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4446     break 2
   4447   fi
   4448 done
   4449   done
   4450 IFS=$as_save_IFS
   4451 
   4452   ;;
   4453 esac
   4454 fi
   4455 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4456 if test -n "$ac_pt_PKG_CONFIG"; then
   4457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4458 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4459 else
   4460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4461 $as_echo "no" >&6; }
   4462 fi
   4463 
   4464   if test "x$ac_pt_PKG_CONFIG" = x; then
   4465     PKG_CONFIG=""
   4466   else
   4467     case $cross_compiling:$ac_tool_warned in
   4468 yes:)
   4469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4471 ac_tool_warned=yes ;;
   4472 esac
   4473     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4474   fi
   4475 else
   4476   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4477 fi
   4478 
   4479 fi
   4480 if test -n "$PKG_CONFIG"; then
   4481 	_pkg_min_version=0.9.0
   4482 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4483 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4484 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4485 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4486 $as_echo "yes" >&6; }
   4487 	else
   4488 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4489 $as_echo "no" >&6; }
   4490 		PKG_CONFIG=""
   4491 	fi
   4492 
   4493 fi
   4494 # Make sure we can run config.sub.
   4495 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4496   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4497 
   4498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4499 $as_echo_n "checking build system type... " >&6; }
   4500 if ${ac_cv_build+:} false; then :
   4501   $as_echo_n "(cached) " >&6
   4502 else
   4503   ac_build_alias=$build_alias
   4504 test "x$ac_build_alias" = x &&
   4505   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4506 test "x$ac_build_alias" = x &&
   4507   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4508 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4509   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4510 
   4511 fi
   4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4513 $as_echo "$ac_cv_build" >&6; }
   4514 case $ac_cv_build in
   4515 *-*-*) ;;
   4516 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4517 esac
   4518 build=$ac_cv_build
   4519 ac_save_IFS=$IFS; IFS='-'
   4520 set x $ac_cv_build
   4521 shift
   4522 build_cpu=$1
   4523 build_vendor=$2
   4524 shift; shift
   4525 # Remember, the first character of IFS is used to create $*,
   4526 # except with old shells:
   4527 build_os=$*
   4528 IFS=$ac_save_IFS
   4529 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4530 
   4531 
   4532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4533 $as_echo_n "checking host system type... " >&6; }
   4534 if ${ac_cv_host+:} false; then :
   4535   $as_echo_n "(cached) " >&6
   4536 else
   4537   if test "x$host_alias" = x; then
   4538   ac_cv_host=$ac_cv_build
   4539 else
   4540   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4541     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4542 fi
   4543 
   4544 fi
   4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4546 $as_echo "$ac_cv_host" >&6; }
   4547 case $ac_cv_host in
   4548 *-*-*) ;;
   4549 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4550 esac
   4551 host=$ac_cv_host
   4552 ac_save_IFS=$IFS; IFS='-'
   4553 set x $ac_cv_host
   4554 shift
   4555 host_cpu=$1
   4556 host_vendor=$2
   4557 shift; shift
   4558 # Remember, the first character of IFS is used to create $*,
   4559 # except with old shells:
   4560 host_os=$*
   4561 IFS=$ac_save_IFS
   4562 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4563 
   4564 
   4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4566 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4567 if ${ac_cv_path_SED+:} false; then :
   4568   $as_echo_n "(cached) " >&6
   4569 else
   4570             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4571      for ac_i in 1 2 3 4 5 6 7; do
   4572        ac_script="$ac_script$as_nl$ac_script"
   4573      done
   4574      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4575      { ac_script=; unset ac_script;}
   4576      if test -z "$SED"; then
   4577   ac_path_SED_found=false
   4578   # Loop through the user's path and test for each of PROGNAME-LIST
   4579   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4580 for as_dir in $PATH
   4581 do
   4582   IFS=$as_save_IFS
   4583   test -z "$as_dir" && as_dir=.
   4584     for ac_prog in sed gsed; do
   4585     for ac_exec_ext in '' $ac_executable_extensions; do
   4586       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4587       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4588 # Check for GNU ac_path_SED and select it if it is found.
   4589   # Check for GNU $ac_path_SED
   4590 case `"$ac_path_SED" --version 2>&1` in
   4591 *GNU*)
   4592   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4593 *)
   4594   ac_count=0
   4595   $as_echo_n 0123456789 >"conftest.in"
   4596   while :
   4597   do
   4598     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4599     mv "conftest.tmp" "conftest.in"
   4600     cp "conftest.in" "conftest.nl"
   4601     $as_echo '' >> "conftest.nl"
   4602     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4603     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4604     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4605     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4606       # Best one so far, save it but keep looking for a better one
   4607       ac_cv_path_SED="$ac_path_SED"
   4608       ac_path_SED_max=$ac_count
   4609     fi
   4610     # 10*(2^10) chars as input seems more than enough
   4611     test $ac_count -gt 10 && break
   4612   done
   4613   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4614 esac
   4615 
   4616       $ac_path_SED_found && break 3
   4617     done
   4618   done
   4619   done
   4620 IFS=$as_save_IFS
   4621   if test -z "$ac_cv_path_SED"; then
   4622     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4623   fi
   4624 else
   4625   ac_cv_path_SED=$SED
   4626 fi
   4627 
   4628 fi
   4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4630 $as_echo "$ac_cv_path_SED" >&6; }
   4631  SED="$ac_cv_path_SED"
   4632   rm -f conftest.sed
   4633 
   4634 
   4635 
   4636 
   4637 
   4638 
   4639 # Check whether --enable-selective-werror was given.
   4640 if test "${enable_selective_werror+set}" = set; then :
   4641   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4642 else
   4643   SELECTIVE_WERROR=yes
   4644 fi
   4645 
   4646 
   4647 
   4648 
   4649 
   4650 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4651 if test "x$SUNCC" = "xyes"; then
   4652     BASE_CFLAGS="-v"
   4653 else
   4654     BASE_CFLAGS=""
   4655 fi
   4656 
   4657 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4658 
   4659 
   4660 
   4661 
   4662 
   4663 
   4664 
   4665 
   4666 
   4667 
   4668 
   4669 
   4670 
   4671 xorg_testset_save_CFLAGS="$CFLAGS"
   4672 
   4673 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4674 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4675 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4676 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4677 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4678   $as_echo_n "(cached) " >&6
   4679 else
   4680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4681 /* end confdefs.h.  */
   4682 int i;
   4683 _ACEOF
   4684 if ac_fn_c_try_compile "$LINENO"; then :
   4685   xorg_cv_cc_flag_unknown_warning_option=yes
   4686 else
   4687   xorg_cv_cc_flag_unknown_warning_option=no
   4688 fi
   4689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4690 fi
   4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4692 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4693 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4694 	CFLAGS="$xorg_testset_save_CFLAGS"
   4695 fi
   4696 
   4697 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4698 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4699 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4700 	fi
   4701 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4702 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4703 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4704 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4705   $as_echo_n "(cached) " >&6
   4706 else
   4707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4708 /* end confdefs.h.  */
   4709 int i;
   4710 _ACEOF
   4711 if ac_fn_c_try_compile "$LINENO"; then :
   4712   xorg_cv_cc_flag_unused_command_line_argument=yes
   4713 else
   4714   xorg_cv_cc_flag_unused_command_line_argument=no
   4715 fi
   4716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4717 fi
   4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4719 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4720 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4721 	CFLAGS="$xorg_testset_save_CFLAGS"
   4722 fi
   4723 
   4724 found="no"
   4725 
   4726 	if test $found = "no" ; then
   4727 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4728 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4729 		fi
   4730 
   4731 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4732 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4733 		fi
   4734 
   4735 		CFLAGS="$CFLAGS -Wall"
   4736 
   4737 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4738 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4739 		cacheid=xorg_cv_cc_flag__Wall
   4740 		if eval \${$cacheid+:} false; then :
   4741   $as_echo_n "(cached) " >&6
   4742 else
   4743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4744 /* end confdefs.h.  */
   4745 int i;
   4746 int
   4747 main ()
   4748 {
   4749 
   4750   ;
   4751   return 0;
   4752 }
   4753 _ACEOF
   4754 if ac_fn_c_try_link "$LINENO"; then :
   4755   eval $cacheid=yes
   4756 else
   4757   eval $cacheid=no
   4758 fi
   4759 rm -f core conftest.err conftest.$ac_objext \
   4760     conftest$ac_exeext conftest.$ac_ext
   4761 fi
   4762 
   4763 
   4764 		CFLAGS="$xorg_testset_save_CFLAGS"
   4765 
   4766 		eval supported=\$$cacheid
   4767 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4768 $as_echo "$supported" >&6; }
   4769 		if test "$supported" = "yes" ; then
   4770 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4771 			found="yes"
   4772 		fi
   4773 	fi
   4774 
   4775 
   4776 
   4777 
   4778 
   4779 
   4780 
   4781 
   4782 
   4783 
   4784 
   4785 
   4786 
   4787 
   4788 
   4789 xorg_testset_save_CFLAGS="$CFLAGS"
   4790 
   4791 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4792 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4793 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4794 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4795 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4796   $as_echo_n "(cached) " >&6
   4797 else
   4798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4799 /* end confdefs.h.  */
   4800 int i;
   4801 _ACEOF
   4802 if ac_fn_c_try_compile "$LINENO"; then :
   4803   xorg_cv_cc_flag_unknown_warning_option=yes
   4804 else
   4805   xorg_cv_cc_flag_unknown_warning_option=no
   4806 fi
   4807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4808 fi
   4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4810 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4811 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4812 	CFLAGS="$xorg_testset_save_CFLAGS"
   4813 fi
   4814 
   4815 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4816 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4817 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4818 	fi
   4819 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4820 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4821 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4822 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4823   $as_echo_n "(cached) " >&6
   4824 else
   4825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4826 /* end confdefs.h.  */
   4827 int i;
   4828 _ACEOF
   4829 if ac_fn_c_try_compile "$LINENO"; then :
   4830   xorg_cv_cc_flag_unused_command_line_argument=yes
   4831 else
   4832   xorg_cv_cc_flag_unused_command_line_argument=no
   4833 fi
   4834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4835 fi
   4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4837 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4838 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4839 	CFLAGS="$xorg_testset_save_CFLAGS"
   4840 fi
   4841 
   4842 found="no"
   4843 
   4844 	if test $found = "no" ; then
   4845 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4846 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4847 		fi
   4848 
   4849 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4850 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4851 		fi
   4852 
   4853 		CFLAGS="$CFLAGS -Wpointer-arith"
   4854 
   4855 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4856 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4857 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4858 		if eval \${$cacheid+:} false; then :
   4859   $as_echo_n "(cached) " >&6
   4860 else
   4861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4862 /* end confdefs.h.  */
   4863 int i;
   4864 int
   4865 main ()
   4866 {
   4867 
   4868   ;
   4869   return 0;
   4870 }
   4871 _ACEOF
   4872 if ac_fn_c_try_link "$LINENO"; then :
   4873   eval $cacheid=yes
   4874 else
   4875   eval $cacheid=no
   4876 fi
   4877 rm -f core conftest.err conftest.$ac_objext \
   4878     conftest$ac_exeext conftest.$ac_ext
   4879 fi
   4880 
   4881 
   4882 		CFLAGS="$xorg_testset_save_CFLAGS"
   4883 
   4884 		eval supported=\$$cacheid
   4885 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4886 $as_echo "$supported" >&6; }
   4887 		if test "$supported" = "yes" ; then
   4888 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4889 			found="yes"
   4890 		fi
   4891 	fi
   4892 
   4893 
   4894 
   4895 
   4896 
   4897 
   4898 
   4899 
   4900 
   4901 
   4902 
   4903 
   4904 
   4905 
   4906 
   4907 xorg_testset_save_CFLAGS="$CFLAGS"
   4908 
   4909 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4910 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4911 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4912 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4913 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4914   $as_echo_n "(cached) " >&6
   4915 else
   4916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4917 /* end confdefs.h.  */
   4918 int i;
   4919 _ACEOF
   4920 if ac_fn_c_try_compile "$LINENO"; then :
   4921   xorg_cv_cc_flag_unknown_warning_option=yes
   4922 else
   4923   xorg_cv_cc_flag_unknown_warning_option=no
   4924 fi
   4925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4926 fi
   4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4928 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4929 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4930 	CFLAGS="$xorg_testset_save_CFLAGS"
   4931 fi
   4932 
   4933 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4934 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4935 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4936 	fi
   4937 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4938 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4939 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4940 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4941   $as_echo_n "(cached) " >&6
   4942 else
   4943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4944 /* end confdefs.h.  */
   4945 int i;
   4946 _ACEOF
   4947 if ac_fn_c_try_compile "$LINENO"; then :
   4948   xorg_cv_cc_flag_unused_command_line_argument=yes
   4949 else
   4950   xorg_cv_cc_flag_unused_command_line_argument=no
   4951 fi
   4952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4953 fi
   4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4955 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4956 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4957 	CFLAGS="$xorg_testset_save_CFLAGS"
   4958 fi
   4959 
   4960 found="no"
   4961 
   4962 	if test $found = "no" ; then
   4963 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4964 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4965 		fi
   4966 
   4967 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4968 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4969 		fi
   4970 
   4971 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4972 
   4973 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4974 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4975 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   4976 		if eval \${$cacheid+:} false; then :
   4977   $as_echo_n "(cached) " >&6
   4978 else
   4979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4980 /* end confdefs.h.  */
   4981 int i;
   4982 int
   4983 main ()
   4984 {
   4985 
   4986   ;
   4987   return 0;
   4988 }
   4989 _ACEOF
   4990 if ac_fn_c_try_link "$LINENO"; then :
   4991   eval $cacheid=yes
   4992 else
   4993   eval $cacheid=no
   4994 fi
   4995 rm -f core conftest.err conftest.$ac_objext \
   4996     conftest$ac_exeext conftest.$ac_ext
   4997 fi
   4998 
   4999 
   5000 		CFLAGS="$xorg_testset_save_CFLAGS"
   5001 
   5002 		eval supported=\$$cacheid
   5003 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5004 $as_echo "$supported" >&6; }
   5005 		if test "$supported" = "yes" ; then
   5006 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5007 			found="yes"
   5008 		fi
   5009 	fi
   5010 
   5011 
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 
   5020 
   5021 
   5022 
   5023 
   5024 
   5025 xorg_testset_save_CFLAGS="$CFLAGS"
   5026 
   5027 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5028 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5029 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5030 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5031 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5032   $as_echo_n "(cached) " >&6
   5033 else
   5034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5035 /* end confdefs.h.  */
   5036 int i;
   5037 _ACEOF
   5038 if ac_fn_c_try_compile "$LINENO"; then :
   5039   xorg_cv_cc_flag_unknown_warning_option=yes
   5040 else
   5041   xorg_cv_cc_flag_unknown_warning_option=no
   5042 fi
   5043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5044 fi
   5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5046 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5047 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5048 	CFLAGS="$xorg_testset_save_CFLAGS"
   5049 fi
   5050 
   5051 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5052 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5053 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5054 	fi
   5055 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5056 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5057 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5058 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5059   $as_echo_n "(cached) " >&6
   5060 else
   5061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5062 /* end confdefs.h.  */
   5063 int i;
   5064 _ACEOF
   5065 if ac_fn_c_try_compile "$LINENO"; then :
   5066   xorg_cv_cc_flag_unused_command_line_argument=yes
   5067 else
   5068   xorg_cv_cc_flag_unused_command_line_argument=no
   5069 fi
   5070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5071 fi
   5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5073 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5074 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5075 	CFLAGS="$xorg_testset_save_CFLAGS"
   5076 fi
   5077 
   5078 found="no"
   5079 
   5080 	if test $found = "no" ; then
   5081 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5082 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5083 		fi
   5084 
   5085 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5086 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5087 		fi
   5088 
   5089 		CFLAGS="$CFLAGS -Wformat=2"
   5090 
   5091 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5092 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5093 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   5094 		if eval \${$cacheid+:} false; then :
   5095   $as_echo_n "(cached) " >&6
   5096 else
   5097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5098 /* end confdefs.h.  */
   5099 int i;
   5100 int
   5101 main ()
   5102 {
   5103 
   5104   ;
   5105   return 0;
   5106 }
   5107 _ACEOF
   5108 if ac_fn_c_try_link "$LINENO"; then :
   5109   eval $cacheid=yes
   5110 else
   5111   eval $cacheid=no
   5112 fi
   5113 rm -f core conftest.err conftest.$ac_objext \
   5114     conftest$ac_exeext conftest.$ac_ext
   5115 fi
   5116 
   5117 
   5118 		CFLAGS="$xorg_testset_save_CFLAGS"
   5119 
   5120 		eval supported=\$$cacheid
   5121 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5122 $as_echo "$supported" >&6; }
   5123 		if test "$supported" = "yes" ; then
   5124 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5125 			found="yes"
   5126 		fi
   5127 	fi
   5128 
   5129 	if test $found = "no" ; then
   5130 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5131 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5132 		fi
   5133 
   5134 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5135 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5136 		fi
   5137 
   5138 		CFLAGS="$CFLAGS -Wformat"
   5139 
   5140 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5141 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5142 		cacheid=xorg_cv_cc_flag__Wformat
   5143 		if eval \${$cacheid+:} false; then :
   5144   $as_echo_n "(cached) " >&6
   5145 else
   5146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5147 /* end confdefs.h.  */
   5148 int i;
   5149 int
   5150 main ()
   5151 {
   5152 
   5153   ;
   5154   return 0;
   5155 }
   5156 _ACEOF
   5157 if ac_fn_c_try_link "$LINENO"; then :
   5158   eval $cacheid=yes
   5159 else
   5160   eval $cacheid=no
   5161 fi
   5162 rm -f core conftest.err conftest.$ac_objext \
   5163     conftest$ac_exeext conftest.$ac_ext
   5164 fi
   5165 
   5166 
   5167 		CFLAGS="$xorg_testset_save_CFLAGS"
   5168 
   5169 		eval supported=\$$cacheid
   5170 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5171 $as_echo "$supported" >&6; }
   5172 		if test "$supported" = "yes" ; then
   5173 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5174 			found="yes"
   5175 		fi
   5176 	fi
   5177 
   5178 
   5179 
   5180 
   5181 
   5182 
   5183 
   5184 
   5185 
   5186 
   5187 
   5188 
   5189 
   5190 
   5191 
   5192 
   5193 
   5194 xorg_testset_save_CFLAGS="$CFLAGS"
   5195 
   5196 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5197 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5198 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5199 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5200 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5201   $as_echo_n "(cached) " >&6
   5202 else
   5203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5204 /* end confdefs.h.  */
   5205 int i;
   5206 _ACEOF
   5207 if ac_fn_c_try_compile "$LINENO"; then :
   5208   xorg_cv_cc_flag_unknown_warning_option=yes
   5209 else
   5210   xorg_cv_cc_flag_unknown_warning_option=no
   5211 fi
   5212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5213 fi
   5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5215 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5216 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5217 	CFLAGS="$xorg_testset_save_CFLAGS"
   5218 fi
   5219 
   5220 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5221 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5222 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5223 	fi
   5224 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5225 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5226 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5227 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5228   $as_echo_n "(cached) " >&6
   5229 else
   5230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5231 /* end confdefs.h.  */
   5232 int i;
   5233 _ACEOF
   5234 if ac_fn_c_try_compile "$LINENO"; then :
   5235   xorg_cv_cc_flag_unused_command_line_argument=yes
   5236 else
   5237   xorg_cv_cc_flag_unused_command_line_argument=no
   5238 fi
   5239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5240 fi
   5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5242 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5243 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5244 	CFLAGS="$xorg_testset_save_CFLAGS"
   5245 fi
   5246 
   5247 found="no"
   5248 
   5249 	if test $found = "no" ; then
   5250 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5251 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5252 		fi
   5253 
   5254 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5255 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5256 		fi
   5257 
   5258 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5259 
   5260 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5261 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5262 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5263 		if eval \${$cacheid+:} false; then :
   5264   $as_echo_n "(cached) " >&6
   5265 else
   5266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5267 /* end confdefs.h.  */
   5268 int i;
   5269 int
   5270 main ()
   5271 {
   5272 
   5273   ;
   5274   return 0;
   5275 }
   5276 _ACEOF
   5277 if ac_fn_c_try_link "$LINENO"; then :
   5278   eval $cacheid=yes
   5279 else
   5280   eval $cacheid=no
   5281 fi
   5282 rm -f core conftest.err conftest.$ac_objext \
   5283     conftest$ac_exeext conftest.$ac_ext
   5284 fi
   5285 
   5286 
   5287 		CFLAGS="$xorg_testset_save_CFLAGS"
   5288 
   5289 		eval supported=\$$cacheid
   5290 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5291 $as_echo "$supported" >&6; }
   5292 		if test "$supported" = "yes" ; then
   5293 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5294 			found="yes"
   5295 		fi
   5296 	fi
   5297 
   5298 
   5299 
   5300 
   5301 
   5302 
   5303 
   5304 
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 xorg_testset_save_CFLAGS="$CFLAGS"
   5313 
   5314 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5315 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5316 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5317 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5318 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5319   $as_echo_n "(cached) " >&6
   5320 else
   5321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5322 /* end confdefs.h.  */
   5323 int i;
   5324 _ACEOF
   5325 if ac_fn_c_try_compile "$LINENO"; then :
   5326   xorg_cv_cc_flag_unknown_warning_option=yes
   5327 else
   5328   xorg_cv_cc_flag_unknown_warning_option=no
   5329 fi
   5330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5331 fi
   5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5333 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5334 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5335 	CFLAGS="$xorg_testset_save_CFLAGS"
   5336 fi
   5337 
   5338 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5339 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5340 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5341 	fi
   5342 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5343 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5344 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5345 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5346   $as_echo_n "(cached) " >&6
   5347 else
   5348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5349 /* end confdefs.h.  */
   5350 int i;
   5351 _ACEOF
   5352 if ac_fn_c_try_compile "$LINENO"; then :
   5353   xorg_cv_cc_flag_unused_command_line_argument=yes
   5354 else
   5355   xorg_cv_cc_flag_unused_command_line_argument=no
   5356 fi
   5357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5358 fi
   5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5360 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5361 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5362 	CFLAGS="$xorg_testset_save_CFLAGS"
   5363 fi
   5364 
   5365 found="no"
   5366 
   5367 	if test $found = "no" ; then
   5368 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5369 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5370 		fi
   5371 
   5372 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5373 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5374 		fi
   5375 
   5376 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5377 
   5378 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5379 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5380 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5381 		if eval \${$cacheid+:} false; then :
   5382   $as_echo_n "(cached) " >&6
   5383 else
   5384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5385 /* end confdefs.h.  */
   5386 int i;
   5387 int
   5388 main ()
   5389 {
   5390 
   5391   ;
   5392   return 0;
   5393 }
   5394 _ACEOF
   5395 if ac_fn_c_try_link "$LINENO"; then :
   5396   eval $cacheid=yes
   5397 else
   5398   eval $cacheid=no
   5399 fi
   5400 rm -f core conftest.err conftest.$ac_objext \
   5401     conftest$ac_exeext conftest.$ac_ext
   5402 fi
   5403 
   5404 
   5405 		CFLAGS="$xorg_testset_save_CFLAGS"
   5406 
   5407 		eval supported=\$$cacheid
   5408 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5409 $as_echo "$supported" >&6; }
   5410 		if test "$supported" = "yes" ; then
   5411 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5412 			found="yes"
   5413 		fi
   5414 	fi
   5415 
   5416 
   5417 
   5418 
   5419 
   5420 
   5421 
   5422 
   5423 
   5424 
   5425 
   5426 
   5427 
   5428 
   5429 
   5430 xorg_testset_save_CFLAGS="$CFLAGS"
   5431 
   5432 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5433 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5434 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5435 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5436 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5437   $as_echo_n "(cached) " >&6
   5438 else
   5439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5440 /* end confdefs.h.  */
   5441 int i;
   5442 _ACEOF
   5443 if ac_fn_c_try_compile "$LINENO"; then :
   5444   xorg_cv_cc_flag_unknown_warning_option=yes
   5445 else
   5446   xorg_cv_cc_flag_unknown_warning_option=no
   5447 fi
   5448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5449 fi
   5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5451 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5452 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5453 	CFLAGS="$xorg_testset_save_CFLAGS"
   5454 fi
   5455 
   5456 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5457 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5458 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5459 	fi
   5460 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5461 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5462 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5463 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5464   $as_echo_n "(cached) " >&6
   5465 else
   5466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5467 /* end confdefs.h.  */
   5468 int i;
   5469 _ACEOF
   5470 if ac_fn_c_try_compile "$LINENO"; then :
   5471   xorg_cv_cc_flag_unused_command_line_argument=yes
   5472 else
   5473   xorg_cv_cc_flag_unused_command_line_argument=no
   5474 fi
   5475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5476 fi
   5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5478 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5479 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5480 	CFLAGS="$xorg_testset_save_CFLAGS"
   5481 fi
   5482 
   5483 found="no"
   5484 
   5485 	if test $found = "no" ; then
   5486 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5487 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5488 		fi
   5489 
   5490 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5491 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5492 		fi
   5493 
   5494 		CFLAGS="$CFLAGS -Wnested-externs"
   5495 
   5496 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5497 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5498 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5499 		if eval \${$cacheid+:} false; then :
   5500   $as_echo_n "(cached) " >&6
   5501 else
   5502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5503 /* end confdefs.h.  */
   5504 int i;
   5505 int
   5506 main ()
   5507 {
   5508 
   5509   ;
   5510   return 0;
   5511 }
   5512 _ACEOF
   5513 if ac_fn_c_try_link "$LINENO"; then :
   5514   eval $cacheid=yes
   5515 else
   5516   eval $cacheid=no
   5517 fi
   5518 rm -f core conftest.err conftest.$ac_objext \
   5519     conftest$ac_exeext conftest.$ac_ext
   5520 fi
   5521 
   5522 
   5523 		CFLAGS="$xorg_testset_save_CFLAGS"
   5524 
   5525 		eval supported=\$$cacheid
   5526 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5527 $as_echo "$supported" >&6; }
   5528 		if test "$supported" = "yes" ; then
   5529 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5530 			found="yes"
   5531 		fi
   5532 	fi
   5533 
   5534 
   5535 
   5536 
   5537 
   5538 
   5539 
   5540 
   5541 
   5542 
   5543 
   5544 
   5545 
   5546 
   5547 
   5548 xorg_testset_save_CFLAGS="$CFLAGS"
   5549 
   5550 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5551 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5552 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5553 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5554 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5555   $as_echo_n "(cached) " >&6
   5556 else
   5557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5558 /* end confdefs.h.  */
   5559 int i;
   5560 _ACEOF
   5561 if ac_fn_c_try_compile "$LINENO"; then :
   5562   xorg_cv_cc_flag_unknown_warning_option=yes
   5563 else
   5564   xorg_cv_cc_flag_unknown_warning_option=no
   5565 fi
   5566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5567 fi
   5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5569 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5570 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5571 	CFLAGS="$xorg_testset_save_CFLAGS"
   5572 fi
   5573 
   5574 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5575 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5576 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5577 	fi
   5578 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5579 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5580 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5581 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5582   $as_echo_n "(cached) " >&6
   5583 else
   5584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5585 /* end confdefs.h.  */
   5586 int i;
   5587 _ACEOF
   5588 if ac_fn_c_try_compile "$LINENO"; then :
   5589   xorg_cv_cc_flag_unused_command_line_argument=yes
   5590 else
   5591   xorg_cv_cc_flag_unused_command_line_argument=no
   5592 fi
   5593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5594 fi
   5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5596 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5597 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5598 	CFLAGS="$xorg_testset_save_CFLAGS"
   5599 fi
   5600 
   5601 found="no"
   5602 
   5603 	if test $found = "no" ; then
   5604 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5605 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5606 		fi
   5607 
   5608 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5609 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5610 		fi
   5611 
   5612 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5613 
   5614 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5615 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5616 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5617 		if eval \${$cacheid+:} false; then :
   5618   $as_echo_n "(cached) " >&6
   5619 else
   5620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5621 /* end confdefs.h.  */
   5622 int i;
   5623 int
   5624 main ()
   5625 {
   5626 
   5627   ;
   5628   return 0;
   5629 }
   5630 _ACEOF
   5631 if ac_fn_c_try_link "$LINENO"; then :
   5632   eval $cacheid=yes
   5633 else
   5634   eval $cacheid=no
   5635 fi
   5636 rm -f core conftest.err conftest.$ac_objext \
   5637     conftest$ac_exeext conftest.$ac_ext
   5638 fi
   5639 
   5640 
   5641 		CFLAGS="$xorg_testset_save_CFLAGS"
   5642 
   5643 		eval supported=\$$cacheid
   5644 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5645 $as_echo "$supported" >&6; }
   5646 		if test "$supported" = "yes" ; then
   5647 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5648 			found="yes"
   5649 		fi
   5650 	fi
   5651 
   5652 
   5653 
   5654 
   5655 
   5656 
   5657 
   5658 
   5659 
   5660 
   5661 
   5662 
   5663 
   5664 
   5665 
   5666 xorg_testset_save_CFLAGS="$CFLAGS"
   5667 
   5668 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5669 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5670 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5671 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5672 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5673   $as_echo_n "(cached) " >&6
   5674 else
   5675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5676 /* end confdefs.h.  */
   5677 int i;
   5678 _ACEOF
   5679 if ac_fn_c_try_compile "$LINENO"; then :
   5680   xorg_cv_cc_flag_unknown_warning_option=yes
   5681 else
   5682   xorg_cv_cc_flag_unknown_warning_option=no
   5683 fi
   5684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5685 fi
   5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5687 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5688 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5689 	CFLAGS="$xorg_testset_save_CFLAGS"
   5690 fi
   5691 
   5692 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5693 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5694 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5695 	fi
   5696 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5697 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5698 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5699 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5700   $as_echo_n "(cached) " >&6
   5701 else
   5702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5703 /* end confdefs.h.  */
   5704 int i;
   5705 _ACEOF
   5706 if ac_fn_c_try_compile "$LINENO"; then :
   5707   xorg_cv_cc_flag_unused_command_line_argument=yes
   5708 else
   5709   xorg_cv_cc_flag_unused_command_line_argument=no
   5710 fi
   5711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5712 fi
   5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5714 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5715 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5716 	CFLAGS="$xorg_testset_save_CFLAGS"
   5717 fi
   5718 
   5719 found="no"
   5720 
   5721 	if test $found = "no" ; then
   5722 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5723 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5724 		fi
   5725 
   5726 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5727 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5728 		fi
   5729 
   5730 		CFLAGS="$CFLAGS -Wold-style-definition"
   5731 
   5732 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5733 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5734 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5735 		if eval \${$cacheid+:} false; then :
   5736   $as_echo_n "(cached) " >&6
   5737 else
   5738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5739 /* end confdefs.h.  */
   5740 int i;
   5741 int
   5742 main ()
   5743 {
   5744 
   5745   ;
   5746   return 0;
   5747 }
   5748 _ACEOF
   5749 if ac_fn_c_try_link "$LINENO"; then :
   5750   eval $cacheid=yes
   5751 else
   5752   eval $cacheid=no
   5753 fi
   5754 rm -f core conftest.err conftest.$ac_objext \
   5755     conftest$ac_exeext conftest.$ac_ext
   5756 fi
   5757 
   5758 
   5759 		CFLAGS="$xorg_testset_save_CFLAGS"
   5760 
   5761 		eval supported=\$$cacheid
   5762 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5763 $as_echo "$supported" >&6; }
   5764 		if test "$supported" = "yes" ; then
   5765 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5766 			found="yes"
   5767 		fi
   5768 	fi
   5769 
   5770 
   5771 
   5772 
   5773 
   5774 
   5775 
   5776 
   5777 
   5778 
   5779 
   5780 
   5781 
   5782 
   5783 
   5784 xorg_testset_save_CFLAGS="$CFLAGS"
   5785 
   5786 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5787 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5788 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5789 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5790 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5791   $as_echo_n "(cached) " >&6
   5792 else
   5793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5794 /* end confdefs.h.  */
   5795 int i;
   5796 _ACEOF
   5797 if ac_fn_c_try_compile "$LINENO"; then :
   5798   xorg_cv_cc_flag_unknown_warning_option=yes
   5799 else
   5800   xorg_cv_cc_flag_unknown_warning_option=no
   5801 fi
   5802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5803 fi
   5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5805 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5806 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5807 	CFLAGS="$xorg_testset_save_CFLAGS"
   5808 fi
   5809 
   5810 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5811 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5812 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5813 	fi
   5814 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5815 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5816 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5817 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5818   $as_echo_n "(cached) " >&6
   5819 else
   5820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5821 /* end confdefs.h.  */
   5822 int i;
   5823 _ACEOF
   5824 if ac_fn_c_try_compile "$LINENO"; then :
   5825   xorg_cv_cc_flag_unused_command_line_argument=yes
   5826 else
   5827   xorg_cv_cc_flag_unused_command_line_argument=no
   5828 fi
   5829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5830 fi
   5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5832 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5833 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5834 	CFLAGS="$xorg_testset_save_CFLAGS"
   5835 fi
   5836 
   5837 found="no"
   5838 
   5839 	if test $found = "no" ; then
   5840 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5841 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5842 		fi
   5843 
   5844 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5845 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5846 		fi
   5847 
   5848 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5849 
   5850 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5851 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5852 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5853 		if eval \${$cacheid+:} false; then :
   5854   $as_echo_n "(cached) " >&6
   5855 else
   5856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5857 /* end confdefs.h.  */
   5858 int i;
   5859 int
   5860 main ()
   5861 {
   5862 
   5863   ;
   5864   return 0;
   5865 }
   5866 _ACEOF
   5867 if ac_fn_c_try_link "$LINENO"; then :
   5868   eval $cacheid=yes
   5869 else
   5870   eval $cacheid=no
   5871 fi
   5872 rm -f core conftest.err conftest.$ac_objext \
   5873     conftest$ac_exeext conftest.$ac_ext
   5874 fi
   5875 
   5876 
   5877 		CFLAGS="$xorg_testset_save_CFLAGS"
   5878 
   5879 		eval supported=\$$cacheid
   5880 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5881 $as_echo "$supported" >&6; }
   5882 		if test "$supported" = "yes" ; then
   5883 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5884 			found="yes"
   5885 		fi
   5886 	fi
   5887 
   5888 
   5889 
   5890 
   5891 
   5892 # This chunk adds additional warnings that could catch undesired effects.
   5893 
   5894 
   5895 
   5896 
   5897 
   5898 
   5899 
   5900 
   5901 
   5902 
   5903 
   5904 
   5905 
   5906 xorg_testset_save_CFLAGS="$CFLAGS"
   5907 
   5908 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5909 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5910 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5911 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5912 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5913   $as_echo_n "(cached) " >&6
   5914 else
   5915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5916 /* end confdefs.h.  */
   5917 int i;
   5918 _ACEOF
   5919 if ac_fn_c_try_compile "$LINENO"; then :
   5920   xorg_cv_cc_flag_unknown_warning_option=yes
   5921 else
   5922   xorg_cv_cc_flag_unknown_warning_option=no
   5923 fi
   5924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5925 fi
   5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5927 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5928 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5929 	CFLAGS="$xorg_testset_save_CFLAGS"
   5930 fi
   5931 
   5932 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5933 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5934 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5935 	fi
   5936 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5937 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5938 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5939 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5940   $as_echo_n "(cached) " >&6
   5941 else
   5942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5943 /* end confdefs.h.  */
   5944 int i;
   5945 _ACEOF
   5946 if ac_fn_c_try_compile "$LINENO"; then :
   5947   xorg_cv_cc_flag_unused_command_line_argument=yes
   5948 else
   5949   xorg_cv_cc_flag_unused_command_line_argument=no
   5950 fi
   5951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5952 fi
   5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5954 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5955 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5956 	CFLAGS="$xorg_testset_save_CFLAGS"
   5957 fi
   5958 
   5959 found="no"
   5960 
   5961 	if test $found = "no" ; then
   5962 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5963 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5964 		fi
   5965 
   5966 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5967 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5968 		fi
   5969 
   5970 		CFLAGS="$CFLAGS -Wunused"
   5971 
   5972 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   5973 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   5974 		cacheid=xorg_cv_cc_flag__Wunused
   5975 		if eval \${$cacheid+:} false; then :
   5976   $as_echo_n "(cached) " >&6
   5977 else
   5978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5979 /* end confdefs.h.  */
   5980 int i;
   5981 int
   5982 main ()
   5983 {
   5984 
   5985   ;
   5986   return 0;
   5987 }
   5988 _ACEOF
   5989 if ac_fn_c_try_link "$LINENO"; then :
   5990   eval $cacheid=yes
   5991 else
   5992   eval $cacheid=no
   5993 fi
   5994 rm -f core conftest.err conftest.$ac_objext \
   5995     conftest$ac_exeext conftest.$ac_ext
   5996 fi
   5997 
   5998 
   5999 		CFLAGS="$xorg_testset_save_CFLAGS"
   6000 
   6001 		eval supported=\$$cacheid
   6002 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6003 $as_echo "$supported" >&6; }
   6004 		if test "$supported" = "yes" ; then
   6005 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6006 			found="yes"
   6007 		fi
   6008 	fi
   6009 
   6010 
   6011 
   6012 
   6013 
   6014 
   6015 
   6016 
   6017 
   6018 
   6019 
   6020 
   6021 
   6022 
   6023 
   6024 xorg_testset_save_CFLAGS="$CFLAGS"
   6025 
   6026 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6027 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6028 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6029 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6030 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6031   $as_echo_n "(cached) " >&6
   6032 else
   6033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6034 /* end confdefs.h.  */
   6035 int i;
   6036 _ACEOF
   6037 if ac_fn_c_try_compile "$LINENO"; then :
   6038   xorg_cv_cc_flag_unknown_warning_option=yes
   6039 else
   6040   xorg_cv_cc_flag_unknown_warning_option=no
   6041 fi
   6042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6043 fi
   6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6045 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6046 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6047 	CFLAGS="$xorg_testset_save_CFLAGS"
   6048 fi
   6049 
   6050 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6051 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6052 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6053 	fi
   6054 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6055 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6056 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6057 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6058   $as_echo_n "(cached) " >&6
   6059 else
   6060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6061 /* end confdefs.h.  */
   6062 int i;
   6063 _ACEOF
   6064 if ac_fn_c_try_compile "$LINENO"; then :
   6065   xorg_cv_cc_flag_unused_command_line_argument=yes
   6066 else
   6067   xorg_cv_cc_flag_unused_command_line_argument=no
   6068 fi
   6069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6070 fi
   6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6072 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6073 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6074 	CFLAGS="$xorg_testset_save_CFLAGS"
   6075 fi
   6076 
   6077 found="no"
   6078 
   6079 	if test $found = "no" ; then
   6080 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6081 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6082 		fi
   6083 
   6084 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6085 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6086 		fi
   6087 
   6088 		CFLAGS="$CFLAGS -Wuninitialized"
   6089 
   6090 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6091 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6092 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6093 		if eval \${$cacheid+:} false; then :
   6094   $as_echo_n "(cached) " >&6
   6095 else
   6096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6097 /* end confdefs.h.  */
   6098 int i;
   6099 int
   6100 main ()
   6101 {
   6102 
   6103   ;
   6104   return 0;
   6105 }
   6106 _ACEOF
   6107 if ac_fn_c_try_link "$LINENO"; then :
   6108   eval $cacheid=yes
   6109 else
   6110   eval $cacheid=no
   6111 fi
   6112 rm -f core conftest.err conftest.$ac_objext \
   6113     conftest$ac_exeext conftest.$ac_ext
   6114 fi
   6115 
   6116 
   6117 		CFLAGS="$xorg_testset_save_CFLAGS"
   6118 
   6119 		eval supported=\$$cacheid
   6120 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6121 $as_echo "$supported" >&6; }
   6122 		if test "$supported" = "yes" ; then
   6123 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6124 			found="yes"
   6125 		fi
   6126 	fi
   6127 
   6128 
   6129 
   6130 
   6131 
   6132 
   6133 
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 
   6140 
   6141 
   6142 xorg_testset_save_CFLAGS="$CFLAGS"
   6143 
   6144 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6145 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6146 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6147 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6148 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6149   $as_echo_n "(cached) " >&6
   6150 else
   6151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6152 /* end confdefs.h.  */
   6153 int i;
   6154 _ACEOF
   6155 if ac_fn_c_try_compile "$LINENO"; then :
   6156   xorg_cv_cc_flag_unknown_warning_option=yes
   6157 else
   6158   xorg_cv_cc_flag_unknown_warning_option=no
   6159 fi
   6160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6161 fi
   6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6163 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6164 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6165 	CFLAGS="$xorg_testset_save_CFLAGS"
   6166 fi
   6167 
   6168 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6169 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6170 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6171 	fi
   6172 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6173 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6174 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6175 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6176   $as_echo_n "(cached) " >&6
   6177 else
   6178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6179 /* end confdefs.h.  */
   6180 int i;
   6181 _ACEOF
   6182 if ac_fn_c_try_compile "$LINENO"; then :
   6183   xorg_cv_cc_flag_unused_command_line_argument=yes
   6184 else
   6185   xorg_cv_cc_flag_unused_command_line_argument=no
   6186 fi
   6187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6188 fi
   6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6190 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6191 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6192 	CFLAGS="$xorg_testset_save_CFLAGS"
   6193 fi
   6194 
   6195 found="no"
   6196 
   6197 	if test $found = "no" ; then
   6198 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6199 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6200 		fi
   6201 
   6202 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6203 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6204 		fi
   6205 
   6206 		CFLAGS="$CFLAGS -Wshadow"
   6207 
   6208 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6209 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6210 		cacheid=xorg_cv_cc_flag__Wshadow
   6211 		if eval \${$cacheid+:} false; then :
   6212   $as_echo_n "(cached) " >&6
   6213 else
   6214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6215 /* end confdefs.h.  */
   6216 int i;
   6217 int
   6218 main ()
   6219 {
   6220 
   6221   ;
   6222   return 0;
   6223 }
   6224 _ACEOF
   6225 if ac_fn_c_try_link "$LINENO"; then :
   6226   eval $cacheid=yes
   6227 else
   6228   eval $cacheid=no
   6229 fi
   6230 rm -f core conftest.err conftest.$ac_objext \
   6231     conftest$ac_exeext conftest.$ac_ext
   6232 fi
   6233 
   6234 
   6235 		CFLAGS="$xorg_testset_save_CFLAGS"
   6236 
   6237 		eval supported=\$$cacheid
   6238 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6239 $as_echo "$supported" >&6; }
   6240 		if test "$supported" = "yes" ; then
   6241 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6242 			found="yes"
   6243 		fi
   6244 	fi
   6245 
   6246 
   6247 
   6248 
   6249 
   6250 
   6251 
   6252 
   6253 
   6254 
   6255 
   6256 
   6257 
   6258 
   6259 
   6260 xorg_testset_save_CFLAGS="$CFLAGS"
   6261 
   6262 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6263 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6264 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6265 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6266 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6267   $as_echo_n "(cached) " >&6
   6268 else
   6269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6270 /* end confdefs.h.  */
   6271 int i;
   6272 _ACEOF
   6273 if ac_fn_c_try_compile "$LINENO"; then :
   6274   xorg_cv_cc_flag_unknown_warning_option=yes
   6275 else
   6276   xorg_cv_cc_flag_unknown_warning_option=no
   6277 fi
   6278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6279 fi
   6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6281 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6282 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6283 	CFLAGS="$xorg_testset_save_CFLAGS"
   6284 fi
   6285 
   6286 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6287 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6288 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6289 	fi
   6290 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6291 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6292 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6293 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6294   $as_echo_n "(cached) " >&6
   6295 else
   6296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6297 /* end confdefs.h.  */
   6298 int i;
   6299 _ACEOF
   6300 if ac_fn_c_try_compile "$LINENO"; then :
   6301   xorg_cv_cc_flag_unused_command_line_argument=yes
   6302 else
   6303   xorg_cv_cc_flag_unused_command_line_argument=no
   6304 fi
   6305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6306 fi
   6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6308 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6309 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6310 	CFLAGS="$xorg_testset_save_CFLAGS"
   6311 fi
   6312 
   6313 found="no"
   6314 
   6315 	if test $found = "no" ; then
   6316 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6317 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6318 		fi
   6319 
   6320 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6321 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6322 		fi
   6323 
   6324 		CFLAGS="$CFLAGS -Wcast-qual"
   6325 
   6326 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6327 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6328 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6329 		if eval \${$cacheid+:} false; then :
   6330   $as_echo_n "(cached) " >&6
   6331 else
   6332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6333 /* end confdefs.h.  */
   6334 int i;
   6335 int
   6336 main ()
   6337 {
   6338 
   6339   ;
   6340   return 0;
   6341 }
   6342 _ACEOF
   6343 if ac_fn_c_try_link "$LINENO"; then :
   6344   eval $cacheid=yes
   6345 else
   6346   eval $cacheid=no
   6347 fi
   6348 rm -f core conftest.err conftest.$ac_objext \
   6349     conftest$ac_exeext conftest.$ac_ext
   6350 fi
   6351 
   6352 
   6353 		CFLAGS="$xorg_testset_save_CFLAGS"
   6354 
   6355 		eval supported=\$$cacheid
   6356 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6357 $as_echo "$supported" >&6; }
   6358 		if test "$supported" = "yes" ; then
   6359 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6360 			found="yes"
   6361 		fi
   6362 	fi
   6363 
   6364 
   6365 
   6366 
   6367 
   6368 
   6369 
   6370 
   6371 
   6372 
   6373 
   6374 
   6375 
   6376 
   6377 
   6378 xorg_testset_save_CFLAGS="$CFLAGS"
   6379 
   6380 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6381 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6382 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6383 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6384 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6385   $as_echo_n "(cached) " >&6
   6386 else
   6387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6388 /* end confdefs.h.  */
   6389 int i;
   6390 _ACEOF
   6391 if ac_fn_c_try_compile "$LINENO"; then :
   6392   xorg_cv_cc_flag_unknown_warning_option=yes
   6393 else
   6394   xorg_cv_cc_flag_unknown_warning_option=no
   6395 fi
   6396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6397 fi
   6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6399 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6400 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6401 	CFLAGS="$xorg_testset_save_CFLAGS"
   6402 fi
   6403 
   6404 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6405 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6406 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6407 	fi
   6408 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6409 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6410 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6411 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6412   $as_echo_n "(cached) " >&6
   6413 else
   6414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6415 /* end confdefs.h.  */
   6416 int i;
   6417 _ACEOF
   6418 if ac_fn_c_try_compile "$LINENO"; then :
   6419   xorg_cv_cc_flag_unused_command_line_argument=yes
   6420 else
   6421   xorg_cv_cc_flag_unused_command_line_argument=no
   6422 fi
   6423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6424 fi
   6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6426 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6427 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6428 	CFLAGS="$xorg_testset_save_CFLAGS"
   6429 fi
   6430 
   6431 found="no"
   6432 
   6433 	if test $found = "no" ; then
   6434 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6435 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6436 		fi
   6437 
   6438 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6439 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6440 		fi
   6441 
   6442 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6443 
   6444 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6445 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6446 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6447 		if eval \${$cacheid+:} false; then :
   6448   $as_echo_n "(cached) " >&6
   6449 else
   6450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6451 /* end confdefs.h.  */
   6452 int i;
   6453 int
   6454 main ()
   6455 {
   6456 
   6457   ;
   6458   return 0;
   6459 }
   6460 _ACEOF
   6461 if ac_fn_c_try_link "$LINENO"; then :
   6462   eval $cacheid=yes
   6463 else
   6464   eval $cacheid=no
   6465 fi
   6466 rm -f core conftest.err conftest.$ac_objext \
   6467     conftest$ac_exeext conftest.$ac_ext
   6468 fi
   6469 
   6470 
   6471 		CFLAGS="$xorg_testset_save_CFLAGS"
   6472 
   6473 		eval supported=\$$cacheid
   6474 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6475 $as_echo "$supported" >&6; }
   6476 		if test "$supported" = "yes" ; then
   6477 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6478 			found="yes"
   6479 		fi
   6480 	fi
   6481 
   6482 
   6483 
   6484 
   6485 
   6486 
   6487 
   6488 
   6489 
   6490 
   6491 
   6492 
   6493 
   6494 
   6495 
   6496 xorg_testset_save_CFLAGS="$CFLAGS"
   6497 
   6498 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6499 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6500 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6501 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6502 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6503   $as_echo_n "(cached) " >&6
   6504 else
   6505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6506 /* end confdefs.h.  */
   6507 int i;
   6508 _ACEOF
   6509 if ac_fn_c_try_compile "$LINENO"; then :
   6510   xorg_cv_cc_flag_unknown_warning_option=yes
   6511 else
   6512   xorg_cv_cc_flag_unknown_warning_option=no
   6513 fi
   6514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6515 fi
   6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6517 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6518 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6519 	CFLAGS="$xorg_testset_save_CFLAGS"
   6520 fi
   6521 
   6522 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6523 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6524 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6525 	fi
   6526 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6527 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6528 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6529 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6530   $as_echo_n "(cached) " >&6
   6531 else
   6532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6533 /* end confdefs.h.  */
   6534 int i;
   6535 _ACEOF
   6536 if ac_fn_c_try_compile "$LINENO"; then :
   6537   xorg_cv_cc_flag_unused_command_line_argument=yes
   6538 else
   6539   xorg_cv_cc_flag_unused_command_line_argument=no
   6540 fi
   6541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6542 fi
   6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6544 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6545 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6546 	CFLAGS="$xorg_testset_save_CFLAGS"
   6547 fi
   6548 
   6549 found="no"
   6550 
   6551 	if test $found = "no" ; then
   6552 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6553 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6554 		fi
   6555 
   6556 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6557 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6558 		fi
   6559 
   6560 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6561 
   6562 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6563 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6564 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6565 		if eval \${$cacheid+:} false; then :
   6566   $as_echo_n "(cached) " >&6
   6567 else
   6568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6569 /* end confdefs.h.  */
   6570 int i;
   6571 int
   6572 main ()
   6573 {
   6574 
   6575   ;
   6576   return 0;
   6577 }
   6578 _ACEOF
   6579 if ac_fn_c_try_link "$LINENO"; then :
   6580   eval $cacheid=yes
   6581 else
   6582   eval $cacheid=no
   6583 fi
   6584 rm -f core conftest.err conftest.$ac_objext \
   6585     conftest$ac_exeext conftest.$ac_ext
   6586 fi
   6587 
   6588 
   6589 		CFLAGS="$xorg_testset_save_CFLAGS"
   6590 
   6591 		eval supported=\$$cacheid
   6592 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6593 $as_echo "$supported" >&6; }
   6594 		if test "$supported" = "yes" ; then
   6595 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6596 			found="yes"
   6597 		fi
   6598 	fi
   6599 
   6600 
   6601 
   6602 
   6603 
   6604 
   6605 
   6606 
   6607 
   6608 
   6609 
   6610 
   6611 
   6612 
   6613 
   6614 xorg_testset_save_CFLAGS="$CFLAGS"
   6615 
   6616 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6617 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6618 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6619 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6620 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6621   $as_echo_n "(cached) " >&6
   6622 else
   6623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6624 /* end confdefs.h.  */
   6625 int i;
   6626 _ACEOF
   6627 if ac_fn_c_try_compile "$LINENO"; then :
   6628   xorg_cv_cc_flag_unknown_warning_option=yes
   6629 else
   6630   xorg_cv_cc_flag_unknown_warning_option=no
   6631 fi
   6632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6633 fi
   6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6635 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6636 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6637 	CFLAGS="$xorg_testset_save_CFLAGS"
   6638 fi
   6639 
   6640 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6641 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6642 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6643 	fi
   6644 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6645 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6646 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6647 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6648   $as_echo_n "(cached) " >&6
   6649 else
   6650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6651 /* end confdefs.h.  */
   6652 int i;
   6653 _ACEOF
   6654 if ac_fn_c_try_compile "$LINENO"; then :
   6655   xorg_cv_cc_flag_unused_command_line_argument=yes
   6656 else
   6657   xorg_cv_cc_flag_unused_command_line_argument=no
   6658 fi
   6659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6660 fi
   6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6662 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6663 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6664 	CFLAGS="$xorg_testset_save_CFLAGS"
   6665 fi
   6666 
   6667 found="no"
   6668 
   6669 	if test $found = "no" ; then
   6670 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6671 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6672 		fi
   6673 
   6674 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6675 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6676 		fi
   6677 
   6678 		CFLAGS="$CFLAGS -Wredundant-decls"
   6679 
   6680 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6681 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6682 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6683 		if eval \${$cacheid+:} false; then :
   6684   $as_echo_n "(cached) " >&6
   6685 else
   6686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6687 /* end confdefs.h.  */
   6688 int i;
   6689 int
   6690 main ()
   6691 {
   6692 
   6693   ;
   6694   return 0;
   6695 }
   6696 _ACEOF
   6697 if ac_fn_c_try_link "$LINENO"; then :
   6698   eval $cacheid=yes
   6699 else
   6700   eval $cacheid=no
   6701 fi
   6702 rm -f core conftest.err conftest.$ac_objext \
   6703     conftest$ac_exeext conftest.$ac_ext
   6704 fi
   6705 
   6706 
   6707 		CFLAGS="$xorg_testset_save_CFLAGS"
   6708 
   6709 		eval supported=\$$cacheid
   6710 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6711 $as_echo "$supported" >&6; }
   6712 		if test "$supported" = "yes" ; then
   6713 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6714 			found="yes"
   6715 		fi
   6716 	fi
   6717 
   6718 
   6719 
   6720 # These are currently disabled because they are noisy.  They will be enabled
   6721 # in the future once the codebase is sufficiently modernized to silence
   6722 # them.  For now, I don't want them to drown out the other warnings.
   6723 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6724 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6725 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6726 
   6727 # Turn some warnings into errors, so we don't accidently get successful builds
   6728 # when there are problems that should be fixed.
   6729 
   6730 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6731 
   6732 
   6733 
   6734 
   6735 
   6736 
   6737 
   6738 
   6739 
   6740 
   6741 
   6742 
   6743 
   6744 xorg_testset_save_CFLAGS="$CFLAGS"
   6745 
   6746 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6747 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6748 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6749 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6750 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6751   $as_echo_n "(cached) " >&6
   6752 else
   6753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6754 /* end confdefs.h.  */
   6755 int i;
   6756 _ACEOF
   6757 if ac_fn_c_try_compile "$LINENO"; then :
   6758   xorg_cv_cc_flag_unknown_warning_option=yes
   6759 else
   6760   xorg_cv_cc_flag_unknown_warning_option=no
   6761 fi
   6762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6763 fi
   6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6765 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6766 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6767 	CFLAGS="$xorg_testset_save_CFLAGS"
   6768 fi
   6769 
   6770 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6771 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6772 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6773 	fi
   6774 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6775 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6776 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6777 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6778   $as_echo_n "(cached) " >&6
   6779 else
   6780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6781 /* end confdefs.h.  */
   6782 int i;
   6783 _ACEOF
   6784 if ac_fn_c_try_compile "$LINENO"; then :
   6785   xorg_cv_cc_flag_unused_command_line_argument=yes
   6786 else
   6787   xorg_cv_cc_flag_unused_command_line_argument=no
   6788 fi
   6789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6790 fi
   6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6792 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6793 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6794 	CFLAGS="$xorg_testset_save_CFLAGS"
   6795 fi
   6796 
   6797 found="no"
   6798 
   6799 	if test $found = "no" ; then
   6800 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6801 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6802 		fi
   6803 
   6804 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6805 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6806 		fi
   6807 
   6808 		CFLAGS="$CFLAGS -Werror=implicit"
   6809 
   6810 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6811 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6812 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   6813 		if eval \${$cacheid+:} false; then :
   6814   $as_echo_n "(cached) " >&6
   6815 else
   6816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6817 /* end confdefs.h.  */
   6818 int i;
   6819 int
   6820 main ()
   6821 {
   6822 
   6823   ;
   6824   return 0;
   6825 }
   6826 _ACEOF
   6827 if ac_fn_c_try_link "$LINENO"; then :
   6828   eval $cacheid=yes
   6829 else
   6830   eval $cacheid=no
   6831 fi
   6832 rm -f core conftest.err conftest.$ac_objext \
   6833     conftest$ac_exeext conftest.$ac_ext
   6834 fi
   6835 
   6836 
   6837 		CFLAGS="$xorg_testset_save_CFLAGS"
   6838 
   6839 		eval supported=\$$cacheid
   6840 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6841 $as_echo "$supported" >&6; }
   6842 		if test "$supported" = "yes" ; then
   6843 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6844 			found="yes"
   6845 		fi
   6846 	fi
   6847 
   6848 	if test $found = "no" ; then
   6849 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6850 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6851 		fi
   6852 
   6853 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6854 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6855 		fi
   6856 
   6857 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6858 
   6859 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6860 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6861 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   6862 		if eval \${$cacheid+:} false; then :
   6863   $as_echo_n "(cached) " >&6
   6864 else
   6865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6866 /* end confdefs.h.  */
   6867 int i;
   6868 int
   6869 main ()
   6870 {
   6871 
   6872   ;
   6873   return 0;
   6874 }
   6875 _ACEOF
   6876 if ac_fn_c_try_link "$LINENO"; then :
   6877   eval $cacheid=yes
   6878 else
   6879   eval $cacheid=no
   6880 fi
   6881 rm -f core conftest.err conftest.$ac_objext \
   6882     conftest$ac_exeext conftest.$ac_ext
   6883 fi
   6884 
   6885 
   6886 		CFLAGS="$xorg_testset_save_CFLAGS"
   6887 
   6888 		eval supported=\$$cacheid
   6889 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6890 $as_echo "$supported" >&6; }
   6891 		if test "$supported" = "yes" ; then
   6892 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6893 			found="yes"
   6894 		fi
   6895 	fi
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 xorg_testset_save_CFLAGS="$CFLAGS"
   6912 
   6913 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6914 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6915 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6916 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6917 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6918   $as_echo_n "(cached) " >&6
   6919 else
   6920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6921 /* end confdefs.h.  */
   6922 int i;
   6923 _ACEOF
   6924 if ac_fn_c_try_compile "$LINENO"; then :
   6925   xorg_cv_cc_flag_unknown_warning_option=yes
   6926 else
   6927   xorg_cv_cc_flag_unknown_warning_option=no
   6928 fi
   6929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6930 fi
   6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6932 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6933 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6934 	CFLAGS="$xorg_testset_save_CFLAGS"
   6935 fi
   6936 
   6937 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6938 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6939 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6940 	fi
   6941 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6942 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6943 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6944 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6945   $as_echo_n "(cached) " >&6
   6946 else
   6947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6948 /* end confdefs.h.  */
   6949 int i;
   6950 _ACEOF
   6951 if ac_fn_c_try_compile "$LINENO"; then :
   6952   xorg_cv_cc_flag_unused_command_line_argument=yes
   6953 else
   6954   xorg_cv_cc_flag_unused_command_line_argument=no
   6955 fi
   6956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6957 fi
   6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6959 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6960 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6961 	CFLAGS="$xorg_testset_save_CFLAGS"
   6962 fi
   6963 
   6964 found="no"
   6965 
   6966 	if test $found = "no" ; then
   6967 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6968 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6969 		fi
   6970 
   6971 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6972 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6973 		fi
   6974 
   6975 		CFLAGS="$CFLAGS -Werror=nonnull"
   6976 
   6977 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   6978 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   6979 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   6980 		if eval \${$cacheid+:} false; then :
   6981   $as_echo_n "(cached) " >&6
   6982 else
   6983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6984 /* end confdefs.h.  */
   6985 int i;
   6986 int
   6987 main ()
   6988 {
   6989 
   6990   ;
   6991   return 0;
   6992 }
   6993 _ACEOF
   6994 if ac_fn_c_try_link "$LINENO"; then :
   6995   eval $cacheid=yes
   6996 else
   6997   eval $cacheid=no
   6998 fi
   6999 rm -f core conftest.err conftest.$ac_objext \
   7000     conftest$ac_exeext conftest.$ac_ext
   7001 fi
   7002 
   7003 
   7004 		CFLAGS="$xorg_testset_save_CFLAGS"
   7005 
   7006 		eval supported=\$$cacheid
   7007 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7008 $as_echo "$supported" >&6; }
   7009 		if test "$supported" = "yes" ; then
   7010 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7011 			found="yes"
   7012 		fi
   7013 	fi
   7014 
   7015 
   7016 
   7017 
   7018 
   7019 
   7020 
   7021 
   7022 
   7023 
   7024 
   7025 
   7026 
   7027 
   7028 
   7029 xorg_testset_save_CFLAGS="$CFLAGS"
   7030 
   7031 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7032 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7033 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7034 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7035 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7036   $as_echo_n "(cached) " >&6
   7037 else
   7038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7039 /* end confdefs.h.  */
   7040 int i;
   7041 _ACEOF
   7042 if ac_fn_c_try_compile "$LINENO"; then :
   7043   xorg_cv_cc_flag_unknown_warning_option=yes
   7044 else
   7045   xorg_cv_cc_flag_unknown_warning_option=no
   7046 fi
   7047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7048 fi
   7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7050 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7051 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7052 	CFLAGS="$xorg_testset_save_CFLAGS"
   7053 fi
   7054 
   7055 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7056 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7057 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7058 	fi
   7059 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7060 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7061 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7062 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7063   $as_echo_n "(cached) " >&6
   7064 else
   7065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7066 /* end confdefs.h.  */
   7067 int i;
   7068 _ACEOF
   7069 if ac_fn_c_try_compile "$LINENO"; then :
   7070   xorg_cv_cc_flag_unused_command_line_argument=yes
   7071 else
   7072   xorg_cv_cc_flag_unused_command_line_argument=no
   7073 fi
   7074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7075 fi
   7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7077 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7078 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7079 	CFLAGS="$xorg_testset_save_CFLAGS"
   7080 fi
   7081 
   7082 found="no"
   7083 
   7084 	if test $found = "no" ; then
   7085 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7086 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7087 		fi
   7088 
   7089 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7090 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7091 		fi
   7092 
   7093 		CFLAGS="$CFLAGS -Werror=init-self"
   7094 
   7095 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7096 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7097 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   7098 		if eval \${$cacheid+:} false; then :
   7099   $as_echo_n "(cached) " >&6
   7100 else
   7101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7102 /* end confdefs.h.  */
   7103 int i;
   7104 int
   7105 main ()
   7106 {
   7107 
   7108   ;
   7109   return 0;
   7110 }
   7111 _ACEOF
   7112 if ac_fn_c_try_link "$LINENO"; then :
   7113   eval $cacheid=yes
   7114 else
   7115   eval $cacheid=no
   7116 fi
   7117 rm -f core conftest.err conftest.$ac_objext \
   7118     conftest$ac_exeext conftest.$ac_ext
   7119 fi
   7120 
   7121 
   7122 		CFLAGS="$xorg_testset_save_CFLAGS"
   7123 
   7124 		eval supported=\$$cacheid
   7125 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7126 $as_echo "$supported" >&6; }
   7127 		if test "$supported" = "yes" ; then
   7128 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7129 			found="yes"
   7130 		fi
   7131 	fi
   7132 
   7133 
   7134 
   7135 
   7136 
   7137 
   7138 
   7139 
   7140 
   7141 
   7142 
   7143 
   7144 
   7145 
   7146 
   7147 xorg_testset_save_CFLAGS="$CFLAGS"
   7148 
   7149 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7150 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7151 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7152 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7153 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7154   $as_echo_n "(cached) " >&6
   7155 else
   7156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7157 /* end confdefs.h.  */
   7158 int i;
   7159 _ACEOF
   7160 if ac_fn_c_try_compile "$LINENO"; then :
   7161   xorg_cv_cc_flag_unknown_warning_option=yes
   7162 else
   7163   xorg_cv_cc_flag_unknown_warning_option=no
   7164 fi
   7165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7166 fi
   7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7168 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7169 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7170 	CFLAGS="$xorg_testset_save_CFLAGS"
   7171 fi
   7172 
   7173 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7174 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7175 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7176 	fi
   7177 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7178 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7179 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7180 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7181   $as_echo_n "(cached) " >&6
   7182 else
   7183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7184 /* end confdefs.h.  */
   7185 int i;
   7186 _ACEOF
   7187 if ac_fn_c_try_compile "$LINENO"; then :
   7188   xorg_cv_cc_flag_unused_command_line_argument=yes
   7189 else
   7190   xorg_cv_cc_flag_unused_command_line_argument=no
   7191 fi
   7192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7193 fi
   7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7195 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7196 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7197 	CFLAGS="$xorg_testset_save_CFLAGS"
   7198 fi
   7199 
   7200 found="no"
   7201 
   7202 	if test $found = "no" ; then
   7203 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7204 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7205 		fi
   7206 
   7207 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7208 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7209 		fi
   7210 
   7211 		CFLAGS="$CFLAGS -Werror=main"
   7212 
   7213 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7214 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7215 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   7216 		if eval \${$cacheid+:} false; then :
   7217   $as_echo_n "(cached) " >&6
   7218 else
   7219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7220 /* end confdefs.h.  */
   7221 int i;
   7222 int
   7223 main ()
   7224 {
   7225 
   7226   ;
   7227   return 0;
   7228 }
   7229 _ACEOF
   7230 if ac_fn_c_try_link "$LINENO"; then :
   7231   eval $cacheid=yes
   7232 else
   7233   eval $cacheid=no
   7234 fi
   7235 rm -f core conftest.err conftest.$ac_objext \
   7236     conftest$ac_exeext conftest.$ac_ext
   7237 fi
   7238 
   7239 
   7240 		CFLAGS="$xorg_testset_save_CFLAGS"
   7241 
   7242 		eval supported=\$$cacheid
   7243 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7244 $as_echo "$supported" >&6; }
   7245 		if test "$supported" = "yes" ; then
   7246 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7247 			found="yes"
   7248 		fi
   7249 	fi
   7250 
   7251 
   7252 
   7253 
   7254 
   7255 
   7256 
   7257 
   7258 
   7259 
   7260 
   7261 
   7262 
   7263 
   7264 
   7265 xorg_testset_save_CFLAGS="$CFLAGS"
   7266 
   7267 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7268 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7269 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7270 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7271 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7272   $as_echo_n "(cached) " >&6
   7273 else
   7274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7275 /* end confdefs.h.  */
   7276 int i;
   7277 _ACEOF
   7278 if ac_fn_c_try_compile "$LINENO"; then :
   7279   xorg_cv_cc_flag_unknown_warning_option=yes
   7280 else
   7281   xorg_cv_cc_flag_unknown_warning_option=no
   7282 fi
   7283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7284 fi
   7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7286 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7287 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7288 	CFLAGS="$xorg_testset_save_CFLAGS"
   7289 fi
   7290 
   7291 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7292 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7293 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7294 	fi
   7295 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7296 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7297 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7298 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7299   $as_echo_n "(cached) " >&6
   7300 else
   7301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7302 /* end confdefs.h.  */
   7303 int i;
   7304 _ACEOF
   7305 if ac_fn_c_try_compile "$LINENO"; then :
   7306   xorg_cv_cc_flag_unused_command_line_argument=yes
   7307 else
   7308   xorg_cv_cc_flag_unused_command_line_argument=no
   7309 fi
   7310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7311 fi
   7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7313 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7314 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7315 	CFLAGS="$xorg_testset_save_CFLAGS"
   7316 fi
   7317 
   7318 found="no"
   7319 
   7320 	if test $found = "no" ; then
   7321 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7322 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7323 		fi
   7324 
   7325 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7326 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7327 		fi
   7328 
   7329 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7330 
   7331 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7332 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7333 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   7334 		if eval \${$cacheid+:} false; then :
   7335   $as_echo_n "(cached) " >&6
   7336 else
   7337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7338 /* end confdefs.h.  */
   7339 int i;
   7340 int
   7341 main ()
   7342 {
   7343 
   7344   ;
   7345   return 0;
   7346 }
   7347 _ACEOF
   7348 if ac_fn_c_try_link "$LINENO"; then :
   7349   eval $cacheid=yes
   7350 else
   7351   eval $cacheid=no
   7352 fi
   7353 rm -f core conftest.err conftest.$ac_objext \
   7354     conftest$ac_exeext conftest.$ac_ext
   7355 fi
   7356 
   7357 
   7358 		CFLAGS="$xorg_testset_save_CFLAGS"
   7359 
   7360 		eval supported=\$$cacheid
   7361 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7362 $as_echo "$supported" >&6; }
   7363 		if test "$supported" = "yes" ; then
   7364 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7365 			found="yes"
   7366 		fi
   7367 	fi
   7368 
   7369 
   7370 
   7371 
   7372 
   7373 
   7374 
   7375 
   7376 
   7377 
   7378 
   7379 
   7380 
   7381 
   7382 
   7383 xorg_testset_save_CFLAGS="$CFLAGS"
   7384 
   7385 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7386 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7387 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7388 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7389 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7390   $as_echo_n "(cached) " >&6
   7391 else
   7392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7393 /* end confdefs.h.  */
   7394 int i;
   7395 _ACEOF
   7396 if ac_fn_c_try_compile "$LINENO"; then :
   7397   xorg_cv_cc_flag_unknown_warning_option=yes
   7398 else
   7399   xorg_cv_cc_flag_unknown_warning_option=no
   7400 fi
   7401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7402 fi
   7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7404 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7405 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7406 	CFLAGS="$xorg_testset_save_CFLAGS"
   7407 fi
   7408 
   7409 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7410 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7411 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7412 	fi
   7413 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7414 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7415 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7416 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7417   $as_echo_n "(cached) " >&6
   7418 else
   7419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7420 /* end confdefs.h.  */
   7421 int i;
   7422 _ACEOF
   7423 if ac_fn_c_try_compile "$LINENO"; then :
   7424   xorg_cv_cc_flag_unused_command_line_argument=yes
   7425 else
   7426   xorg_cv_cc_flag_unused_command_line_argument=no
   7427 fi
   7428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7429 fi
   7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7431 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7432 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7433 	CFLAGS="$xorg_testset_save_CFLAGS"
   7434 fi
   7435 
   7436 found="no"
   7437 
   7438 	if test $found = "no" ; then
   7439 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7440 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7441 		fi
   7442 
   7443 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7444 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7445 		fi
   7446 
   7447 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7448 
   7449 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7450 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7451 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   7452 		if eval \${$cacheid+:} false; then :
   7453   $as_echo_n "(cached) " >&6
   7454 else
   7455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7456 /* end confdefs.h.  */
   7457 int i;
   7458 int
   7459 main ()
   7460 {
   7461 
   7462   ;
   7463   return 0;
   7464 }
   7465 _ACEOF
   7466 if ac_fn_c_try_link "$LINENO"; then :
   7467   eval $cacheid=yes
   7468 else
   7469   eval $cacheid=no
   7470 fi
   7471 rm -f core conftest.err conftest.$ac_objext \
   7472     conftest$ac_exeext conftest.$ac_ext
   7473 fi
   7474 
   7475 
   7476 		CFLAGS="$xorg_testset_save_CFLAGS"
   7477 
   7478 		eval supported=\$$cacheid
   7479 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7480 $as_echo "$supported" >&6; }
   7481 		if test "$supported" = "yes" ; then
   7482 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7483 			found="yes"
   7484 		fi
   7485 	fi
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 xorg_testset_save_CFLAGS="$CFLAGS"
   7502 
   7503 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7504 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7505 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7506 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7507 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7508   $as_echo_n "(cached) " >&6
   7509 else
   7510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7511 /* end confdefs.h.  */
   7512 int i;
   7513 _ACEOF
   7514 if ac_fn_c_try_compile "$LINENO"; then :
   7515   xorg_cv_cc_flag_unknown_warning_option=yes
   7516 else
   7517   xorg_cv_cc_flag_unknown_warning_option=no
   7518 fi
   7519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7520 fi
   7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7522 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7523 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7524 	CFLAGS="$xorg_testset_save_CFLAGS"
   7525 fi
   7526 
   7527 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7528 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7529 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7530 	fi
   7531 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7532 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7533 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7534 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7535   $as_echo_n "(cached) " >&6
   7536 else
   7537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7538 /* end confdefs.h.  */
   7539 int i;
   7540 _ACEOF
   7541 if ac_fn_c_try_compile "$LINENO"; then :
   7542   xorg_cv_cc_flag_unused_command_line_argument=yes
   7543 else
   7544   xorg_cv_cc_flag_unused_command_line_argument=no
   7545 fi
   7546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7547 fi
   7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7549 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7550 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7551 	CFLAGS="$xorg_testset_save_CFLAGS"
   7552 fi
   7553 
   7554 found="no"
   7555 
   7556 	if test $found = "no" ; then
   7557 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7558 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7559 		fi
   7560 
   7561 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7562 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7563 		fi
   7564 
   7565 		CFLAGS="$CFLAGS -Werror=return-type"
   7566 
   7567 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7568 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7569 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   7570 		if eval \${$cacheid+:} false; then :
   7571   $as_echo_n "(cached) " >&6
   7572 else
   7573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7574 /* end confdefs.h.  */
   7575 int i;
   7576 int
   7577 main ()
   7578 {
   7579 
   7580   ;
   7581   return 0;
   7582 }
   7583 _ACEOF
   7584 if ac_fn_c_try_link "$LINENO"; then :
   7585   eval $cacheid=yes
   7586 else
   7587   eval $cacheid=no
   7588 fi
   7589 rm -f core conftest.err conftest.$ac_objext \
   7590     conftest$ac_exeext conftest.$ac_ext
   7591 fi
   7592 
   7593 
   7594 		CFLAGS="$xorg_testset_save_CFLAGS"
   7595 
   7596 		eval supported=\$$cacheid
   7597 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7598 $as_echo "$supported" >&6; }
   7599 		if test "$supported" = "yes" ; then
   7600 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7601 			found="yes"
   7602 		fi
   7603 	fi
   7604 
   7605 	if test $found = "no" ; then
   7606 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7607 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7608 		fi
   7609 
   7610 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7611 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7612 		fi
   7613 
   7614 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7615 
   7616 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7617 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7618 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   7619 		if eval \${$cacheid+:} false; then :
   7620   $as_echo_n "(cached) " >&6
   7621 else
   7622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7623 /* end confdefs.h.  */
   7624 int i;
   7625 int
   7626 main ()
   7627 {
   7628 
   7629   ;
   7630   return 0;
   7631 }
   7632 _ACEOF
   7633 if ac_fn_c_try_link "$LINENO"; then :
   7634   eval $cacheid=yes
   7635 else
   7636   eval $cacheid=no
   7637 fi
   7638 rm -f core conftest.err conftest.$ac_objext \
   7639     conftest$ac_exeext conftest.$ac_ext
   7640 fi
   7641 
   7642 
   7643 		CFLAGS="$xorg_testset_save_CFLAGS"
   7644 
   7645 		eval supported=\$$cacheid
   7646 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7647 $as_echo "$supported" >&6; }
   7648 		if test "$supported" = "yes" ; then
   7649 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7650 			found="yes"
   7651 		fi
   7652 	fi
   7653 
   7654 
   7655 
   7656 
   7657 
   7658 
   7659 
   7660 
   7661 
   7662 
   7663 
   7664 
   7665 
   7666 
   7667 
   7668 xorg_testset_save_CFLAGS="$CFLAGS"
   7669 
   7670 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7671 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7672 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7673 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7674 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7675   $as_echo_n "(cached) " >&6
   7676 else
   7677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7678 /* end confdefs.h.  */
   7679 int i;
   7680 _ACEOF
   7681 if ac_fn_c_try_compile "$LINENO"; then :
   7682   xorg_cv_cc_flag_unknown_warning_option=yes
   7683 else
   7684   xorg_cv_cc_flag_unknown_warning_option=no
   7685 fi
   7686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7687 fi
   7688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7689 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7690 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7691 	CFLAGS="$xorg_testset_save_CFLAGS"
   7692 fi
   7693 
   7694 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7695 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7696 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7697 	fi
   7698 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7699 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7700 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7701 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7702   $as_echo_n "(cached) " >&6
   7703 else
   7704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7705 /* end confdefs.h.  */
   7706 int i;
   7707 _ACEOF
   7708 if ac_fn_c_try_compile "$LINENO"; then :
   7709   xorg_cv_cc_flag_unused_command_line_argument=yes
   7710 else
   7711   xorg_cv_cc_flag_unused_command_line_argument=no
   7712 fi
   7713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7714 fi
   7715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7716 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7717 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7718 	CFLAGS="$xorg_testset_save_CFLAGS"
   7719 fi
   7720 
   7721 found="no"
   7722 
   7723 	if test $found = "no" ; then
   7724 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7725 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7726 		fi
   7727 
   7728 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7729 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7730 		fi
   7731 
   7732 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7733 
   7734 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7735 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7736 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   7737 		if eval \${$cacheid+:} false; then :
   7738   $as_echo_n "(cached) " >&6
   7739 else
   7740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7741 /* end confdefs.h.  */
   7742 int i;
   7743 int
   7744 main ()
   7745 {
   7746 
   7747   ;
   7748   return 0;
   7749 }
   7750 _ACEOF
   7751 if ac_fn_c_try_link "$LINENO"; then :
   7752   eval $cacheid=yes
   7753 else
   7754   eval $cacheid=no
   7755 fi
   7756 rm -f core conftest.err conftest.$ac_objext \
   7757     conftest$ac_exeext conftest.$ac_ext
   7758 fi
   7759 
   7760 
   7761 		CFLAGS="$xorg_testset_save_CFLAGS"
   7762 
   7763 		eval supported=\$$cacheid
   7764 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7765 $as_echo "$supported" >&6; }
   7766 		if test "$supported" = "yes" ; then
   7767 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7768 			found="yes"
   7769 		fi
   7770 	fi
   7771 
   7772 
   7773 
   7774 
   7775 
   7776 
   7777 
   7778 
   7779 
   7780 
   7781 
   7782 
   7783 
   7784 
   7785 
   7786 xorg_testset_save_CFLAGS="$CFLAGS"
   7787 
   7788 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7789 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7790 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7791 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7792 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7793   $as_echo_n "(cached) " >&6
   7794 else
   7795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7796 /* end confdefs.h.  */
   7797 int i;
   7798 _ACEOF
   7799 if ac_fn_c_try_compile "$LINENO"; then :
   7800   xorg_cv_cc_flag_unknown_warning_option=yes
   7801 else
   7802   xorg_cv_cc_flag_unknown_warning_option=no
   7803 fi
   7804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7805 fi
   7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7807 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7808 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7809 	CFLAGS="$xorg_testset_save_CFLAGS"
   7810 fi
   7811 
   7812 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7813 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7814 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7815 	fi
   7816 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7817 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7818 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7819 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7820   $as_echo_n "(cached) " >&6
   7821 else
   7822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7823 /* end confdefs.h.  */
   7824 int i;
   7825 _ACEOF
   7826 if ac_fn_c_try_compile "$LINENO"; then :
   7827   xorg_cv_cc_flag_unused_command_line_argument=yes
   7828 else
   7829   xorg_cv_cc_flag_unused_command_line_argument=no
   7830 fi
   7831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7832 fi
   7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7834 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7835 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7836 	CFLAGS="$xorg_testset_save_CFLAGS"
   7837 fi
   7838 
   7839 found="no"
   7840 
   7841 	if test $found = "no" ; then
   7842 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7843 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7844 		fi
   7845 
   7846 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7847 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7848 		fi
   7849 
   7850 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7851 
   7852 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7853 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7854 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   7855 		if eval \${$cacheid+:} false; then :
   7856   $as_echo_n "(cached) " >&6
   7857 else
   7858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7859 /* end confdefs.h.  */
   7860 int i;
   7861 int
   7862 main ()
   7863 {
   7864 
   7865   ;
   7866   return 0;
   7867 }
   7868 _ACEOF
   7869 if ac_fn_c_try_link "$LINENO"; then :
   7870   eval $cacheid=yes
   7871 else
   7872   eval $cacheid=no
   7873 fi
   7874 rm -f core conftest.err conftest.$ac_objext \
   7875     conftest$ac_exeext conftest.$ac_ext
   7876 fi
   7877 
   7878 
   7879 		CFLAGS="$xorg_testset_save_CFLAGS"
   7880 
   7881 		eval supported=\$$cacheid
   7882 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7883 $as_echo "$supported" >&6; }
   7884 		if test "$supported" = "yes" ; then
   7885 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7886 			found="yes"
   7887 		fi
   7888 	fi
   7889 
   7890 
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 
   7897 
   7898 
   7899 
   7900 
   7901 
   7902 
   7903 
   7904 xorg_testset_save_CFLAGS="$CFLAGS"
   7905 
   7906 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7907 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7908 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7909 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7910 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7911   $as_echo_n "(cached) " >&6
   7912 else
   7913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7914 /* end confdefs.h.  */
   7915 int i;
   7916 _ACEOF
   7917 if ac_fn_c_try_compile "$LINENO"; then :
   7918   xorg_cv_cc_flag_unknown_warning_option=yes
   7919 else
   7920   xorg_cv_cc_flag_unknown_warning_option=no
   7921 fi
   7922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7923 fi
   7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7925 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7926 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7927 	CFLAGS="$xorg_testset_save_CFLAGS"
   7928 fi
   7929 
   7930 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7931 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7932 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7933 	fi
   7934 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7935 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7936 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7937 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7938   $as_echo_n "(cached) " >&6
   7939 else
   7940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7941 /* end confdefs.h.  */
   7942 int i;
   7943 _ACEOF
   7944 if ac_fn_c_try_compile "$LINENO"; then :
   7945   xorg_cv_cc_flag_unused_command_line_argument=yes
   7946 else
   7947   xorg_cv_cc_flag_unused_command_line_argument=no
   7948 fi
   7949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7950 fi
   7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7952 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7953 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7954 	CFLAGS="$xorg_testset_save_CFLAGS"
   7955 fi
   7956 
   7957 found="no"
   7958 
   7959 	if test $found = "no" ; then
   7960 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7961 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7962 		fi
   7963 
   7964 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7965 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7966 		fi
   7967 
   7968 		CFLAGS="$CFLAGS -Werror=write-strings"
   7969 
   7970 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   7971 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   7972 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   7973 		if eval \${$cacheid+:} false; then :
   7974   $as_echo_n "(cached) " >&6
   7975 else
   7976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7977 /* end confdefs.h.  */
   7978 int i;
   7979 int
   7980 main ()
   7981 {
   7982 
   7983   ;
   7984   return 0;
   7985 }
   7986 _ACEOF
   7987 if ac_fn_c_try_link "$LINENO"; then :
   7988   eval $cacheid=yes
   7989 else
   7990   eval $cacheid=no
   7991 fi
   7992 rm -f core conftest.err conftest.$ac_objext \
   7993     conftest$ac_exeext conftest.$ac_ext
   7994 fi
   7995 
   7996 
   7997 		CFLAGS="$xorg_testset_save_CFLAGS"
   7998 
   7999 		eval supported=\$$cacheid
   8000 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8001 $as_echo "$supported" >&6; }
   8002 		if test "$supported" = "yes" ; then
   8003 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8004 			found="yes"
   8005 		fi
   8006 	fi
   8007 
   8008 
   8009 
   8010 
   8011 
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 xorg_testset_save_CFLAGS="$CFLAGS"
   8023 
   8024 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8025 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8026 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8027 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8028 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8029   $as_echo_n "(cached) " >&6
   8030 else
   8031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8032 /* end confdefs.h.  */
   8033 int i;
   8034 _ACEOF
   8035 if ac_fn_c_try_compile "$LINENO"; then :
   8036   xorg_cv_cc_flag_unknown_warning_option=yes
   8037 else
   8038   xorg_cv_cc_flag_unknown_warning_option=no
   8039 fi
   8040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8041 fi
   8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8043 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8044 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8045 	CFLAGS="$xorg_testset_save_CFLAGS"
   8046 fi
   8047 
   8048 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8049 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8050 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8051 	fi
   8052 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8053 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8054 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8055 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8056   $as_echo_n "(cached) " >&6
   8057 else
   8058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8059 /* end confdefs.h.  */
   8060 int i;
   8061 _ACEOF
   8062 if ac_fn_c_try_compile "$LINENO"; then :
   8063   xorg_cv_cc_flag_unused_command_line_argument=yes
   8064 else
   8065   xorg_cv_cc_flag_unused_command_line_argument=no
   8066 fi
   8067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8068 fi
   8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8070 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8071 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8072 	CFLAGS="$xorg_testset_save_CFLAGS"
   8073 fi
   8074 
   8075 found="no"
   8076 
   8077 	if test $found = "no" ; then
   8078 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8079 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8080 		fi
   8081 
   8082 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8083 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8084 		fi
   8085 
   8086 		CFLAGS="$CFLAGS -Werror=address"
   8087 
   8088 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8089 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8090 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   8091 		if eval \${$cacheid+:} false; then :
   8092   $as_echo_n "(cached) " >&6
   8093 else
   8094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8095 /* end confdefs.h.  */
   8096 int i;
   8097 int
   8098 main ()
   8099 {
   8100 
   8101   ;
   8102   return 0;
   8103 }
   8104 _ACEOF
   8105 if ac_fn_c_try_link "$LINENO"; then :
   8106   eval $cacheid=yes
   8107 else
   8108   eval $cacheid=no
   8109 fi
   8110 rm -f core conftest.err conftest.$ac_objext \
   8111     conftest$ac_exeext conftest.$ac_ext
   8112 fi
   8113 
   8114 
   8115 		CFLAGS="$xorg_testset_save_CFLAGS"
   8116 
   8117 		eval supported=\$$cacheid
   8118 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8119 $as_echo "$supported" >&6; }
   8120 		if test "$supported" = "yes" ; then
   8121 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8122 			found="yes"
   8123 		fi
   8124 	fi
   8125 
   8126 
   8127 
   8128 
   8129 
   8130 
   8131 
   8132 
   8133 
   8134 
   8135 
   8136 
   8137 
   8138 
   8139 
   8140 xorg_testset_save_CFLAGS="$CFLAGS"
   8141 
   8142 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8143 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8144 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8145 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8146 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8147   $as_echo_n "(cached) " >&6
   8148 else
   8149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8150 /* end confdefs.h.  */
   8151 int i;
   8152 _ACEOF
   8153 if ac_fn_c_try_compile "$LINENO"; then :
   8154   xorg_cv_cc_flag_unknown_warning_option=yes
   8155 else
   8156   xorg_cv_cc_flag_unknown_warning_option=no
   8157 fi
   8158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8159 fi
   8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8161 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8162 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8163 	CFLAGS="$xorg_testset_save_CFLAGS"
   8164 fi
   8165 
   8166 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8167 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8168 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8169 	fi
   8170 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8171 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8172 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8173 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8174   $as_echo_n "(cached) " >&6
   8175 else
   8176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8177 /* end confdefs.h.  */
   8178 int i;
   8179 _ACEOF
   8180 if ac_fn_c_try_compile "$LINENO"; then :
   8181   xorg_cv_cc_flag_unused_command_line_argument=yes
   8182 else
   8183   xorg_cv_cc_flag_unused_command_line_argument=no
   8184 fi
   8185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8186 fi
   8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8188 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8189 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8190 	CFLAGS="$xorg_testset_save_CFLAGS"
   8191 fi
   8192 
   8193 found="no"
   8194 
   8195 	if test $found = "no" ; then
   8196 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8197 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8198 		fi
   8199 
   8200 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8201 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8202 		fi
   8203 
   8204 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8205 
   8206 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8207 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8208 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   8209 		if eval \${$cacheid+:} false; then :
   8210   $as_echo_n "(cached) " >&6
   8211 else
   8212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8213 /* end confdefs.h.  */
   8214 int i;
   8215 int
   8216 main ()
   8217 {
   8218 
   8219   ;
   8220   return 0;
   8221 }
   8222 _ACEOF
   8223 if ac_fn_c_try_link "$LINENO"; then :
   8224   eval $cacheid=yes
   8225 else
   8226   eval $cacheid=no
   8227 fi
   8228 rm -f core conftest.err conftest.$ac_objext \
   8229     conftest$ac_exeext conftest.$ac_ext
   8230 fi
   8231 
   8232 
   8233 		CFLAGS="$xorg_testset_save_CFLAGS"
   8234 
   8235 		eval supported=\$$cacheid
   8236 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8237 $as_echo "$supported" >&6; }
   8238 		if test "$supported" = "yes" ; then
   8239 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8240 			found="yes"
   8241 		fi
   8242 	fi
   8243 
   8244 	if test $found = "no" ; then
   8245 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8246 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8247 		fi
   8248 
   8249 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8250 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8251 		fi
   8252 
   8253 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8254 
   8255 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8256 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8257 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   8258 		if eval \${$cacheid+:} false; then :
   8259   $as_echo_n "(cached) " >&6
   8260 else
   8261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8262 /* end confdefs.h.  */
   8263 int i;
   8264 int
   8265 main ()
   8266 {
   8267 
   8268   ;
   8269   return 0;
   8270 }
   8271 _ACEOF
   8272 if ac_fn_c_try_link "$LINENO"; then :
   8273   eval $cacheid=yes
   8274 else
   8275   eval $cacheid=no
   8276 fi
   8277 rm -f core conftest.err conftest.$ac_objext \
   8278     conftest$ac_exeext conftest.$ac_ext
   8279 fi
   8280 
   8281 
   8282 		CFLAGS="$xorg_testset_save_CFLAGS"
   8283 
   8284 		eval supported=\$$cacheid
   8285 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8286 $as_echo "$supported" >&6; }
   8287 		if test "$supported" = "yes" ; then
   8288 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8289 			found="yes"
   8290 		fi
   8291 	fi
   8292 
   8293 
   8294 
   8295 
   8296 
   8297 
   8298 
   8299 
   8300 
   8301 
   8302 
   8303 
   8304 
   8305 
   8306 
   8307 xorg_testset_save_CFLAGS="$CFLAGS"
   8308 
   8309 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8310 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8311 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8312 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8313 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8314   $as_echo_n "(cached) " >&6
   8315 else
   8316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8317 /* end confdefs.h.  */
   8318 int i;
   8319 _ACEOF
   8320 if ac_fn_c_try_compile "$LINENO"; then :
   8321   xorg_cv_cc_flag_unknown_warning_option=yes
   8322 else
   8323   xorg_cv_cc_flag_unknown_warning_option=no
   8324 fi
   8325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8326 fi
   8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8328 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8329 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8330 	CFLAGS="$xorg_testset_save_CFLAGS"
   8331 fi
   8332 
   8333 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8334 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8335 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8336 	fi
   8337 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8338 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8339 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8340 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8341   $as_echo_n "(cached) " >&6
   8342 else
   8343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8344 /* end confdefs.h.  */
   8345 int i;
   8346 _ACEOF
   8347 if ac_fn_c_try_compile "$LINENO"; then :
   8348   xorg_cv_cc_flag_unused_command_line_argument=yes
   8349 else
   8350   xorg_cv_cc_flag_unused_command_line_argument=no
   8351 fi
   8352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8353 fi
   8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8355 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8356 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8357 	CFLAGS="$xorg_testset_save_CFLAGS"
   8358 fi
   8359 
   8360 found="no"
   8361 
   8362 	if test $found = "no" ; then
   8363 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8364 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8365 		fi
   8366 
   8367 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8368 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8369 		fi
   8370 
   8371 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8372 
   8373 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8374 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8375 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   8376 		if eval \${$cacheid+:} false; then :
   8377   $as_echo_n "(cached) " >&6
   8378 else
   8379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8380 /* end confdefs.h.  */
   8381 int i;
   8382 int
   8383 main ()
   8384 {
   8385 
   8386   ;
   8387   return 0;
   8388 }
   8389 _ACEOF
   8390 if ac_fn_c_try_link "$LINENO"; then :
   8391   eval $cacheid=yes
   8392 else
   8393   eval $cacheid=no
   8394 fi
   8395 rm -f core conftest.err conftest.$ac_objext \
   8396     conftest$ac_exeext conftest.$ac_ext
   8397 fi
   8398 
   8399 
   8400 		CFLAGS="$xorg_testset_save_CFLAGS"
   8401 
   8402 		eval supported=\$$cacheid
   8403 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8404 $as_echo "$supported" >&6; }
   8405 		if test "$supported" = "yes" ; then
   8406 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8407 			found="yes"
   8408 		fi
   8409 	fi
   8410 
   8411  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8412 else
   8413 { $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
   8414 $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;}
   8415 
   8416 
   8417 
   8418 
   8419 
   8420 
   8421 
   8422 
   8423 
   8424 
   8425 
   8426 
   8427 
   8428 xorg_testset_save_CFLAGS="$CFLAGS"
   8429 
   8430 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8431 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8432 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8433 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8434 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8435   $as_echo_n "(cached) " >&6
   8436 else
   8437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8438 /* end confdefs.h.  */
   8439 int i;
   8440 _ACEOF
   8441 if ac_fn_c_try_compile "$LINENO"; then :
   8442   xorg_cv_cc_flag_unknown_warning_option=yes
   8443 else
   8444   xorg_cv_cc_flag_unknown_warning_option=no
   8445 fi
   8446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8447 fi
   8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8449 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8450 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8451 	CFLAGS="$xorg_testset_save_CFLAGS"
   8452 fi
   8453 
   8454 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8455 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8456 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8457 	fi
   8458 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8459 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8460 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8461 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8462   $as_echo_n "(cached) " >&6
   8463 else
   8464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8465 /* end confdefs.h.  */
   8466 int i;
   8467 _ACEOF
   8468 if ac_fn_c_try_compile "$LINENO"; then :
   8469   xorg_cv_cc_flag_unused_command_line_argument=yes
   8470 else
   8471   xorg_cv_cc_flag_unused_command_line_argument=no
   8472 fi
   8473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8474 fi
   8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8476 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8477 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8478 	CFLAGS="$xorg_testset_save_CFLAGS"
   8479 fi
   8480 
   8481 found="no"
   8482 
   8483 	if test $found = "no" ; then
   8484 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8485 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8486 		fi
   8487 
   8488 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8489 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8490 		fi
   8491 
   8492 		CFLAGS="$CFLAGS -Wimplicit"
   8493 
   8494 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8495 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8496 		cacheid=xorg_cv_cc_flag__Wimplicit
   8497 		if eval \${$cacheid+:} false; then :
   8498   $as_echo_n "(cached) " >&6
   8499 else
   8500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8501 /* end confdefs.h.  */
   8502 int i;
   8503 int
   8504 main ()
   8505 {
   8506 
   8507   ;
   8508   return 0;
   8509 }
   8510 _ACEOF
   8511 if ac_fn_c_try_link "$LINENO"; then :
   8512   eval $cacheid=yes
   8513 else
   8514   eval $cacheid=no
   8515 fi
   8516 rm -f core conftest.err conftest.$ac_objext \
   8517     conftest$ac_exeext conftest.$ac_ext
   8518 fi
   8519 
   8520 
   8521 		CFLAGS="$xorg_testset_save_CFLAGS"
   8522 
   8523 		eval supported=\$$cacheid
   8524 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8525 $as_echo "$supported" >&6; }
   8526 		if test "$supported" = "yes" ; then
   8527 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8528 			found="yes"
   8529 		fi
   8530 	fi
   8531 
   8532 
   8533 
   8534 
   8535 
   8536 
   8537 
   8538 
   8539 
   8540 
   8541 
   8542 
   8543 
   8544 
   8545 
   8546 xorg_testset_save_CFLAGS="$CFLAGS"
   8547 
   8548 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8549 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8550 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8551 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8552 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8553   $as_echo_n "(cached) " >&6
   8554 else
   8555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8556 /* end confdefs.h.  */
   8557 int i;
   8558 _ACEOF
   8559 if ac_fn_c_try_compile "$LINENO"; then :
   8560   xorg_cv_cc_flag_unknown_warning_option=yes
   8561 else
   8562   xorg_cv_cc_flag_unknown_warning_option=no
   8563 fi
   8564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8565 fi
   8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8567 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8568 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8569 	CFLAGS="$xorg_testset_save_CFLAGS"
   8570 fi
   8571 
   8572 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8573 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8574 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8575 	fi
   8576 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8577 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8578 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8579 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8580   $as_echo_n "(cached) " >&6
   8581 else
   8582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8583 /* end confdefs.h.  */
   8584 int i;
   8585 _ACEOF
   8586 if ac_fn_c_try_compile "$LINENO"; then :
   8587   xorg_cv_cc_flag_unused_command_line_argument=yes
   8588 else
   8589   xorg_cv_cc_flag_unused_command_line_argument=no
   8590 fi
   8591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8592 fi
   8593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8594 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8595 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8596 	CFLAGS="$xorg_testset_save_CFLAGS"
   8597 fi
   8598 
   8599 found="no"
   8600 
   8601 	if test $found = "no" ; then
   8602 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8603 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8604 		fi
   8605 
   8606 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8607 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8608 		fi
   8609 
   8610 		CFLAGS="$CFLAGS -Wnonnull"
   8611 
   8612 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8613 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8614 		cacheid=xorg_cv_cc_flag__Wnonnull
   8615 		if eval \${$cacheid+:} false; then :
   8616   $as_echo_n "(cached) " >&6
   8617 else
   8618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8619 /* end confdefs.h.  */
   8620 int i;
   8621 int
   8622 main ()
   8623 {
   8624 
   8625   ;
   8626   return 0;
   8627 }
   8628 _ACEOF
   8629 if ac_fn_c_try_link "$LINENO"; then :
   8630   eval $cacheid=yes
   8631 else
   8632   eval $cacheid=no
   8633 fi
   8634 rm -f core conftest.err conftest.$ac_objext \
   8635     conftest$ac_exeext conftest.$ac_ext
   8636 fi
   8637 
   8638 
   8639 		CFLAGS="$xorg_testset_save_CFLAGS"
   8640 
   8641 		eval supported=\$$cacheid
   8642 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8643 $as_echo "$supported" >&6; }
   8644 		if test "$supported" = "yes" ; then
   8645 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8646 			found="yes"
   8647 		fi
   8648 	fi
   8649 
   8650 
   8651 
   8652 
   8653 
   8654 
   8655 
   8656 
   8657 
   8658 
   8659 
   8660 
   8661 
   8662 
   8663 
   8664 xorg_testset_save_CFLAGS="$CFLAGS"
   8665 
   8666 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8667 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8668 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8669 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8670 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8671   $as_echo_n "(cached) " >&6
   8672 else
   8673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8674 /* end confdefs.h.  */
   8675 int i;
   8676 _ACEOF
   8677 if ac_fn_c_try_compile "$LINENO"; then :
   8678   xorg_cv_cc_flag_unknown_warning_option=yes
   8679 else
   8680   xorg_cv_cc_flag_unknown_warning_option=no
   8681 fi
   8682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8683 fi
   8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8685 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8686 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8687 	CFLAGS="$xorg_testset_save_CFLAGS"
   8688 fi
   8689 
   8690 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8691 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8692 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8693 	fi
   8694 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8695 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8696 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8697 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8698   $as_echo_n "(cached) " >&6
   8699 else
   8700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8701 /* end confdefs.h.  */
   8702 int i;
   8703 _ACEOF
   8704 if ac_fn_c_try_compile "$LINENO"; then :
   8705   xorg_cv_cc_flag_unused_command_line_argument=yes
   8706 else
   8707   xorg_cv_cc_flag_unused_command_line_argument=no
   8708 fi
   8709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8710 fi
   8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8712 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8713 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8714 	CFLAGS="$xorg_testset_save_CFLAGS"
   8715 fi
   8716 
   8717 found="no"
   8718 
   8719 	if test $found = "no" ; then
   8720 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8721 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8722 		fi
   8723 
   8724 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8725 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8726 		fi
   8727 
   8728 		CFLAGS="$CFLAGS -Winit-self"
   8729 
   8730 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8731 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8732 		cacheid=xorg_cv_cc_flag__Winit_self
   8733 		if eval \${$cacheid+:} false; then :
   8734   $as_echo_n "(cached) " >&6
   8735 else
   8736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8737 /* end confdefs.h.  */
   8738 int i;
   8739 int
   8740 main ()
   8741 {
   8742 
   8743   ;
   8744   return 0;
   8745 }
   8746 _ACEOF
   8747 if ac_fn_c_try_link "$LINENO"; then :
   8748   eval $cacheid=yes
   8749 else
   8750   eval $cacheid=no
   8751 fi
   8752 rm -f core conftest.err conftest.$ac_objext \
   8753     conftest$ac_exeext conftest.$ac_ext
   8754 fi
   8755 
   8756 
   8757 		CFLAGS="$xorg_testset_save_CFLAGS"
   8758 
   8759 		eval supported=\$$cacheid
   8760 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8761 $as_echo "$supported" >&6; }
   8762 		if test "$supported" = "yes" ; then
   8763 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8764 			found="yes"
   8765 		fi
   8766 	fi
   8767 
   8768 
   8769 
   8770 
   8771 
   8772 
   8773 
   8774 
   8775 
   8776 
   8777 
   8778 
   8779 
   8780 
   8781 
   8782 xorg_testset_save_CFLAGS="$CFLAGS"
   8783 
   8784 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8785 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8786 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8787 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8788 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8789   $as_echo_n "(cached) " >&6
   8790 else
   8791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8792 /* end confdefs.h.  */
   8793 int i;
   8794 _ACEOF
   8795 if ac_fn_c_try_compile "$LINENO"; then :
   8796   xorg_cv_cc_flag_unknown_warning_option=yes
   8797 else
   8798   xorg_cv_cc_flag_unknown_warning_option=no
   8799 fi
   8800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8801 fi
   8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8803 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8804 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8805 	CFLAGS="$xorg_testset_save_CFLAGS"
   8806 fi
   8807 
   8808 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8809 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8810 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8811 	fi
   8812 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8813 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8814 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8815 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8816   $as_echo_n "(cached) " >&6
   8817 else
   8818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8819 /* end confdefs.h.  */
   8820 int i;
   8821 _ACEOF
   8822 if ac_fn_c_try_compile "$LINENO"; then :
   8823   xorg_cv_cc_flag_unused_command_line_argument=yes
   8824 else
   8825   xorg_cv_cc_flag_unused_command_line_argument=no
   8826 fi
   8827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8828 fi
   8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8830 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8831 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8832 	CFLAGS="$xorg_testset_save_CFLAGS"
   8833 fi
   8834 
   8835 found="no"
   8836 
   8837 	if test $found = "no" ; then
   8838 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8839 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8840 		fi
   8841 
   8842 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8843 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8844 		fi
   8845 
   8846 		CFLAGS="$CFLAGS -Wmain"
   8847 
   8848 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8849 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8850 		cacheid=xorg_cv_cc_flag__Wmain
   8851 		if eval \${$cacheid+:} false; then :
   8852   $as_echo_n "(cached) " >&6
   8853 else
   8854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8855 /* end confdefs.h.  */
   8856 int i;
   8857 int
   8858 main ()
   8859 {
   8860 
   8861   ;
   8862   return 0;
   8863 }
   8864 _ACEOF
   8865 if ac_fn_c_try_link "$LINENO"; then :
   8866   eval $cacheid=yes
   8867 else
   8868   eval $cacheid=no
   8869 fi
   8870 rm -f core conftest.err conftest.$ac_objext \
   8871     conftest$ac_exeext conftest.$ac_ext
   8872 fi
   8873 
   8874 
   8875 		CFLAGS="$xorg_testset_save_CFLAGS"
   8876 
   8877 		eval supported=\$$cacheid
   8878 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8879 $as_echo "$supported" >&6; }
   8880 		if test "$supported" = "yes" ; then
   8881 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8882 			found="yes"
   8883 		fi
   8884 	fi
   8885 
   8886 
   8887 
   8888 
   8889 
   8890 
   8891 
   8892 
   8893 
   8894 
   8895 
   8896 
   8897 
   8898 
   8899 
   8900 xorg_testset_save_CFLAGS="$CFLAGS"
   8901 
   8902 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8903 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8904 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8905 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8906 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8907   $as_echo_n "(cached) " >&6
   8908 else
   8909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8910 /* end confdefs.h.  */
   8911 int i;
   8912 _ACEOF
   8913 if ac_fn_c_try_compile "$LINENO"; then :
   8914   xorg_cv_cc_flag_unknown_warning_option=yes
   8915 else
   8916   xorg_cv_cc_flag_unknown_warning_option=no
   8917 fi
   8918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8919 fi
   8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8921 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8922 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8923 	CFLAGS="$xorg_testset_save_CFLAGS"
   8924 fi
   8925 
   8926 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8927 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8928 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8929 	fi
   8930 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8931 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8932 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8933 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8934   $as_echo_n "(cached) " >&6
   8935 else
   8936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8937 /* end confdefs.h.  */
   8938 int i;
   8939 _ACEOF
   8940 if ac_fn_c_try_compile "$LINENO"; then :
   8941   xorg_cv_cc_flag_unused_command_line_argument=yes
   8942 else
   8943   xorg_cv_cc_flag_unused_command_line_argument=no
   8944 fi
   8945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8946 fi
   8947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8948 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8949 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8950 	CFLAGS="$xorg_testset_save_CFLAGS"
   8951 fi
   8952 
   8953 found="no"
   8954 
   8955 	if test $found = "no" ; then
   8956 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8957 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8958 		fi
   8959 
   8960 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8961 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8962 		fi
   8963 
   8964 		CFLAGS="$CFLAGS -Wmissing-braces"
   8965 
   8966 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   8967 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   8968 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   8969 		if eval \${$cacheid+:} false; then :
   8970   $as_echo_n "(cached) " >&6
   8971 else
   8972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8973 /* end confdefs.h.  */
   8974 int i;
   8975 int
   8976 main ()
   8977 {
   8978 
   8979   ;
   8980   return 0;
   8981 }
   8982 _ACEOF
   8983 if ac_fn_c_try_link "$LINENO"; then :
   8984   eval $cacheid=yes
   8985 else
   8986   eval $cacheid=no
   8987 fi
   8988 rm -f core conftest.err conftest.$ac_objext \
   8989     conftest$ac_exeext conftest.$ac_ext
   8990 fi
   8991 
   8992 
   8993 		CFLAGS="$xorg_testset_save_CFLAGS"
   8994 
   8995 		eval supported=\$$cacheid
   8996 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8997 $as_echo "$supported" >&6; }
   8998 		if test "$supported" = "yes" ; then
   8999 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9000 			found="yes"
   9001 		fi
   9002 	fi
   9003 
   9004 
   9005 
   9006 
   9007 
   9008 
   9009 
   9010 
   9011 
   9012 
   9013 
   9014 
   9015 
   9016 
   9017 
   9018 xorg_testset_save_CFLAGS="$CFLAGS"
   9019 
   9020 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9021 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9022 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9023 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9024 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9025   $as_echo_n "(cached) " >&6
   9026 else
   9027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9028 /* end confdefs.h.  */
   9029 int i;
   9030 _ACEOF
   9031 if ac_fn_c_try_compile "$LINENO"; then :
   9032   xorg_cv_cc_flag_unknown_warning_option=yes
   9033 else
   9034   xorg_cv_cc_flag_unknown_warning_option=no
   9035 fi
   9036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9037 fi
   9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9039 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9040 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9041 	CFLAGS="$xorg_testset_save_CFLAGS"
   9042 fi
   9043 
   9044 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9045 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9046 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9047 	fi
   9048 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9049 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9050 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9051 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9052   $as_echo_n "(cached) " >&6
   9053 else
   9054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9055 /* end confdefs.h.  */
   9056 int i;
   9057 _ACEOF
   9058 if ac_fn_c_try_compile "$LINENO"; then :
   9059   xorg_cv_cc_flag_unused_command_line_argument=yes
   9060 else
   9061   xorg_cv_cc_flag_unused_command_line_argument=no
   9062 fi
   9063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9064 fi
   9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9066 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9067 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9068 	CFLAGS="$xorg_testset_save_CFLAGS"
   9069 fi
   9070 
   9071 found="no"
   9072 
   9073 	if test $found = "no" ; then
   9074 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9075 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9076 		fi
   9077 
   9078 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9079 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9080 		fi
   9081 
   9082 		CFLAGS="$CFLAGS -Wsequence-point"
   9083 
   9084 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9085 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9086 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9087 		if eval \${$cacheid+:} false; then :
   9088   $as_echo_n "(cached) " >&6
   9089 else
   9090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9091 /* end confdefs.h.  */
   9092 int i;
   9093 int
   9094 main ()
   9095 {
   9096 
   9097   ;
   9098   return 0;
   9099 }
   9100 _ACEOF
   9101 if ac_fn_c_try_link "$LINENO"; then :
   9102   eval $cacheid=yes
   9103 else
   9104   eval $cacheid=no
   9105 fi
   9106 rm -f core conftest.err conftest.$ac_objext \
   9107     conftest$ac_exeext conftest.$ac_ext
   9108 fi
   9109 
   9110 
   9111 		CFLAGS="$xorg_testset_save_CFLAGS"
   9112 
   9113 		eval supported=\$$cacheid
   9114 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9115 $as_echo "$supported" >&6; }
   9116 		if test "$supported" = "yes" ; then
   9117 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9118 			found="yes"
   9119 		fi
   9120 	fi
   9121 
   9122 
   9123 
   9124 
   9125 
   9126 
   9127 
   9128 
   9129 
   9130 
   9131 
   9132 
   9133 
   9134 
   9135 
   9136 xorg_testset_save_CFLAGS="$CFLAGS"
   9137 
   9138 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9139 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9140 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9141 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9142 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9143   $as_echo_n "(cached) " >&6
   9144 else
   9145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9146 /* end confdefs.h.  */
   9147 int i;
   9148 _ACEOF
   9149 if ac_fn_c_try_compile "$LINENO"; then :
   9150   xorg_cv_cc_flag_unknown_warning_option=yes
   9151 else
   9152   xorg_cv_cc_flag_unknown_warning_option=no
   9153 fi
   9154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9155 fi
   9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9157 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9158 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9159 	CFLAGS="$xorg_testset_save_CFLAGS"
   9160 fi
   9161 
   9162 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9163 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9164 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9165 	fi
   9166 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9167 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9168 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9169 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9170   $as_echo_n "(cached) " >&6
   9171 else
   9172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9173 /* end confdefs.h.  */
   9174 int i;
   9175 _ACEOF
   9176 if ac_fn_c_try_compile "$LINENO"; then :
   9177   xorg_cv_cc_flag_unused_command_line_argument=yes
   9178 else
   9179   xorg_cv_cc_flag_unused_command_line_argument=no
   9180 fi
   9181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9182 fi
   9183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9184 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9185 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9186 	CFLAGS="$xorg_testset_save_CFLAGS"
   9187 fi
   9188 
   9189 found="no"
   9190 
   9191 	if test $found = "no" ; then
   9192 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9193 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9194 		fi
   9195 
   9196 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9197 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9198 		fi
   9199 
   9200 		CFLAGS="$CFLAGS -Wreturn-type"
   9201 
   9202 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9203 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9204 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9205 		if eval \${$cacheid+:} false; then :
   9206   $as_echo_n "(cached) " >&6
   9207 else
   9208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9209 /* end confdefs.h.  */
   9210 int i;
   9211 int
   9212 main ()
   9213 {
   9214 
   9215   ;
   9216   return 0;
   9217 }
   9218 _ACEOF
   9219 if ac_fn_c_try_link "$LINENO"; then :
   9220   eval $cacheid=yes
   9221 else
   9222   eval $cacheid=no
   9223 fi
   9224 rm -f core conftest.err conftest.$ac_objext \
   9225     conftest$ac_exeext conftest.$ac_ext
   9226 fi
   9227 
   9228 
   9229 		CFLAGS="$xorg_testset_save_CFLAGS"
   9230 
   9231 		eval supported=\$$cacheid
   9232 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9233 $as_echo "$supported" >&6; }
   9234 		if test "$supported" = "yes" ; then
   9235 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9236 			found="yes"
   9237 		fi
   9238 	fi
   9239 
   9240 
   9241 
   9242 
   9243 
   9244 
   9245 
   9246 
   9247 
   9248 
   9249 
   9250 
   9251 
   9252 
   9253 
   9254 xorg_testset_save_CFLAGS="$CFLAGS"
   9255 
   9256 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9257 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9258 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9259 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9260 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9261   $as_echo_n "(cached) " >&6
   9262 else
   9263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9264 /* end confdefs.h.  */
   9265 int i;
   9266 _ACEOF
   9267 if ac_fn_c_try_compile "$LINENO"; then :
   9268   xorg_cv_cc_flag_unknown_warning_option=yes
   9269 else
   9270   xorg_cv_cc_flag_unknown_warning_option=no
   9271 fi
   9272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9273 fi
   9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9275 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9276 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9277 	CFLAGS="$xorg_testset_save_CFLAGS"
   9278 fi
   9279 
   9280 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9281 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9282 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9283 	fi
   9284 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9285 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9286 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9287 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9288   $as_echo_n "(cached) " >&6
   9289 else
   9290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9291 /* end confdefs.h.  */
   9292 int i;
   9293 _ACEOF
   9294 if ac_fn_c_try_compile "$LINENO"; then :
   9295   xorg_cv_cc_flag_unused_command_line_argument=yes
   9296 else
   9297   xorg_cv_cc_flag_unused_command_line_argument=no
   9298 fi
   9299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9300 fi
   9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9302 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9303 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9304 	CFLAGS="$xorg_testset_save_CFLAGS"
   9305 fi
   9306 
   9307 found="no"
   9308 
   9309 	if test $found = "no" ; then
   9310 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9311 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9312 		fi
   9313 
   9314 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9315 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9316 		fi
   9317 
   9318 		CFLAGS="$CFLAGS -Wtrigraphs"
   9319 
   9320 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9321 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9322 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9323 		if eval \${$cacheid+:} false; then :
   9324   $as_echo_n "(cached) " >&6
   9325 else
   9326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9327 /* end confdefs.h.  */
   9328 int i;
   9329 int
   9330 main ()
   9331 {
   9332 
   9333   ;
   9334   return 0;
   9335 }
   9336 _ACEOF
   9337 if ac_fn_c_try_link "$LINENO"; then :
   9338   eval $cacheid=yes
   9339 else
   9340   eval $cacheid=no
   9341 fi
   9342 rm -f core conftest.err conftest.$ac_objext \
   9343     conftest$ac_exeext conftest.$ac_ext
   9344 fi
   9345 
   9346 
   9347 		CFLAGS="$xorg_testset_save_CFLAGS"
   9348 
   9349 		eval supported=\$$cacheid
   9350 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9351 $as_echo "$supported" >&6; }
   9352 		if test "$supported" = "yes" ; then
   9353 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9354 			found="yes"
   9355 		fi
   9356 	fi
   9357 
   9358 
   9359 
   9360 
   9361 
   9362 
   9363 
   9364 
   9365 
   9366 
   9367 
   9368 
   9369 
   9370 
   9371 
   9372 xorg_testset_save_CFLAGS="$CFLAGS"
   9373 
   9374 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9375 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9376 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9377 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9378 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9379   $as_echo_n "(cached) " >&6
   9380 else
   9381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9382 /* end confdefs.h.  */
   9383 int i;
   9384 _ACEOF
   9385 if ac_fn_c_try_compile "$LINENO"; then :
   9386   xorg_cv_cc_flag_unknown_warning_option=yes
   9387 else
   9388   xorg_cv_cc_flag_unknown_warning_option=no
   9389 fi
   9390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9391 fi
   9392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9393 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9394 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9395 	CFLAGS="$xorg_testset_save_CFLAGS"
   9396 fi
   9397 
   9398 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9399 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9400 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9401 	fi
   9402 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9403 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9404 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9405 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9406   $as_echo_n "(cached) " >&6
   9407 else
   9408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9409 /* end confdefs.h.  */
   9410 int i;
   9411 _ACEOF
   9412 if ac_fn_c_try_compile "$LINENO"; then :
   9413   xorg_cv_cc_flag_unused_command_line_argument=yes
   9414 else
   9415   xorg_cv_cc_flag_unused_command_line_argument=no
   9416 fi
   9417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9418 fi
   9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9420 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9421 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9422 	CFLAGS="$xorg_testset_save_CFLAGS"
   9423 fi
   9424 
   9425 found="no"
   9426 
   9427 	if test $found = "no" ; then
   9428 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9429 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9430 		fi
   9431 
   9432 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9433 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9434 		fi
   9435 
   9436 		CFLAGS="$CFLAGS -Warray-bounds"
   9437 
   9438 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9439 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9440 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9441 		if eval \${$cacheid+:} false; then :
   9442   $as_echo_n "(cached) " >&6
   9443 else
   9444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9445 /* end confdefs.h.  */
   9446 int i;
   9447 int
   9448 main ()
   9449 {
   9450 
   9451   ;
   9452   return 0;
   9453 }
   9454 _ACEOF
   9455 if ac_fn_c_try_link "$LINENO"; then :
   9456   eval $cacheid=yes
   9457 else
   9458   eval $cacheid=no
   9459 fi
   9460 rm -f core conftest.err conftest.$ac_objext \
   9461     conftest$ac_exeext conftest.$ac_ext
   9462 fi
   9463 
   9464 
   9465 		CFLAGS="$xorg_testset_save_CFLAGS"
   9466 
   9467 		eval supported=\$$cacheid
   9468 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9469 $as_echo "$supported" >&6; }
   9470 		if test "$supported" = "yes" ; then
   9471 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9472 			found="yes"
   9473 		fi
   9474 	fi
   9475 
   9476 
   9477 
   9478 
   9479 
   9480 
   9481 
   9482 
   9483 
   9484 
   9485 
   9486 
   9487 
   9488 
   9489 
   9490 xorg_testset_save_CFLAGS="$CFLAGS"
   9491 
   9492 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9493 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9494 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9495 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9496 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9497   $as_echo_n "(cached) " >&6
   9498 else
   9499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9500 /* end confdefs.h.  */
   9501 int i;
   9502 _ACEOF
   9503 if ac_fn_c_try_compile "$LINENO"; then :
   9504   xorg_cv_cc_flag_unknown_warning_option=yes
   9505 else
   9506   xorg_cv_cc_flag_unknown_warning_option=no
   9507 fi
   9508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9509 fi
   9510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9511 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9512 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9513 	CFLAGS="$xorg_testset_save_CFLAGS"
   9514 fi
   9515 
   9516 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9517 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9518 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9519 	fi
   9520 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9521 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9522 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9523 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9524   $as_echo_n "(cached) " >&6
   9525 else
   9526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9527 /* end confdefs.h.  */
   9528 int i;
   9529 _ACEOF
   9530 if ac_fn_c_try_compile "$LINENO"; then :
   9531   xorg_cv_cc_flag_unused_command_line_argument=yes
   9532 else
   9533   xorg_cv_cc_flag_unused_command_line_argument=no
   9534 fi
   9535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9536 fi
   9537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9538 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9539 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9540 	CFLAGS="$xorg_testset_save_CFLAGS"
   9541 fi
   9542 
   9543 found="no"
   9544 
   9545 	if test $found = "no" ; then
   9546 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9547 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9548 		fi
   9549 
   9550 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9551 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9552 		fi
   9553 
   9554 		CFLAGS="$CFLAGS -Wwrite-strings"
   9555 
   9556 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9557 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9558 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9559 		if eval \${$cacheid+:} false; then :
   9560   $as_echo_n "(cached) " >&6
   9561 else
   9562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9563 /* end confdefs.h.  */
   9564 int i;
   9565 int
   9566 main ()
   9567 {
   9568 
   9569   ;
   9570   return 0;
   9571 }
   9572 _ACEOF
   9573 if ac_fn_c_try_link "$LINENO"; then :
   9574   eval $cacheid=yes
   9575 else
   9576   eval $cacheid=no
   9577 fi
   9578 rm -f core conftest.err conftest.$ac_objext \
   9579     conftest$ac_exeext conftest.$ac_ext
   9580 fi
   9581 
   9582 
   9583 		CFLAGS="$xorg_testset_save_CFLAGS"
   9584 
   9585 		eval supported=\$$cacheid
   9586 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9587 $as_echo "$supported" >&6; }
   9588 		if test "$supported" = "yes" ; then
   9589 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9590 			found="yes"
   9591 		fi
   9592 	fi
   9593 
   9594 
   9595 
   9596 
   9597 
   9598 
   9599 
   9600 
   9601 
   9602 
   9603 
   9604 
   9605 
   9606 
   9607 
   9608 xorg_testset_save_CFLAGS="$CFLAGS"
   9609 
   9610 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9611 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9612 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9613 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9614 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9615   $as_echo_n "(cached) " >&6
   9616 else
   9617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9618 /* end confdefs.h.  */
   9619 int i;
   9620 _ACEOF
   9621 if ac_fn_c_try_compile "$LINENO"; then :
   9622   xorg_cv_cc_flag_unknown_warning_option=yes
   9623 else
   9624   xorg_cv_cc_flag_unknown_warning_option=no
   9625 fi
   9626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9627 fi
   9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9629 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9630 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9631 	CFLAGS="$xorg_testset_save_CFLAGS"
   9632 fi
   9633 
   9634 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9635 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9636 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9637 	fi
   9638 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9639 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9640 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9641 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9642   $as_echo_n "(cached) " >&6
   9643 else
   9644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9645 /* end confdefs.h.  */
   9646 int i;
   9647 _ACEOF
   9648 if ac_fn_c_try_compile "$LINENO"; then :
   9649   xorg_cv_cc_flag_unused_command_line_argument=yes
   9650 else
   9651   xorg_cv_cc_flag_unused_command_line_argument=no
   9652 fi
   9653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9654 fi
   9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9656 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9657 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9658 	CFLAGS="$xorg_testset_save_CFLAGS"
   9659 fi
   9660 
   9661 found="no"
   9662 
   9663 	if test $found = "no" ; then
   9664 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9665 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9666 		fi
   9667 
   9668 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9669 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9670 		fi
   9671 
   9672 		CFLAGS="$CFLAGS -Waddress"
   9673 
   9674 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9675 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9676 		cacheid=xorg_cv_cc_flag__Waddress
   9677 		if eval \${$cacheid+:} false; then :
   9678   $as_echo_n "(cached) " >&6
   9679 else
   9680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9681 /* end confdefs.h.  */
   9682 int i;
   9683 int
   9684 main ()
   9685 {
   9686 
   9687   ;
   9688   return 0;
   9689 }
   9690 _ACEOF
   9691 if ac_fn_c_try_link "$LINENO"; then :
   9692   eval $cacheid=yes
   9693 else
   9694   eval $cacheid=no
   9695 fi
   9696 rm -f core conftest.err conftest.$ac_objext \
   9697     conftest$ac_exeext conftest.$ac_ext
   9698 fi
   9699 
   9700 
   9701 		CFLAGS="$xorg_testset_save_CFLAGS"
   9702 
   9703 		eval supported=\$$cacheid
   9704 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9705 $as_echo "$supported" >&6; }
   9706 		if test "$supported" = "yes" ; then
   9707 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9708 			found="yes"
   9709 		fi
   9710 	fi
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 xorg_testset_save_CFLAGS="$CFLAGS"
   9727 
   9728 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9729 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9730 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9731 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9732 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9733   $as_echo_n "(cached) " >&6
   9734 else
   9735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9736 /* end confdefs.h.  */
   9737 int i;
   9738 _ACEOF
   9739 if ac_fn_c_try_compile "$LINENO"; then :
   9740   xorg_cv_cc_flag_unknown_warning_option=yes
   9741 else
   9742   xorg_cv_cc_flag_unknown_warning_option=no
   9743 fi
   9744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9745 fi
   9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9747 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9748 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9749 	CFLAGS="$xorg_testset_save_CFLAGS"
   9750 fi
   9751 
   9752 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9753 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9754 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9755 	fi
   9756 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9757 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9758 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9759 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9760   $as_echo_n "(cached) " >&6
   9761 else
   9762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9763 /* end confdefs.h.  */
   9764 int i;
   9765 _ACEOF
   9766 if ac_fn_c_try_compile "$LINENO"; then :
   9767   xorg_cv_cc_flag_unused_command_line_argument=yes
   9768 else
   9769   xorg_cv_cc_flag_unused_command_line_argument=no
   9770 fi
   9771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9772 fi
   9773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9774 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9775 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9776 	CFLAGS="$xorg_testset_save_CFLAGS"
   9777 fi
   9778 
   9779 found="no"
   9780 
   9781 	if test $found = "no" ; then
   9782 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9783 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9784 		fi
   9785 
   9786 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9787 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9788 		fi
   9789 
   9790 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9791 
   9792 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9793 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9794 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9795 		if eval \${$cacheid+:} false; then :
   9796   $as_echo_n "(cached) " >&6
   9797 else
   9798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9799 /* end confdefs.h.  */
   9800 int i;
   9801 int
   9802 main ()
   9803 {
   9804 
   9805   ;
   9806   return 0;
   9807 }
   9808 _ACEOF
   9809 if ac_fn_c_try_link "$LINENO"; then :
   9810   eval $cacheid=yes
   9811 else
   9812   eval $cacheid=no
   9813 fi
   9814 rm -f core conftest.err conftest.$ac_objext \
   9815     conftest$ac_exeext conftest.$ac_ext
   9816 fi
   9817 
   9818 
   9819 		CFLAGS="$xorg_testset_save_CFLAGS"
   9820 
   9821 		eval supported=\$$cacheid
   9822 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9823 $as_echo "$supported" >&6; }
   9824 		if test "$supported" = "yes" ; then
   9825 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9826 			found="yes"
   9827 		fi
   9828 	fi
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 xorg_testset_save_CFLAGS="$CFLAGS"
   9845 
   9846 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9847 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9848 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9849 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9850 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9851   $as_echo_n "(cached) " >&6
   9852 else
   9853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9854 /* end confdefs.h.  */
   9855 int i;
   9856 _ACEOF
   9857 if ac_fn_c_try_compile "$LINENO"; then :
   9858   xorg_cv_cc_flag_unknown_warning_option=yes
   9859 else
   9860   xorg_cv_cc_flag_unknown_warning_option=no
   9861 fi
   9862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9863 fi
   9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9865 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9866 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9867 	CFLAGS="$xorg_testset_save_CFLAGS"
   9868 fi
   9869 
   9870 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9871 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9872 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9873 	fi
   9874 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9875 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9876 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9877 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9878   $as_echo_n "(cached) " >&6
   9879 else
   9880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9881 /* end confdefs.h.  */
   9882 int i;
   9883 _ACEOF
   9884 if ac_fn_c_try_compile "$LINENO"; then :
   9885   xorg_cv_cc_flag_unused_command_line_argument=yes
   9886 else
   9887   xorg_cv_cc_flag_unused_command_line_argument=no
   9888 fi
   9889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9890 fi
   9891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9892 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9893 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9894 	CFLAGS="$xorg_testset_save_CFLAGS"
   9895 fi
   9896 
   9897 found="no"
   9898 
   9899 	if test $found = "no" ; then
   9900 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9901 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9902 		fi
   9903 
   9904 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9905 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9906 		fi
   9907 
   9908 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9909 
   9910 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9911 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9912 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9913 		if eval \${$cacheid+:} false; then :
   9914   $as_echo_n "(cached) " >&6
   9915 else
   9916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9917 /* end confdefs.h.  */
   9918 int i;
   9919 int
   9920 main ()
   9921 {
   9922 
   9923   ;
   9924   return 0;
   9925 }
   9926 _ACEOF
   9927 if ac_fn_c_try_link "$LINENO"; then :
   9928   eval $cacheid=yes
   9929 else
   9930   eval $cacheid=no
   9931 fi
   9932 rm -f core conftest.err conftest.$ac_objext \
   9933     conftest$ac_exeext conftest.$ac_ext
   9934 fi
   9935 
   9936 
   9937 		CFLAGS="$xorg_testset_save_CFLAGS"
   9938 
   9939 		eval supported=\$$cacheid
   9940 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9941 $as_echo "$supported" >&6; }
   9942 		if test "$supported" = "yes" ; then
   9943 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9944 			found="yes"
   9945 		fi
   9946 	fi
   9947 
   9948 
   9949 fi
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 		CWARNFLAGS="$BASE_CFLAGS"
   9958 		if  test "x$GCC" = xyes ; then
   9959 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9960 		fi
   9961 
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 # Check whether --enable-strict-compilation was given.
   9970 if test "${enable_strict_compilation+set}" = set; then :
   9971   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   9972 else
   9973   STRICT_COMPILE=no
   9974 fi
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 STRICT_CFLAGS=""
   9982 
   9983 
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 xorg_testset_save_CFLAGS="$CFLAGS"
   9996 
   9997 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9998 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9999 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10000 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10001 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10002   $as_echo_n "(cached) " >&6
   10003 else
   10004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10005 /* end confdefs.h.  */
   10006 int i;
   10007 _ACEOF
   10008 if ac_fn_c_try_compile "$LINENO"; then :
   10009   xorg_cv_cc_flag_unknown_warning_option=yes
   10010 else
   10011   xorg_cv_cc_flag_unknown_warning_option=no
   10012 fi
   10013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10014 fi
   10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10016 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10017 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10018 	CFLAGS="$xorg_testset_save_CFLAGS"
   10019 fi
   10020 
   10021 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10022 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10023 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10024 	fi
   10025 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10026 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10027 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10028 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10029   $as_echo_n "(cached) " >&6
   10030 else
   10031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10032 /* end confdefs.h.  */
   10033 int i;
   10034 _ACEOF
   10035 if ac_fn_c_try_compile "$LINENO"; then :
   10036   xorg_cv_cc_flag_unused_command_line_argument=yes
   10037 else
   10038   xorg_cv_cc_flag_unused_command_line_argument=no
   10039 fi
   10040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10041 fi
   10042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10043 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10044 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10045 	CFLAGS="$xorg_testset_save_CFLAGS"
   10046 fi
   10047 
   10048 found="no"
   10049 
   10050 	if test $found = "no" ; then
   10051 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10052 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10053 		fi
   10054 
   10055 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10056 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10057 		fi
   10058 
   10059 		CFLAGS="$CFLAGS -pedantic"
   10060 
   10061 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10062 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10063 		cacheid=xorg_cv_cc_flag__pedantic
   10064 		if eval \${$cacheid+:} false; then :
   10065   $as_echo_n "(cached) " >&6
   10066 else
   10067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10068 /* end confdefs.h.  */
   10069 int i;
   10070 int
   10071 main ()
   10072 {
   10073 
   10074   ;
   10075   return 0;
   10076 }
   10077 _ACEOF
   10078 if ac_fn_c_try_link "$LINENO"; then :
   10079   eval $cacheid=yes
   10080 else
   10081   eval $cacheid=no
   10082 fi
   10083 rm -f core conftest.err conftest.$ac_objext \
   10084     conftest$ac_exeext conftest.$ac_ext
   10085 fi
   10086 
   10087 
   10088 		CFLAGS="$xorg_testset_save_CFLAGS"
   10089 
   10090 		eval supported=\$$cacheid
   10091 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10092 $as_echo "$supported" >&6; }
   10093 		if test "$supported" = "yes" ; then
   10094 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10095 			found="yes"
   10096 		fi
   10097 	fi
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 xorg_testset_save_CFLAGS="$CFLAGS"
   10114 
   10115 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10116 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10117 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10118 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10119 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10120   $as_echo_n "(cached) " >&6
   10121 else
   10122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10123 /* end confdefs.h.  */
   10124 int i;
   10125 _ACEOF
   10126 if ac_fn_c_try_compile "$LINENO"; then :
   10127   xorg_cv_cc_flag_unknown_warning_option=yes
   10128 else
   10129   xorg_cv_cc_flag_unknown_warning_option=no
   10130 fi
   10131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10132 fi
   10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10134 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10135 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10136 	CFLAGS="$xorg_testset_save_CFLAGS"
   10137 fi
   10138 
   10139 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10140 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10141 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10142 	fi
   10143 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10144 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10145 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10146 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10147   $as_echo_n "(cached) " >&6
   10148 else
   10149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10150 /* end confdefs.h.  */
   10151 int i;
   10152 _ACEOF
   10153 if ac_fn_c_try_compile "$LINENO"; then :
   10154   xorg_cv_cc_flag_unused_command_line_argument=yes
   10155 else
   10156   xorg_cv_cc_flag_unused_command_line_argument=no
   10157 fi
   10158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10159 fi
   10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10161 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10162 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10163 	CFLAGS="$xorg_testset_save_CFLAGS"
   10164 fi
   10165 
   10166 found="no"
   10167 
   10168 	if test $found = "no" ; then
   10169 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10170 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10171 		fi
   10172 
   10173 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10174 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10175 		fi
   10176 
   10177 		CFLAGS="$CFLAGS -Werror"
   10178 
   10179 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10180 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10181 		cacheid=xorg_cv_cc_flag__Werror
   10182 		if eval \${$cacheid+:} false; then :
   10183   $as_echo_n "(cached) " >&6
   10184 else
   10185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10186 /* end confdefs.h.  */
   10187 int i;
   10188 int
   10189 main ()
   10190 {
   10191 
   10192   ;
   10193   return 0;
   10194 }
   10195 _ACEOF
   10196 if ac_fn_c_try_link "$LINENO"; then :
   10197   eval $cacheid=yes
   10198 else
   10199   eval $cacheid=no
   10200 fi
   10201 rm -f core conftest.err conftest.$ac_objext \
   10202     conftest$ac_exeext conftest.$ac_ext
   10203 fi
   10204 
   10205 
   10206 		CFLAGS="$xorg_testset_save_CFLAGS"
   10207 
   10208 		eval supported=\$$cacheid
   10209 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10210 $as_echo "$supported" >&6; }
   10211 		if test "$supported" = "yes" ; then
   10212 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10213 			found="yes"
   10214 		fi
   10215 	fi
   10216 
   10217 	if test $found = "no" ; then
   10218 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10219 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10220 		fi
   10221 
   10222 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10223 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10224 		fi
   10225 
   10226 		CFLAGS="$CFLAGS -errwarn"
   10227 
   10228 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10229 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10230 		cacheid=xorg_cv_cc_flag__errwarn
   10231 		if eval \${$cacheid+:} false; then :
   10232   $as_echo_n "(cached) " >&6
   10233 else
   10234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10235 /* end confdefs.h.  */
   10236 int i;
   10237 int
   10238 main ()
   10239 {
   10240 
   10241   ;
   10242   return 0;
   10243 }
   10244 _ACEOF
   10245 if ac_fn_c_try_link "$LINENO"; then :
   10246   eval $cacheid=yes
   10247 else
   10248   eval $cacheid=no
   10249 fi
   10250 rm -f core conftest.err conftest.$ac_objext \
   10251     conftest$ac_exeext conftest.$ac_ext
   10252 fi
   10253 
   10254 
   10255 		CFLAGS="$xorg_testset_save_CFLAGS"
   10256 
   10257 		eval supported=\$$cacheid
   10258 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10259 $as_echo "$supported" >&6; }
   10260 		if test "$supported" = "yes" ; then
   10261 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10262 			found="yes"
   10263 		fi
   10264 	fi
   10265 
   10266 
   10267 
   10268 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10269 # activate it with -Werror, so we add it here explicitly.
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 xorg_testset_save_CFLAGS="$CFLAGS"
   10284 
   10285 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10286 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10287 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10288 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10289 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10290   $as_echo_n "(cached) " >&6
   10291 else
   10292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10293 /* end confdefs.h.  */
   10294 int i;
   10295 _ACEOF
   10296 if ac_fn_c_try_compile "$LINENO"; then :
   10297   xorg_cv_cc_flag_unknown_warning_option=yes
   10298 else
   10299   xorg_cv_cc_flag_unknown_warning_option=no
   10300 fi
   10301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10302 fi
   10303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10304 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10305 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10306 	CFLAGS="$xorg_testset_save_CFLAGS"
   10307 fi
   10308 
   10309 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10310 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10311 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10312 	fi
   10313 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10314 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10315 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10316 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10317   $as_echo_n "(cached) " >&6
   10318 else
   10319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10320 /* end confdefs.h.  */
   10321 int i;
   10322 _ACEOF
   10323 if ac_fn_c_try_compile "$LINENO"; then :
   10324   xorg_cv_cc_flag_unused_command_line_argument=yes
   10325 else
   10326   xorg_cv_cc_flag_unused_command_line_argument=no
   10327 fi
   10328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10329 fi
   10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10331 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10332 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10333 	CFLAGS="$xorg_testset_save_CFLAGS"
   10334 fi
   10335 
   10336 found="no"
   10337 
   10338 	if test $found = "no" ; then
   10339 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10340 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10341 		fi
   10342 
   10343 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10344 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10345 		fi
   10346 
   10347 		CFLAGS="$CFLAGS -Werror=attributes"
   10348 
   10349 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10350 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10351 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   10352 		if eval \${$cacheid+:} false; then :
   10353   $as_echo_n "(cached) " >&6
   10354 else
   10355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10356 /* end confdefs.h.  */
   10357 int i;
   10358 int
   10359 main ()
   10360 {
   10361 
   10362   ;
   10363   return 0;
   10364 }
   10365 _ACEOF
   10366 if ac_fn_c_try_link "$LINENO"; then :
   10367   eval $cacheid=yes
   10368 else
   10369   eval $cacheid=no
   10370 fi
   10371 rm -f core conftest.err conftest.$ac_objext \
   10372     conftest$ac_exeext conftest.$ac_ext
   10373 fi
   10374 
   10375 
   10376 		CFLAGS="$xorg_testset_save_CFLAGS"
   10377 
   10378 		eval supported=\$$cacheid
   10379 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10380 $as_echo "$supported" >&6; }
   10381 		if test "$supported" = "yes" ; then
   10382 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10383 			found="yes"
   10384 		fi
   10385 	fi
   10386 
   10387 
   10388 
   10389 if test "x$STRICT_COMPILE" = "xyes"; then
   10390     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10391     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10392 fi
   10393 
   10394 
   10395 
   10396 
   10397 
   10398 
   10399 cat >>confdefs.h <<_ACEOF
   10400 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10401 _ACEOF
   10402 
   10403 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10404 	if test "x$PVM" = "x"; then
   10405 		PVM="0"
   10406 	fi
   10407 
   10408 cat >>confdefs.h <<_ACEOF
   10409 #define PACKAGE_VERSION_MINOR $PVM
   10410 _ACEOF
   10411 
   10412 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10413 	if test "x$PVP" = "x"; then
   10414 		PVP="0"
   10415 	fi
   10416 
   10417 cat >>confdefs.h <<_ACEOF
   10418 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10419 _ACEOF
   10420 
   10421 
   10422 
   10423 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10424 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10425 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10426 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10427 
   10428 
   10429 
   10430 
   10431 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10432 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10433 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10434 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10435 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10436 
   10437 
   10438 
   10439 
   10440 
   10441 
   10442 if test x$APP_MAN_SUFFIX = x    ; then
   10443     APP_MAN_SUFFIX=1
   10444 fi
   10445 if test x$APP_MAN_DIR = x    ; then
   10446     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10447 fi
   10448 
   10449 if test x$LIB_MAN_SUFFIX = x    ; then
   10450     LIB_MAN_SUFFIX=3
   10451 fi
   10452 if test x$LIB_MAN_DIR = x    ; then
   10453     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10454 fi
   10455 
   10456 if test x$FILE_MAN_SUFFIX = x    ; then
   10457     case $host_os in
   10458 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10459 	*)		FILE_MAN_SUFFIX=5  ;;
   10460     esac
   10461 fi
   10462 if test x$FILE_MAN_DIR = x    ; then
   10463     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10464 fi
   10465 
   10466 if test x$MISC_MAN_SUFFIX = x    ; then
   10467     case $host_os in
   10468 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10469 	*)		MISC_MAN_SUFFIX=7  ;;
   10470     esac
   10471 fi
   10472 if test x$MISC_MAN_DIR = x    ; then
   10473     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10474 fi
   10475 
   10476 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10477     case $host_os in
   10478 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10479 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10480     esac
   10481 fi
   10482 if test x$DRIVER_MAN_DIR = x    ; then
   10483     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10484 fi
   10485 
   10486 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10487     case $host_os in
   10488 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10489 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10490     esac
   10491 fi
   10492 if test x$ADMIN_MAN_DIR = x    ; then
   10493     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10494 fi
   10495 
   10496 
   10497 
   10498 
   10499 
   10500 
   10501 
   10502 
   10503 
   10504 
   10505 
   10506 
   10507 
   10508 
   10509 
   10510 XORG_MAN_PAGE="X Version 11"
   10511 
   10512 MAN_SUBSTS="\
   10513 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10514 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10515 	-e 's|__xservername__|Xorg|g' \
   10516 	-e 's|__xconfigfile__|xorg.conf|g' \
   10517 	-e 's|__projectroot__|\$(prefix)|g' \
   10518 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10519 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10520 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10521 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10522 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10523 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10524 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10525 
   10526 
   10527 
   10528 # Check whether --enable-silent-rules was given.
   10529 if test "${enable_silent_rules+set}" = set; then :
   10530   enableval=$enable_silent_rules;
   10531 fi
   10532 
   10533 case $enable_silent_rules in # (((
   10534   yes) AM_DEFAULT_VERBOSITY=0;;
   10535    no) AM_DEFAULT_VERBOSITY=1;;
   10536     *) AM_DEFAULT_VERBOSITY=0;;
   10537 esac
   10538 am_make=${MAKE-make}
   10539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10540 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10541 if ${am_cv_make_support_nested_variables+:} false; then :
   10542   $as_echo_n "(cached) " >&6
   10543 else
   10544   if $as_echo 'TRUE=$(BAR$(V))
   10545 BAR0=false
   10546 BAR1=true
   10547 V=1
   10548 am__doit:
   10549 	@$(TRUE)
   10550 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10551   am_cv_make_support_nested_variables=yes
   10552 else
   10553   am_cv_make_support_nested_variables=no
   10554 fi
   10555 fi
   10556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10557 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10558 if test $am_cv_make_support_nested_variables = yes; then
   10559     AM_V='$(V)'
   10560   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10561 else
   10562   AM_V=$AM_DEFAULT_VERBOSITY
   10563   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10564 fi
   10565 AM_BACKSLASH='\'
   10566 
   10567 
   10568 
   10569 # Checks for pkg-config packages
   10570 if test -n "$PKG_CONFIG" && \
   10571     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbfile\""; } >&5
   10572   ($PKG_CONFIG --exists --print-errors "xkbfile") 2>&5
   10573   ac_status=$?
   10574   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10575   test $ac_status = 0; }; then
   10576   XKBPKG="xkbfile"
   10577 else
   10578   XKBPKG=""
   10579 fi
   10580 if test x$XKBPKG = xxkbfile ; then
   10581 
   10582 $as_echo "#define XKB 1" >>confdefs.h
   10583 
   10584 fi
   10585 
   10586 pkg_failed=no
   10587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCLIPBOARD" >&5
   10588 $as_echo_n "checking for XCLIPBOARD... " >&6; }
   10589 
   10590 if test -n "$XCLIPBOARD_CFLAGS"; then
   10591     pkg_cv_XCLIPBOARD_CFLAGS="$XCLIPBOARD_CFLAGS"
   10592  elif test -n "$PKG_CONFIG"; then
   10593     if test -n "$PKG_CONFIG" && \
   10594     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt >= 1.1 x11 \${XKBPKG} xproto >= 7.0.17\""; } >&5
   10595   ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt >= 1.1 x11 ${XKBPKG} xproto >= 7.0.17") 2>&5
   10596   ac_status=$?
   10597   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10598   test $ac_status = 0; }; then
   10599   pkg_cv_XCLIPBOARD_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xmu xt >= 1.1 x11 ${XKBPKG} xproto >= 7.0.17" 2>/dev/null`
   10600 else
   10601   pkg_failed=yes
   10602 fi
   10603  else
   10604     pkg_failed=untried
   10605 fi
   10606 if test -n "$XCLIPBOARD_LIBS"; then
   10607     pkg_cv_XCLIPBOARD_LIBS="$XCLIPBOARD_LIBS"
   10608  elif test -n "$PKG_CONFIG"; then
   10609     if test -n "$PKG_CONFIG" && \
   10610     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt >= 1.1 x11 \${XKBPKG} xproto >= 7.0.17\""; } >&5
   10611   ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt >= 1.1 x11 ${XKBPKG} xproto >= 7.0.17") 2>&5
   10612   ac_status=$?
   10613   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10614   test $ac_status = 0; }; then
   10615   pkg_cv_XCLIPBOARD_LIBS=`$PKG_CONFIG --libs "xaw7 xmu xt >= 1.1 x11 ${XKBPKG} xproto >= 7.0.17" 2>/dev/null`
   10616 else
   10617   pkg_failed=yes
   10618 fi
   10619  else
   10620     pkg_failed=untried
   10621 fi
   10622 
   10623 
   10624 
   10625 if test $pkg_failed = yes; then
   10626 
   10627 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10628         _pkg_short_errors_supported=yes
   10629 else
   10630         _pkg_short_errors_supported=no
   10631 fi
   10632         if test $_pkg_short_errors_supported = yes; then
   10633 	        XCLIPBOARD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xaw7 xmu xt >= 1.1 x11 ${XKBPKG} xproto >= 7.0.17" 2>&1`
   10634         else
   10635 	        XCLIPBOARD_PKG_ERRORS=`$PKG_CONFIG --print-errors "xaw7 xmu xt >= 1.1 x11 ${XKBPKG} xproto >= 7.0.17" 2>&1`
   10636         fi
   10637 	# Put the nasty error message in config.log where it belongs
   10638 	echo "$XCLIPBOARD_PKG_ERRORS" >&5
   10639 
   10640 	as_fn_error $? "Package requirements (xaw7 xmu xt >= 1.1 x11 ${XKBPKG} xproto >= 7.0.17) were not met:
   10641 
   10642 $XCLIPBOARD_PKG_ERRORS
   10643 
   10644 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10645 installed software in a non-standard prefix.
   10646 
   10647 Alternatively, you may set the environment variables XCLIPBOARD_CFLAGS
   10648 and XCLIPBOARD_LIBS to avoid the need to call pkg-config.
   10649 See the pkg-config man page for more details.
   10650 " "$LINENO" 5
   10651 elif test $pkg_failed = untried; then
   10652 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10654 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10655 is in your PATH or set the PKG_CONFIG environment variable to the full
   10656 path to pkg-config.
   10657 
   10658 Alternatively, you may set the environment variables XCLIPBOARD_CFLAGS
   10659 and XCLIPBOARD_LIBS to avoid the need to call pkg-config.
   10660 See the pkg-config man page for more details.
   10661 
   10662 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10663 See \`config.log' for more details" "$LINENO" 5; }
   10664 else
   10665 	XCLIPBOARD_CFLAGS=$pkg_cv_XCLIPBOARD_CFLAGS
   10666 	XCLIPBOARD_LIBS=$pkg_cv_XCLIPBOARD_LIBS
   10667         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10668 $as_echo "yes" >&6; }
   10669 	:
   10670 fi
   10671 
   10672 
   10673 pkg_failed=no
   10674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   10675 $as_echo_n "checking for APPDEFS... " >&6; }
   10676 
   10677 if test -n "$APPDEFS_CFLAGS"; then
   10678     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   10679  elif test -n "$PKG_CONFIG"; then
   10680     if test -n "$PKG_CONFIG" && \
   10681     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   10682   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   10683   ac_status=$?
   10684   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10685   test $ac_status = 0; }; then
   10686   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   10687 else
   10688   pkg_failed=yes
   10689 fi
   10690  else
   10691     pkg_failed=untried
   10692 fi
   10693 if test -n "$APPDEFS_LIBS"; then
   10694     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   10695  elif test -n "$PKG_CONFIG"; then
   10696     if test -n "$PKG_CONFIG" && \
   10697     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   10698   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   10699   ac_status=$?
   10700   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10701   test $ac_status = 0; }; then
   10702   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   10703 else
   10704   pkg_failed=yes
   10705 fi
   10706  else
   10707     pkg_failed=untried
   10708 fi
   10709 
   10710 
   10711 
   10712 if test $pkg_failed = yes; then
   10713 
   10714 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10715         _pkg_short_errors_supported=yes
   10716 else
   10717         _pkg_short_errors_supported=no
   10718 fi
   10719         if test $_pkg_short_errors_supported = yes; then
   10720 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xt" 2>&1`
   10721         else
   10722 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors "xt" 2>&1`
   10723         fi
   10724 	# Put the nasty error message in config.log where it belongs
   10725 	echo "$APPDEFS_PKG_ERRORS" >&5
   10726 
   10727 	as_fn_error $? "Package requirements (xt) were not met:
   10728 
   10729 $APPDEFS_PKG_ERRORS
   10730 
   10731 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10732 installed software in a non-standard prefix.
   10733 
   10734 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   10735 and APPDEFS_LIBS to avoid the need to call pkg-config.
   10736 See the pkg-config man page for more details.
   10737 " "$LINENO" 5
   10738 elif test $pkg_failed = untried; then
   10739 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10741 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10742 is in your PATH or set the PKG_CONFIG environment variable to the full
   10743 path to pkg-config.
   10744 
   10745 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   10746 and APPDEFS_LIBS to avoid the need to call pkg-config.
   10747 See the pkg-config man page for more details.
   10748 
   10749 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10750 See \`config.log' for more details" "$LINENO" 5; }
   10751 else
   10752 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   10753 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   10754         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10755 $as_echo "yes" >&6; }
   10756 	:
   10757 fi
   10758 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   10759 
   10760 # Check whether --with-appdefaultdir was given.
   10761 if test "${with_appdefaultdir+set}" = set; then :
   10762   withval=$with_appdefaultdir; appdefaultdir="$withval"
   10763 else
   10764   appdefaultdir="${xt_appdefaultdir}"
   10765 fi
   10766 
   10767 
   10768 
   10769 
   10770 ac_config_files="$ac_config_files Makefile man/Makefile"
   10771 
   10772 cat >confcache <<\_ACEOF
   10773 # This file is a shell script that caches the results of configure
   10774 # tests run on this system so they can be shared between configure
   10775 # scripts and configure runs, see configure's option --config-cache.
   10776 # It is not useful on other systems.  If it contains results you don't
   10777 # want to keep, you may remove or edit it.
   10778 #
   10779 # config.status only pays attention to the cache file if you give it
   10780 # the --recheck option to rerun configure.
   10781 #
   10782 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10783 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10784 # following values.
   10785 
   10786 _ACEOF
   10787 
   10788 # The following way of writing the cache mishandles newlines in values,
   10789 # but we know of no workaround that is simple, portable, and efficient.
   10790 # So, we kill variables containing newlines.
   10791 # Ultrix sh set writes to stderr and can't be redirected directly,
   10792 # and sets the high bit in the cache file unless we assign to the vars.
   10793 (
   10794   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10795     eval ac_val=\$$ac_var
   10796     case $ac_val in #(
   10797     *${as_nl}*)
   10798       case $ac_var in #(
   10799       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10800 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10801       esac
   10802       case $ac_var in #(
   10803       _ | IFS | as_nl) ;; #(
   10804       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10805       *) { eval $ac_var=; unset $ac_var;} ;;
   10806       esac ;;
   10807     esac
   10808   done
   10809 
   10810   (set) 2>&1 |
   10811     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10812     *${as_nl}ac_space=\ *)
   10813       # `set' does not quote correctly, so add quotes: double-quote
   10814       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10815       sed -n \
   10816 	"s/'/'\\\\''/g;
   10817 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10818       ;; #(
   10819     *)
   10820       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10821       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10822       ;;
   10823     esac |
   10824     sort
   10825 ) |
   10826   sed '
   10827      /^ac_cv_env_/b end
   10828      t clear
   10829      :clear
   10830      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10831      t end
   10832      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10833      :end' >>confcache
   10834 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10835   if test -w "$cache_file"; then
   10836     if test "x$cache_file" != "x/dev/null"; then
   10837       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10838 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10839       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10840 	cat confcache >"$cache_file"
   10841       else
   10842         case $cache_file in #(
   10843         */* | ?:*)
   10844 	  mv -f confcache "$cache_file"$$ &&
   10845 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10846         *)
   10847 	  mv -f confcache "$cache_file" ;;
   10848 	esac
   10849       fi
   10850     fi
   10851   else
   10852     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10853 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10854   fi
   10855 fi
   10856 rm -f confcache
   10857 
   10858 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10859 # Let make expand exec_prefix.
   10860 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10861 
   10862 DEFS=-DHAVE_CONFIG_H
   10863 
   10864 ac_libobjs=
   10865 ac_ltlibobjs=
   10866 U=
   10867 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10868   # 1. Remove the extension, and $U if already installed.
   10869   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10870   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10871   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10872   #    will be set to the directory where LIBOBJS objects are built.
   10873   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   10874   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   10875 done
   10876 LIBOBJS=$ac_libobjs
   10877 
   10878 LTLIBOBJS=$ac_ltlibobjs
   10879 
   10880 
   10881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   10882 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   10883    if test -n "$am_sleep_pid"; then
   10884      # Hide warnings about reused PIDs.
   10885      wait $am_sleep_pid 2>/dev/null
   10886    fi
   10887    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   10888 $as_echo "done" >&6; }
   10889  if test -n "$EXEEXT"; then
   10890   am__EXEEXT_TRUE=
   10891   am__EXEEXT_FALSE='#'
   10892 else
   10893   am__EXEEXT_TRUE='#'
   10894   am__EXEEXT_FALSE=
   10895 fi
   10896 
   10897 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   10898   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   10899 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10900 fi
   10901 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   10902   as_fn_error $? "conditional \"AMDEP\" was never defined.
   10903 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10904 fi
   10905 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   10906   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   10907 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10908 fi
   10909 
   10910 : "${CONFIG_STATUS=./config.status}"
   10911 ac_write_fail=0
   10912 ac_clean_files_save=$ac_clean_files
   10913 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   10914 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   10915 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   10916 as_write_fail=0
   10917 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   10918 #! $SHELL
   10919 # Generated by $as_me.
   10920 # Run this file to recreate the current configuration.
   10921 # Compiler output produced by configure, useful for debugging
   10922 # configure, is in config.log if it exists.
   10923 
   10924 debug=false
   10925 ac_cs_recheck=false
   10926 ac_cs_silent=false
   10927 
   10928 SHELL=\${CONFIG_SHELL-$SHELL}
   10929 export SHELL
   10930 _ASEOF
   10931 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   10932 ## -------------------- ##
   10933 ## M4sh Initialization. ##
   10934 ## -------------------- ##
   10935 
   10936 # Be more Bourne compatible
   10937 DUALCASE=1; export DUALCASE # for MKS sh
   10938 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   10939   emulate sh
   10940   NULLCMD=:
   10941   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   10942   # is contrary to our usage.  Disable this feature.
   10943   alias -g '${1+"$@"}'='"$@"'
   10944   setopt NO_GLOB_SUBST
   10945 else
   10946   case `(set -o) 2>/dev/null` in #(
   10947   *posix*) :
   10948     set -o posix ;; #(
   10949   *) :
   10950      ;;
   10951 esac
   10952 fi
   10953 
   10954 
   10955 as_nl='
   10956 '
   10957 export as_nl
   10958 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   10959 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10960 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   10961 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   10962 # Prefer a ksh shell builtin over an external printf program on Solaris,
   10963 # but without wasting forks for bash or zsh.
   10964 if test -z "$BASH_VERSION$ZSH_VERSION" \
   10965     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   10966   as_echo='print -r --'
   10967   as_echo_n='print -rn --'
   10968 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   10969   as_echo='printf %s\n'
   10970   as_echo_n='printf %s'
   10971 else
   10972   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   10973     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   10974     as_echo_n='/usr/ucb/echo -n'
   10975   else
   10976     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   10977     as_echo_n_body='eval
   10978       arg=$1;
   10979       case $arg in #(
   10980       *"$as_nl"*)
   10981 	expr "X$arg" : "X\\(.*\\)$as_nl";
   10982 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   10983       esac;
   10984       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   10985     '
   10986     export as_echo_n_body
   10987     as_echo_n='sh -c $as_echo_n_body as_echo'
   10988   fi
   10989   export as_echo_body
   10990   as_echo='sh -c $as_echo_body as_echo'
   10991 fi
   10992 
   10993 # The user is always right.
   10994 if test "${PATH_SEPARATOR+set}" != set; then
   10995   PATH_SEPARATOR=:
   10996   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   10997     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   10998       PATH_SEPARATOR=';'
   10999   }
   11000 fi
   11001 
   11002 
   11003 # IFS
   11004 # We need space, tab and new line, in precisely that order.  Quoting is
   11005 # there to prevent editors from complaining about space-tab.
   11006 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11007 # splitting by setting IFS to empty value.)
   11008 IFS=" ""	$as_nl"
   11009 
   11010 # Find who we are.  Look in the path if we contain no directory separator.
   11011 as_myself=
   11012 case $0 in #((
   11013   *[\\/]* ) as_myself=$0 ;;
   11014   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11015 for as_dir in $PATH
   11016 do
   11017   IFS=$as_save_IFS
   11018   test -z "$as_dir" && as_dir=.
   11019     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11020   done
   11021 IFS=$as_save_IFS
   11022 
   11023      ;;
   11024 esac
   11025 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11026 # in which case we are not to be found in the path.
   11027 if test "x$as_myself" = x; then
   11028   as_myself=$0
   11029 fi
   11030 if test ! -f "$as_myself"; then
   11031   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11032   exit 1
   11033 fi
   11034 
   11035 # Unset variables that we do not need and which cause bugs (e.g. in
   11036 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11037 # suppresses any "Segmentation fault" message there.  '((' could
   11038 # trigger a bug in pdksh 5.2.14.
   11039 for as_var in BASH_ENV ENV MAIL MAILPATH
   11040 do eval test x\${$as_var+set} = xset \
   11041   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11042 done
   11043 PS1='$ '
   11044 PS2='> '
   11045 PS4='+ '
   11046 
   11047 # NLS nuisances.
   11048 LC_ALL=C
   11049 export LC_ALL
   11050 LANGUAGE=C
   11051 export LANGUAGE
   11052 
   11053 # CDPATH.
   11054 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11055 
   11056 
   11057 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11058 # ----------------------------------------
   11059 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11060 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11061 # script with STATUS, using 1 if that was 0.
   11062 as_fn_error ()
   11063 {
   11064   as_status=$1; test $as_status -eq 0 && as_status=1
   11065   if test "$4"; then
   11066     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11067     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11068   fi
   11069   $as_echo "$as_me: error: $2" >&2
   11070   as_fn_exit $as_status
   11071 } # as_fn_error
   11072 
   11073 
   11074 # as_fn_set_status STATUS
   11075 # -----------------------
   11076 # Set $? to STATUS, without forking.
   11077 as_fn_set_status ()
   11078 {
   11079   return $1
   11080 } # as_fn_set_status
   11081 
   11082 # as_fn_exit STATUS
   11083 # -----------------
   11084 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11085 as_fn_exit ()
   11086 {
   11087   set +e
   11088   as_fn_set_status $1
   11089   exit $1
   11090 } # as_fn_exit
   11091 
   11092 # as_fn_unset VAR
   11093 # ---------------
   11094 # Portably unset VAR.
   11095 as_fn_unset ()
   11096 {
   11097   { eval $1=; unset $1;}
   11098 }
   11099 as_unset=as_fn_unset
   11100 # as_fn_append VAR VALUE
   11101 # ----------------------
   11102 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11103 # advantage of any shell optimizations that allow amortized linear growth over
   11104 # repeated appends, instead of the typical quadratic growth present in naive
   11105 # implementations.
   11106 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11107   eval 'as_fn_append ()
   11108   {
   11109     eval $1+=\$2
   11110   }'
   11111 else
   11112   as_fn_append ()
   11113   {
   11114     eval $1=\$$1\$2
   11115   }
   11116 fi # as_fn_append
   11117 
   11118 # as_fn_arith ARG...
   11119 # ------------------
   11120 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11121 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11122 # must be portable across $(()) and expr.
   11123 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11124   eval 'as_fn_arith ()
   11125   {
   11126     as_val=$(( $* ))
   11127   }'
   11128 else
   11129   as_fn_arith ()
   11130   {
   11131     as_val=`expr "$@" || test $? -eq 1`
   11132   }
   11133 fi # as_fn_arith
   11134 
   11135 
   11136 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11137    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11138   as_expr=expr
   11139 else
   11140   as_expr=false
   11141 fi
   11142 
   11143 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11144   as_basename=basename
   11145 else
   11146   as_basename=false
   11147 fi
   11148 
   11149 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11150   as_dirname=dirname
   11151 else
   11152   as_dirname=false
   11153 fi
   11154 
   11155 as_me=`$as_basename -- "$0" ||
   11156 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11157 	 X"$0" : 'X\(//\)$' \| \
   11158 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11159 $as_echo X/"$0" |
   11160     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11161 	    s//\1/
   11162 	    q
   11163 	  }
   11164 	  /^X\/\(\/\/\)$/{
   11165 	    s//\1/
   11166 	    q
   11167 	  }
   11168 	  /^X\/\(\/\).*/{
   11169 	    s//\1/
   11170 	    q
   11171 	  }
   11172 	  s/.*/./; q'`
   11173 
   11174 # Avoid depending upon Character Ranges.
   11175 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11176 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11177 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11178 as_cr_digits='0123456789'
   11179 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11180 
   11181 ECHO_C= ECHO_N= ECHO_T=
   11182 case `echo -n x` in #(((((
   11183 -n*)
   11184   case `echo 'xy\c'` in
   11185   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11186   xy)  ECHO_C='\c';;
   11187   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11188        ECHO_T='	';;
   11189   esac;;
   11190 *)
   11191   ECHO_N='-n';;
   11192 esac
   11193 
   11194 rm -f conf$$ conf$$.exe conf$$.file
   11195 if test -d conf$$.dir; then
   11196   rm -f conf$$.dir/conf$$.file
   11197 else
   11198   rm -f conf$$.dir
   11199   mkdir conf$$.dir 2>/dev/null
   11200 fi
   11201 if (echo >conf$$.file) 2>/dev/null; then
   11202   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11203     as_ln_s='ln -s'
   11204     # ... but there are two gotchas:
   11205     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11206     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11207     # In both cases, we have to default to `cp -p'.
   11208     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11209       as_ln_s='cp -p'
   11210   elif ln conf$$.file conf$$ 2>/dev/null; then
   11211     as_ln_s=ln
   11212   else
   11213     as_ln_s='cp -p'
   11214   fi
   11215 else
   11216   as_ln_s='cp -p'
   11217 fi
   11218 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11219 rmdir conf$$.dir 2>/dev/null
   11220 
   11221 
   11222 # as_fn_mkdir_p
   11223 # -------------
   11224 # Create "$as_dir" as a directory, including parents if necessary.
   11225 as_fn_mkdir_p ()
   11226 {
   11227 
   11228   case $as_dir in #(
   11229   -*) as_dir=./$as_dir;;
   11230   esac
   11231   test -d "$as_dir" || eval $as_mkdir_p || {
   11232     as_dirs=
   11233     while :; do
   11234       case $as_dir in #(
   11235       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11236       *) as_qdir=$as_dir;;
   11237       esac
   11238       as_dirs="'$as_qdir' $as_dirs"
   11239       as_dir=`$as_dirname -- "$as_dir" ||
   11240 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11241 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11242 	 X"$as_dir" : 'X\(//\)$' \| \
   11243 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11244 $as_echo X"$as_dir" |
   11245     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11246 	    s//\1/
   11247 	    q
   11248 	  }
   11249 	  /^X\(\/\/\)[^/].*/{
   11250 	    s//\1/
   11251 	    q
   11252 	  }
   11253 	  /^X\(\/\/\)$/{
   11254 	    s//\1/
   11255 	    q
   11256 	  }
   11257 	  /^X\(\/\).*/{
   11258 	    s//\1/
   11259 	    q
   11260 	  }
   11261 	  s/.*/./; q'`
   11262       test -d "$as_dir" && break
   11263     done
   11264     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11265   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11266 
   11267 
   11268 } # as_fn_mkdir_p
   11269 if mkdir -p . 2>/dev/null; then
   11270   as_mkdir_p='mkdir -p "$as_dir"'
   11271 else
   11272   test -d ./-p && rmdir ./-p
   11273   as_mkdir_p=false
   11274 fi
   11275 
   11276 if test -x / >/dev/null 2>&1; then
   11277   as_test_x='test -x'
   11278 else
   11279   if ls -dL / >/dev/null 2>&1; then
   11280     as_ls_L_option=L
   11281   else
   11282     as_ls_L_option=
   11283   fi
   11284   as_test_x='
   11285     eval sh -c '\''
   11286       if test -d "$1"; then
   11287 	test -d "$1/.";
   11288       else
   11289 	case $1 in #(
   11290 	-*)set "./$1";;
   11291 	esac;
   11292 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   11293 	???[sx]*):;;*)false;;esac;fi
   11294     '\'' sh
   11295   '
   11296 fi
   11297 as_executable_p=$as_test_x
   11298 
   11299 # Sed expression to map a string onto a valid CPP name.
   11300 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11301 
   11302 # Sed expression to map a string onto a valid variable name.
   11303 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11304 
   11305 
   11306 exec 6>&1
   11307 ## ----------------------------------- ##
   11308 ## Main body of $CONFIG_STATUS script. ##
   11309 ## ----------------------------------- ##
   11310 _ASEOF
   11311 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11312 
   11313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11314 # Save the log message, to keep $0 and so on meaningful, and to
   11315 # report actual input values of CONFIG_FILES etc. instead of their
   11316 # values after options handling.
   11317 ac_log="
   11318 This file was extended by xclipboard $as_me 1.1.3, which was
   11319 generated by GNU Autoconf 2.68.  Invocation command line was
   11320 
   11321   CONFIG_FILES    = $CONFIG_FILES
   11322   CONFIG_HEADERS  = $CONFIG_HEADERS
   11323   CONFIG_LINKS    = $CONFIG_LINKS
   11324   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11325   $ $0 $@
   11326 
   11327 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11328 "
   11329 
   11330 _ACEOF
   11331 
   11332 case $ac_config_files in *"
   11333 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11334 esac
   11335 
   11336 case $ac_config_headers in *"
   11337 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11338 esac
   11339 
   11340 
   11341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11342 # Files that config.status was made for.
   11343 config_files="$ac_config_files"
   11344 config_headers="$ac_config_headers"
   11345 config_commands="$ac_config_commands"
   11346 
   11347 _ACEOF
   11348 
   11349 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11350 ac_cs_usage="\
   11351 \`$as_me' instantiates files and other configuration actions
   11352 from templates according to the current configuration.  Unless the files
   11353 and actions are specified as TAGs, all are instantiated by default.
   11354 
   11355 Usage: $0 [OPTION]... [TAG]...
   11356 
   11357   -h, --help       print this help, then exit
   11358   -V, --version    print version number and configuration settings, then exit
   11359       --config     print configuration, then exit
   11360   -q, --quiet, --silent
   11361                    do not print progress messages
   11362   -d, --debug      don't remove temporary files
   11363       --recheck    update $as_me by reconfiguring in the same conditions
   11364       --file=FILE[:TEMPLATE]
   11365                    instantiate the configuration file FILE
   11366       --header=FILE[:TEMPLATE]
   11367                    instantiate the configuration header FILE
   11368 
   11369 Configuration files:
   11370 $config_files
   11371 
   11372 Configuration headers:
   11373 $config_headers
   11374 
   11375 Configuration commands:
   11376 $config_commands
   11377 
   11378 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11379 
   11380 _ACEOF
   11381 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11382 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11383 ac_cs_version="\\
   11384 xclipboard config.status 1.1.3
   11385 configured by $0, generated by GNU Autoconf 2.68,
   11386   with options \\"\$ac_cs_config\\"
   11387 
   11388 Copyright (C) 2010 Free Software Foundation, Inc.
   11389 This config.status script is free software; the Free Software Foundation
   11390 gives unlimited permission to copy, distribute and modify it."
   11391 
   11392 ac_pwd='$ac_pwd'
   11393 srcdir='$srcdir'
   11394 INSTALL='$INSTALL'
   11395 MKDIR_P='$MKDIR_P'
   11396 AWK='$AWK'
   11397 test -n "\$AWK" || AWK=awk
   11398 _ACEOF
   11399 
   11400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11401 # The default lists apply if the user does not specify any file.
   11402 ac_need_defaults=:
   11403 while test $# != 0
   11404 do
   11405   case $1 in
   11406   --*=?*)
   11407     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11408     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11409     ac_shift=:
   11410     ;;
   11411   --*=)
   11412     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11413     ac_optarg=
   11414     ac_shift=:
   11415     ;;
   11416   *)
   11417     ac_option=$1
   11418     ac_optarg=$2
   11419     ac_shift=shift
   11420     ;;
   11421   esac
   11422 
   11423   case $ac_option in
   11424   # Handling of the options.
   11425   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11426     ac_cs_recheck=: ;;
   11427   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11428     $as_echo "$ac_cs_version"; exit ;;
   11429   --config | --confi | --conf | --con | --co | --c )
   11430     $as_echo "$ac_cs_config"; exit ;;
   11431   --debug | --debu | --deb | --de | --d | -d )
   11432     debug=: ;;
   11433   --file | --fil | --fi | --f )
   11434     $ac_shift
   11435     case $ac_optarg in
   11436     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11437     '') as_fn_error $? "missing file argument" ;;
   11438     esac
   11439     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11440     ac_need_defaults=false;;
   11441   --header | --heade | --head | --hea )
   11442     $ac_shift
   11443     case $ac_optarg in
   11444     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11445     esac
   11446     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11447     ac_need_defaults=false;;
   11448   --he | --h)
   11449     # Conflict between --help and --header
   11450     as_fn_error $? "ambiguous option: \`$1'
   11451 Try \`$0 --help' for more information.";;
   11452   --help | --hel | -h )
   11453     $as_echo "$ac_cs_usage"; exit ;;
   11454   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11455   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11456     ac_cs_silent=: ;;
   11457 
   11458   # This is an error.
   11459   -*) as_fn_error $? "unrecognized option: \`$1'
   11460 Try \`$0 --help' for more information." ;;
   11461 
   11462   *) as_fn_append ac_config_targets " $1"
   11463      ac_need_defaults=false ;;
   11464 
   11465   esac
   11466   shift
   11467 done
   11468 
   11469 ac_configure_extra_args=
   11470 
   11471 if $ac_cs_silent; then
   11472   exec 6>/dev/null
   11473   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11474 fi
   11475 
   11476 _ACEOF
   11477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11478 if \$ac_cs_recheck; then
   11479   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11480   shift
   11481   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11482   CONFIG_SHELL='$SHELL'
   11483   export CONFIG_SHELL
   11484   exec "\$@"
   11485 fi
   11486 
   11487 _ACEOF
   11488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11489 exec 5>>config.log
   11490 {
   11491   echo
   11492   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11493 ## Running $as_me. ##
   11494 _ASBOX
   11495   $as_echo "$ac_log"
   11496 } >&5
   11497 
   11498 _ACEOF
   11499 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11500 #
   11501 # INIT-COMMANDS
   11502 #
   11503 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11504 
   11505 _ACEOF
   11506 
   11507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11508 
   11509 # Handling of arguments.
   11510 for ac_config_target in $ac_config_targets
   11511 do
   11512   case $ac_config_target in
   11513     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11514     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11515     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11516     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11517 
   11518   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11519   esac
   11520 done
   11521 
   11522 
   11523 # If the user did not use the arguments to specify the items to instantiate,
   11524 # then the envvar interface is used.  Set only those that are not.
   11525 # We use the long form for the default assignment because of an extremely
   11526 # bizarre bug on SunOS 4.1.3.
   11527 if $ac_need_defaults; then
   11528   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11529   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11530   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11531 fi
   11532 
   11533 # Have a temporary directory for convenience.  Make it in the build tree
   11534 # simply because there is no reason against having it here, and in addition,
   11535 # creating and moving files from /tmp can sometimes cause problems.
   11536 # Hook for its removal unless debugging.
   11537 # Note that there is a small window in which the directory will not be cleaned:
   11538 # after its creation but before its name has been assigned to `$tmp'.
   11539 $debug ||
   11540 {
   11541   tmp= ac_tmp=
   11542   trap 'exit_status=$?
   11543   : "${ac_tmp:=$tmp}"
   11544   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11545 ' 0
   11546   trap 'as_fn_exit 1' 1 2 13 15
   11547 }
   11548 # Create a (secure) tmp directory for tmp files.
   11549 
   11550 {
   11551   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11552   test -d "$tmp"
   11553 }  ||
   11554 {
   11555   tmp=./conf$$-$RANDOM
   11556   (umask 077 && mkdir "$tmp")
   11557 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11558 ac_tmp=$tmp
   11559 
   11560 # Set up the scripts for CONFIG_FILES section.
   11561 # No need to generate them if there are no CONFIG_FILES.
   11562 # This happens for instance with `./config.status config.h'.
   11563 if test -n "$CONFIG_FILES"; then
   11564 
   11565 
   11566 ac_cr=`echo X | tr X '\015'`
   11567 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11568 # But we know of no other shell where ac_cr would be empty at this
   11569 # point, so we can use a bashism as a fallback.
   11570 if test "x$ac_cr" = x; then
   11571   eval ac_cr=\$\'\\r\'
   11572 fi
   11573 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11574 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11575   ac_cs_awk_cr='\\r'
   11576 else
   11577   ac_cs_awk_cr=$ac_cr
   11578 fi
   11579 
   11580 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11581 _ACEOF
   11582 
   11583 
   11584 {
   11585   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11586   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11587   echo "_ACEOF"
   11588 } >conf$$subs.sh ||
   11589   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11590 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11591 ac_delim='%!_!# '
   11592 for ac_last_try in false false false false false :; do
   11593   . ./conf$$subs.sh ||
   11594     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11595 
   11596   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11597   if test $ac_delim_n = $ac_delim_num; then
   11598     break
   11599   elif $ac_last_try; then
   11600     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11601   else
   11602     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11603   fi
   11604 done
   11605 rm -f conf$$subs.sh
   11606 
   11607 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11608 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11609 _ACEOF
   11610 sed -n '
   11611 h
   11612 s/^/S["/; s/!.*/"]=/
   11613 p
   11614 g
   11615 s/^[^!]*!//
   11616 :repl
   11617 t repl
   11618 s/'"$ac_delim"'$//
   11619 t delim
   11620 :nl
   11621 h
   11622 s/\(.\{148\}\)..*/\1/
   11623 t more1
   11624 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11625 p
   11626 n
   11627 b repl
   11628 :more1
   11629 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11630 p
   11631 g
   11632 s/.\{148\}//
   11633 t nl
   11634 :delim
   11635 h
   11636 s/\(.\{148\}\)..*/\1/
   11637 t more2
   11638 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11639 p
   11640 b
   11641 :more2
   11642 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11643 p
   11644 g
   11645 s/.\{148\}//
   11646 t delim
   11647 ' <conf$$subs.awk | sed '
   11648 /^[^""]/{
   11649   N
   11650   s/\n//
   11651 }
   11652 ' >>$CONFIG_STATUS || ac_write_fail=1
   11653 rm -f conf$$subs.awk
   11654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11655 _ACAWK
   11656 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11657   for (key in S) S_is_set[key] = 1
   11658   FS = ""
   11659 
   11660 }
   11661 {
   11662   line = $ 0
   11663   nfields = split(line, field, "@")
   11664   substed = 0
   11665   len = length(field[1])
   11666   for (i = 2; i < nfields; i++) {
   11667     key = field[i]
   11668     keylen = length(key)
   11669     if (S_is_set[key]) {
   11670       value = S[key]
   11671       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11672       len += length(value) + length(field[++i])
   11673       substed = 1
   11674     } else
   11675       len += 1 + keylen
   11676   }
   11677 
   11678   print line
   11679 }
   11680 
   11681 _ACAWK
   11682 _ACEOF
   11683 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11684 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11685   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11686 else
   11687   cat
   11688 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11689   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11690 _ACEOF
   11691 
   11692 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11693 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11694 # trailing colons and then remove the whole line if VPATH becomes empty
   11695 # (actually we leave an empty line to preserve line numbers).
   11696 if test "x$srcdir" = x.; then
   11697   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11698 h
   11699 s///
   11700 s/^/:/
   11701 s/[	 ]*$/:/
   11702 s/:\$(srcdir):/:/g
   11703 s/:\${srcdir}:/:/g
   11704 s/:@srcdir@:/:/g
   11705 s/^:*//
   11706 s/:*$//
   11707 x
   11708 s/\(=[	 ]*\).*/\1/
   11709 G
   11710 s/\n//
   11711 s/^[^=]*=[	 ]*$//
   11712 }'
   11713 fi
   11714 
   11715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11716 fi # test -n "$CONFIG_FILES"
   11717 
   11718 # Set up the scripts for CONFIG_HEADERS section.
   11719 # No need to generate them if there are no CONFIG_HEADERS.
   11720 # This happens for instance with `./config.status Makefile'.
   11721 if test -n "$CONFIG_HEADERS"; then
   11722 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11723 BEGIN {
   11724 _ACEOF
   11725 
   11726 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11727 # here-document in config.status, that substitutes the proper values into
   11728 # config.h.in to produce config.h.
   11729 
   11730 # Create a delimiter string that does not exist in confdefs.h, to ease
   11731 # handling of long lines.
   11732 ac_delim='%!_!# '
   11733 for ac_last_try in false false :; do
   11734   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11735   if test -z "$ac_tt"; then
   11736     break
   11737   elif $ac_last_try; then
   11738     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11739   else
   11740     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11741   fi
   11742 done
   11743 
   11744 # For the awk script, D is an array of macro values keyed by name,
   11745 # likewise P contains macro parameters if any.  Preserve backslash
   11746 # newline sequences.
   11747 
   11748 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11749 sed -n '
   11750 s/.\{148\}/&'"$ac_delim"'/g
   11751 t rset
   11752 :rset
   11753 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11754 t def
   11755 d
   11756 :def
   11757 s/\\$//
   11758 t bsnl
   11759 s/["\\]/\\&/g
   11760 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11761 D["\1"]=" \3"/p
   11762 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11763 d
   11764 :bsnl
   11765 s/["\\]/\\&/g
   11766 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11767 D["\1"]=" \3\\\\\\n"\\/p
   11768 t cont
   11769 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11770 t cont
   11771 d
   11772 :cont
   11773 n
   11774 s/.\{148\}/&'"$ac_delim"'/g
   11775 t clear
   11776 :clear
   11777 s/\\$//
   11778 t bsnlc
   11779 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11780 d
   11781 :bsnlc
   11782 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11783 b cont
   11784 ' <confdefs.h | sed '
   11785 s/'"$ac_delim"'/"\\\
   11786 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11787 
   11788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11789   for (key in D) D_is_set[key] = 1
   11790   FS = ""
   11791 }
   11792 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11793   line = \$ 0
   11794   split(line, arg, " ")
   11795   if (arg[1] == "#") {
   11796     defundef = arg[2]
   11797     mac1 = arg[3]
   11798   } else {
   11799     defundef = substr(arg[1], 2)
   11800     mac1 = arg[2]
   11801   }
   11802   split(mac1, mac2, "(") #)
   11803   macro = mac2[1]
   11804   prefix = substr(line, 1, index(line, defundef) - 1)
   11805   if (D_is_set[macro]) {
   11806     # Preserve the white space surrounding the "#".
   11807     print prefix "define", macro P[macro] D[macro]
   11808     next
   11809   } else {
   11810     # Replace #undef with comments.  This is necessary, for example,
   11811     # in the case of _POSIX_SOURCE, which is predefined and required
   11812     # on some systems where configure will not decide to define it.
   11813     if (defundef == "undef") {
   11814       print "/*", prefix defundef, macro, "*/"
   11815       next
   11816     }
   11817   }
   11818 }
   11819 { print }
   11820 _ACAWK
   11821 _ACEOF
   11822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11823   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11824 fi # test -n "$CONFIG_HEADERS"
   11825 
   11826 
   11827 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11828 shift
   11829 for ac_tag
   11830 do
   11831   case $ac_tag in
   11832   :[FHLC]) ac_mode=$ac_tag; continue;;
   11833   esac
   11834   case $ac_mode$ac_tag in
   11835   :[FHL]*:*);;
   11836   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11837   :[FH]-) ac_tag=-:-;;
   11838   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11839   esac
   11840   ac_save_IFS=$IFS
   11841   IFS=:
   11842   set x $ac_tag
   11843   IFS=$ac_save_IFS
   11844   shift
   11845   ac_file=$1
   11846   shift
   11847 
   11848   case $ac_mode in
   11849   :L) ac_source=$1;;
   11850   :[FH])
   11851     ac_file_inputs=
   11852     for ac_f
   11853     do
   11854       case $ac_f in
   11855       -) ac_f="$ac_tmp/stdin";;
   11856       *) # Look for the file first in the build tree, then in the source tree
   11857 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11858 	 # because $ac_f cannot contain `:'.
   11859 	 test -f "$ac_f" ||
   11860 	   case $ac_f in
   11861 	   [\\/$]*) false;;
   11862 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11863 	   esac ||
   11864 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11865       esac
   11866       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11867       as_fn_append ac_file_inputs " '$ac_f'"
   11868     done
   11869 
   11870     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11871     # use $as_me), people would be surprised to read:
   11872     #    /* config.h.  Generated by config.status.  */
   11873     configure_input='Generated from '`
   11874 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11875 	`' by configure.'
   11876     if test x"$ac_file" != x-; then
   11877       configure_input="$ac_file.  $configure_input"
   11878       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11879 $as_echo "$as_me: creating $ac_file" >&6;}
   11880     fi
   11881     # Neutralize special characters interpreted by sed in replacement strings.
   11882     case $configure_input in #(
   11883     *\&* | *\|* | *\\* )
   11884        ac_sed_conf_input=`$as_echo "$configure_input" |
   11885        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11886     *) ac_sed_conf_input=$configure_input;;
   11887     esac
   11888 
   11889     case $ac_tag in
   11890     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   11891       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   11892     esac
   11893     ;;
   11894   esac
   11895 
   11896   ac_dir=`$as_dirname -- "$ac_file" ||
   11897 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11898 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   11899 	 X"$ac_file" : 'X\(//\)$' \| \
   11900 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   11901 $as_echo X"$ac_file" |
   11902     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11903 	    s//\1/
   11904 	    q
   11905 	  }
   11906 	  /^X\(\/\/\)[^/].*/{
   11907 	    s//\1/
   11908 	    q
   11909 	  }
   11910 	  /^X\(\/\/\)$/{
   11911 	    s//\1/
   11912 	    q
   11913 	  }
   11914 	  /^X\(\/\).*/{
   11915 	    s//\1/
   11916 	    q
   11917 	  }
   11918 	  s/.*/./; q'`
   11919   as_dir="$ac_dir"; as_fn_mkdir_p
   11920   ac_builddir=.
   11921 
   11922 case "$ac_dir" in
   11923 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11924 *)
   11925   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   11926   # A ".." for each directory in $ac_dir_suffix.
   11927   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   11928   case $ac_top_builddir_sub in
   11929   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11930   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   11931   esac ;;
   11932 esac
   11933 ac_abs_top_builddir=$ac_pwd
   11934 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   11935 # for backward compatibility:
   11936 ac_top_builddir=$ac_top_build_prefix
   11937 
   11938 case $srcdir in
   11939   .)  # We are building in place.
   11940     ac_srcdir=.
   11941     ac_top_srcdir=$ac_top_builddir_sub
   11942     ac_abs_top_srcdir=$ac_pwd ;;
   11943   [\\/]* | ?:[\\/]* )  # Absolute name.
   11944     ac_srcdir=$srcdir$ac_dir_suffix;
   11945     ac_top_srcdir=$srcdir
   11946     ac_abs_top_srcdir=$srcdir ;;
   11947   *) # Relative name.
   11948     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   11949     ac_top_srcdir=$ac_top_build_prefix$srcdir
   11950     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   11951 esac
   11952 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   11953 
   11954 
   11955   case $ac_mode in
   11956   :F)
   11957   #
   11958   # CONFIG_FILE
   11959   #
   11960 
   11961   case $INSTALL in
   11962   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   11963   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   11964   esac
   11965   ac_MKDIR_P=$MKDIR_P
   11966   case $MKDIR_P in
   11967   [\\/$]* | ?:[\\/]* ) ;;
   11968   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   11969   esac
   11970 _ACEOF
   11971 
   11972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11973 # If the template does not know about datarootdir, expand it.
   11974 # FIXME: This hack should be removed a few years after 2.60.
   11975 ac_datarootdir_hack=; ac_datarootdir_seen=
   11976 ac_sed_dataroot='
   11977 /datarootdir/ {
   11978   p
   11979   q
   11980 }
   11981 /@datadir@/p
   11982 /@docdir@/p
   11983 /@infodir@/p
   11984 /@localedir@/p
   11985 /@mandir@/p'
   11986 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   11987 *datarootdir*) ac_datarootdir_seen=yes;;
   11988 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   11989   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   11990 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   11991 _ACEOF
   11992 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11993   ac_datarootdir_hack='
   11994   s&@datadir@&$datadir&g
   11995   s&@docdir@&$docdir&g
   11996   s&@infodir@&$infodir&g
   11997   s&@localedir@&$localedir&g
   11998   s&@mandir@&$mandir&g
   11999   s&\\\${datarootdir}&$datarootdir&g' ;;
   12000 esac
   12001 _ACEOF
   12002 
   12003 # Neutralize VPATH when `$srcdir' = `.'.
   12004 # Shell code in configure.ac might set extrasub.
   12005 # FIXME: do we really want to maintain this feature?
   12006 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12007 ac_sed_extra="$ac_vpsub
   12008 $extrasub
   12009 _ACEOF
   12010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12011 :t
   12012 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12013 s|@configure_input@|$ac_sed_conf_input|;t t
   12014 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12015 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12016 s&@srcdir@&$ac_srcdir&;t t
   12017 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12018 s&@top_srcdir@&$ac_top_srcdir&;t t
   12019 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12020 s&@builddir@&$ac_builddir&;t t
   12021 s&@abs_builddir@&$ac_abs_builddir&;t t
   12022 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12023 s&@INSTALL@&$ac_INSTALL&;t t
   12024 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12025 $ac_datarootdir_hack
   12026 "
   12027 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12028   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12029 
   12030 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12031   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12032   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12033       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12034   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12035 which seems to be undefined.  Please make sure it is defined" >&5
   12036 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12037 which seems to be undefined.  Please make sure it is defined" >&2;}
   12038 
   12039   rm -f "$ac_tmp/stdin"
   12040   case $ac_file in
   12041   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12042   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12043   esac \
   12044   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12045  ;;
   12046   :H)
   12047   #
   12048   # CONFIG_HEADER
   12049   #
   12050   if test x"$ac_file" != x-; then
   12051     {
   12052       $as_echo "/* $configure_input  */" \
   12053       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12054     } >"$ac_tmp/config.h" \
   12055       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12056     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12057       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12058 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12059     else
   12060       rm -f "$ac_file"
   12061       mv "$ac_tmp/config.h" "$ac_file" \
   12062 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12063     fi
   12064   else
   12065     $as_echo "/* $configure_input  */" \
   12066       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12067       || as_fn_error $? "could not create -" "$LINENO" 5
   12068   fi
   12069 # Compute "$ac_file"'s index in $config_headers.
   12070 _am_arg="$ac_file"
   12071 _am_stamp_count=1
   12072 for _am_header in $config_headers :; do
   12073   case $_am_header in
   12074     $_am_arg | $_am_arg:* )
   12075       break ;;
   12076     * )
   12077       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12078   esac
   12079 done
   12080 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12081 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12082 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12083 	 X"$_am_arg" : 'X\(//\)$' \| \
   12084 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12085 $as_echo X"$_am_arg" |
   12086     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12087 	    s//\1/
   12088 	    q
   12089 	  }
   12090 	  /^X\(\/\/\)[^/].*/{
   12091 	    s//\1/
   12092 	    q
   12093 	  }
   12094 	  /^X\(\/\/\)$/{
   12095 	    s//\1/
   12096 	    q
   12097 	  }
   12098 	  /^X\(\/\).*/{
   12099 	    s//\1/
   12100 	    q
   12101 	  }
   12102 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12103  ;;
   12104 
   12105   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12106 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12107  ;;
   12108   esac
   12109 
   12110 
   12111   case $ac_file$ac_mode in
   12112     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12113   # Older Autoconf quotes --file arguments for eval, but not when files
   12114   # are listed without --file.  Let's play safe and only enable the eval
   12115   # if we detect the quoting.
   12116   case $CONFIG_FILES in
   12117   *\'*) eval set x "$CONFIG_FILES" ;;
   12118   *)   set x $CONFIG_FILES ;;
   12119   esac
   12120   shift
   12121   for mf
   12122   do
   12123     # Strip MF so we end up with the name of the file.
   12124     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12125     # Check whether this is an Automake generated Makefile or not.
   12126     # We used to match only the files named 'Makefile.in', but
   12127     # some people rename them; so instead we look at the file content.
   12128     # Grep'ing the first line is not enough: some people post-process
   12129     # each Makefile.in and add a new line on top of each file to say so.
   12130     # Grep'ing the whole file is not good either: AIX grep has a line
   12131     # limit of 2048, but all sed's we know have understand at least 4000.
   12132     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12133       dirpart=`$as_dirname -- "$mf" ||
   12134 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12135 	 X"$mf" : 'X\(//\)[^/]' \| \
   12136 	 X"$mf" : 'X\(//\)$' \| \
   12137 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12138 $as_echo X"$mf" |
   12139     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12140 	    s//\1/
   12141 	    q
   12142 	  }
   12143 	  /^X\(\/\/\)[^/].*/{
   12144 	    s//\1/
   12145 	    q
   12146 	  }
   12147 	  /^X\(\/\/\)$/{
   12148 	    s//\1/
   12149 	    q
   12150 	  }
   12151 	  /^X\(\/\).*/{
   12152 	    s//\1/
   12153 	    q
   12154 	  }
   12155 	  s/.*/./; q'`
   12156     else
   12157       continue
   12158     fi
   12159     # Extract the definition of DEPDIR, am__include, and am__quote
   12160     # from the Makefile without running 'make'.
   12161     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12162     test -z "$DEPDIR" && continue
   12163     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12164     test -z "$am__include" && continue
   12165     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12166     # Find all dependency output files, they are included files with
   12167     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12168     # simplest approach to changing $(DEPDIR) to its actual value in the
   12169     # expansion.
   12170     for file in `sed -n "
   12171       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12172 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12173       # Make sure the directory exists.
   12174       test -f "$dirpart/$file" && continue
   12175       fdir=`$as_dirname -- "$file" ||
   12176 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12177 	 X"$file" : 'X\(//\)[^/]' \| \
   12178 	 X"$file" : 'X\(//\)$' \| \
   12179 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12180 $as_echo X"$file" |
   12181     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12182 	    s//\1/
   12183 	    q
   12184 	  }
   12185 	  /^X\(\/\/\)[^/].*/{
   12186 	    s//\1/
   12187 	    q
   12188 	  }
   12189 	  /^X\(\/\/\)$/{
   12190 	    s//\1/
   12191 	    q
   12192 	  }
   12193 	  /^X\(\/\).*/{
   12194 	    s//\1/
   12195 	    q
   12196 	  }
   12197 	  s/.*/./; q'`
   12198       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12199       # echo "creating $dirpart/$file"
   12200       echo '# dummy' > "$dirpart/$file"
   12201     done
   12202   done
   12203 }
   12204  ;;
   12205 
   12206   esac
   12207 done # for ac_tag
   12208 
   12209 
   12210 as_fn_exit 0
   12211 _ACEOF
   12212 ac_clean_files=$ac_clean_files_save
   12213 
   12214 test $ac_write_fail = 0 ||
   12215   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12216 
   12217 
   12218 # configure is writing to config.log, and then calls config.status.
   12219 # config.status does its own redirection, appending to config.log.
   12220 # Unfortunately, on DOS this fails, as config.log is still kept open
   12221 # by configure, so config.status won't be able to write to it; its
   12222 # output is simply discarded.  So we exec the FD to /dev/null,
   12223 # effectively closing config.log, so it can be properly (re)opened and
   12224 # appended to by config.status.  When coming back to configure, we
   12225 # need to make the FD available again.
   12226 if test "$no_create" != yes; then
   12227   ac_cs_success=:
   12228   ac_config_status_args=
   12229   test "$silent" = yes &&
   12230     ac_config_status_args="$ac_config_status_args --quiet"
   12231   exec 5>/dev/null
   12232   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12233   exec 5>>config.log
   12234   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12235   # would make configure fail if this is the last instruction.
   12236   $ac_cs_success || as_fn_exit 1
   12237 fi
   12238 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12239   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12240 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12241 fi
   12242 
   12243