Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for xclipboard 1.1.2.
      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.2'
    565 PACKAGE_STRING='xclipboard 1.1.2'
    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 AM_BACKSLASH
    616 AM_DEFAULT_VERBOSITY
    617 MAN_SUBSTS
    618 XORG_MAN_PAGE
    619 ADMIN_MAN_DIR
    620 DRIVER_MAN_DIR
    621 MISC_MAN_DIR
    622 FILE_MAN_DIR
    623 LIB_MAN_DIR
    624 APP_MAN_DIR
    625 ADMIN_MAN_SUFFIX
    626 DRIVER_MAN_SUFFIX
    627 MISC_MAN_SUFFIX
    628 FILE_MAN_SUFFIX
    629 LIB_MAN_SUFFIX
    630 APP_MAN_SUFFIX
    631 SED
    632 host_os
    633 host_vendor
    634 host_cpu
    635 host
    636 build_os
    637 build_vendor
    638 build_cpu
    639 build
    640 INSTALL_CMD
    641 PKG_CONFIG
    642 CHANGELOG_CMD
    643 STRICT_CFLAGS
    644 CWARNFLAGS
    645 BASE_CFLAGS
    646 EGREP
    647 GREP
    648 CPP
    649 am__fastdepCC_FALSE
    650 am__fastdepCC_TRUE
    651 CCDEPMODE
    652 AMDEPBACKSLASH
    653 AMDEP_FALSE
    654 AMDEP_TRUE
    655 am__quote
    656 am__include
    657 DEPDIR
    658 OBJEXT
    659 EXEEXT
    660 ac_ct_CC
    661 CPPFLAGS
    662 LDFLAGS
    663 CFLAGS
    664 CC
    665 MAINT
    666 MAINTAINER_MODE_FALSE
    667 MAINTAINER_MODE_TRUE
    668 am__untar
    669 am__tar
    670 AMTAR
    671 am__leading_dot
    672 SET_MAKE
    673 AWK
    674 mkdir_p
    675 MKDIR_P
    676 INSTALL_STRIP_PROGRAM
    677 STRIP
    678 install_sh
    679 MAKEINFO
    680 AUTOHEADER
    681 AUTOMAKE
    682 AUTOCONF
    683 ACLOCAL
    684 VERSION
    685 PACKAGE
    686 CYGPATH_W
    687 am__isrc
    688 INSTALL_DATA
    689 INSTALL_SCRIPT
    690 INSTALL_PROGRAM
    691 target_alias
    692 host_alias
    693 build_alias
    694 LIBS
    695 ECHO_T
    696 ECHO_N
    697 ECHO_C
    698 DEFS
    699 mandir
    700 localedir
    701 libdir
    702 psdir
    703 pdfdir
    704 dvidir
    705 htmldir
    706 infodir
    707 docdir
    708 oldincludedir
    709 includedir
    710 localstatedir
    711 sharedstatedir
    712 sysconfdir
    713 datadir
    714 datarootdir
    715 libexecdir
    716 sbindir
    717 bindir
    718 program_transform_name
    719 prefix
    720 exec_prefix
    721 PACKAGE_URL
    722 PACKAGE_BUGREPORT
    723 PACKAGE_STRING
    724 PACKAGE_VERSION
    725 PACKAGE_TARNAME
    726 PACKAGE_NAME
    727 PATH_SEPARATOR
    728 SHELL'
    729 ac_subst_files=''
    730 ac_user_opts='
    731 enable_option_checking
    732 enable_maintainer_mode
    733 enable_dependency_tracking
    734 enable_selective_werror
    735 enable_strict_compilation
    736 enable_silent_rules
    737 with_appdefaultdir
    738 '
    739       ac_precious_vars='build_alias
    740 host_alias
    741 target_alias
    742 CC
    743 CFLAGS
    744 LDFLAGS
    745 LIBS
    746 CPPFLAGS
    747 CPP
    748 PKG_CONFIG
    749 XCLIPBOARD_CFLAGS
    750 XCLIPBOARD_LIBS
    751 APPDEFS_CFLAGS
    752 APPDEFS_LIBS'
    753 
    754 
    755 # Initialize some variables set by options.
    756 ac_init_help=
    757 ac_init_version=false
    758 ac_unrecognized_opts=
    759 ac_unrecognized_sep=
    760 # The variables have the same names as the options, with
    761 # dashes changed to underlines.
    762 cache_file=/dev/null
    763 exec_prefix=NONE
    764 no_create=
    765 no_recursion=
    766 prefix=NONE
    767 program_prefix=NONE
    768 program_suffix=NONE
    769 program_transform_name=s,x,x,
    770 silent=
    771 site=
    772 srcdir=
    773 verbose=
    774 x_includes=NONE
    775 x_libraries=NONE
    776 
    777 # Installation directory options.
    778 # These are left unexpanded so users can "make install exec_prefix=/foo"
    779 # and all the variables that are supposed to be based on exec_prefix
    780 # by default will actually change.
    781 # Use braces instead of parens because sh, perl, etc. also accept them.
    782 # (The list follows the same order as the GNU Coding Standards.)
    783 bindir='${exec_prefix}/bin'
    784 sbindir='${exec_prefix}/sbin'
    785 libexecdir='${exec_prefix}/libexec'
    786 datarootdir='${prefix}/share'
    787 datadir='${datarootdir}'
    788 sysconfdir='${prefix}/etc'
    789 sharedstatedir='${prefix}/com'
    790 localstatedir='${prefix}/var'
    791 includedir='${prefix}/include'
    792 oldincludedir='/usr/include'
    793 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    794 infodir='${datarootdir}/info'
    795 htmldir='${docdir}'
    796 dvidir='${docdir}'
    797 pdfdir='${docdir}'
    798 psdir='${docdir}'
    799 libdir='${exec_prefix}/lib'
    800 localedir='${datarootdir}/locale'
    801 mandir='${datarootdir}/man'
    802 
    803 ac_prev=
    804 ac_dashdash=
    805 for ac_option
    806 do
    807   # If the previous option needs an argument, assign it.
    808   if test -n "$ac_prev"; then
    809     eval $ac_prev=\$ac_option
    810     ac_prev=
    811     continue
    812   fi
    813 
    814   case $ac_option in
    815   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    816   *=)   ac_optarg= ;;
    817   *)    ac_optarg=yes ;;
    818   esac
    819 
    820   # Accept the important Cygnus configure options, so we can diagnose typos.
    821 
    822   case $ac_dashdash$ac_option in
    823   --)
    824     ac_dashdash=yes ;;
    825 
    826   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    827     ac_prev=bindir ;;
    828   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    829     bindir=$ac_optarg ;;
    830 
    831   -build | --build | --buil | --bui | --bu)
    832     ac_prev=build_alias ;;
    833   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    834     build_alias=$ac_optarg ;;
    835 
    836   -cache-file | --cache-file | --cache-fil | --cache-fi \
    837   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    838     ac_prev=cache_file ;;
    839   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    840   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    841     cache_file=$ac_optarg ;;
    842 
    843   --config-cache | -C)
    844     cache_file=config.cache ;;
    845 
    846   -datadir | --datadir | --datadi | --datad)
    847     ac_prev=datadir ;;
    848   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    849     datadir=$ac_optarg ;;
    850 
    851   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    852   | --dataroo | --dataro | --datar)
    853     ac_prev=datarootdir ;;
    854   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    855   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    856     datarootdir=$ac_optarg ;;
    857 
    858   -disable-* | --disable-*)
    859     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    860     # Reject names that are not valid shell variable names.
    861     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    862       as_fn_error $? "invalid feature name: $ac_useropt"
    863     ac_useropt_orig=$ac_useropt
    864     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    865     case $ac_user_opts in
    866       *"
    867 "enable_$ac_useropt"
    868 "*) ;;
    869       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    870 	 ac_unrecognized_sep=', ';;
    871     esac
    872     eval enable_$ac_useropt=no ;;
    873 
    874   -docdir | --docdir | --docdi | --doc | --do)
    875     ac_prev=docdir ;;
    876   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    877     docdir=$ac_optarg ;;
    878 
    879   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    880     ac_prev=dvidir ;;
    881   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    882     dvidir=$ac_optarg ;;
    883 
    884   -enable-* | --enable-*)
    885     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    886     # Reject names that are not valid shell variable names.
    887     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    888       as_fn_error $? "invalid feature name: $ac_useropt"
    889     ac_useropt_orig=$ac_useropt
    890     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    891     case $ac_user_opts in
    892       *"
    893 "enable_$ac_useropt"
    894 "*) ;;
    895       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    896 	 ac_unrecognized_sep=', ';;
    897     esac
    898     eval enable_$ac_useropt=\$ac_optarg ;;
    899 
    900   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    901   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    902   | --exec | --exe | --ex)
    903     ac_prev=exec_prefix ;;
    904   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    905   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    906   | --exec=* | --exe=* | --ex=*)
    907     exec_prefix=$ac_optarg ;;
    908 
    909   -gas | --gas | --ga | --g)
    910     # Obsolete; use --with-gas.
    911     with_gas=yes ;;
    912 
    913   -help | --help | --hel | --he | -h)
    914     ac_init_help=long ;;
    915   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    916     ac_init_help=recursive ;;
    917   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    918     ac_init_help=short ;;
    919 
    920   -host | --host | --hos | --ho)
    921     ac_prev=host_alias ;;
    922   -host=* | --host=* | --hos=* | --ho=*)
    923     host_alias=$ac_optarg ;;
    924 
    925   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    926     ac_prev=htmldir ;;
    927   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    928   | --ht=*)
    929     htmldir=$ac_optarg ;;
    930 
    931   -includedir | --includedir | --includedi | --included | --include \
    932   | --includ | --inclu | --incl | --inc)
    933     ac_prev=includedir ;;
    934   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    935   | --includ=* | --inclu=* | --incl=* | --inc=*)
    936     includedir=$ac_optarg ;;
    937 
    938   -infodir | --infodir | --infodi | --infod | --info | --inf)
    939     ac_prev=infodir ;;
    940   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    941     infodir=$ac_optarg ;;
    942 
    943   -libdir | --libdir | --libdi | --libd)
    944     ac_prev=libdir ;;
    945   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    946     libdir=$ac_optarg ;;
    947 
    948   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    949   | --libexe | --libex | --libe)
    950     ac_prev=libexecdir ;;
    951   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    952   | --libexe=* | --libex=* | --libe=*)
    953     libexecdir=$ac_optarg ;;
    954 
    955   -localedir | --localedir | --localedi | --localed | --locale)
    956     ac_prev=localedir ;;
    957   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    958     localedir=$ac_optarg ;;
    959 
    960   -localstatedir | --localstatedir | --localstatedi | --localstated \
    961   | --localstate | --localstat | --localsta | --localst | --locals)
    962     ac_prev=localstatedir ;;
    963   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    964   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    965     localstatedir=$ac_optarg ;;
    966 
    967   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    968     ac_prev=mandir ;;
    969   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    970     mandir=$ac_optarg ;;
    971 
    972   -nfp | --nfp | --nf)
    973     # Obsolete; use --without-fp.
    974     with_fp=no ;;
    975 
    976   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    977   | --no-cr | --no-c | -n)
    978     no_create=yes ;;
    979 
    980   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    981   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    982     no_recursion=yes ;;
    983 
    984   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    985   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    986   | --oldin | --oldi | --old | --ol | --o)
    987     ac_prev=oldincludedir ;;
    988   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    989   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    990   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    991     oldincludedir=$ac_optarg ;;
    992 
    993   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    994     ac_prev=prefix ;;
    995   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    996     prefix=$ac_optarg ;;
    997 
    998   -program-prefix | --program-prefix | --program-prefi | --program-pref \
    999   | --program-pre | --program-pr | --program-p)
   1000     ac_prev=program_prefix ;;
   1001   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1002   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1003     program_prefix=$ac_optarg ;;
   1004 
   1005   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1006   | --program-suf | --program-su | --program-s)
   1007     ac_prev=program_suffix ;;
   1008   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1009   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1010     program_suffix=$ac_optarg ;;
   1011 
   1012   -program-transform-name | --program-transform-name \
   1013   | --program-transform-nam | --program-transform-na \
   1014   | --program-transform-n | --program-transform- \
   1015   | --program-transform | --program-transfor \
   1016   | --program-transfo | --program-transf \
   1017   | --program-trans | --program-tran \
   1018   | --progr-tra | --program-tr | --program-t)
   1019     ac_prev=program_transform_name ;;
   1020   -program-transform-name=* | --program-transform-name=* \
   1021   | --program-transform-nam=* | --program-transform-na=* \
   1022   | --program-transform-n=* | --program-transform-=* \
   1023   | --program-transform=* | --program-transfor=* \
   1024   | --program-transfo=* | --program-transf=* \
   1025   | --program-trans=* | --program-tran=* \
   1026   | --progr-tra=* | --program-tr=* | --program-t=*)
   1027     program_transform_name=$ac_optarg ;;
   1028 
   1029   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1030     ac_prev=pdfdir ;;
   1031   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1032     pdfdir=$ac_optarg ;;
   1033 
   1034   -psdir | --psdir | --psdi | --psd | --ps)
   1035     ac_prev=psdir ;;
   1036   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1037     psdir=$ac_optarg ;;
   1038 
   1039   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1040   | -silent | --silent | --silen | --sile | --sil)
   1041     silent=yes ;;
   1042 
   1043   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1044     ac_prev=sbindir ;;
   1045   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1046   | --sbi=* | --sb=*)
   1047     sbindir=$ac_optarg ;;
   1048 
   1049   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1050   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1051   | --sharedst | --shareds | --shared | --share | --shar \
   1052   | --sha | --sh)
   1053     ac_prev=sharedstatedir ;;
   1054   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1055   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1056   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1057   | --sha=* | --sh=*)
   1058     sharedstatedir=$ac_optarg ;;
   1059 
   1060   -site | --site | --sit)
   1061     ac_prev=site ;;
   1062   -site=* | --site=* | --sit=*)
   1063     site=$ac_optarg ;;
   1064 
   1065   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1066     ac_prev=srcdir ;;
   1067   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1068     srcdir=$ac_optarg ;;
   1069 
   1070   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1071   | --syscon | --sysco | --sysc | --sys | --sy)
   1072     ac_prev=sysconfdir ;;
   1073   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1074   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1075     sysconfdir=$ac_optarg ;;
   1076 
   1077   -target | --target | --targe | --targ | --tar | --ta | --t)
   1078     ac_prev=target_alias ;;
   1079   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1080     target_alias=$ac_optarg ;;
   1081 
   1082   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1083     verbose=yes ;;
   1084 
   1085   -version | --version | --versio | --versi | --vers | -V)
   1086     ac_init_version=: ;;
   1087 
   1088   -with-* | --with-*)
   1089     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1090     # Reject names that are not valid shell variable names.
   1091     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1092       as_fn_error $? "invalid package name: $ac_useropt"
   1093     ac_useropt_orig=$ac_useropt
   1094     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1095     case $ac_user_opts in
   1096       *"
   1097 "with_$ac_useropt"
   1098 "*) ;;
   1099       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1100 	 ac_unrecognized_sep=', ';;
   1101     esac
   1102     eval with_$ac_useropt=\$ac_optarg ;;
   1103 
   1104   -without-* | --without-*)
   1105     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1106     # Reject names that are not valid shell variable names.
   1107     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1108       as_fn_error $? "invalid package name: $ac_useropt"
   1109     ac_useropt_orig=$ac_useropt
   1110     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1111     case $ac_user_opts in
   1112       *"
   1113 "with_$ac_useropt"
   1114 "*) ;;
   1115       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1116 	 ac_unrecognized_sep=', ';;
   1117     esac
   1118     eval with_$ac_useropt=no ;;
   1119 
   1120   --x)
   1121     # Obsolete; use --with-x.
   1122     with_x=yes ;;
   1123 
   1124   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1125   | --x-incl | --x-inc | --x-in | --x-i)
   1126     ac_prev=x_includes ;;
   1127   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1128   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1129     x_includes=$ac_optarg ;;
   1130 
   1131   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1132   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1133     ac_prev=x_libraries ;;
   1134   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1135   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1136     x_libraries=$ac_optarg ;;
   1137 
   1138   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1139 Try \`$0 --help' for more information"
   1140     ;;
   1141 
   1142   *=*)
   1143     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1144     # Reject names that are not valid shell variable names.
   1145     case $ac_envvar in #(
   1146       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1147       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1148     esac
   1149     eval $ac_envvar=\$ac_optarg
   1150     export $ac_envvar ;;
   1151 
   1152   *)
   1153     # FIXME: should be removed in autoconf 3.0.
   1154     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1155     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1156       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1157     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1158     ;;
   1159 
   1160   esac
   1161 done
   1162 
   1163 if test -n "$ac_prev"; then
   1164   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1165   as_fn_error $? "missing argument to $ac_option"
   1166 fi
   1167 
   1168 if test -n "$ac_unrecognized_opts"; then
   1169   case $enable_option_checking in
   1170     no) ;;
   1171     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1172     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1173   esac
   1174 fi
   1175 
   1176 # Check all directory arguments for consistency.
   1177 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1178 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1179 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1180 		libdir localedir mandir
   1181 do
   1182   eval ac_val=\$$ac_var
   1183   # Remove trailing slashes.
   1184   case $ac_val in
   1185     */ )
   1186       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1187       eval $ac_var=\$ac_val;;
   1188   esac
   1189   # Be sure to have absolute directory names.
   1190   case $ac_val in
   1191     [\\/$]* | ?:[\\/]* )  continue;;
   1192     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1193   esac
   1194   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1195 done
   1196 
   1197 # There might be people who depend on the old broken behavior: `$host'
   1198 # used to hold the argument of --host etc.
   1199 # FIXME: To remove some day.
   1200 build=$build_alias
   1201 host=$host_alias
   1202 target=$target_alias
   1203 
   1204 # FIXME: To remove some day.
   1205 if test "x$host_alias" != x; then
   1206   if test "x$build_alias" = x; then
   1207     cross_compiling=maybe
   1208     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1209     If a cross compiler is detected then cross compile mode will be used" >&2
   1210   elif test "x$build_alias" != "x$host_alias"; then
   1211     cross_compiling=yes
   1212   fi
   1213 fi
   1214 
   1215 ac_tool_prefix=
   1216 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1217 
   1218 test "$silent" = yes && exec 6>/dev/null
   1219 
   1220 
   1221 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1222 ac_ls_di=`ls -di .` &&
   1223 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1224   as_fn_error $? "working directory cannot be determined"
   1225 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1226   as_fn_error $? "pwd does not report name of working directory"
   1227 
   1228 
   1229 # Find the source files, if location was not specified.
   1230 if test -z "$srcdir"; then
   1231   ac_srcdir_defaulted=yes
   1232   # Try the directory containing this script, then the parent directory.
   1233   ac_confdir=`$as_dirname -- "$as_myself" ||
   1234 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1235 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1236 	 X"$as_myself" : 'X\(//\)$' \| \
   1237 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1238 $as_echo X"$as_myself" |
   1239     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1240 	    s//\1/
   1241 	    q
   1242 	  }
   1243 	  /^X\(\/\/\)[^/].*/{
   1244 	    s//\1/
   1245 	    q
   1246 	  }
   1247 	  /^X\(\/\/\)$/{
   1248 	    s//\1/
   1249 	    q
   1250 	  }
   1251 	  /^X\(\/\).*/{
   1252 	    s//\1/
   1253 	    q
   1254 	  }
   1255 	  s/.*/./; q'`
   1256   srcdir=$ac_confdir
   1257   if test ! -r "$srcdir/$ac_unique_file"; then
   1258     srcdir=..
   1259   fi
   1260 else
   1261   ac_srcdir_defaulted=no
   1262 fi
   1263 if test ! -r "$srcdir/$ac_unique_file"; then
   1264   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1265   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1266 fi
   1267 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1268 ac_abs_confdir=`(
   1269 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1270 	pwd)`
   1271 # When building in place, set srcdir=.
   1272 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1273   srcdir=.
   1274 fi
   1275 # Remove unnecessary trailing slashes from srcdir.
   1276 # Double slashes in file names in object file debugging info
   1277 # mess up M-x gdb in Emacs.
   1278 case $srcdir in
   1279 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1280 esac
   1281 for ac_var in $ac_precious_vars; do
   1282   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1283   eval ac_env_${ac_var}_value=\$${ac_var}
   1284   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1285   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1286 done
   1287 
   1288 #
   1289 # Report the --help message.
   1290 #
   1291 if test "$ac_init_help" = "long"; then
   1292   # Omit some internal or obsolete options to make the list less imposing.
   1293   # This message is too long to be a string in the A/UX 3.1 sh.
   1294   cat <<_ACEOF
   1295 \`configure' configures xclipboard 1.1.2 to adapt to many kinds of systems.
   1296 
   1297 Usage: $0 [OPTION]... [VAR=VALUE]...
   1298 
   1299 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1300 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1301 
   1302 Defaults for the options are specified in brackets.
   1303 
   1304 Configuration:
   1305   -h, --help              display this help and exit
   1306       --help=short        display options specific to this package
   1307       --help=recursive    display the short help of all the included packages
   1308   -V, --version           display version information and exit
   1309   -q, --quiet, --silent   do not print \`checking ...' messages
   1310       --cache-file=FILE   cache test results in FILE [disabled]
   1311   -C, --config-cache      alias for \`--cache-file=config.cache'
   1312   -n, --no-create         do not create output files
   1313       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1314 
   1315 Installation directories:
   1316   --prefix=PREFIX         install architecture-independent files in PREFIX
   1317                           [$ac_default_prefix]
   1318   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1319                           [PREFIX]
   1320 
   1321 By default, \`make install' will install all the files in
   1322 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1323 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1324 for instance \`--prefix=\$HOME'.
   1325 
   1326 For better control, use the options below.
   1327 
   1328 Fine tuning of the installation directories:
   1329   --bindir=DIR            user executables [EPREFIX/bin]
   1330   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1331   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1332   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1333   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1334   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1335   --libdir=DIR            object code libraries [EPREFIX/lib]
   1336   --includedir=DIR        C header files [PREFIX/include]
   1337   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1338   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1339   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1340   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1341   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1342   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1343   --docdir=DIR            documentation root [DATAROOTDIR/doc/xclipboard]
   1344   --htmldir=DIR           html documentation [DOCDIR]
   1345   --dvidir=DIR            dvi documentation [DOCDIR]
   1346   --pdfdir=DIR            pdf documentation [DOCDIR]
   1347   --psdir=DIR             ps documentation [DOCDIR]
   1348 _ACEOF
   1349 
   1350   cat <<\_ACEOF
   1351 
   1352 Program names:
   1353   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1354   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1355   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1356 
   1357 System types:
   1358   --build=BUILD     configure for building on BUILD [guessed]
   1359   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1360 _ACEOF
   1361 fi
   1362 
   1363 if test -n "$ac_init_help"; then
   1364   case $ac_init_help in
   1365      short | recursive ) echo "Configuration of xclipboard 1.1.2:";;
   1366    esac
   1367   cat <<\_ACEOF
   1368 
   1369 Optional Features:
   1370   --disable-option-checking  ignore unrecognized --enable/--with options
   1371   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1372   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1373   --enable-maintainer-mode  enable make rules and dependencies not useful
   1374 			  (and sometimes confusing) to the casual installer
   1375   --disable-dependency-tracking  speeds up one-time build
   1376   --enable-dependency-tracking   do not reject slow dependency extractors
   1377   --disable-selective-werror
   1378                           Turn off selective compiler errors. (default:
   1379                           enabled)
   1380   --enable-strict-compilation
   1381                           Enable all warnings from compiler and make them
   1382                           errors (default: disabled)
   1383   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1384   --disable-silent-rules         verbose build output (undo: `make V=0')
   1385 
   1386 Optional Packages:
   1387   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1388   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1389   --with-appdefaultdir=<pathname>
   1390                           specify directory for app-defaults files (default is
   1391                           autodetected)
   1392 
   1393 Some influential environment variables:
   1394   CC          C compiler command
   1395   CFLAGS      C compiler flags
   1396   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1397               nonstandard directory <lib dir>
   1398   LIBS        libraries to pass to the linker, e.g. -l<library>
   1399   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1400               you have headers in a nonstandard directory <include dir>
   1401   CPP         C preprocessor
   1402   PKG_CONFIG  path to pkg-config utility
   1403   XCLIPBOARD_CFLAGS
   1404               C compiler flags for XCLIPBOARD, overriding pkg-config
   1405   XCLIPBOARD_LIBS
   1406               linker flags for XCLIPBOARD, overriding pkg-config
   1407   APPDEFS_CFLAGS
   1408               C compiler flags for APPDEFS, overriding pkg-config
   1409   APPDEFS_LIBS
   1410               linker flags for APPDEFS, overriding pkg-config
   1411 
   1412 Use these variables to override the choices made by `configure' or to help
   1413 it to find libraries and programs with nonstandard names/locations.
   1414 
   1415 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1416 _ACEOF
   1417 ac_status=$?
   1418 fi
   1419 
   1420 if test "$ac_init_help" = "recursive"; then
   1421   # If there are subdirs, report their specific --help.
   1422   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1423     test -d "$ac_dir" ||
   1424       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1425       continue
   1426     ac_builddir=.
   1427 
   1428 case "$ac_dir" in
   1429 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1430 *)
   1431   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1432   # A ".." for each directory in $ac_dir_suffix.
   1433   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1434   case $ac_top_builddir_sub in
   1435   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1436   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1437   esac ;;
   1438 esac
   1439 ac_abs_top_builddir=$ac_pwd
   1440 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1441 # for backward compatibility:
   1442 ac_top_builddir=$ac_top_build_prefix
   1443 
   1444 case $srcdir in
   1445   .)  # We are building in place.
   1446     ac_srcdir=.
   1447     ac_top_srcdir=$ac_top_builddir_sub
   1448     ac_abs_top_srcdir=$ac_pwd ;;
   1449   [\\/]* | ?:[\\/]* )  # Absolute name.
   1450     ac_srcdir=$srcdir$ac_dir_suffix;
   1451     ac_top_srcdir=$srcdir
   1452     ac_abs_top_srcdir=$srcdir ;;
   1453   *) # Relative name.
   1454     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1455     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1456     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1457 esac
   1458 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1459 
   1460     cd "$ac_dir" || { ac_status=$?; continue; }
   1461     # Check for guested configure.
   1462     if test -f "$ac_srcdir/configure.gnu"; then
   1463       echo &&
   1464       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1465     elif test -f "$ac_srcdir/configure"; then
   1466       echo &&
   1467       $SHELL "$ac_srcdir/configure" --help=recursive
   1468     else
   1469       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1470     fi || ac_status=$?
   1471     cd "$ac_pwd" || { ac_status=$?; break; }
   1472   done
   1473 fi
   1474 
   1475 test -n "$ac_init_help" && exit $ac_status
   1476 if $ac_init_version; then
   1477   cat <<\_ACEOF
   1478 xclipboard configure 1.1.2
   1479 generated by GNU Autoconf 2.68
   1480 
   1481 Copyright (C) 2010 Free Software Foundation, Inc.
   1482 This configure script is free software; the Free Software Foundation
   1483 gives unlimited permission to copy, distribute and modify it.
   1484 _ACEOF
   1485   exit
   1486 fi
   1487 
   1488 ## ------------------------ ##
   1489 ## Autoconf initialization. ##
   1490 ## ------------------------ ##
   1491 
   1492 # ac_fn_c_try_compile LINENO
   1493 # --------------------------
   1494 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1495 ac_fn_c_try_compile ()
   1496 {
   1497   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1498   rm -f conftest.$ac_objext
   1499   if { { ac_try="$ac_compile"
   1500 case "(($ac_try" in
   1501   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1502   *) ac_try_echo=$ac_try;;
   1503 esac
   1504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1505 $as_echo "$ac_try_echo"; } >&5
   1506   (eval "$ac_compile") 2>conftest.err
   1507   ac_status=$?
   1508   if test -s conftest.err; then
   1509     grep -v '^ *+' conftest.err >conftest.er1
   1510     cat conftest.er1 >&5
   1511     mv -f conftest.er1 conftest.err
   1512   fi
   1513   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1514   test $ac_status = 0; } && {
   1515 	 test -z "$ac_c_werror_flag" ||
   1516 	 test ! -s conftest.err
   1517        } && test -s conftest.$ac_objext; then :
   1518   ac_retval=0
   1519 else
   1520   $as_echo "$as_me: failed program was:" >&5
   1521 sed 's/^/| /' conftest.$ac_ext >&5
   1522 
   1523 	ac_retval=1
   1524 fi
   1525   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1526   as_fn_set_status $ac_retval
   1527 
   1528 } # ac_fn_c_try_compile
   1529 
   1530 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1531 # ---------------------------------------------
   1532 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1533 # accordingly.
   1534 ac_fn_c_check_decl ()
   1535 {
   1536   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1537   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1538   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1540 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1541 if eval \${$3+:} false; then :
   1542   $as_echo_n "(cached) " >&6
   1543 else
   1544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1545 /* end confdefs.h.  */
   1546 $4
   1547 int
   1548 main ()
   1549 {
   1550 #ifndef $as_decl_name
   1551 #ifdef __cplusplus
   1552   (void) $as_decl_use;
   1553 #else
   1554   (void) $as_decl_name;
   1555 #endif
   1556 #endif
   1557 
   1558   ;
   1559   return 0;
   1560 }
   1561 _ACEOF
   1562 if ac_fn_c_try_compile "$LINENO"; then :
   1563   eval "$3=yes"
   1564 else
   1565   eval "$3=no"
   1566 fi
   1567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1568 fi
   1569 eval ac_res=\$$3
   1570 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1571 $as_echo "$ac_res" >&6; }
   1572   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1573 
   1574 } # ac_fn_c_check_decl
   1575 
   1576 # ac_fn_c_try_cpp LINENO
   1577 # ----------------------
   1578 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1579 ac_fn_c_try_cpp ()
   1580 {
   1581   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1582   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1583 case "(($ac_try" in
   1584   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1585   *) ac_try_echo=$ac_try;;
   1586 esac
   1587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1588 $as_echo "$ac_try_echo"; } >&5
   1589   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1590   ac_status=$?
   1591   if test -s conftest.err; then
   1592     grep -v '^ *+' conftest.err >conftest.er1
   1593     cat conftest.er1 >&5
   1594     mv -f conftest.er1 conftest.err
   1595   fi
   1596   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1597   test $ac_status = 0; } > conftest.i && {
   1598 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1599 	 test ! -s conftest.err
   1600        }; then :
   1601   ac_retval=0
   1602 else
   1603   $as_echo "$as_me: failed program was:" >&5
   1604 sed 's/^/| /' conftest.$ac_ext >&5
   1605 
   1606     ac_retval=1
   1607 fi
   1608   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1609   as_fn_set_status $ac_retval
   1610 
   1611 } # ac_fn_c_try_cpp
   1612 
   1613 # ac_fn_c_try_run LINENO
   1614 # ----------------------
   1615 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1616 # that executables *can* be run.
   1617 ac_fn_c_try_run ()
   1618 {
   1619   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1620   if { { ac_try="$ac_link"
   1621 case "(($ac_try" in
   1622   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1623   *) ac_try_echo=$ac_try;;
   1624 esac
   1625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1626 $as_echo "$ac_try_echo"; } >&5
   1627   (eval "$ac_link") 2>&5
   1628   ac_status=$?
   1629   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1630   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1631   { { case "(($ac_try" in
   1632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1633   *) ac_try_echo=$ac_try;;
   1634 esac
   1635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1636 $as_echo "$ac_try_echo"; } >&5
   1637   (eval "$ac_try") 2>&5
   1638   ac_status=$?
   1639   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1640   test $ac_status = 0; }; }; then :
   1641   ac_retval=0
   1642 else
   1643   $as_echo "$as_me: program exited with status $ac_status" >&5
   1644        $as_echo "$as_me: failed program was:" >&5
   1645 sed 's/^/| /' conftest.$ac_ext >&5
   1646 
   1647        ac_retval=$ac_status
   1648 fi
   1649   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1650   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1651   as_fn_set_status $ac_retval
   1652 
   1653 } # ac_fn_c_try_run
   1654 
   1655 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1656 # -------------------------------------------------------
   1657 # Tests whether HEADER exists and can be compiled using the include files in
   1658 # INCLUDES, setting the cache variable VAR accordingly.
   1659 ac_fn_c_check_header_compile ()
   1660 {
   1661   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1662   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1663 $as_echo_n "checking for $2... " >&6; }
   1664 if eval \${$3+:} false; then :
   1665   $as_echo_n "(cached) " >&6
   1666 else
   1667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1668 /* end confdefs.h.  */
   1669 $4
   1670 #include <$2>
   1671 _ACEOF
   1672 if ac_fn_c_try_compile "$LINENO"; then :
   1673   eval "$3=yes"
   1674 else
   1675   eval "$3=no"
   1676 fi
   1677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1678 fi
   1679 eval ac_res=\$$3
   1680 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1681 $as_echo "$ac_res" >&6; }
   1682   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1683 
   1684 } # ac_fn_c_check_header_compile
   1685 
   1686 # ac_fn_c_try_link LINENO
   1687 # -----------------------
   1688 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1689 ac_fn_c_try_link ()
   1690 {
   1691   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1692   rm -f conftest.$ac_objext conftest$ac_exeext
   1693   if { { ac_try="$ac_link"
   1694 case "(($ac_try" in
   1695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1696   *) ac_try_echo=$ac_try;;
   1697 esac
   1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1699 $as_echo "$ac_try_echo"; } >&5
   1700   (eval "$ac_link") 2>conftest.err
   1701   ac_status=$?
   1702   if test -s conftest.err; then
   1703     grep -v '^ *+' conftest.err >conftest.er1
   1704     cat conftest.er1 >&5
   1705     mv -f conftest.er1 conftest.err
   1706   fi
   1707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1708   test $ac_status = 0; } && {
   1709 	 test -z "$ac_c_werror_flag" ||
   1710 	 test ! -s conftest.err
   1711        } && test -s conftest$ac_exeext && {
   1712 	 test "$cross_compiling" = yes ||
   1713 	 $as_test_x conftest$ac_exeext
   1714        }; then :
   1715   ac_retval=0
   1716 else
   1717   $as_echo "$as_me: failed program was:" >&5
   1718 sed 's/^/| /' conftest.$ac_ext >&5
   1719 
   1720 	ac_retval=1
   1721 fi
   1722   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1723   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1724   # interfere with the next link command; also delete a directory that is
   1725   # left behind by Apple's compiler.  We do this before executing the actions.
   1726   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1727   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1728   as_fn_set_status $ac_retval
   1729 
   1730 } # ac_fn_c_try_link
   1731 cat >config.log <<_ACEOF
   1732 This file contains any messages produced by compilers while
   1733 running configure, to aid debugging if configure makes a mistake.
   1734 
   1735 It was created by xclipboard $as_me 1.1.2, which was
   1736 generated by GNU Autoconf 2.68.  Invocation command line was
   1737 
   1738   $ $0 $@
   1739 
   1740 _ACEOF
   1741 exec 5>>config.log
   1742 {
   1743 cat <<_ASUNAME
   1744 ## --------- ##
   1745 ## Platform. ##
   1746 ## --------- ##
   1747 
   1748 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1749 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1750 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1751 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1752 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1753 
   1754 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1755 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1756 
   1757 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1758 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1759 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1760 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1761 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1762 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1763 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1764 
   1765 _ASUNAME
   1766 
   1767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1768 for as_dir in $PATH
   1769 do
   1770   IFS=$as_save_IFS
   1771   test -z "$as_dir" && as_dir=.
   1772     $as_echo "PATH: $as_dir"
   1773   done
   1774 IFS=$as_save_IFS
   1775 
   1776 } >&5
   1777 
   1778 cat >&5 <<_ACEOF
   1779 
   1780 
   1781 ## ----------- ##
   1782 ## Core tests. ##
   1783 ## ----------- ##
   1784 
   1785 _ACEOF
   1786 
   1787 
   1788 # Keep a trace of the command line.
   1789 # Strip out --no-create and --no-recursion so they do not pile up.
   1790 # Strip out --silent because we don't want to record it for future runs.
   1791 # Also quote any args containing shell meta-characters.
   1792 # Make two passes to allow for proper duplicate-argument suppression.
   1793 ac_configure_args=
   1794 ac_configure_args0=
   1795 ac_configure_args1=
   1796 ac_must_keep_next=false
   1797 for ac_pass in 1 2
   1798 do
   1799   for ac_arg
   1800   do
   1801     case $ac_arg in
   1802     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1803     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1804     | -silent | --silent | --silen | --sile | --sil)
   1805       continue ;;
   1806     *\'*)
   1807       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1808     esac
   1809     case $ac_pass in
   1810     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1811     2)
   1812       as_fn_append ac_configure_args1 " '$ac_arg'"
   1813       if test $ac_must_keep_next = true; then
   1814 	ac_must_keep_next=false # Got value, back to normal.
   1815       else
   1816 	case $ac_arg in
   1817 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1818 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1819 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1820 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1821 	    case "$ac_configure_args0 " in
   1822 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1823 	    esac
   1824 	    ;;
   1825 	  -* ) ac_must_keep_next=true ;;
   1826 	esac
   1827       fi
   1828       as_fn_append ac_configure_args " '$ac_arg'"
   1829       ;;
   1830     esac
   1831   done
   1832 done
   1833 { ac_configure_args0=; unset ac_configure_args0;}
   1834 { ac_configure_args1=; unset ac_configure_args1;}
   1835 
   1836 # When interrupted or exit'd, cleanup temporary files, and complete
   1837 # config.log.  We remove comments because anyway the quotes in there
   1838 # would cause problems or look ugly.
   1839 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1840 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1841 trap 'exit_status=$?
   1842   # Save into config.log some information that might help in debugging.
   1843   {
   1844     echo
   1845 
   1846     $as_echo "## ---------------- ##
   1847 ## Cache variables. ##
   1848 ## ---------------- ##"
   1849     echo
   1850     # The following way of writing the cache mishandles newlines in values,
   1851 (
   1852   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1853     eval ac_val=\$$ac_var
   1854     case $ac_val in #(
   1855     *${as_nl}*)
   1856       case $ac_var in #(
   1857       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1858 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1859       esac
   1860       case $ac_var in #(
   1861       _ | IFS | as_nl) ;; #(
   1862       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1863       *) { eval $ac_var=; unset $ac_var;} ;;
   1864       esac ;;
   1865     esac
   1866   done
   1867   (set) 2>&1 |
   1868     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1869     *${as_nl}ac_space=\ *)
   1870       sed -n \
   1871 	"s/'\''/'\''\\\\'\'''\''/g;
   1872 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1873       ;; #(
   1874     *)
   1875       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1876       ;;
   1877     esac |
   1878     sort
   1879 )
   1880     echo
   1881 
   1882     $as_echo "## ----------------- ##
   1883 ## Output variables. ##
   1884 ## ----------------- ##"
   1885     echo
   1886     for ac_var in $ac_subst_vars
   1887     do
   1888       eval ac_val=\$$ac_var
   1889       case $ac_val in
   1890       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1891       esac
   1892       $as_echo "$ac_var='\''$ac_val'\''"
   1893     done | sort
   1894     echo
   1895 
   1896     if test -n "$ac_subst_files"; then
   1897       $as_echo "## ------------------- ##
   1898 ## File substitutions. ##
   1899 ## ------------------- ##"
   1900       echo
   1901       for ac_var in $ac_subst_files
   1902       do
   1903 	eval ac_val=\$$ac_var
   1904 	case $ac_val in
   1905 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1906 	esac
   1907 	$as_echo "$ac_var='\''$ac_val'\''"
   1908       done | sort
   1909       echo
   1910     fi
   1911 
   1912     if test -s confdefs.h; then
   1913       $as_echo "## ----------- ##
   1914 ## confdefs.h. ##
   1915 ## ----------- ##"
   1916       echo
   1917       cat confdefs.h
   1918       echo
   1919     fi
   1920     test "$ac_signal" != 0 &&
   1921       $as_echo "$as_me: caught signal $ac_signal"
   1922     $as_echo "$as_me: exit $exit_status"
   1923   } >&5
   1924   rm -f core *.core core.conftest.* &&
   1925     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1926     exit $exit_status
   1927 ' 0
   1928 for ac_signal in 1 2 13 15; do
   1929   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1930 done
   1931 ac_signal=0
   1932 
   1933 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1934 rm -f -r conftest* confdefs.h
   1935 
   1936 $as_echo "/* confdefs.h */" > confdefs.h
   1937 
   1938 # Predefined preprocessor variables.
   1939 
   1940 cat >>confdefs.h <<_ACEOF
   1941 #define PACKAGE_NAME "$PACKAGE_NAME"
   1942 _ACEOF
   1943 
   1944 cat >>confdefs.h <<_ACEOF
   1945 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1946 _ACEOF
   1947 
   1948 cat >>confdefs.h <<_ACEOF
   1949 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1950 _ACEOF
   1951 
   1952 cat >>confdefs.h <<_ACEOF
   1953 #define PACKAGE_STRING "$PACKAGE_STRING"
   1954 _ACEOF
   1955 
   1956 cat >>confdefs.h <<_ACEOF
   1957 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1958 _ACEOF
   1959 
   1960 cat >>confdefs.h <<_ACEOF
   1961 #define PACKAGE_URL "$PACKAGE_URL"
   1962 _ACEOF
   1963 
   1964 
   1965 # Let the site file select an alternate cache file if it wants to.
   1966 # Prefer an explicitly selected file to automatically selected ones.
   1967 ac_site_file1=NONE
   1968 ac_site_file2=NONE
   1969 if test -n "$CONFIG_SITE"; then
   1970   # We do not want a PATH search for config.site.
   1971   case $CONFIG_SITE in #((
   1972     -*)  ac_site_file1=./$CONFIG_SITE;;
   1973     */*) ac_site_file1=$CONFIG_SITE;;
   1974     *)   ac_site_file1=./$CONFIG_SITE;;
   1975   esac
   1976 elif test "x$prefix" != xNONE; then
   1977   ac_site_file1=$prefix/share/config.site
   1978   ac_site_file2=$prefix/etc/config.site
   1979 else
   1980   ac_site_file1=$ac_default_prefix/share/config.site
   1981   ac_site_file2=$ac_default_prefix/etc/config.site
   1982 fi
   1983 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1984 do
   1985   test "x$ac_site_file" = xNONE && continue
   1986   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   1987     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1988 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1989     sed 's/^/| /' "$ac_site_file" >&5
   1990     . "$ac_site_file" \
   1991       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   1992 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   1993 as_fn_error $? "failed to load site script $ac_site_file
   1994 See \`config.log' for more details" "$LINENO" 5; }
   1995   fi
   1996 done
   1997 
   1998 if test -r "$cache_file"; then
   1999   # Some versions of bash will fail to source /dev/null (special files
   2000   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2001   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2002     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2003 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2004     case $cache_file in
   2005       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2006       *)                      . "./$cache_file";;
   2007     esac
   2008   fi
   2009 else
   2010   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2011 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2012   >$cache_file
   2013 fi
   2014 
   2015 # Check that the precious variables saved in the cache have kept the same
   2016 # value.
   2017 ac_cache_corrupted=false
   2018 for ac_var in $ac_precious_vars; do
   2019   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2020   eval ac_new_set=\$ac_env_${ac_var}_set
   2021   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2022   eval ac_new_val=\$ac_env_${ac_var}_value
   2023   case $ac_old_set,$ac_new_set in
   2024     set,)
   2025       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2026 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2027       ac_cache_corrupted=: ;;
   2028     ,set)
   2029       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2030 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2031       ac_cache_corrupted=: ;;
   2032     ,);;
   2033     *)
   2034       if test "x$ac_old_val" != "x$ac_new_val"; then
   2035 	# differences in whitespace do not lead to failure.
   2036 	ac_old_val_w=`echo x $ac_old_val`
   2037 	ac_new_val_w=`echo x $ac_new_val`
   2038 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2039 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2040 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2041 	  ac_cache_corrupted=:
   2042 	else
   2043 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2044 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2045 	  eval $ac_var=\$ac_old_val
   2046 	fi
   2047 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2048 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2049 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2050 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2051       fi;;
   2052   esac
   2053   # Pass precious variables to config.status.
   2054   if test "$ac_new_set" = set; then
   2055     case $ac_new_val in
   2056     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2057     *) ac_arg=$ac_var=$ac_new_val ;;
   2058     esac
   2059     case " $ac_configure_args " in
   2060       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2061       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2062     esac
   2063   fi
   2064 done
   2065 if $ac_cache_corrupted; then
   2066   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2068   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2069 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2070   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2071 fi
   2072 ## -------------------- ##
   2073 ## Main body of script. ##
   2074 ## -------------------- ##
   2075 
   2076 ac_ext=c
   2077 ac_cpp='$CPP $CPPFLAGS'
   2078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2081 
   2082 
   2083 
   2084 ac_config_headers="$ac_config_headers config.h"
   2085 
   2086 
   2087 # Initialize Automake
   2088 am__api_version='1.11'
   2089 
   2090 ac_aux_dir=
   2091 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2092   if test -f "$ac_dir/install-sh"; then
   2093     ac_aux_dir=$ac_dir
   2094     ac_install_sh="$ac_aux_dir/install-sh -c"
   2095     break
   2096   elif test -f "$ac_dir/install.sh"; then
   2097     ac_aux_dir=$ac_dir
   2098     ac_install_sh="$ac_aux_dir/install.sh -c"
   2099     break
   2100   elif test -f "$ac_dir/shtool"; then
   2101     ac_aux_dir=$ac_dir
   2102     ac_install_sh="$ac_aux_dir/shtool install -c"
   2103     break
   2104   fi
   2105 done
   2106 if test -z "$ac_aux_dir"; then
   2107   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2108 fi
   2109 
   2110 # These three variables are undocumented and unsupported,
   2111 # and are intended to be withdrawn in a future Autoconf release.
   2112 # They can cause serious problems if a builder's source tree is in a directory
   2113 # whose full name contains unusual characters.
   2114 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2115 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2116 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2117 
   2118 
   2119 # Find a good install program.  We prefer a C program (faster),
   2120 # so one script is as good as another.  But avoid the broken or
   2121 # incompatible versions:
   2122 # SysV /etc/install, /usr/sbin/install
   2123 # SunOS /usr/etc/install
   2124 # IRIX /sbin/install
   2125 # AIX /bin/install
   2126 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2127 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2128 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2129 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2130 # OS/2's system install, which has a completely different semantic
   2131 # ./install, which can be erroneously created by make from ./install.sh.
   2132 # Reject install programs that cannot install multiple files.
   2133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2134 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2135 if test -z "$INSTALL"; then
   2136 if ${ac_cv_path_install+:} false; then :
   2137   $as_echo_n "(cached) " >&6
   2138 else
   2139   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2140 for as_dir in $PATH
   2141 do
   2142   IFS=$as_save_IFS
   2143   test -z "$as_dir" && as_dir=.
   2144     # Account for people who put trailing slashes in PATH elements.
   2145 case $as_dir/ in #((
   2146   ./ | .// | /[cC]/* | \
   2147   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2148   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2149   /usr/ucb/* ) ;;
   2150   *)
   2151     # OSF1 and SCO ODT 3.0 have their own names for install.
   2152     # Don't use installbsd from OSF since it installs stuff as root
   2153     # by default.
   2154     for ac_prog in ginstall scoinst install; do
   2155       for ac_exec_ext in '' $ac_executable_extensions; do
   2156 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2157 	  if test $ac_prog = install &&
   2158 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2159 	    # AIX install.  It has an incompatible calling convention.
   2160 	    :
   2161 	  elif test $ac_prog = install &&
   2162 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2163 	    # program-specific install script used by HP pwplus--don't use.
   2164 	    :
   2165 	  else
   2166 	    rm -rf conftest.one conftest.two conftest.dir
   2167 	    echo one > conftest.one
   2168 	    echo two > conftest.two
   2169 	    mkdir conftest.dir
   2170 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2171 	      test -s conftest.one && test -s conftest.two &&
   2172 	      test -s conftest.dir/conftest.one &&
   2173 	      test -s conftest.dir/conftest.two
   2174 	    then
   2175 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2176 	      break 3
   2177 	    fi
   2178 	  fi
   2179 	fi
   2180       done
   2181     done
   2182     ;;
   2183 esac
   2184 
   2185   done
   2186 IFS=$as_save_IFS
   2187 
   2188 rm -rf conftest.one conftest.two conftest.dir
   2189 
   2190 fi
   2191   if test "${ac_cv_path_install+set}" = set; then
   2192     INSTALL=$ac_cv_path_install
   2193   else
   2194     # As a last resort, use the slow shell script.  Don't cache a
   2195     # value for INSTALL within a source directory, because that will
   2196     # break other packages using the cache if that directory is
   2197     # removed, or if the value is a relative name.
   2198     INSTALL=$ac_install_sh
   2199   fi
   2200 fi
   2201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2202 $as_echo "$INSTALL" >&6; }
   2203 
   2204 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2205 # It thinks the first close brace ends the variable substitution.
   2206 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2207 
   2208 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2209 
   2210 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2211 
   2212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2213 $as_echo_n "checking whether build environment is sane... " >&6; }
   2214 # Just in case
   2215 sleep 1
   2216 echo timestamp > conftest.file
   2217 # Reject unsafe characters in $srcdir or the absolute working directory
   2218 # name.  Accept space and tab only in the latter.
   2219 am_lf='
   2220 '
   2221 case `pwd` in
   2222   *[\\\"\#\$\&\'\`$am_lf]*)
   2223     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2224 esac
   2225 case $srcdir in
   2226   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2227     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2228 esac
   2229 
   2230 # Do `set' in a subshell so we don't clobber the current shell's
   2231 # arguments.  Must try -L first in case configure is actually a
   2232 # symlink; some systems play weird games with the mod time of symlinks
   2233 # (eg FreeBSD returns the mod time of the symlink's containing
   2234 # directory).
   2235 if (
   2236    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2237    if test "$*" = "X"; then
   2238       # -L didn't work.
   2239       set X `ls -t "$srcdir/configure" conftest.file`
   2240    fi
   2241    rm -f conftest.file
   2242    if test "$*" != "X $srcdir/configure conftest.file" \
   2243       && test "$*" != "X conftest.file $srcdir/configure"; then
   2244 
   2245       # If neither matched, then we have a broken ls.  This can happen
   2246       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2247       # broken ls alias from the environment.  This has actually
   2248       # happened.  Such a system could not be considered "sane".
   2249       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2250 alias in your environment" "$LINENO" 5
   2251    fi
   2252 
   2253    test "$2" = conftest.file
   2254    )
   2255 then
   2256    # Ok.
   2257    :
   2258 else
   2259    as_fn_error $? "newly created file is older than distributed files!
   2260 Check your system clock" "$LINENO" 5
   2261 fi
   2262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2263 $as_echo "yes" >&6; }
   2264 test "$program_prefix" != NONE &&
   2265   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2266 # Use a double $ so make ignores it.
   2267 test "$program_suffix" != NONE &&
   2268   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2269 # Double any \ or $.
   2270 # By default was `s,x,x', remove it if useless.
   2271 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2272 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2273 
   2274 # expand $ac_aux_dir to an absolute path
   2275 am_aux_dir=`cd $ac_aux_dir && pwd`
   2276 
   2277 if test x"${MISSING+set}" != xset; then
   2278   case $am_aux_dir in
   2279   *\ * | *\	*)
   2280     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2281   *)
   2282     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2283   esac
   2284 fi
   2285 # Use eval to expand $SHELL
   2286 if eval "$MISSING --run true"; then
   2287   am_missing_run="$MISSING --run "
   2288 else
   2289   am_missing_run=
   2290   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2291 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2292 fi
   2293 
   2294 if test x"${install_sh}" != xset; then
   2295   case $am_aux_dir in
   2296   *\ * | *\	*)
   2297     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2298   *)
   2299     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2300   esac
   2301 fi
   2302 
   2303 # Installed binaries are usually stripped using `strip' when the user
   2304 # run `make install-strip'.  However `strip' might not be the right
   2305 # tool to use in cross-compilation environments, therefore Automake
   2306 # will honor the `STRIP' environment variable to overrule this program.
   2307 if test "$cross_compiling" != no; then
   2308   if test -n "$ac_tool_prefix"; then
   2309   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2310 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2312 $as_echo_n "checking for $ac_word... " >&6; }
   2313 if ${ac_cv_prog_STRIP+:} false; then :
   2314   $as_echo_n "(cached) " >&6
   2315 else
   2316   if test -n "$STRIP"; then
   2317   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2318 else
   2319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2320 for as_dir in $PATH
   2321 do
   2322   IFS=$as_save_IFS
   2323   test -z "$as_dir" && as_dir=.
   2324     for ac_exec_ext in '' $ac_executable_extensions; do
   2325   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2326     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2327     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2328     break 2
   2329   fi
   2330 done
   2331   done
   2332 IFS=$as_save_IFS
   2333 
   2334 fi
   2335 fi
   2336 STRIP=$ac_cv_prog_STRIP
   2337 if test -n "$STRIP"; then
   2338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2339 $as_echo "$STRIP" >&6; }
   2340 else
   2341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2342 $as_echo "no" >&6; }
   2343 fi
   2344 
   2345 
   2346 fi
   2347 if test -z "$ac_cv_prog_STRIP"; then
   2348   ac_ct_STRIP=$STRIP
   2349   # Extract the first word of "strip", so it can be a program name with args.
   2350 set dummy strip; ac_word=$2
   2351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2352 $as_echo_n "checking for $ac_word... " >&6; }
   2353 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2354   $as_echo_n "(cached) " >&6
   2355 else
   2356   if test -n "$ac_ct_STRIP"; then
   2357   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2358 else
   2359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2360 for as_dir in $PATH
   2361 do
   2362   IFS=$as_save_IFS
   2363   test -z "$as_dir" && as_dir=.
   2364     for ac_exec_ext in '' $ac_executable_extensions; do
   2365   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2366     ac_cv_prog_ac_ct_STRIP="strip"
   2367     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2368     break 2
   2369   fi
   2370 done
   2371   done
   2372 IFS=$as_save_IFS
   2373 
   2374 fi
   2375 fi
   2376 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2377 if test -n "$ac_ct_STRIP"; then
   2378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2379 $as_echo "$ac_ct_STRIP" >&6; }
   2380 else
   2381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2382 $as_echo "no" >&6; }
   2383 fi
   2384 
   2385   if test "x$ac_ct_STRIP" = x; then
   2386     STRIP=":"
   2387   else
   2388     case $cross_compiling:$ac_tool_warned in
   2389 yes:)
   2390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2392 ac_tool_warned=yes ;;
   2393 esac
   2394     STRIP=$ac_ct_STRIP
   2395   fi
   2396 else
   2397   STRIP="$ac_cv_prog_STRIP"
   2398 fi
   2399 
   2400 fi
   2401 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2402 
   2403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2404 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2405 if test -z "$MKDIR_P"; then
   2406   if ${ac_cv_path_mkdir+:} false; then :
   2407   $as_echo_n "(cached) " >&6
   2408 else
   2409   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2410 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2411 do
   2412   IFS=$as_save_IFS
   2413   test -z "$as_dir" && as_dir=.
   2414     for ac_prog in mkdir gmkdir; do
   2415 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2416 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2417 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2418 	     'mkdir (GNU coreutils) '* | \
   2419 	     'mkdir (coreutils) '* | \
   2420 	     'mkdir (fileutils) '4.1*)
   2421 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2422 	       break 3;;
   2423 	   esac
   2424 	 done
   2425        done
   2426   done
   2427 IFS=$as_save_IFS
   2428 
   2429 fi
   2430 
   2431   test -d ./--version && rmdir ./--version
   2432   if test "${ac_cv_path_mkdir+set}" = set; then
   2433     MKDIR_P="$ac_cv_path_mkdir -p"
   2434   else
   2435     # As a last resort, use the slow shell script.  Don't cache a
   2436     # value for MKDIR_P within a source directory, because that will
   2437     # break other packages using the cache if that directory is
   2438     # removed, or if the value is a relative name.
   2439     MKDIR_P="$ac_install_sh -d"
   2440   fi
   2441 fi
   2442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2443 $as_echo "$MKDIR_P" >&6; }
   2444 
   2445 mkdir_p="$MKDIR_P"
   2446 case $mkdir_p in
   2447   [\\/$]* | ?:[\\/]*) ;;
   2448   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2449 esac
   2450 
   2451 for ac_prog in gawk mawk nawk awk
   2452 do
   2453   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2454 set dummy $ac_prog; ac_word=$2
   2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2456 $as_echo_n "checking for $ac_word... " >&6; }
   2457 if ${ac_cv_prog_AWK+:} false; then :
   2458   $as_echo_n "(cached) " >&6
   2459 else
   2460   if test -n "$AWK"; then
   2461   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2462 else
   2463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2464 for as_dir in $PATH
   2465 do
   2466   IFS=$as_save_IFS
   2467   test -z "$as_dir" && as_dir=.
   2468     for ac_exec_ext in '' $ac_executable_extensions; do
   2469   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2470     ac_cv_prog_AWK="$ac_prog"
   2471     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2472     break 2
   2473   fi
   2474 done
   2475   done
   2476 IFS=$as_save_IFS
   2477 
   2478 fi
   2479 fi
   2480 AWK=$ac_cv_prog_AWK
   2481 if test -n "$AWK"; then
   2482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2483 $as_echo "$AWK" >&6; }
   2484 else
   2485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2486 $as_echo "no" >&6; }
   2487 fi
   2488 
   2489 
   2490   test -n "$AWK" && break
   2491 done
   2492 
   2493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2494 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2495 set x ${MAKE-make}
   2496 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2497 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2498   $as_echo_n "(cached) " >&6
   2499 else
   2500   cat >conftest.make <<\_ACEOF
   2501 SHELL = /bin/sh
   2502 all:
   2503 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2504 _ACEOF
   2505 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2506 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2507   *@@@%%%=?*=@@@%%%*)
   2508     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2509   *)
   2510     eval ac_cv_prog_make_${ac_make}_set=no;;
   2511 esac
   2512 rm -f conftest.make
   2513 fi
   2514 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2516 $as_echo "yes" >&6; }
   2517   SET_MAKE=
   2518 else
   2519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2520 $as_echo "no" >&6; }
   2521   SET_MAKE="MAKE=${MAKE-make}"
   2522 fi
   2523 
   2524 rm -rf .tst 2>/dev/null
   2525 mkdir .tst 2>/dev/null
   2526 if test -d .tst; then
   2527   am__leading_dot=.
   2528 else
   2529   am__leading_dot=_
   2530 fi
   2531 rmdir .tst 2>/dev/null
   2532 
   2533 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2534   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2535   # is not polluted with repeated "-I."
   2536   am__isrc=' -I$(srcdir)'
   2537   # test to see if srcdir already configured
   2538   if test -f $srcdir/config.status; then
   2539     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2540   fi
   2541 fi
   2542 
   2543 # test whether we have cygpath
   2544 if test -z "$CYGPATH_W"; then
   2545   if (cygpath --version) >/dev/null 2>/dev/null; then
   2546     CYGPATH_W='cygpath -w'
   2547   else
   2548     CYGPATH_W=echo
   2549   fi
   2550 fi
   2551 
   2552 
   2553 # Define the identity of the package.
   2554  PACKAGE='xclipboard'
   2555  VERSION='1.1.2'
   2556 
   2557 
   2558 cat >>confdefs.h <<_ACEOF
   2559 #define PACKAGE "$PACKAGE"
   2560 _ACEOF
   2561 
   2562 
   2563 cat >>confdefs.h <<_ACEOF
   2564 #define VERSION "$VERSION"
   2565 _ACEOF
   2566 
   2567 # Some tools Automake needs.
   2568 
   2569 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2570 
   2571 
   2572 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2573 
   2574 
   2575 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2576 
   2577 
   2578 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2579 
   2580 
   2581 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2582 
   2583 # We need awk for the "check" target.  The system "awk" is bad on
   2584 # some platforms.
   2585 # Always define AMTAR for backward compatibility.
   2586 
   2587 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2588 
   2589 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2590 
   2591 
   2592 
   2593 
   2594 
   2595 
   2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2597 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2598     # Check whether --enable-maintainer-mode was given.
   2599 if test "${enable_maintainer_mode+set}" = set; then :
   2600   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2601 else
   2602   USE_MAINTAINER_MODE=no
   2603 fi
   2604 
   2605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2606 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2607    if test $USE_MAINTAINER_MODE = yes; then
   2608   MAINTAINER_MODE_TRUE=
   2609   MAINTAINER_MODE_FALSE='#'
   2610 else
   2611   MAINTAINER_MODE_TRUE='#'
   2612   MAINTAINER_MODE_FALSE=
   2613 fi
   2614 
   2615   MAINT=$MAINTAINER_MODE_TRUE
   2616 
   2617 
   2618 
   2619 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2620 
   2621 
   2622 
   2623 
   2624 
   2625 
   2626 
   2627 
   2628 
   2629 
   2630 
   2631 DEPDIR="${am__leading_dot}deps"
   2632 
   2633 ac_config_commands="$ac_config_commands depfiles"
   2634 
   2635 
   2636 am_make=${MAKE-make}
   2637 cat > confinc << 'END'
   2638 am__doit:
   2639 	@echo this is the am__doit target
   2640 .PHONY: am__doit
   2641 END
   2642 # If we don't find an include directive, just comment out the code.
   2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2644 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2645 am__include="#"
   2646 am__quote=
   2647 _am_result=none
   2648 # First try GNU make style include.
   2649 echo "include confinc" > confmf
   2650 # Ignore all kinds of additional output from `make'.
   2651 case `$am_make -s -f confmf 2> /dev/null` in #(
   2652 *the\ am__doit\ target*)
   2653   am__include=include
   2654   am__quote=
   2655   _am_result=GNU
   2656   ;;
   2657 esac
   2658 # Now try BSD make style include.
   2659 if test "$am__include" = "#"; then
   2660    echo '.include "confinc"' > confmf
   2661    case `$am_make -s -f confmf 2> /dev/null` in #(
   2662    *the\ am__doit\ target*)
   2663      am__include=.include
   2664      am__quote="\""
   2665      _am_result=BSD
   2666      ;;
   2667    esac
   2668 fi
   2669 
   2670 
   2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2672 $as_echo "$_am_result" >&6; }
   2673 rm -f confinc confmf
   2674 
   2675 # Check whether --enable-dependency-tracking was given.
   2676 if test "${enable_dependency_tracking+set}" = set; then :
   2677   enableval=$enable_dependency_tracking;
   2678 fi
   2679 
   2680 if test "x$enable_dependency_tracking" != xno; then
   2681   am_depcomp="$ac_aux_dir/depcomp"
   2682   AMDEPBACKSLASH='\'
   2683 fi
   2684  if test "x$enable_dependency_tracking" != xno; then
   2685   AMDEP_TRUE=
   2686   AMDEP_FALSE='#'
   2687 else
   2688   AMDEP_TRUE='#'
   2689   AMDEP_FALSE=
   2690 fi
   2691 
   2692 
   2693 ac_ext=c
   2694 ac_cpp='$CPP $CPPFLAGS'
   2695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2698 if test -n "$ac_tool_prefix"; then
   2699   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2700 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2702 $as_echo_n "checking for $ac_word... " >&6; }
   2703 if ${ac_cv_prog_CC+:} false; then :
   2704   $as_echo_n "(cached) " >&6
   2705 else
   2706   if test -n "$CC"; then
   2707   ac_cv_prog_CC="$CC" # Let the user override the test.
   2708 else
   2709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2710 for as_dir in $PATH
   2711 do
   2712   IFS=$as_save_IFS
   2713   test -z "$as_dir" && as_dir=.
   2714     for ac_exec_ext in '' $ac_executable_extensions; do
   2715   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2716     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2717     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2718     break 2
   2719   fi
   2720 done
   2721   done
   2722 IFS=$as_save_IFS
   2723 
   2724 fi
   2725 fi
   2726 CC=$ac_cv_prog_CC
   2727 if test -n "$CC"; then
   2728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2729 $as_echo "$CC" >&6; }
   2730 else
   2731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2732 $as_echo "no" >&6; }
   2733 fi
   2734 
   2735 
   2736 fi
   2737 if test -z "$ac_cv_prog_CC"; then
   2738   ac_ct_CC=$CC
   2739   # Extract the first word of "gcc", so it can be a program name with args.
   2740 set dummy gcc; ac_word=$2
   2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2742 $as_echo_n "checking for $ac_word... " >&6; }
   2743 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2744   $as_echo_n "(cached) " >&6
   2745 else
   2746   if test -n "$ac_ct_CC"; then
   2747   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2748 else
   2749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2750 for as_dir in $PATH
   2751 do
   2752   IFS=$as_save_IFS
   2753   test -z "$as_dir" && as_dir=.
   2754     for ac_exec_ext in '' $ac_executable_extensions; do
   2755   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2756     ac_cv_prog_ac_ct_CC="gcc"
   2757     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2758     break 2
   2759   fi
   2760 done
   2761   done
   2762 IFS=$as_save_IFS
   2763 
   2764 fi
   2765 fi
   2766 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2767 if test -n "$ac_ct_CC"; then
   2768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2769 $as_echo "$ac_ct_CC" >&6; }
   2770 else
   2771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2772 $as_echo "no" >&6; }
   2773 fi
   2774 
   2775   if test "x$ac_ct_CC" = x; then
   2776     CC=""
   2777   else
   2778     case $cross_compiling:$ac_tool_warned in
   2779 yes:)
   2780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2781 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2782 ac_tool_warned=yes ;;
   2783 esac
   2784     CC=$ac_ct_CC
   2785   fi
   2786 else
   2787   CC="$ac_cv_prog_CC"
   2788 fi
   2789 
   2790 if test -z "$CC"; then
   2791           if test -n "$ac_tool_prefix"; then
   2792     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2793 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2795 $as_echo_n "checking for $ac_word... " >&6; }
   2796 if ${ac_cv_prog_CC+:} false; then :
   2797   $as_echo_n "(cached) " >&6
   2798 else
   2799   if test -n "$CC"; then
   2800   ac_cv_prog_CC="$CC" # Let the user override the test.
   2801 else
   2802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2803 for as_dir in $PATH
   2804 do
   2805   IFS=$as_save_IFS
   2806   test -z "$as_dir" && as_dir=.
   2807     for ac_exec_ext in '' $ac_executable_extensions; do
   2808   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2809     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2810     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2811     break 2
   2812   fi
   2813 done
   2814   done
   2815 IFS=$as_save_IFS
   2816 
   2817 fi
   2818 fi
   2819 CC=$ac_cv_prog_CC
   2820 if test -n "$CC"; then
   2821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2822 $as_echo "$CC" >&6; }
   2823 else
   2824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2825 $as_echo "no" >&6; }
   2826 fi
   2827 
   2828 
   2829   fi
   2830 fi
   2831 if test -z "$CC"; then
   2832   # Extract the first word of "cc", so it can be a program name with args.
   2833 set dummy cc; ac_word=$2
   2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2835 $as_echo_n "checking for $ac_word... " >&6; }
   2836 if ${ac_cv_prog_CC+:} false; then :
   2837   $as_echo_n "(cached) " >&6
   2838 else
   2839   if test -n "$CC"; then
   2840   ac_cv_prog_CC="$CC" # Let the user override the test.
   2841 else
   2842   ac_prog_rejected=no
   2843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2844 for as_dir in $PATH
   2845 do
   2846   IFS=$as_save_IFS
   2847   test -z "$as_dir" && as_dir=.
   2848     for ac_exec_ext in '' $ac_executable_extensions; do
   2849   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2850     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2851        ac_prog_rejected=yes
   2852        continue
   2853      fi
   2854     ac_cv_prog_CC="cc"
   2855     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2856     break 2
   2857   fi
   2858 done
   2859   done
   2860 IFS=$as_save_IFS
   2861 
   2862 if test $ac_prog_rejected = yes; then
   2863   # We found a bogon in the path, so make sure we never use it.
   2864   set dummy $ac_cv_prog_CC
   2865   shift
   2866   if test $# != 0; then
   2867     # We chose a different compiler from the bogus one.
   2868     # However, it has the same basename, so the bogon will be chosen
   2869     # first if we set CC to just the basename; use the full file name.
   2870     shift
   2871     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2872   fi
   2873 fi
   2874 fi
   2875 fi
   2876 CC=$ac_cv_prog_CC
   2877 if test -n "$CC"; then
   2878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2879 $as_echo "$CC" >&6; }
   2880 else
   2881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2882 $as_echo "no" >&6; }
   2883 fi
   2884 
   2885 
   2886 fi
   2887 if test -z "$CC"; then
   2888   if test -n "$ac_tool_prefix"; then
   2889   for ac_prog in cl.exe
   2890   do
   2891     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2892 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2894 $as_echo_n "checking for $ac_word... " >&6; }
   2895 if ${ac_cv_prog_CC+:} false; then :
   2896   $as_echo_n "(cached) " >&6
   2897 else
   2898   if test -n "$CC"; then
   2899   ac_cv_prog_CC="$CC" # Let the user override the test.
   2900 else
   2901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2902 for as_dir in $PATH
   2903 do
   2904   IFS=$as_save_IFS
   2905   test -z "$as_dir" && as_dir=.
   2906     for ac_exec_ext in '' $ac_executable_extensions; do
   2907   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2908     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2909     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2910     break 2
   2911   fi
   2912 done
   2913   done
   2914 IFS=$as_save_IFS
   2915 
   2916 fi
   2917 fi
   2918 CC=$ac_cv_prog_CC
   2919 if test -n "$CC"; then
   2920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2921 $as_echo "$CC" >&6; }
   2922 else
   2923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2924 $as_echo "no" >&6; }
   2925 fi
   2926 
   2927 
   2928     test -n "$CC" && break
   2929   done
   2930 fi
   2931 if test -z "$CC"; then
   2932   ac_ct_CC=$CC
   2933   for ac_prog in cl.exe
   2934 do
   2935   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2936 set dummy $ac_prog; ac_word=$2
   2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2938 $as_echo_n "checking for $ac_word... " >&6; }
   2939 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2940   $as_echo_n "(cached) " >&6
   2941 else
   2942   if test -n "$ac_ct_CC"; then
   2943   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2944 else
   2945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2946 for as_dir in $PATH
   2947 do
   2948   IFS=$as_save_IFS
   2949   test -z "$as_dir" && as_dir=.
   2950     for ac_exec_ext in '' $ac_executable_extensions; do
   2951   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2952     ac_cv_prog_ac_ct_CC="$ac_prog"
   2953     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2954     break 2
   2955   fi
   2956 done
   2957   done
   2958 IFS=$as_save_IFS
   2959 
   2960 fi
   2961 fi
   2962 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2963 if test -n "$ac_ct_CC"; then
   2964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2965 $as_echo "$ac_ct_CC" >&6; }
   2966 else
   2967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2968 $as_echo "no" >&6; }
   2969 fi
   2970 
   2971 
   2972   test -n "$ac_ct_CC" && break
   2973 done
   2974 
   2975   if test "x$ac_ct_CC" = x; then
   2976     CC=""
   2977   else
   2978     case $cross_compiling:$ac_tool_warned in
   2979 yes:)
   2980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2981 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2982 ac_tool_warned=yes ;;
   2983 esac
   2984     CC=$ac_ct_CC
   2985   fi
   2986 fi
   2987 
   2988 fi
   2989 
   2990 
   2991 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2992 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2993 as_fn_error $? "no acceptable C compiler found in \$PATH
   2994 See \`config.log' for more details" "$LINENO" 5; }
   2995 
   2996 # Provide some information about the compiler.
   2997 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2998 set X $ac_compile
   2999 ac_compiler=$2
   3000 for ac_option in --version -v -V -qversion; do
   3001   { { ac_try="$ac_compiler $ac_option >&5"
   3002 case "(($ac_try" in
   3003   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3004   *) ac_try_echo=$ac_try;;
   3005 esac
   3006 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3007 $as_echo "$ac_try_echo"; } >&5
   3008   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3009   ac_status=$?
   3010   if test -s conftest.err; then
   3011     sed '10a\
   3012 ... rest of stderr output deleted ...
   3013          10q' conftest.err >conftest.er1
   3014     cat conftest.er1 >&5
   3015   fi
   3016   rm -f conftest.er1 conftest.err
   3017   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3018   test $ac_status = 0; }
   3019 done
   3020 
   3021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3022 /* end confdefs.h.  */
   3023 
   3024 int
   3025 main ()
   3026 {
   3027 
   3028   ;
   3029   return 0;
   3030 }
   3031 _ACEOF
   3032 ac_clean_files_save=$ac_clean_files
   3033 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3034 # Try to create an executable without -o first, disregard a.out.
   3035 # It will help us diagnose broken compilers, and finding out an intuition
   3036 # of exeext.
   3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3038 $as_echo_n "checking whether the C compiler works... " >&6; }
   3039 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3040 
   3041 # The possible output files:
   3042 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3043 
   3044 ac_rmfiles=
   3045 for ac_file in $ac_files
   3046 do
   3047   case $ac_file in
   3048     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3049     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3050   esac
   3051 done
   3052 rm -f $ac_rmfiles
   3053 
   3054 if { { ac_try="$ac_link_default"
   3055 case "(($ac_try" in
   3056   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3057   *) ac_try_echo=$ac_try;;
   3058 esac
   3059 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3060 $as_echo "$ac_try_echo"; } >&5
   3061   (eval "$ac_link_default") 2>&5
   3062   ac_status=$?
   3063   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3064   test $ac_status = 0; }; then :
   3065   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3066 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3067 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3068 # so that the user can short-circuit this test for compilers unknown to
   3069 # Autoconf.
   3070 for ac_file in $ac_files ''
   3071 do
   3072   test -f "$ac_file" || continue
   3073   case $ac_file in
   3074     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3075 	;;
   3076     [ab].out )
   3077 	# We found the default executable, but exeext='' is most
   3078 	# certainly right.
   3079 	break;;
   3080     *.* )
   3081 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3082 	then :; else
   3083 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3084 	fi
   3085 	# We set ac_cv_exeext here because the later test for it is not
   3086 	# safe: cross compilers may not add the suffix if given an `-o'
   3087 	# argument, so we may need to know it at that point already.
   3088 	# Even if this section looks crufty: it has the advantage of
   3089 	# actually working.
   3090 	break;;
   3091     * )
   3092 	break;;
   3093   esac
   3094 done
   3095 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3096 
   3097 else
   3098   ac_file=''
   3099 fi
   3100 if test -z "$ac_file"; then :
   3101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3102 $as_echo "no" >&6; }
   3103 $as_echo "$as_me: failed program was:" >&5
   3104 sed 's/^/| /' conftest.$ac_ext >&5
   3105 
   3106 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3108 as_fn_error 77 "C compiler cannot create executables
   3109 See \`config.log' for more details" "$LINENO" 5; }
   3110 else
   3111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3112 $as_echo "yes" >&6; }
   3113 fi
   3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3115 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3117 $as_echo "$ac_file" >&6; }
   3118 ac_exeext=$ac_cv_exeext
   3119 
   3120 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3121 ac_clean_files=$ac_clean_files_save
   3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3123 $as_echo_n "checking for suffix of executables... " >&6; }
   3124 if { { ac_try="$ac_link"
   3125 case "(($ac_try" in
   3126   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3127   *) ac_try_echo=$ac_try;;
   3128 esac
   3129 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3130 $as_echo "$ac_try_echo"; } >&5
   3131   (eval "$ac_link") 2>&5
   3132   ac_status=$?
   3133   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3134   test $ac_status = 0; }; then :
   3135   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3136 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3137 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3138 # `rm'.
   3139 for ac_file in conftest.exe conftest conftest.*; do
   3140   test -f "$ac_file" || continue
   3141   case $ac_file in
   3142     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3143     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3144 	  break;;
   3145     * ) break;;
   3146   esac
   3147 done
   3148 else
   3149   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3151 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3152 See \`config.log' for more details" "$LINENO" 5; }
   3153 fi
   3154 rm -f conftest conftest$ac_cv_exeext
   3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3156 $as_echo "$ac_cv_exeext" >&6; }
   3157 
   3158 rm -f conftest.$ac_ext
   3159 EXEEXT=$ac_cv_exeext
   3160 ac_exeext=$EXEEXT
   3161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3162 /* end confdefs.h.  */
   3163 #include <stdio.h>
   3164 int
   3165 main ()
   3166 {
   3167 FILE *f = fopen ("conftest.out", "w");
   3168  return ferror (f) || fclose (f) != 0;
   3169 
   3170   ;
   3171   return 0;
   3172 }
   3173 _ACEOF
   3174 ac_clean_files="$ac_clean_files conftest.out"
   3175 # Check that the compiler produces executables we can run.  If not, either
   3176 # the compiler is broken, or we cross compile.
   3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3178 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3179 if test "$cross_compiling" != yes; then
   3180   { { ac_try="$ac_link"
   3181 case "(($ac_try" in
   3182   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3183   *) ac_try_echo=$ac_try;;
   3184 esac
   3185 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3186 $as_echo "$ac_try_echo"; } >&5
   3187   (eval "$ac_link") 2>&5
   3188   ac_status=$?
   3189   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3190   test $ac_status = 0; }
   3191   if { ac_try='./conftest$ac_cv_exeext'
   3192   { { case "(($ac_try" in
   3193   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3194   *) ac_try_echo=$ac_try;;
   3195 esac
   3196 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3197 $as_echo "$ac_try_echo"; } >&5
   3198   (eval "$ac_try") 2>&5
   3199   ac_status=$?
   3200   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3201   test $ac_status = 0; }; }; then
   3202     cross_compiling=no
   3203   else
   3204     if test "$cross_compiling" = maybe; then
   3205 	cross_compiling=yes
   3206     else
   3207 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3209 as_fn_error $? "cannot run C compiled programs.
   3210 If you meant to cross compile, use \`--host'.
   3211 See \`config.log' for more details" "$LINENO" 5; }
   3212     fi
   3213   fi
   3214 fi
   3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3216 $as_echo "$cross_compiling" >&6; }
   3217 
   3218 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3219 ac_clean_files=$ac_clean_files_save
   3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3221 $as_echo_n "checking for suffix of object files... " >&6; }
   3222 if ${ac_cv_objext+:} false; then :
   3223   $as_echo_n "(cached) " >&6
   3224 else
   3225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3226 /* end confdefs.h.  */
   3227 
   3228 int
   3229 main ()
   3230 {
   3231 
   3232   ;
   3233   return 0;
   3234 }
   3235 _ACEOF
   3236 rm -f conftest.o conftest.obj
   3237 if { { ac_try="$ac_compile"
   3238 case "(($ac_try" in
   3239   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3240   *) ac_try_echo=$ac_try;;
   3241 esac
   3242 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3243 $as_echo "$ac_try_echo"; } >&5
   3244   (eval "$ac_compile") 2>&5
   3245   ac_status=$?
   3246   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3247   test $ac_status = 0; }; then :
   3248   for ac_file in conftest.o conftest.obj conftest.*; do
   3249   test -f "$ac_file" || continue;
   3250   case $ac_file in
   3251     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3252     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3253        break;;
   3254   esac
   3255 done
   3256 else
   3257   $as_echo "$as_me: failed program was:" >&5
   3258 sed 's/^/| /' conftest.$ac_ext >&5
   3259 
   3260 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3262 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3263 See \`config.log' for more details" "$LINENO" 5; }
   3264 fi
   3265 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3266 fi
   3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3268 $as_echo "$ac_cv_objext" >&6; }
   3269 OBJEXT=$ac_cv_objext
   3270 ac_objext=$OBJEXT
   3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3272 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3273 if ${ac_cv_c_compiler_gnu+:} false; then :
   3274   $as_echo_n "(cached) " >&6
   3275 else
   3276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3277 /* end confdefs.h.  */
   3278 
   3279 int
   3280 main ()
   3281 {
   3282 #ifndef __GNUC__
   3283        choke me
   3284 #endif
   3285 
   3286   ;
   3287   return 0;
   3288 }
   3289 _ACEOF
   3290 if ac_fn_c_try_compile "$LINENO"; then :
   3291   ac_compiler_gnu=yes
   3292 else
   3293   ac_compiler_gnu=no
   3294 fi
   3295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3296 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3297 
   3298 fi
   3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3300 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3301 if test $ac_compiler_gnu = yes; then
   3302   GCC=yes
   3303 else
   3304   GCC=
   3305 fi
   3306 ac_test_CFLAGS=${CFLAGS+set}
   3307 ac_save_CFLAGS=$CFLAGS
   3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3309 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3310 if ${ac_cv_prog_cc_g+:} false; then :
   3311   $as_echo_n "(cached) " >&6
   3312 else
   3313   ac_save_c_werror_flag=$ac_c_werror_flag
   3314    ac_c_werror_flag=yes
   3315    ac_cv_prog_cc_g=no
   3316    CFLAGS="-g"
   3317    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3318 /* end confdefs.h.  */
   3319 
   3320 int
   3321 main ()
   3322 {
   3323 
   3324   ;
   3325   return 0;
   3326 }
   3327 _ACEOF
   3328 if ac_fn_c_try_compile "$LINENO"; then :
   3329   ac_cv_prog_cc_g=yes
   3330 else
   3331   CFLAGS=""
   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 if ac_fn_c_try_compile "$LINENO"; then :
   3344 
   3345 else
   3346   ac_c_werror_flag=$ac_save_c_werror_flag
   3347 	 CFLAGS="-g"
   3348 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3349 /* end confdefs.h.  */
   3350 
   3351 int
   3352 main ()
   3353 {
   3354 
   3355   ;
   3356   return 0;
   3357 }
   3358 _ACEOF
   3359 if ac_fn_c_try_compile "$LINENO"; then :
   3360   ac_cv_prog_cc_g=yes
   3361 fi
   3362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3363 fi
   3364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3365 fi
   3366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3367    ac_c_werror_flag=$ac_save_c_werror_flag
   3368 fi
   3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3370 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3371 if test "$ac_test_CFLAGS" = set; then
   3372   CFLAGS=$ac_save_CFLAGS
   3373 elif test $ac_cv_prog_cc_g = yes; then
   3374   if test "$GCC" = yes; then
   3375     CFLAGS="-g -O2"
   3376   else
   3377     CFLAGS="-g"
   3378   fi
   3379 else
   3380   if test "$GCC" = yes; then
   3381     CFLAGS="-O2"
   3382   else
   3383     CFLAGS=
   3384   fi
   3385 fi
   3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3387 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3388 if ${ac_cv_prog_cc_c89+:} false; then :
   3389   $as_echo_n "(cached) " >&6
   3390 else
   3391   ac_cv_prog_cc_c89=no
   3392 ac_save_CC=$CC
   3393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3394 /* end confdefs.h.  */
   3395 #include <stdarg.h>
   3396 #include <stdio.h>
   3397 #include <sys/types.h>
   3398 #include <sys/stat.h>
   3399 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3400 struct buf { int x; };
   3401 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3402 static char *e (p, i)
   3403      char **p;
   3404      int i;
   3405 {
   3406   return p[i];
   3407 }
   3408 static char *f (char * (*g) (char **, int), char **p, ...)
   3409 {
   3410   char *s;
   3411   va_list v;
   3412   va_start (v,p);
   3413   s = g (p, va_arg (v,int));
   3414   va_end (v);
   3415   return s;
   3416 }
   3417 
   3418 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3419    function prototypes and stuff, but not '\xHH' hex character constants.
   3420    These don't provoke an error unfortunately, instead are silently treated
   3421    as 'x'.  The following induces an error, until -std is added to get
   3422    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3423    array size at least.  It's necessary to write '\x00'==0 to get something
   3424    that's true only with -std.  */
   3425 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3426 
   3427 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3428    inside strings and character constants.  */
   3429 #define FOO(x) 'x'
   3430 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3431 
   3432 int test (int i, double x);
   3433 struct s1 {int (*f) (int a);};
   3434 struct s2 {int (*f) (double a);};
   3435 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3436 int argc;
   3437 char **argv;
   3438 int
   3439 main ()
   3440 {
   3441 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3442   ;
   3443   return 0;
   3444 }
   3445 _ACEOF
   3446 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3447 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3448 do
   3449   CC="$ac_save_CC $ac_arg"
   3450   if ac_fn_c_try_compile "$LINENO"; then :
   3451   ac_cv_prog_cc_c89=$ac_arg
   3452 fi
   3453 rm -f core conftest.err conftest.$ac_objext
   3454   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3455 done
   3456 rm -f conftest.$ac_ext
   3457 CC=$ac_save_CC
   3458 
   3459 fi
   3460 # AC_CACHE_VAL
   3461 case "x$ac_cv_prog_cc_c89" in
   3462   x)
   3463     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3464 $as_echo "none needed" >&6; } ;;
   3465   xno)
   3466     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3467 $as_echo "unsupported" >&6; } ;;
   3468   *)
   3469     CC="$CC $ac_cv_prog_cc_c89"
   3470     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3471 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3472 esac
   3473 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3474 
   3475 fi
   3476 
   3477 ac_ext=c
   3478 ac_cpp='$CPP $CPPFLAGS'
   3479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3482 
   3483 depcc="$CC"   am_compiler_list=
   3484 
   3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3486 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3487 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3488   $as_echo_n "(cached) " >&6
   3489 else
   3490   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3491   # We make a subdir and do the tests there.  Otherwise we can end up
   3492   # making bogus files that we don't know about and never remove.  For
   3493   # instance it was reported that on HP-UX the gcc test will end up
   3494   # making a dummy file named `D' -- because `-MD' means `put the output
   3495   # in D'.
   3496   mkdir conftest.dir
   3497   # Copy depcomp to subdir because otherwise we won't find it if we're
   3498   # using a relative directory.
   3499   cp "$am_depcomp" conftest.dir
   3500   cd conftest.dir
   3501   # We will build objects and dependencies in a subdirectory because
   3502   # it helps to detect inapplicable dependency modes.  For instance
   3503   # both Tru64's cc and ICC support -MD to output dependencies as a
   3504   # side effect of compilation, but ICC will put the dependencies in
   3505   # the current directory while Tru64 will put them in the object
   3506   # directory.
   3507   mkdir sub
   3508 
   3509   am_cv_CC_dependencies_compiler_type=none
   3510   if test "$am_compiler_list" = ""; then
   3511      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3512   fi
   3513   am__universal=false
   3514   case " $depcc " in #(
   3515      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3516      esac
   3517 
   3518   for depmode in $am_compiler_list; do
   3519     # Setup a source with many dependencies, because some compilers
   3520     # like to wrap large dependency lists on column 80 (with \), and
   3521     # we should not choose a depcomp mode which is confused by this.
   3522     #
   3523     # We need to recreate these files for each test, as the compiler may
   3524     # overwrite some of them when testing with obscure command lines.
   3525     # This happens at least with the AIX C compiler.
   3526     : > sub/conftest.c
   3527     for i in 1 2 3 4 5 6; do
   3528       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3529       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3530       # Solaris 8's {/usr,}/bin/sh.
   3531       touch sub/conftst$i.h
   3532     done
   3533     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3534 
   3535     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3536     # mode.  It turns out that the SunPro C++ compiler does not properly
   3537     # handle `-M -o', and we need to detect this.  Also, some Intel
   3538     # versions had trouble with output in subdirs
   3539     am__obj=sub/conftest.${OBJEXT-o}
   3540     am__minus_obj="-o $am__obj"
   3541     case $depmode in
   3542     gcc)
   3543       # This depmode causes a compiler race in universal mode.
   3544       test "$am__universal" = false || continue
   3545       ;;
   3546     nosideeffect)
   3547       # after this tag, mechanisms are not by side-effect, so they'll
   3548       # only be used when explicitly requested
   3549       if test "x$enable_dependency_tracking" = xyes; then
   3550 	continue
   3551       else
   3552 	break
   3553       fi
   3554       ;;
   3555     msvisualcpp | msvcmsys)
   3556       # This compiler won't grok `-c -o', but also, the minuso test has
   3557       # not run yet.  These depmodes are late enough in the game, and
   3558       # so weak that their functioning should not be impacted.
   3559       am__obj=conftest.${OBJEXT-o}
   3560       am__minus_obj=
   3561       ;;
   3562     none) break ;;
   3563     esac
   3564     if depmode=$depmode \
   3565        source=sub/conftest.c object=$am__obj \
   3566        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3567        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3568          >/dev/null 2>conftest.err &&
   3569        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3570        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3571        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3572        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3573       # icc doesn't choke on unknown options, it will just issue warnings
   3574       # or remarks (even with -Werror).  So we grep stderr for any message
   3575       # that says an option was ignored or not supported.
   3576       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3577       #   icc: Command line warning: ignoring option '-M'; no argument required
   3578       # The diagnosis changed in icc 8.0:
   3579       #   icc: Command line remark: option '-MP' not supported
   3580       if (grep 'ignoring option' conftest.err ||
   3581           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3582         am_cv_CC_dependencies_compiler_type=$depmode
   3583         break
   3584       fi
   3585     fi
   3586   done
   3587 
   3588   cd ..
   3589   rm -rf conftest.dir
   3590 else
   3591   am_cv_CC_dependencies_compiler_type=none
   3592 fi
   3593 
   3594 fi
   3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3596 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3597 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3598 
   3599  if
   3600   test "x$enable_dependency_tracking" != xno \
   3601   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3602   am__fastdepCC_TRUE=
   3603   am__fastdepCC_FALSE='#'
   3604 else
   3605   am__fastdepCC_TRUE='#'
   3606   am__fastdepCC_FALSE=
   3607 fi
   3608 
   3609 
   3610    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3611 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3612 if ${ac_cv_prog_cc_c99+:} false; then :
   3613   $as_echo_n "(cached) " >&6
   3614 else
   3615   ac_cv_prog_cc_c99=no
   3616 ac_save_CC=$CC
   3617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3618 /* end confdefs.h.  */
   3619 #include <stdarg.h>
   3620 #include <stdbool.h>
   3621 #include <stdlib.h>
   3622 #include <wchar.h>
   3623 #include <stdio.h>
   3624 
   3625 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3626 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3627 #define showlist(...) puts (#__VA_ARGS__)
   3628 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3629 static void
   3630 test_varargs_macros (void)
   3631 {
   3632   int x = 1234;
   3633   int y = 5678;
   3634   debug ("Flag");
   3635   debug ("X = %d\n", x);
   3636   showlist (The first, second, and third items.);
   3637   report (x>y, "x is %d but y is %d", x, y);
   3638 }
   3639 
   3640 // Check long long types.
   3641 #define BIG64 18446744073709551615ull
   3642 #define BIG32 4294967295ul
   3643 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3644 #if !BIG_OK
   3645   your preprocessor is broken;
   3646 #endif
   3647 #if BIG_OK
   3648 #else
   3649   your preprocessor is broken;
   3650 #endif
   3651 static long long int bignum = -9223372036854775807LL;
   3652 static unsigned long long int ubignum = BIG64;
   3653 
   3654 struct incomplete_array
   3655 {
   3656   int datasize;
   3657   double data[];
   3658 };
   3659 
   3660 struct named_init {
   3661   int number;
   3662   const wchar_t *name;
   3663   double average;
   3664 };
   3665 
   3666 typedef const char *ccp;
   3667 
   3668 static inline int
   3669 test_restrict (ccp restrict text)
   3670 {
   3671   // See if C++-style comments work.
   3672   // Iterate through items via the restricted pointer.
   3673   // Also check for declarations in for loops.
   3674   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3675     continue;
   3676   return 0;
   3677 }
   3678 
   3679 // Check varargs and va_copy.
   3680 static void
   3681 test_varargs (const char *format, ...)
   3682 {
   3683   va_list args;
   3684   va_start (args, format);
   3685   va_list args_copy;
   3686   va_copy (args_copy, args);
   3687 
   3688   const char *str;
   3689   int number;
   3690   float fnumber;
   3691 
   3692   while (*format)
   3693     {
   3694       switch (*format++)
   3695 	{
   3696 	case 's': // string
   3697 	  str = va_arg (args_copy, const char *);
   3698 	  break;
   3699 	case 'd': // int
   3700 	  number = va_arg (args_copy, int);
   3701 	  break;
   3702 	case 'f': // float
   3703 	  fnumber = va_arg (args_copy, double);
   3704 	  break;
   3705 	default:
   3706 	  break;
   3707 	}
   3708     }
   3709   va_end (args_copy);
   3710   va_end (args);
   3711 }
   3712 
   3713 int
   3714 main ()
   3715 {
   3716 
   3717   // Check bool.
   3718   _Bool success = false;
   3719 
   3720   // Check restrict.
   3721   if (test_restrict ("String literal") == 0)
   3722     success = true;
   3723   char *restrict newvar = "Another string";
   3724 
   3725   // Check varargs.
   3726   test_varargs ("s, d' f .", "string", 65, 34.234);
   3727   test_varargs_macros ();
   3728 
   3729   // Check flexible array members.
   3730   struct incomplete_array *ia =
   3731     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3732   ia->datasize = 10;
   3733   for (int i = 0; i < ia->datasize; ++i)
   3734     ia->data[i] = i * 1.234;
   3735 
   3736   // Check named initializers.
   3737   struct named_init ni = {
   3738     .number = 34,
   3739     .name = L"Test wide string",
   3740     .average = 543.34343,
   3741   };
   3742 
   3743   ni.number = 58;
   3744 
   3745   int dynamic_array[ni.number];
   3746   dynamic_array[ni.number - 1] = 543;
   3747 
   3748   // work around unused variable warnings
   3749   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3750 	  || dynamic_array[ni.number - 1] != 543);
   3751 
   3752   ;
   3753   return 0;
   3754 }
   3755 _ACEOF
   3756 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3757 do
   3758   CC="$ac_save_CC $ac_arg"
   3759   if ac_fn_c_try_compile "$LINENO"; then :
   3760   ac_cv_prog_cc_c99=$ac_arg
   3761 fi
   3762 rm -f core conftest.err conftest.$ac_objext
   3763   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3764 done
   3765 rm -f conftest.$ac_ext
   3766 CC=$ac_save_CC
   3767 
   3768 fi
   3769 # AC_CACHE_VAL
   3770 case "x$ac_cv_prog_cc_c99" in
   3771   x)
   3772     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3773 $as_echo "none needed" >&6; } ;;
   3774   xno)
   3775     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3776 $as_echo "unsupported" >&6; } ;;
   3777   *)
   3778     CC="$CC $ac_cv_prog_cc_c99"
   3779     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3780 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3781 esac
   3782 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3783 
   3784 fi
   3785 
   3786 
   3787 
   3788 ac_ext=c
   3789 ac_cpp='$CPP $CPPFLAGS'
   3790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3794 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3795 # On Suns, sometimes $CPP names a directory.
   3796 if test -n "$CPP" && test -d "$CPP"; then
   3797   CPP=
   3798 fi
   3799 if test -z "$CPP"; then
   3800   if ${ac_cv_prog_CPP+:} false; then :
   3801   $as_echo_n "(cached) " >&6
   3802 else
   3803       # Double quotes because CPP needs to be expanded
   3804     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3805     do
   3806       ac_preproc_ok=false
   3807 for ac_c_preproc_warn_flag in '' yes
   3808 do
   3809   # Use a header file that comes with gcc, so configuring glibc
   3810   # with a fresh cross-compiler works.
   3811   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3812   # <limits.h> exists even on freestanding compilers.
   3813   # On the NeXT, cc -E runs the code through the compiler's parser,
   3814   # not just through cpp. "Syntax error" is here to catch this case.
   3815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3816 /* end confdefs.h.  */
   3817 #ifdef __STDC__
   3818 # include <limits.h>
   3819 #else
   3820 # include <assert.h>
   3821 #endif
   3822 		     Syntax error
   3823 _ACEOF
   3824 if ac_fn_c_try_cpp "$LINENO"; then :
   3825 
   3826 else
   3827   # Broken: fails on valid input.
   3828 continue
   3829 fi
   3830 rm -f conftest.err conftest.i conftest.$ac_ext
   3831 
   3832   # OK, works on sane cases.  Now check whether nonexistent headers
   3833   # can be detected and how.
   3834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3835 /* end confdefs.h.  */
   3836 #include <ac_nonexistent.h>
   3837 _ACEOF
   3838 if ac_fn_c_try_cpp "$LINENO"; then :
   3839   # Broken: success on invalid input.
   3840 continue
   3841 else
   3842   # Passes both tests.
   3843 ac_preproc_ok=:
   3844 break
   3845 fi
   3846 rm -f conftest.err conftest.i conftest.$ac_ext
   3847 
   3848 done
   3849 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3850 rm -f conftest.i conftest.err conftest.$ac_ext
   3851 if $ac_preproc_ok; then :
   3852   break
   3853 fi
   3854 
   3855     done
   3856     ac_cv_prog_CPP=$CPP
   3857 
   3858 fi
   3859   CPP=$ac_cv_prog_CPP
   3860 else
   3861   ac_cv_prog_CPP=$CPP
   3862 fi
   3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3864 $as_echo "$CPP" >&6; }
   3865 ac_preproc_ok=false
   3866 for ac_c_preproc_warn_flag in '' yes
   3867 do
   3868   # Use a header file that comes with gcc, so configuring glibc
   3869   # with a fresh cross-compiler works.
   3870   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3871   # <limits.h> exists even on freestanding compilers.
   3872   # On the NeXT, cc -E runs the code through the compiler's parser,
   3873   # not just through cpp. "Syntax error" is here to catch this case.
   3874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3875 /* end confdefs.h.  */
   3876 #ifdef __STDC__
   3877 # include <limits.h>
   3878 #else
   3879 # include <assert.h>
   3880 #endif
   3881 		     Syntax error
   3882 _ACEOF
   3883 if ac_fn_c_try_cpp "$LINENO"; then :
   3884 
   3885 else
   3886   # Broken: fails on valid input.
   3887 continue
   3888 fi
   3889 rm -f conftest.err conftest.i conftest.$ac_ext
   3890 
   3891   # OK, works on sane cases.  Now check whether nonexistent headers
   3892   # can be detected and how.
   3893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3894 /* end confdefs.h.  */
   3895 #include <ac_nonexistent.h>
   3896 _ACEOF
   3897 if ac_fn_c_try_cpp "$LINENO"; then :
   3898   # Broken: success on invalid input.
   3899 continue
   3900 else
   3901   # Passes both tests.
   3902 ac_preproc_ok=:
   3903 break
   3904 fi
   3905 rm -f conftest.err conftest.i conftest.$ac_ext
   3906 
   3907 done
   3908 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3909 rm -f conftest.i conftest.err conftest.$ac_ext
   3910 if $ac_preproc_ok; then :
   3911 
   3912 else
   3913   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3915 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3916 See \`config.log' for more details" "$LINENO" 5; }
   3917 fi
   3918 
   3919 ac_ext=c
   3920 ac_cpp='$CPP $CPPFLAGS'
   3921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3924 
   3925 
   3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3927 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3928 if ${ac_cv_path_GREP+:} false; then :
   3929   $as_echo_n "(cached) " >&6
   3930 else
   3931   if test -z "$GREP"; then
   3932   ac_path_GREP_found=false
   3933   # Loop through the user's path and test for each of PROGNAME-LIST
   3934   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3935 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3936 do
   3937   IFS=$as_save_IFS
   3938   test -z "$as_dir" && as_dir=.
   3939     for ac_prog in grep ggrep; do
   3940     for ac_exec_ext in '' $ac_executable_extensions; do
   3941       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3942       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3943 # Check for GNU ac_path_GREP and select it if it is found.
   3944   # Check for GNU $ac_path_GREP
   3945 case `"$ac_path_GREP" --version 2>&1` in
   3946 *GNU*)
   3947   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3948 *)
   3949   ac_count=0
   3950   $as_echo_n 0123456789 >"conftest.in"
   3951   while :
   3952   do
   3953     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3954     mv "conftest.tmp" "conftest.in"
   3955     cp "conftest.in" "conftest.nl"
   3956     $as_echo 'GREP' >> "conftest.nl"
   3957     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3958     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3959     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3960     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3961       # Best one so far, save it but keep looking for a better one
   3962       ac_cv_path_GREP="$ac_path_GREP"
   3963       ac_path_GREP_max=$ac_count
   3964     fi
   3965     # 10*(2^10) chars as input seems more than enough
   3966     test $ac_count -gt 10 && break
   3967   done
   3968   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3969 esac
   3970 
   3971       $ac_path_GREP_found && break 3
   3972     done
   3973   done
   3974   done
   3975 IFS=$as_save_IFS
   3976   if test -z "$ac_cv_path_GREP"; then
   3977     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3978   fi
   3979 else
   3980   ac_cv_path_GREP=$GREP
   3981 fi
   3982 
   3983 fi
   3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3985 $as_echo "$ac_cv_path_GREP" >&6; }
   3986  GREP="$ac_cv_path_GREP"
   3987 
   3988 
   3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3990 $as_echo_n "checking for egrep... " >&6; }
   3991 if ${ac_cv_path_EGREP+:} false; then :
   3992   $as_echo_n "(cached) " >&6
   3993 else
   3994   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3995    then ac_cv_path_EGREP="$GREP -E"
   3996    else
   3997      if test -z "$EGREP"; then
   3998   ac_path_EGREP_found=false
   3999   # Loop through the user's path and test for each of PROGNAME-LIST
   4000   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4001 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4002 do
   4003   IFS=$as_save_IFS
   4004   test -z "$as_dir" && as_dir=.
   4005     for ac_prog in egrep; do
   4006     for ac_exec_ext in '' $ac_executable_extensions; do
   4007       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4008       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4009 # Check for GNU ac_path_EGREP and select it if it is found.
   4010   # Check for GNU $ac_path_EGREP
   4011 case `"$ac_path_EGREP" --version 2>&1` in
   4012 *GNU*)
   4013   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4014 *)
   4015   ac_count=0
   4016   $as_echo_n 0123456789 >"conftest.in"
   4017   while :
   4018   do
   4019     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4020     mv "conftest.tmp" "conftest.in"
   4021     cp "conftest.in" "conftest.nl"
   4022     $as_echo 'EGREP' >> "conftest.nl"
   4023     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4024     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4025     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4026     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4027       # Best one so far, save it but keep looking for a better one
   4028       ac_cv_path_EGREP="$ac_path_EGREP"
   4029       ac_path_EGREP_max=$ac_count
   4030     fi
   4031     # 10*(2^10) chars as input seems more than enough
   4032     test $ac_count -gt 10 && break
   4033   done
   4034   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4035 esac
   4036 
   4037       $ac_path_EGREP_found && break 3
   4038     done
   4039   done
   4040   done
   4041 IFS=$as_save_IFS
   4042   if test -z "$ac_cv_path_EGREP"; then
   4043     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4044   fi
   4045 else
   4046   ac_cv_path_EGREP=$EGREP
   4047 fi
   4048 
   4049    fi
   4050 fi
   4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4052 $as_echo "$ac_cv_path_EGREP" >&6; }
   4053  EGREP="$ac_cv_path_EGREP"
   4054 
   4055 
   4056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4057 $as_echo_n "checking for ANSI C header files... " >&6; }
   4058 if ${ac_cv_header_stdc+:} false; then :
   4059   $as_echo_n "(cached) " >&6
   4060 else
   4061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4062 /* end confdefs.h.  */
   4063 #include <stdlib.h>
   4064 #include <stdarg.h>
   4065 #include <string.h>
   4066 #include <float.h>
   4067 
   4068 int
   4069 main ()
   4070 {
   4071 
   4072   ;
   4073   return 0;
   4074 }
   4075 _ACEOF
   4076 if ac_fn_c_try_compile "$LINENO"; then :
   4077   ac_cv_header_stdc=yes
   4078 else
   4079   ac_cv_header_stdc=no
   4080 fi
   4081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4082 
   4083 if test $ac_cv_header_stdc = yes; then
   4084   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4086 /* end confdefs.h.  */
   4087 #include <string.h>
   4088 
   4089 _ACEOF
   4090 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4091   $EGREP "memchr" >/dev/null 2>&1; then :
   4092 
   4093 else
   4094   ac_cv_header_stdc=no
   4095 fi
   4096 rm -f conftest*
   4097 
   4098 fi
   4099 
   4100 if test $ac_cv_header_stdc = yes; then
   4101   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4102   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4103 /* end confdefs.h.  */
   4104 #include <stdlib.h>
   4105 
   4106 _ACEOF
   4107 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4108   $EGREP "free" >/dev/null 2>&1; then :
   4109 
   4110 else
   4111   ac_cv_header_stdc=no
   4112 fi
   4113 rm -f conftest*
   4114 
   4115 fi
   4116 
   4117 if test $ac_cv_header_stdc = yes; then
   4118   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4119   if test "$cross_compiling" = yes; then :
   4120   :
   4121 else
   4122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4123 /* end confdefs.h.  */
   4124 #include <ctype.h>
   4125 #include <stdlib.h>
   4126 #if ((' ' & 0x0FF) == 0x020)
   4127 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4128 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4129 #else
   4130 # define ISLOWER(c) \
   4131 		   (('a' <= (c) && (c) <= 'i') \
   4132 		     || ('j' <= (c) && (c) <= 'r') \
   4133 		     || ('s' <= (c) && (c) <= 'z'))
   4134 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4135 #endif
   4136 
   4137 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4138 int
   4139 main ()
   4140 {
   4141   int i;
   4142   for (i = 0; i < 256; i++)
   4143     if (XOR (islower (i), ISLOWER (i))
   4144 	|| toupper (i) != TOUPPER (i))
   4145       return 2;
   4146   return 0;
   4147 }
   4148 _ACEOF
   4149 if ac_fn_c_try_run "$LINENO"; then :
   4150 
   4151 else
   4152   ac_cv_header_stdc=no
   4153 fi
   4154 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4155   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4156 fi
   4157 
   4158 fi
   4159 fi
   4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4161 $as_echo "$ac_cv_header_stdc" >&6; }
   4162 if test $ac_cv_header_stdc = yes; then
   4163 
   4164 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4165 
   4166 fi
   4167 
   4168 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4169 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4170 		  inttypes.h stdint.h unistd.h
   4171 do :
   4172   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4173 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4174 "
   4175 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4176   cat >>confdefs.h <<_ACEOF
   4177 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4178 _ACEOF
   4179 
   4180 fi
   4181 
   4182 done
   4183 
   4184 
   4185 
   4186 
   4187 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4188 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4189   CLANGCC="yes"
   4190 else
   4191   CLANGCC="no"
   4192 fi
   4193 
   4194 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4195 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4196   INTELCC="yes"
   4197 else
   4198   INTELCC="no"
   4199 fi
   4200 
   4201 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4202 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4203   SUNCC="yes"
   4204 else
   4205   SUNCC="no"
   4206 fi
   4207 
   4208 
   4209 
   4210 
   4211 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4212 	if test -n "$ac_tool_prefix"; then
   4213   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4214 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4216 $as_echo_n "checking for $ac_word... " >&6; }
   4217 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4218   $as_echo_n "(cached) " >&6
   4219 else
   4220   case $PKG_CONFIG in
   4221   [\\/]* | ?:[\\/]*)
   4222   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4223   ;;
   4224   *)
   4225   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4226 for as_dir in $PATH
   4227 do
   4228   IFS=$as_save_IFS
   4229   test -z "$as_dir" && as_dir=.
   4230     for ac_exec_ext in '' $ac_executable_extensions; do
   4231   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4232     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4233     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4234     break 2
   4235   fi
   4236 done
   4237   done
   4238 IFS=$as_save_IFS
   4239 
   4240   ;;
   4241 esac
   4242 fi
   4243 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4244 if test -n "$PKG_CONFIG"; then
   4245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4246 $as_echo "$PKG_CONFIG" >&6; }
   4247 else
   4248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4249 $as_echo "no" >&6; }
   4250 fi
   4251 
   4252 
   4253 fi
   4254 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4255   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4256   # Extract the first word of "pkg-config", so it can be a program name with args.
   4257 set dummy pkg-config; ac_word=$2
   4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4259 $as_echo_n "checking for $ac_word... " >&6; }
   4260 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4261   $as_echo_n "(cached) " >&6
   4262 else
   4263   case $ac_pt_PKG_CONFIG in
   4264   [\\/]* | ?:[\\/]*)
   4265   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4266   ;;
   4267   *)
   4268   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4269 for as_dir in $PATH
   4270 do
   4271   IFS=$as_save_IFS
   4272   test -z "$as_dir" && as_dir=.
   4273     for ac_exec_ext in '' $ac_executable_extensions; do
   4274   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4275     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4276     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4277     break 2
   4278   fi
   4279 done
   4280   done
   4281 IFS=$as_save_IFS
   4282 
   4283   ;;
   4284 esac
   4285 fi
   4286 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4287 if test -n "$ac_pt_PKG_CONFIG"; then
   4288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4289 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4290 else
   4291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4292 $as_echo "no" >&6; }
   4293 fi
   4294 
   4295   if test "x$ac_pt_PKG_CONFIG" = x; then
   4296     PKG_CONFIG=""
   4297   else
   4298     case $cross_compiling:$ac_tool_warned in
   4299 yes:)
   4300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4301 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4302 ac_tool_warned=yes ;;
   4303 esac
   4304     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4305   fi
   4306 else
   4307   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4308 fi
   4309 
   4310 fi
   4311 if test -n "$PKG_CONFIG"; then
   4312 	_pkg_min_version=0.9.0
   4313 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4314 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4315 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4316 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4317 $as_echo "yes" >&6; }
   4318 	else
   4319 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4320 $as_echo "no" >&6; }
   4321 		PKG_CONFIG=""
   4322 	fi
   4323 
   4324 fi
   4325 # Make sure we can run config.sub.
   4326 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4327   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4328 
   4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4330 $as_echo_n "checking build system type... " >&6; }
   4331 if ${ac_cv_build+:} false; then :
   4332   $as_echo_n "(cached) " >&6
   4333 else
   4334   ac_build_alias=$build_alias
   4335 test "x$ac_build_alias" = x &&
   4336   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4337 test "x$ac_build_alias" = x &&
   4338   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4339 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4340   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4341 
   4342 fi
   4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4344 $as_echo "$ac_cv_build" >&6; }
   4345 case $ac_cv_build in
   4346 *-*-*) ;;
   4347 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4348 esac
   4349 build=$ac_cv_build
   4350 ac_save_IFS=$IFS; IFS='-'
   4351 set x $ac_cv_build
   4352 shift
   4353 build_cpu=$1
   4354 build_vendor=$2
   4355 shift; shift
   4356 # Remember, the first character of IFS is used to create $*,
   4357 # except with old shells:
   4358 build_os=$*
   4359 IFS=$ac_save_IFS
   4360 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4361 
   4362 
   4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4364 $as_echo_n "checking host system type... " >&6; }
   4365 if ${ac_cv_host+:} false; then :
   4366   $as_echo_n "(cached) " >&6
   4367 else
   4368   if test "x$host_alias" = x; then
   4369   ac_cv_host=$ac_cv_build
   4370 else
   4371   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4372     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4373 fi
   4374 
   4375 fi
   4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4377 $as_echo "$ac_cv_host" >&6; }
   4378 case $ac_cv_host in
   4379 *-*-*) ;;
   4380 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4381 esac
   4382 host=$ac_cv_host
   4383 ac_save_IFS=$IFS; IFS='-'
   4384 set x $ac_cv_host
   4385 shift
   4386 host_cpu=$1
   4387 host_vendor=$2
   4388 shift; shift
   4389 # Remember, the first character of IFS is used to create $*,
   4390 # except with old shells:
   4391 host_os=$*
   4392 IFS=$ac_save_IFS
   4393 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4394 
   4395 
   4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4397 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4398 if ${ac_cv_path_SED+:} false; then :
   4399   $as_echo_n "(cached) " >&6
   4400 else
   4401             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4402      for ac_i in 1 2 3 4 5 6 7; do
   4403        ac_script="$ac_script$as_nl$ac_script"
   4404      done
   4405      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4406      { ac_script=; unset ac_script;}
   4407      if test -z "$SED"; then
   4408   ac_path_SED_found=false
   4409   # Loop through the user's path and test for each of PROGNAME-LIST
   4410   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4411 for as_dir in $PATH
   4412 do
   4413   IFS=$as_save_IFS
   4414   test -z "$as_dir" && as_dir=.
   4415     for ac_prog in sed gsed; do
   4416     for ac_exec_ext in '' $ac_executable_extensions; do
   4417       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4418       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4419 # Check for GNU ac_path_SED and select it if it is found.
   4420   # Check for GNU $ac_path_SED
   4421 case `"$ac_path_SED" --version 2>&1` in
   4422 *GNU*)
   4423   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4424 *)
   4425   ac_count=0
   4426   $as_echo_n 0123456789 >"conftest.in"
   4427   while :
   4428   do
   4429     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4430     mv "conftest.tmp" "conftest.in"
   4431     cp "conftest.in" "conftest.nl"
   4432     $as_echo '' >> "conftest.nl"
   4433     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4434     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4435     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4436     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4437       # Best one so far, save it but keep looking for a better one
   4438       ac_cv_path_SED="$ac_path_SED"
   4439       ac_path_SED_max=$ac_count
   4440     fi
   4441     # 10*(2^10) chars as input seems more than enough
   4442     test $ac_count -gt 10 && break
   4443   done
   4444   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4445 esac
   4446 
   4447       $ac_path_SED_found && break 3
   4448     done
   4449   done
   4450   done
   4451 IFS=$as_save_IFS
   4452   if test -z "$ac_cv_path_SED"; then
   4453     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4454   fi
   4455 else
   4456   ac_cv_path_SED=$SED
   4457 fi
   4458 
   4459 fi
   4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4461 $as_echo "$ac_cv_path_SED" >&6; }
   4462  SED="$ac_cv_path_SED"
   4463   rm -f conftest.sed
   4464 
   4465 
   4466 
   4467 
   4468 
   4469 
   4470 # Check whether --enable-selective-werror was given.
   4471 if test "${enable_selective_werror+set}" = set; then :
   4472   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4473 else
   4474   SELECTIVE_WERROR=yes
   4475 fi
   4476 
   4477 
   4478 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4479 if test "x$SUNCC" = "xyes"; then
   4480     BASE_CFLAGS="-v"
   4481 else
   4482     BASE_CFLAGS=""
   4483 fi
   4484 
   4485 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4486 
   4487 
   4488 
   4489 
   4490 
   4491 xorg_testset_save_CFLAGS="$CFLAGS"
   4492 
   4493 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   4494 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4495 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4496 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4497 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4498   $as_echo_n "(cached) " >&6
   4499 else
   4500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4501 /* end confdefs.h.  */
   4502 int i;
   4503 _ACEOF
   4504 if ac_fn_c_try_compile "$LINENO"; then :
   4505   xorg_cv_cc_flag_unknown_warning_option=yes
   4506 else
   4507   xorg_cv_cc_flag_unknown_warning_option=no
   4508 fi
   4509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4510 fi
   4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4512 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4513 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4514 	CFLAGS="$xorg_testset_save_CFLAGS"
   4515 fi
   4516 
   4517 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   4518 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4519 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4520 	fi
   4521 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4522 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4523 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4524 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4525   $as_echo_n "(cached) " >&6
   4526 else
   4527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4528 /* end confdefs.h.  */
   4529 int i;
   4530 _ACEOF
   4531 if ac_fn_c_try_compile "$LINENO"; then :
   4532   xorg_cv_cc_flag_unused_command_line_argument=yes
   4533 else
   4534   xorg_cv_cc_flag_unused_command_line_argument=no
   4535 fi
   4536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4537 fi
   4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4539 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4540 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4541 	CFLAGS="$xorg_testset_save_CFLAGS"
   4542 fi
   4543 
   4544 found="no"
   4545 
   4546 	if test $found = "no" ; then
   4547 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4548 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4549 		fi
   4550 
   4551 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4552 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4553 		fi
   4554 
   4555 		CFLAGS="$CFLAGS -Wall"
   4556 
   4557 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4558 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4559 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wall`
   4560 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   4561   $as_echo_n "(cached) " >&6
   4562 else
   4563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4564 /* end confdefs.h.  */
   4565 int i;
   4566 int
   4567 main ()
   4568 {
   4569 
   4570   ;
   4571   return 0;
   4572 }
   4573 _ACEOF
   4574 if ac_fn_c_try_link "$LINENO"; then :
   4575   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   4576 else
   4577   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   4578 fi
   4579 rm -f core conftest.err conftest.$ac_objext \
   4580     conftest$ac_exeext conftest.$ac_ext
   4581 fi
   4582 
   4583 
   4584 		CFLAGS="$xorg_testset_save_CFLAGS"
   4585 
   4586 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   4587 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4588 $as_echo "$supported" >&6; }
   4589 		if test "$supported" = "yes" ; then
   4590 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4591 			found="yes"
   4592 		fi
   4593 	fi
   4594 
   4595 
   4596 
   4597 
   4598 
   4599 
   4600 
   4601 xorg_testset_save_CFLAGS="$CFLAGS"
   4602 
   4603 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   4604 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4605 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4606 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4607 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4608   $as_echo_n "(cached) " >&6
   4609 else
   4610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4611 /* end confdefs.h.  */
   4612 int i;
   4613 _ACEOF
   4614 if ac_fn_c_try_compile "$LINENO"; then :
   4615   xorg_cv_cc_flag_unknown_warning_option=yes
   4616 else
   4617   xorg_cv_cc_flag_unknown_warning_option=no
   4618 fi
   4619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4620 fi
   4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4622 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4623 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4624 	CFLAGS="$xorg_testset_save_CFLAGS"
   4625 fi
   4626 
   4627 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   4628 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4629 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4630 	fi
   4631 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4632 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4633 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4634 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4635   $as_echo_n "(cached) " >&6
   4636 else
   4637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4638 /* end confdefs.h.  */
   4639 int i;
   4640 _ACEOF
   4641 if ac_fn_c_try_compile "$LINENO"; then :
   4642   xorg_cv_cc_flag_unused_command_line_argument=yes
   4643 else
   4644   xorg_cv_cc_flag_unused_command_line_argument=no
   4645 fi
   4646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4647 fi
   4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4649 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4650 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4651 	CFLAGS="$xorg_testset_save_CFLAGS"
   4652 fi
   4653 
   4654 found="no"
   4655 
   4656 	if test $found = "no" ; then
   4657 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4658 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4659 		fi
   4660 
   4661 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4662 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4663 		fi
   4664 
   4665 		CFLAGS="$CFLAGS -Wpointer-arith"
   4666 
   4667 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4668 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4669 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wpointer-arith`
   4670 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   4671   $as_echo_n "(cached) " >&6
   4672 else
   4673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4674 /* end confdefs.h.  */
   4675 int i;
   4676 int
   4677 main ()
   4678 {
   4679 
   4680   ;
   4681   return 0;
   4682 }
   4683 _ACEOF
   4684 if ac_fn_c_try_link "$LINENO"; then :
   4685   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   4686 else
   4687   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   4688 fi
   4689 rm -f core conftest.err conftest.$ac_objext \
   4690     conftest$ac_exeext conftest.$ac_ext
   4691 fi
   4692 
   4693 
   4694 		CFLAGS="$xorg_testset_save_CFLAGS"
   4695 
   4696 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   4697 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4698 $as_echo "$supported" >&6; }
   4699 		if test "$supported" = "yes" ; then
   4700 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4701 			found="yes"
   4702 		fi
   4703 	fi
   4704 
   4705 
   4706 
   4707 
   4708 
   4709 
   4710 
   4711 xorg_testset_save_CFLAGS="$CFLAGS"
   4712 
   4713 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   4714 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4715 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4716 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4717 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4718   $as_echo_n "(cached) " >&6
   4719 else
   4720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4721 /* end confdefs.h.  */
   4722 int i;
   4723 _ACEOF
   4724 if ac_fn_c_try_compile "$LINENO"; then :
   4725   xorg_cv_cc_flag_unknown_warning_option=yes
   4726 else
   4727   xorg_cv_cc_flag_unknown_warning_option=no
   4728 fi
   4729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4730 fi
   4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4732 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4733 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4734 	CFLAGS="$xorg_testset_save_CFLAGS"
   4735 fi
   4736 
   4737 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   4738 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4739 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4740 	fi
   4741 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4742 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4743 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4744 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4745   $as_echo_n "(cached) " >&6
   4746 else
   4747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4748 /* end confdefs.h.  */
   4749 int i;
   4750 _ACEOF
   4751 if ac_fn_c_try_compile "$LINENO"; then :
   4752   xorg_cv_cc_flag_unused_command_line_argument=yes
   4753 else
   4754   xorg_cv_cc_flag_unused_command_line_argument=no
   4755 fi
   4756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4757 fi
   4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4759 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4760 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4761 	CFLAGS="$xorg_testset_save_CFLAGS"
   4762 fi
   4763 
   4764 found="no"
   4765 
   4766 	if test $found = "no" ; then
   4767 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4768 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4769 		fi
   4770 
   4771 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4772 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4773 		fi
   4774 
   4775 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   4776 
   4777 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   4778 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   4779 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wstrict-prototypes`
   4780 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   4781   $as_echo_n "(cached) " >&6
   4782 else
   4783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4784 /* end confdefs.h.  */
   4785 int i;
   4786 int
   4787 main ()
   4788 {
   4789 
   4790   ;
   4791   return 0;
   4792 }
   4793 _ACEOF
   4794 if ac_fn_c_try_link "$LINENO"; then :
   4795   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   4796 else
   4797   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   4798 fi
   4799 rm -f core conftest.err conftest.$ac_objext \
   4800     conftest$ac_exeext conftest.$ac_ext
   4801 fi
   4802 
   4803 
   4804 		CFLAGS="$xorg_testset_save_CFLAGS"
   4805 
   4806 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   4807 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4808 $as_echo "$supported" >&6; }
   4809 		if test "$supported" = "yes" ; then
   4810 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   4811 			found="yes"
   4812 		fi
   4813 	fi
   4814 
   4815 
   4816 
   4817 
   4818 
   4819 
   4820 
   4821 xorg_testset_save_CFLAGS="$CFLAGS"
   4822 
   4823 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   4824 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4825 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4826 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4827 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4828   $as_echo_n "(cached) " >&6
   4829 else
   4830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4831 /* end confdefs.h.  */
   4832 int i;
   4833 _ACEOF
   4834 if ac_fn_c_try_compile "$LINENO"; then :
   4835   xorg_cv_cc_flag_unknown_warning_option=yes
   4836 else
   4837   xorg_cv_cc_flag_unknown_warning_option=no
   4838 fi
   4839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4840 fi
   4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4842 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4843 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4844 	CFLAGS="$xorg_testset_save_CFLAGS"
   4845 fi
   4846 
   4847 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   4848 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4849 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4850 	fi
   4851 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4852 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4853 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4854 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4855   $as_echo_n "(cached) " >&6
   4856 else
   4857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4858 /* end confdefs.h.  */
   4859 int i;
   4860 _ACEOF
   4861 if ac_fn_c_try_compile "$LINENO"; then :
   4862   xorg_cv_cc_flag_unused_command_line_argument=yes
   4863 else
   4864   xorg_cv_cc_flag_unused_command_line_argument=no
   4865 fi
   4866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4867 fi
   4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4869 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4870 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4871 	CFLAGS="$xorg_testset_save_CFLAGS"
   4872 fi
   4873 
   4874 found="no"
   4875 
   4876 	if test $found = "no" ; then
   4877 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4878 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4879 		fi
   4880 
   4881 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4882 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4883 		fi
   4884 
   4885 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   4886 
   4887 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   4888 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   4889 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wmissing-prototypes`
   4890 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   4891   $as_echo_n "(cached) " >&6
   4892 else
   4893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4894 /* end confdefs.h.  */
   4895 int i;
   4896 int
   4897 main ()
   4898 {
   4899 
   4900   ;
   4901   return 0;
   4902 }
   4903 _ACEOF
   4904 if ac_fn_c_try_link "$LINENO"; then :
   4905   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   4906 else
   4907   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   4908 fi
   4909 rm -f core conftest.err conftest.$ac_objext \
   4910     conftest$ac_exeext conftest.$ac_ext
   4911 fi
   4912 
   4913 
   4914 		CFLAGS="$xorg_testset_save_CFLAGS"
   4915 
   4916 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   4917 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4918 $as_echo "$supported" >&6; }
   4919 		if test "$supported" = "yes" ; then
   4920 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   4921 			found="yes"
   4922 		fi
   4923 	fi
   4924 
   4925 
   4926 
   4927 
   4928 
   4929 
   4930 
   4931 xorg_testset_save_CFLAGS="$CFLAGS"
   4932 
   4933 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   4934 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4935 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4936 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4937 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4938   $as_echo_n "(cached) " >&6
   4939 else
   4940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4941 /* end confdefs.h.  */
   4942 int i;
   4943 _ACEOF
   4944 if ac_fn_c_try_compile "$LINENO"; then :
   4945   xorg_cv_cc_flag_unknown_warning_option=yes
   4946 else
   4947   xorg_cv_cc_flag_unknown_warning_option=no
   4948 fi
   4949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4950 fi
   4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4952 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4953 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4954 	CFLAGS="$xorg_testset_save_CFLAGS"
   4955 fi
   4956 
   4957 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   4958 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4959 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4960 	fi
   4961 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4962 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4963 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4964 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4965   $as_echo_n "(cached) " >&6
   4966 else
   4967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4968 /* end confdefs.h.  */
   4969 int i;
   4970 _ACEOF
   4971 if ac_fn_c_try_compile "$LINENO"; then :
   4972   xorg_cv_cc_flag_unused_command_line_argument=yes
   4973 else
   4974   xorg_cv_cc_flag_unused_command_line_argument=no
   4975 fi
   4976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4977 fi
   4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4979 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4980 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4981 	CFLAGS="$xorg_testset_save_CFLAGS"
   4982 fi
   4983 
   4984 found="no"
   4985 
   4986 	if test $found = "no" ; then
   4987 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4988 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4989 		fi
   4990 
   4991 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4992 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4993 		fi
   4994 
   4995 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4996 
   4997 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4998 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4999 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wmissing-declarations`
   5000 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5001   $as_echo_n "(cached) " >&6
   5002 else
   5003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5004 /* end confdefs.h.  */
   5005 int i;
   5006 int
   5007 main ()
   5008 {
   5009 
   5010   ;
   5011   return 0;
   5012 }
   5013 _ACEOF
   5014 if ac_fn_c_try_link "$LINENO"; then :
   5015   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5016 else
   5017   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5018 fi
   5019 rm -f core conftest.err conftest.$ac_objext \
   5020     conftest$ac_exeext conftest.$ac_ext
   5021 fi
   5022 
   5023 
   5024 		CFLAGS="$xorg_testset_save_CFLAGS"
   5025 
   5026 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5027 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5028 $as_echo "$supported" >&6; }
   5029 		if test "$supported" = "yes" ; then
   5030 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5031 			found="yes"
   5032 		fi
   5033 	fi
   5034 
   5035 
   5036 
   5037 
   5038 
   5039 
   5040 
   5041 xorg_testset_save_CFLAGS="$CFLAGS"
   5042 
   5043 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5044 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5045 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5046 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5047 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5048   $as_echo_n "(cached) " >&6
   5049 else
   5050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5051 /* end confdefs.h.  */
   5052 int i;
   5053 _ACEOF
   5054 if ac_fn_c_try_compile "$LINENO"; then :
   5055   xorg_cv_cc_flag_unknown_warning_option=yes
   5056 else
   5057   xorg_cv_cc_flag_unknown_warning_option=no
   5058 fi
   5059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5060 fi
   5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5062 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5063 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5064 	CFLAGS="$xorg_testset_save_CFLAGS"
   5065 fi
   5066 
   5067 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5068 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5069 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5070 	fi
   5071 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5072 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5073 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5074 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5075   $as_echo_n "(cached) " >&6
   5076 else
   5077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5078 /* end confdefs.h.  */
   5079 int i;
   5080 _ACEOF
   5081 if ac_fn_c_try_compile "$LINENO"; then :
   5082   xorg_cv_cc_flag_unused_command_line_argument=yes
   5083 else
   5084   xorg_cv_cc_flag_unused_command_line_argument=no
   5085 fi
   5086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5087 fi
   5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5089 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5090 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5091 	CFLAGS="$xorg_testset_save_CFLAGS"
   5092 fi
   5093 
   5094 found="no"
   5095 
   5096 	if test $found = "no" ; then
   5097 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5098 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5099 		fi
   5100 
   5101 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5102 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5103 		fi
   5104 
   5105 		CFLAGS="$CFLAGS -Wnested-externs"
   5106 
   5107 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5108 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5109 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wnested-externs`
   5110 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5111   $as_echo_n "(cached) " >&6
   5112 else
   5113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5114 /* end confdefs.h.  */
   5115 int i;
   5116 int
   5117 main ()
   5118 {
   5119 
   5120   ;
   5121   return 0;
   5122 }
   5123 _ACEOF
   5124 if ac_fn_c_try_link "$LINENO"; then :
   5125   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5126 else
   5127   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5128 fi
   5129 rm -f core conftest.err conftest.$ac_objext \
   5130     conftest$ac_exeext conftest.$ac_ext
   5131 fi
   5132 
   5133 
   5134 		CFLAGS="$xorg_testset_save_CFLAGS"
   5135 
   5136 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5137 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5138 $as_echo "$supported" >&6; }
   5139 		if test "$supported" = "yes" ; then
   5140 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5141 			found="yes"
   5142 		fi
   5143 	fi
   5144 
   5145 
   5146 
   5147 
   5148 
   5149 
   5150 
   5151 xorg_testset_save_CFLAGS="$CFLAGS"
   5152 
   5153 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5154 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5155 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5156 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5157 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5158   $as_echo_n "(cached) " >&6
   5159 else
   5160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5161 /* end confdefs.h.  */
   5162 int i;
   5163 _ACEOF
   5164 if ac_fn_c_try_compile "$LINENO"; then :
   5165   xorg_cv_cc_flag_unknown_warning_option=yes
   5166 else
   5167   xorg_cv_cc_flag_unknown_warning_option=no
   5168 fi
   5169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5170 fi
   5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5172 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5173 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5174 	CFLAGS="$xorg_testset_save_CFLAGS"
   5175 fi
   5176 
   5177 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5178 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5179 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5180 	fi
   5181 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5182 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5183 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5184 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5185   $as_echo_n "(cached) " >&6
   5186 else
   5187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5188 /* end confdefs.h.  */
   5189 int i;
   5190 _ACEOF
   5191 if ac_fn_c_try_compile "$LINENO"; then :
   5192   xorg_cv_cc_flag_unused_command_line_argument=yes
   5193 else
   5194   xorg_cv_cc_flag_unused_command_line_argument=no
   5195 fi
   5196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5197 fi
   5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5199 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5200 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5201 	CFLAGS="$xorg_testset_save_CFLAGS"
   5202 fi
   5203 
   5204 found="no"
   5205 
   5206 	if test $found = "no" ; then
   5207 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5208 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5209 		fi
   5210 
   5211 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5212 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5213 		fi
   5214 
   5215 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5216 
   5217 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5218 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5219 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wbad-function-cast`
   5220 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5221   $as_echo_n "(cached) " >&6
   5222 else
   5223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5224 /* end confdefs.h.  */
   5225 int i;
   5226 int
   5227 main ()
   5228 {
   5229 
   5230   ;
   5231   return 0;
   5232 }
   5233 _ACEOF
   5234 if ac_fn_c_try_link "$LINENO"; then :
   5235   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5236 else
   5237   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5238 fi
   5239 rm -f core conftest.err conftest.$ac_objext \
   5240     conftest$ac_exeext conftest.$ac_ext
   5241 fi
   5242 
   5243 
   5244 		CFLAGS="$xorg_testset_save_CFLAGS"
   5245 
   5246 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5247 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5248 $as_echo "$supported" >&6; }
   5249 		if test "$supported" = "yes" ; then
   5250 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5251 			found="yes"
   5252 		fi
   5253 	fi
   5254 
   5255 
   5256 
   5257 
   5258 
   5259 
   5260 
   5261 xorg_testset_save_CFLAGS="$CFLAGS"
   5262 
   5263 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5264 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5265 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5266 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5267 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5268   $as_echo_n "(cached) " >&6
   5269 else
   5270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5271 /* end confdefs.h.  */
   5272 int i;
   5273 _ACEOF
   5274 if ac_fn_c_try_compile "$LINENO"; then :
   5275   xorg_cv_cc_flag_unknown_warning_option=yes
   5276 else
   5277   xorg_cv_cc_flag_unknown_warning_option=no
   5278 fi
   5279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5280 fi
   5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5282 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5283 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5284 	CFLAGS="$xorg_testset_save_CFLAGS"
   5285 fi
   5286 
   5287 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5288 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5289 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5290 	fi
   5291 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5292 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5293 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5294 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5295   $as_echo_n "(cached) " >&6
   5296 else
   5297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5298 /* end confdefs.h.  */
   5299 int i;
   5300 _ACEOF
   5301 if ac_fn_c_try_compile "$LINENO"; then :
   5302   xorg_cv_cc_flag_unused_command_line_argument=yes
   5303 else
   5304   xorg_cv_cc_flag_unused_command_line_argument=no
   5305 fi
   5306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5307 fi
   5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5309 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5310 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5311 	CFLAGS="$xorg_testset_save_CFLAGS"
   5312 fi
   5313 
   5314 found="no"
   5315 
   5316 	if test $found = "no" ; then
   5317 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5318 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5319 		fi
   5320 
   5321 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5322 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5323 		fi
   5324 
   5325 		CFLAGS="$CFLAGS -Wformat=2"
   5326 
   5327 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5328 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5329 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wformat=2`
   5330 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5331   $as_echo_n "(cached) " >&6
   5332 else
   5333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5334 /* end confdefs.h.  */
   5335 int i;
   5336 int
   5337 main ()
   5338 {
   5339 
   5340   ;
   5341   return 0;
   5342 }
   5343 _ACEOF
   5344 if ac_fn_c_try_link "$LINENO"; then :
   5345   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5346 else
   5347   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5348 fi
   5349 rm -f core conftest.err conftest.$ac_objext \
   5350     conftest$ac_exeext conftest.$ac_ext
   5351 fi
   5352 
   5353 
   5354 		CFLAGS="$xorg_testset_save_CFLAGS"
   5355 
   5356 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5357 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5358 $as_echo "$supported" >&6; }
   5359 		if test "$supported" = "yes" ; then
   5360 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5361 			found="yes"
   5362 		fi
   5363 	fi
   5364 
   5365 	if test $found = "no" ; then
   5366 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5367 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5368 		fi
   5369 
   5370 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5371 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5372 		fi
   5373 
   5374 		CFLAGS="$CFLAGS -Wformat"
   5375 
   5376 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5377 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5378 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wformat`
   5379 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5380   $as_echo_n "(cached) " >&6
   5381 else
   5382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5383 /* end confdefs.h.  */
   5384 int i;
   5385 int
   5386 main ()
   5387 {
   5388 
   5389   ;
   5390   return 0;
   5391 }
   5392 _ACEOF
   5393 if ac_fn_c_try_link "$LINENO"; then :
   5394   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5395 else
   5396   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5397 fi
   5398 rm -f core conftest.err conftest.$ac_objext \
   5399     conftest$ac_exeext conftest.$ac_ext
   5400 fi
   5401 
   5402 
   5403 		CFLAGS="$xorg_testset_save_CFLAGS"
   5404 
   5405 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5406 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5407 $as_echo "$supported" >&6; }
   5408 		if test "$supported" = "yes" ; then
   5409 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5410 			found="yes"
   5411 		fi
   5412 	fi
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 
   5420 xorg_testset_save_CFLAGS="$CFLAGS"
   5421 
   5422 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5423 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5424 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5425 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5426 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5427   $as_echo_n "(cached) " >&6
   5428 else
   5429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5430 /* end confdefs.h.  */
   5431 int i;
   5432 _ACEOF
   5433 if ac_fn_c_try_compile "$LINENO"; then :
   5434   xorg_cv_cc_flag_unknown_warning_option=yes
   5435 else
   5436   xorg_cv_cc_flag_unknown_warning_option=no
   5437 fi
   5438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5439 fi
   5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5441 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5442 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5443 	CFLAGS="$xorg_testset_save_CFLAGS"
   5444 fi
   5445 
   5446 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5447 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5448 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5449 	fi
   5450 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5451 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5452 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5453 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5454   $as_echo_n "(cached) " >&6
   5455 else
   5456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5457 /* end confdefs.h.  */
   5458 int i;
   5459 _ACEOF
   5460 if ac_fn_c_try_compile "$LINENO"; then :
   5461   xorg_cv_cc_flag_unused_command_line_argument=yes
   5462 else
   5463   xorg_cv_cc_flag_unused_command_line_argument=no
   5464 fi
   5465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5466 fi
   5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5468 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5469 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5470 	CFLAGS="$xorg_testset_save_CFLAGS"
   5471 fi
   5472 
   5473 found="no"
   5474 
   5475 	if test $found = "no" ; then
   5476 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5477 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5478 		fi
   5479 
   5480 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5481 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5482 		fi
   5483 
   5484 		CFLAGS="$CFLAGS -Wold-style-definition"
   5485 
   5486 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5487 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5488 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wold-style-definition`
   5489 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5490   $as_echo_n "(cached) " >&6
   5491 else
   5492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5493 /* end confdefs.h.  */
   5494 int i;
   5495 int
   5496 main ()
   5497 {
   5498 
   5499   ;
   5500   return 0;
   5501 }
   5502 _ACEOF
   5503 if ac_fn_c_try_link "$LINENO"; then :
   5504   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5505 else
   5506   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5507 fi
   5508 rm -f core conftest.err conftest.$ac_objext \
   5509     conftest$ac_exeext conftest.$ac_ext
   5510 fi
   5511 
   5512 
   5513 		CFLAGS="$xorg_testset_save_CFLAGS"
   5514 
   5515 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5516 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5517 $as_echo "$supported" >&6; }
   5518 		if test "$supported" = "yes" ; then
   5519 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5520 			found="yes"
   5521 		fi
   5522 	fi
   5523 
   5524 
   5525 
   5526 
   5527 
   5528 
   5529 
   5530 xorg_testset_save_CFLAGS="$CFLAGS"
   5531 
   5532 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5533 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5534 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5535 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5536 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5537   $as_echo_n "(cached) " >&6
   5538 else
   5539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5540 /* end confdefs.h.  */
   5541 int i;
   5542 _ACEOF
   5543 if ac_fn_c_try_compile "$LINENO"; then :
   5544   xorg_cv_cc_flag_unknown_warning_option=yes
   5545 else
   5546   xorg_cv_cc_flag_unknown_warning_option=no
   5547 fi
   5548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5549 fi
   5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5551 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5552 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5553 	CFLAGS="$xorg_testset_save_CFLAGS"
   5554 fi
   5555 
   5556 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5557 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5558 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5559 	fi
   5560 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5561 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5562 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5563 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5564   $as_echo_n "(cached) " >&6
   5565 else
   5566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5567 /* end confdefs.h.  */
   5568 int i;
   5569 _ACEOF
   5570 if ac_fn_c_try_compile "$LINENO"; then :
   5571   xorg_cv_cc_flag_unused_command_line_argument=yes
   5572 else
   5573   xorg_cv_cc_flag_unused_command_line_argument=no
   5574 fi
   5575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5576 fi
   5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5578 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5579 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5580 	CFLAGS="$xorg_testset_save_CFLAGS"
   5581 fi
   5582 
   5583 found="no"
   5584 
   5585 	if test $found = "no" ; then
   5586 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5587 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5588 		fi
   5589 
   5590 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5591 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5592 		fi
   5593 
   5594 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5595 
   5596 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5597 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5598 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wdeclaration-after-statement`
   5599 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5600   $as_echo_n "(cached) " >&6
   5601 else
   5602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5603 /* end confdefs.h.  */
   5604 int i;
   5605 int
   5606 main ()
   5607 {
   5608 
   5609   ;
   5610   return 0;
   5611 }
   5612 _ACEOF
   5613 if ac_fn_c_try_link "$LINENO"; then :
   5614   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5615 else
   5616   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5617 fi
   5618 rm -f core conftest.err conftest.$ac_objext \
   5619     conftest$ac_exeext conftest.$ac_ext
   5620 fi
   5621 
   5622 
   5623 		CFLAGS="$xorg_testset_save_CFLAGS"
   5624 
   5625 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5626 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5627 $as_echo "$supported" >&6; }
   5628 		if test "$supported" = "yes" ; then
   5629 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5630 			found="yes"
   5631 		fi
   5632 	fi
   5633 
   5634 
   5635 
   5636 # This chunk adds additional warnings that could catch undesired effects.
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 xorg_testset_save_CFLAGS="$CFLAGS"
   5643 
   5644 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5645 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5646 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5647 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5648 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5649   $as_echo_n "(cached) " >&6
   5650 else
   5651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5652 /* end confdefs.h.  */
   5653 int i;
   5654 _ACEOF
   5655 if ac_fn_c_try_compile "$LINENO"; then :
   5656   xorg_cv_cc_flag_unknown_warning_option=yes
   5657 else
   5658   xorg_cv_cc_flag_unknown_warning_option=no
   5659 fi
   5660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5661 fi
   5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5663 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5664 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5665 	CFLAGS="$xorg_testset_save_CFLAGS"
   5666 fi
   5667 
   5668 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5669 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5670 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5671 	fi
   5672 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5673 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5674 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5675 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5676   $as_echo_n "(cached) " >&6
   5677 else
   5678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5679 /* end confdefs.h.  */
   5680 int i;
   5681 _ACEOF
   5682 if ac_fn_c_try_compile "$LINENO"; then :
   5683   xorg_cv_cc_flag_unused_command_line_argument=yes
   5684 else
   5685   xorg_cv_cc_flag_unused_command_line_argument=no
   5686 fi
   5687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5688 fi
   5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5690 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5691 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5692 	CFLAGS="$xorg_testset_save_CFLAGS"
   5693 fi
   5694 
   5695 found="no"
   5696 
   5697 	if test $found = "no" ; then
   5698 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5699 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5700 		fi
   5701 
   5702 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5703 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5704 		fi
   5705 
   5706 		CFLAGS="$CFLAGS -Wunused"
   5707 
   5708 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   5709 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   5710 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wunused`
   5711 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5712   $as_echo_n "(cached) " >&6
   5713 else
   5714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5715 /* end confdefs.h.  */
   5716 int i;
   5717 int
   5718 main ()
   5719 {
   5720 
   5721   ;
   5722   return 0;
   5723 }
   5724 _ACEOF
   5725 if ac_fn_c_try_link "$LINENO"; then :
   5726   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5727 else
   5728   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5729 fi
   5730 rm -f core conftest.err conftest.$ac_objext \
   5731     conftest$ac_exeext conftest.$ac_ext
   5732 fi
   5733 
   5734 
   5735 		CFLAGS="$xorg_testset_save_CFLAGS"
   5736 
   5737 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5738 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5739 $as_echo "$supported" >&6; }
   5740 		if test "$supported" = "yes" ; then
   5741 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   5742 			found="yes"
   5743 		fi
   5744 	fi
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 xorg_testset_save_CFLAGS="$CFLAGS"
   5753 
   5754 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5755 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5756 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5757 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5758 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5759   $as_echo_n "(cached) " >&6
   5760 else
   5761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5762 /* end confdefs.h.  */
   5763 int i;
   5764 _ACEOF
   5765 if ac_fn_c_try_compile "$LINENO"; then :
   5766   xorg_cv_cc_flag_unknown_warning_option=yes
   5767 else
   5768   xorg_cv_cc_flag_unknown_warning_option=no
   5769 fi
   5770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5771 fi
   5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5773 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5774 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5775 	CFLAGS="$xorg_testset_save_CFLAGS"
   5776 fi
   5777 
   5778 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5779 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5780 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5781 	fi
   5782 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5783 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5784 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5785 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5786   $as_echo_n "(cached) " >&6
   5787 else
   5788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5789 /* end confdefs.h.  */
   5790 int i;
   5791 _ACEOF
   5792 if ac_fn_c_try_compile "$LINENO"; then :
   5793   xorg_cv_cc_flag_unused_command_line_argument=yes
   5794 else
   5795   xorg_cv_cc_flag_unused_command_line_argument=no
   5796 fi
   5797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5798 fi
   5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5800 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5801 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5802 	CFLAGS="$xorg_testset_save_CFLAGS"
   5803 fi
   5804 
   5805 found="no"
   5806 
   5807 	if test $found = "no" ; then
   5808 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5809 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5810 		fi
   5811 
   5812 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5813 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5814 		fi
   5815 
   5816 		CFLAGS="$CFLAGS -Wuninitialized"
   5817 
   5818 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   5819 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   5820 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wuninitialized`
   5821 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5822   $as_echo_n "(cached) " >&6
   5823 else
   5824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5825 /* end confdefs.h.  */
   5826 int i;
   5827 int
   5828 main ()
   5829 {
   5830 
   5831   ;
   5832   return 0;
   5833 }
   5834 _ACEOF
   5835 if ac_fn_c_try_link "$LINENO"; then :
   5836   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5837 else
   5838   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5839 fi
   5840 rm -f core conftest.err conftest.$ac_objext \
   5841     conftest$ac_exeext conftest.$ac_ext
   5842 fi
   5843 
   5844 
   5845 		CFLAGS="$xorg_testset_save_CFLAGS"
   5846 
   5847 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5848 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5849 $as_echo "$supported" >&6; }
   5850 		if test "$supported" = "yes" ; then
   5851 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   5852 			found="yes"
   5853 		fi
   5854 	fi
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 xorg_testset_save_CFLAGS="$CFLAGS"
   5863 
   5864 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5865 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5866 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5867 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5868 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5869   $as_echo_n "(cached) " >&6
   5870 else
   5871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5872 /* end confdefs.h.  */
   5873 int i;
   5874 _ACEOF
   5875 if ac_fn_c_try_compile "$LINENO"; then :
   5876   xorg_cv_cc_flag_unknown_warning_option=yes
   5877 else
   5878   xorg_cv_cc_flag_unknown_warning_option=no
   5879 fi
   5880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5881 fi
   5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5883 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5884 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5885 	CFLAGS="$xorg_testset_save_CFLAGS"
   5886 fi
   5887 
   5888 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5889 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5890 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5891 	fi
   5892 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5893 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5894 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5895 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5896   $as_echo_n "(cached) " >&6
   5897 else
   5898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5899 /* end confdefs.h.  */
   5900 int i;
   5901 _ACEOF
   5902 if ac_fn_c_try_compile "$LINENO"; then :
   5903   xorg_cv_cc_flag_unused_command_line_argument=yes
   5904 else
   5905   xorg_cv_cc_flag_unused_command_line_argument=no
   5906 fi
   5907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5908 fi
   5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5910 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5911 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5912 	CFLAGS="$xorg_testset_save_CFLAGS"
   5913 fi
   5914 
   5915 found="no"
   5916 
   5917 	if test $found = "no" ; then
   5918 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5919 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5920 		fi
   5921 
   5922 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5923 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5924 		fi
   5925 
   5926 		CFLAGS="$CFLAGS -Wshadow"
   5927 
   5928 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   5929 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   5930 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wshadow`
   5931 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5932   $as_echo_n "(cached) " >&6
   5933 else
   5934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5935 /* end confdefs.h.  */
   5936 int i;
   5937 int
   5938 main ()
   5939 {
   5940 
   5941   ;
   5942   return 0;
   5943 }
   5944 _ACEOF
   5945 if ac_fn_c_try_link "$LINENO"; then :
   5946   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5947 else
   5948   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5949 fi
   5950 rm -f core conftest.err conftest.$ac_objext \
   5951     conftest$ac_exeext conftest.$ac_ext
   5952 fi
   5953 
   5954 
   5955 		CFLAGS="$xorg_testset_save_CFLAGS"
   5956 
   5957 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5958 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5959 $as_echo "$supported" >&6; }
   5960 		if test "$supported" = "yes" ; then
   5961 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   5962 			found="yes"
   5963 		fi
   5964 	fi
   5965 
   5966 
   5967 
   5968 
   5969 
   5970 
   5971 
   5972 xorg_testset_save_CFLAGS="$CFLAGS"
   5973 
   5974 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5975 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5976 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5977 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5978 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5979   $as_echo_n "(cached) " >&6
   5980 else
   5981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5982 /* end confdefs.h.  */
   5983 int i;
   5984 _ACEOF
   5985 if ac_fn_c_try_compile "$LINENO"; then :
   5986   xorg_cv_cc_flag_unknown_warning_option=yes
   5987 else
   5988   xorg_cv_cc_flag_unknown_warning_option=no
   5989 fi
   5990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5991 fi
   5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5993 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5994 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5995 	CFLAGS="$xorg_testset_save_CFLAGS"
   5996 fi
   5997 
   5998 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5999 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6000 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6001 	fi
   6002 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6003 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6004 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6005 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6006   $as_echo_n "(cached) " >&6
   6007 else
   6008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6009 /* end confdefs.h.  */
   6010 int i;
   6011 _ACEOF
   6012 if ac_fn_c_try_compile "$LINENO"; then :
   6013   xorg_cv_cc_flag_unused_command_line_argument=yes
   6014 else
   6015   xorg_cv_cc_flag_unused_command_line_argument=no
   6016 fi
   6017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6018 fi
   6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6020 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6021 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6022 	CFLAGS="$xorg_testset_save_CFLAGS"
   6023 fi
   6024 
   6025 found="no"
   6026 
   6027 	if test $found = "no" ; then
   6028 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6029 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6030 		fi
   6031 
   6032 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6033 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6034 		fi
   6035 
   6036 		CFLAGS="$CFLAGS -Wcast-qual"
   6037 
   6038 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6039 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6040 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wcast-qual`
   6041 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6042   $as_echo_n "(cached) " >&6
   6043 else
   6044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6045 /* end confdefs.h.  */
   6046 int i;
   6047 int
   6048 main ()
   6049 {
   6050 
   6051   ;
   6052   return 0;
   6053 }
   6054 _ACEOF
   6055 if ac_fn_c_try_link "$LINENO"; then :
   6056   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6057 else
   6058   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6059 fi
   6060 rm -f core conftest.err conftest.$ac_objext \
   6061     conftest$ac_exeext conftest.$ac_ext
   6062 fi
   6063 
   6064 
   6065 		CFLAGS="$xorg_testset_save_CFLAGS"
   6066 
   6067 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6068 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6069 $as_echo "$supported" >&6; }
   6070 		if test "$supported" = "yes" ; then
   6071 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6072 			found="yes"
   6073 		fi
   6074 	fi
   6075 
   6076 
   6077 
   6078 
   6079 
   6080 
   6081 
   6082 xorg_testset_save_CFLAGS="$CFLAGS"
   6083 
   6084 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6085 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6086 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6087 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6088 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6089   $as_echo_n "(cached) " >&6
   6090 else
   6091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6092 /* end confdefs.h.  */
   6093 int i;
   6094 _ACEOF
   6095 if ac_fn_c_try_compile "$LINENO"; then :
   6096   xorg_cv_cc_flag_unknown_warning_option=yes
   6097 else
   6098   xorg_cv_cc_flag_unknown_warning_option=no
   6099 fi
   6100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6101 fi
   6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6103 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6104 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6105 	CFLAGS="$xorg_testset_save_CFLAGS"
   6106 fi
   6107 
   6108 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6109 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6110 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6111 	fi
   6112 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6113 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6114 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6115 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6116   $as_echo_n "(cached) " >&6
   6117 else
   6118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6119 /* end confdefs.h.  */
   6120 int i;
   6121 _ACEOF
   6122 if ac_fn_c_try_compile "$LINENO"; then :
   6123   xorg_cv_cc_flag_unused_command_line_argument=yes
   6124 else
   6125   xorg_cv_cc_flag_unused_command_line_argument=no
   6126 fi
   6127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6128 fi
   6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6130 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6131 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6132 	CFLAGS="$xorg_testset_save_CFLAGS"
   6133 fi
   6134 
   6135 found="no"
   6136 
   6137 	if test $found = "no" ; then
   6138 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6139 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6140 		fi
   6141 
   6142 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6143 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6144 		fi
   6145 
   6146 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6147 
   6148 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6149 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6150 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wmissing-noreturn`
   6151 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6152   $as_echo_n "(cached) " >&6
   6153 else
   6154   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6155 /* end confdefs.h.  */
   6156 int i;
   6157 int
   6158 main ()
   6159 {
   6160 
   6161   ;
   6162   return 0;
   6163 }
   6164 _ACEOF
   6165 if ac_fn_c_try_link "$LINENO"; then :
   6166   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6167 else
   6168   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6169 fi
   6170 rm -f core conftest.err conftest.$ac_objext \
   6171     conftest$ac_exeext conftest.$ac_ext
   6172 fi
   6173 
   6174 
   6175 		CFLAGS="$xorg_testset_save_CFLAGS"
   6176 
   6177 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6178 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6179 $as_echo "$supported" >&6; }
   6180 		if test "$supported" = "yes" ; then
   6181 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6182 			found="yes"
   6183 		fi
   6184 	fi
   6185 
   6186 
   6187 
   6188 
   6189 
   6190 
   6191 
   6192 xorg_testset_save_CFLAGS="$CFLAGS"
   6193 
   6194 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6195 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6196 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6197 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6198 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6199   $as_echo_n "(cached) " >&6
   6200 else
   6201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6202 /* end confdefs.h.  */
   6203 int i;
   6204 _ACEOF
   6205 if ac_fn_c_try_compile "$LINENO"; then :
   6206   xorg_cv_cc_flag_unknown_warning_option=yes
   6207 else
   6208   xorg_cv_cc_flag_unknown_warning_option=no
   6209 fi
   6210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6211 fi
   6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6213 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6214 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6215 	CFLAGS="$xorg_testset_save_CFLAGS"
   6216 fi
   6217 
   6218 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6219 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6220 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6221 	fi
   6222 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6223 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6224 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6225 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6226   $as_echo_n "(cached) " >&6
   6227 else
   6228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6229 /* end confdefs.h.  */
   6230 int i;
   6231 _ACEOF
   6232 if ac_fn_c_try_compile "$LINENO"; then :
   6233   xorg_cv_cc_flag_unused_command_line_argument=yes
   6234 else
   6235   xorg_cv_cc_flag_unused_command_line_argument=no
   6236 fi
   6237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6238 fi
   6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6240 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6241 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6242 	CFLAGS="$xorg_testset_save_CFLAGS"
   6243 fi
   6244 
   6245 found="no"
   6246 
   6247 	if test $found = "no" ; then
   6248 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6249 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6250 		fi
   6251 
   6252 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6253 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6254 		fi
   6255 
   6256 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6257 
   6258 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6259 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6260 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wmissing-format-attribute`
   6261 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6262   $as_echo_n "(cached) " >&6
   6263 else
   6264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6265 /* end confdefs.h.  */
   6266 int i;
   6267 int
   6268 main ()
   6269 {
   6270 
   6271   ;
   6272   return 0;
   6273 }
   6274 _ACEOF
   6275 if ac_fn_c_try_link "$LINENO"; then :
   6276   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6277 else
   6278   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6279 fi
   6280 rm -f core conftest.err conftest.$ac_objext \
   6281     conftest$ac_exeext conftest.$ac_ext
   6282 fi
   6283 
   6284 
   6285 		CFLAGS="$xorg_testset_save_CFLAGS"
   6286 
   6287 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6288 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6289 $as_echo "$supported" >&6; }
   6290 		if test "$supported" = "yes" ; then
   6291 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6292 			found="yes"
   6293 		fi
   6294 	fi
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 
   6301 
   6302 xorg_testset_save_CFLAGS="$CFLAGS"
   6303 
   6304 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6305 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6306 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6307 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6308 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6309   $as_echo_n "(cached) " >&6
   6310 else
   6311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6312 /* end confdefs.h.  */
   6313 int i;
   6314 _ACEOF
   6315 if ac_fn_c_try_compile "$LINENO"; then :
   6316   xorg_cv_cc_flag_unknown_warning_option=yes
   6317 else
   6318   xorg_cv_cc_flag_unknown_warning_option=no
   6319 fi
   6320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6321 fi
   6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6323 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6324 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6325 	CFLAGS="$xorg_testset_save_CFLAGS"
   6326 fi
   6327 
   6328 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6329 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6330 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6331 	fi
   6332 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6333 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6334 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6335 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6336   $as_echo_n "(cached) " >&6
   6337 else
   6338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6339 /* end confdefs.h.  */
   6340 int i;
   6341 _ACEOF
   6342 if ac_fn_c_try_compile "$LINENO"; then :
   6343   xorg_cv_cc_flag_unused_command_line_argument=yes
   6344 else
   6345   xorg_cv_cc_flag_unused_command_line_argument=no
   6346 fi
   6347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6348 fi
   6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6350 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6351 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6352 	CFLAGS="$xorg_testset_save_CFLAGS"
   6353 fi
   6354 
   6355 found="no"
   6356 
   6357 	if test $found = "no" ; then
   6358 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6359 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6360 		fi
   6361 
   6362 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6363 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6364 		fi
   6365 
   6366 		CFLAGS="$CFLAGS -Wredundant-decls"
   6367 
   6368 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6369 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6370 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wredundant-decls`
   6371 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6372   $as_echo_n "(cached) " >&6
   6373 else
   6374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6375 /* end confdefs.h.  */
   6376 int i;
   6377 int
   6378 main ()
   6379 {
   6380 
   6381   ;
   6382   return 0;
   6383 }
   6384 _ACEOF
   6385 if ac_fn_c_try_link "$LINENO"; then :
   6386   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6387 else
   6388   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6389 fi
   6390 rm -f core conftest.err conftest.$ac_objext \
   6391     conftest$ac_exeext conftest.$ac_ext
   6392 fi
   6393 
   6394 
   6395 		CFLAGS="$xorg_testset_save_CFLAGS"
   6396 
   6397 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6398 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6399 $as_echo "$supported" >&6; }
   6400 		if test "$supported" = "yes" ; then
   6401 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6402 			found="yes"
   6403 		fi
   6404 	fi
   6405 
   6406 
   6407 
   6408 # These are currently disabled because they are noisy.  They will be enabled
   6409 # in the future once the codebase is sufficiently modernized to silence
   6410 # them.  For now, I don't want them to drown out the other warnings.
   6411 # XORG_TESTSET_CFLAG([BASE_CFLAGS], [-Wlogical-op])
   6412 # XORG_TESTSET_CFLAG([BASE_CFLAGS], [-Wparentheses])
   6413 # XORG_TESTSET_CFLAG([BASE_CFLAGS], [-Wcast-align])
   6414 
   6415 # Turn some warnings into errors, so we don't accidently get successful builds
   6416 # when there are problems that should be fixed.
   6417 
   6418 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6419 
   6420 
   6421 
   6422 
   6423 
   6424 xorg_testset_save_CFLAGS="$CFLAGS"
   6425 
   6426 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6427 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6428 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6429 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6430 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6431   $as_echo_n "(cached) " >&6
   6432 else
   6433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6434 /* end confdefs.h.  */
   6435 int i;
   6436 _ACEOF
   6437 if ac_fn_c_try_compile "$LINENO"; then :
   6438   xorg_cv_cc_flag_unknown_warning_option=yes
   6439 else
   6440   xorg_cv_cc_flag_unknown_warning_option=no
   6441 fi
   6442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6443 fi
   6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6445 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6446 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6447 	CFLAGS="$xorg_testset_save_CFLAGS"
   6448 fi
   6449 
   6450 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6451 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6452 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6453 	fi
   6454 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6455 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6456 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6457 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6458   $as_echo_n "(cached) " >&6
   6459 else
   6460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6461 /* end confdefs.h.  */
   6462 int i;
   6463 _ACEOF
   6464 if ac_fn_c_try_compile "$LINENO"; then :
   6465   xorg_cv_cc_flag_unused_command_line_argument=yes
   6466 else
   6467   xorg_cv_cc_flag_unused_command_line_argument=no
   6468 fi
   6469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6470 fi
   6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6472 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6473 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6474 	CFLAGS="$xorg_testset_save_CFLAGS"
   6475 fi
   6476 
   6477 found="no"
   6478 
   6479 	if test $found = "no" ; then
   6480 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6481 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6482 		fi
   6483 
   6484 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6485 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6486 		fi
   6487 
   6488 		CFLAGS="$CFLAGS -Werror=implicit"
   6489 
   6490 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6491 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6492 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror=implicit`
   6493 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6494   $as_echo_n "(cached) " >&6
   6495 else
   6496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6497 /* end confdefs.h.  */
   6498 int i;
   6499 int
   6500 main ()
   6501 {
   6502 
   6503   ;
   6504   return 0;
   6505 }
   6506 _ACEOF
   6507 if ac_fn_c_try_link "$LINENO"; then :
   6508   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6509 else
   6510   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6511 fi
   6512 rm -f core conftest.err conftest.$ac_objext \
   6513     conftest$ac_exeext conftest.$ac_ext
   6514 fi
   6515 
   6516 
   6517 		CFLAGS="$xorg_testset_save_CFLAGS"
   6518 
   6519 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6520 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6521 $as_echo "$supported" >&6; }
   6522 		if test "$supported" = "yes" ; then
   6523 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6524 			found="yes"
   6525 		fi
   6526 	fi
   6527 
   6528 	if test $found = "no" ; then
   6529 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6530 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6531 		fi
   6532 
   6533 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6534 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6535 		fi
   6536 
   6537 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6538 
   6539 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6540 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6541 		cacheid=`$as_echo_n xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED`
   6542 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6543   $as_echo_n "(cached) " >&6
   6544 else
   6545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6546 /* end confdefs.h.  */
   6547 int i;
   6548 int
   6549 main ()
   6550 {
   6551 
   6552   ;
   6553   return 0;
   6554 }
   6555 _ACEOF
   6556 if ac_fn_c_try_link "$LINENO"; then :
   6557   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6558 else
   6559   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6560 fi
   6561 rm -f core conftest.err conftest.$ac_objext \
   6562     conftest$ac_exeext conftest.$ac_ext
   6563 fi
   6564 
   6565 
   6566 		CFLAGS="$xorg_testset_save_CFLAGS"
   6567 
   6568 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6569 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6570 $as_echo "$supported" >&6; }
   6571 		if test "$supported" = "yes" ; then
   6572 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6573 			found="yes"
   6574 		fi
   6575 	fi
   6576 
   6577 
   6578 
   6579 
   6580 
   6581 
   6582 
   6583 xorg_testset_save_CFLAGS="$CFLAGS"
   6584 
   6585 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6586 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6587 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6588 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6589 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6590   $as_echo_n "(cached) " >&6
   6591 else
   6592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6593 /* end confdefs.h.  */
   6594 int i;
   6595 _ACEOF
   6596 if ac_fn_c_try_compile "$LINENO"; then :
   6597   xorg_cv_cc_flag_unknown_warning_option=yes
   6598 else
   6599   xorg_cv_cc_flag_unknown_warning_option=no
   6600 fi
   6601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6602 fi
   6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6604 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6605 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6606 	CFLAGS="$xorg_testset_save_CFLAGS"
   6607 fi
   6608 
   6609 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6610 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6611 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6612 	fi
   6613 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6614 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6615 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6616 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6617   $as_echo_n "(cached) " >&6
   6618 else
   6619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6620 /* end confdefs.h.  */
   6621 int i;
   6622 _ACEOF
   6623 if ac_fn_c_try_compile "$LINENO"; then :
   6624   xorg_cv_cc_flag_unused_command_line_argument=yes
   6625 else
   6626   xorg_cv_cc_flag_unused_command_line_argument=no
   6627 fi
   6628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6629 fi
   6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6631 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6632 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6633 	CFLAGS="$xorg_testset_save_CFLAGS"
   6634 fi
   6635 
   6636 found="no"
   6637 
   6638 	if test $found = "no" ; then
   6639 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6640 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6641 		fi
   6642 
   6643 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6644 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6645 		fi
   6646 
   6647 		CFLAGS="$CFLAGS -Werror=nonnull"
   6648 
   6649 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   6650 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   6651 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror=nonnull`
   6652 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6653   $as_echo_n "(cached) " >&6
   6654 else
   6655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6656 /* end confdefs.h.  */
   6657 int i;
   6658 int
   6659 main ()
   6660 {
   6661 
   6662   ;
   6663   return 0;
   6664 }
   6665 _ACEOF
   6666 if ac_fn_c_try_link "$LINENO"; then :
   6667   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6668 else
   6669   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6670 fi
   6671 rm -f core conftest.err conftest.$ac_objext \
   6672     conftest$ac_exeext conftest.$ac_ext
   6673 fi
   6674 
   6675 
   6676 		CFLAGS="$xorg_testset_save_CFLAGS"
   6677 
   6678 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6679 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6680 $as_echo "$supported" >&6; }
   6681 		if test "$supported" = "yes" ; then
   6682 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   6683 			found="yes"
   6684 		fi
   6685 	fi
   6686 
   6687 
   6688 
   6689 
   6690 
   6691 
   6692 
   6693 xorg_testset_save_CFLAGS="$CFLAGS"
   6694 
   6695 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6696 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6697 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6698 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6699 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6700   $as_echo_n "(cached) " >&6
   6701 else
   6702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6703 /* end confdefs.h.  */
   6704 int i;
   6705 _ACEOF
   6706 if ac_fn_c_try_compile "$LINENO"; then :
   6707   xorg_cv_cc_flag_unknown_warning_option=yes
   6708 else
   6709   xorg_cv_cc_flag_unknown_warning_option=no
   6710 fi
   6711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6712 fi
   6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6714 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6715 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6716 	CFLAGS="$xorg_testset_save_CFLAGS"
   6717 fi
   6718 
   6719 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6720 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6721 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6722 	fi
   6723 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6724 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6725 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6726 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6727   $as_echo_n "(cached) " >&6
   6728 else
   6729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6730 /* end confdefs.h.  */
   6731 int i;
   6732 _ACEOF
   6733 if ac_fn_c_try_compile "$LINENO"; then :
   6734   xorg_cv_cc_flag_unused_command_line_argument=yes
   6735 else
   6736   xorg_cv_cc_flag_unused_command_line_argument=no
   6737 fi
   6738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6739 fi
   6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6741 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6742 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6743 	CFLAGS="$xorg_testset_save_CFLAGS"
   6744 fi
   6745 
   6746 found="no"
   6747 
   6748 	if test $found = "no" ; then
   6749 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6750 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6751 		fi
   6752 
   6753 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6754 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6755 		fi
   6756 
   6757 		CFLAGS="$CFLAGS -Werror=init-self"
   6758 
   6759 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   6760 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   6761 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror=init-self`
   6762 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6763   $as_echo_n "(cached) " >&6
   6764 else
   6765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6766 /* end confdefs.h.  */
   6767 int i;
   6768 int
   6769 main ()
   6770 {
   6771 
   6772   ;
   6773   return 0;
   6774 }
   6775 _ACEOF
   6776 if ac_fn_c_try_link "$LINENO"; then :
   6777   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6778 else
   6779   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6780 fi
   6781 rm -f core conftest.err conftest.$ac_objext \
   6782     conftest$ac_exeext conftest.$ac_ext
   6783 fi
   6784 
   6785 
   6786 		CFLAGS="$xorg_testset_save_CFLAGS"
   6787 
   6788 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6789 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6790 $as_echo "$supported" >&6; }
   6791 		if test "$supported" = "yes" ; then
   6792 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   6793 			found="yes"
   6794 		fi
   6795 	fi
   6796 
   6797 
   6798 
   6799 
   6800 
   6801 
   6802 
   6803 xorg_testset_save_CFLAGS="$CFLAGS"
   6804 
   6805 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6806 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6807 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6808 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6809 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6810   $as_echo_n "(cached) " >&6
   6811 else
   6812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6813 /* end confdefs.h.  */
   6814 int i;
   6815 _ACEOF
   6816 if ac_fn_c_try_compile "$LINENO"; then :
   6817   xorg_cv_cc_flag_unknown_warning_option=yes
   6818 else
   6819   xorg_cv_cc_flag_unknown_warning_option=no
   6820 fi
   6821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6822 fi
   6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6824 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6825 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6826 	CFLAGS="$xorg_testset_save_CFLAGS"
   6827 fi
   6828 
   6829 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6830 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6831 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6832 	fi
   6833 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6834 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6835 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6836 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6837   $as_echo_n "(cached) " >&6
   6838 else
   6839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6840 /* end confdefs.h.  */
   6841 int i;
   6842 _ACEOF
   6843 if ac_fn_c_try_compile "$LINENO"; then :
   6844   xorg_cv_cc_flag_unused_command_line_argument=yes
   6845 else
   6846   xorg_cv_cc_flag_unused_command_line_argument=no
   6847 fi
   6848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6849 fi
   6850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6851 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6852 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6853 	CFLAGS="$xorg_testset_save_CFLAGS"
   6854 fi
   6855 
   6856 found="no"
   6857 
   6858 	if test $found = "no" ; then
   6859 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6860 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6861 		fi
   6862 
   6863 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6864 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6865 		fi
   6866 
   6867 		CFLAGS="$CFLAGS -Werror=main"
   6868 
   6869 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   6870 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   6871 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror=main`
   6872 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6873   $as_echo_n "(cached) " >&6
   6874 else
   6875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6876 /* end confdefs.h.  */
   6877 int i;
   6878 int
   6879 main ()
   6880 {
   6881 
   6882   ;
   6883   return 0;
   6884 }
   6885 _ACEOF
   6886 if ac_fn_c_try_link "$LINENO"; then :
   6887   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6888 else
   6889   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6890 fi
   6891 rm -f core conftest.err conftest.$ac_objext \
   6892     conftest$ac_exeext conftest.$ac_ext
   6893 fi
   6894 
   6895 
   6896 		CFLAGS="$xorg_testset_save_CFLAGS"
   6897 
   6898 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6899 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6900 $as_echo "$supported" >&6; }
   6901 		if test "$supported" = "yes" ; then
   6902 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   6903 			found="yes"
   6904 		fi
   6905 	fi
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 xorg_testset_save_CFLAGS="$CFLAGS"
   6914 
   6915 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6916 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6917 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6918 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6919 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6920   $as_echo_n "(cached) " >&6
   6921 else
   6922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6923 /* end confdefs.h.  */
   6924 int i;
   6925 _ACEOF
   6926 if ac_fn_c_try_compile "$LINENO"; then :
   6927   xorg_cv_cc_flag_unknown_warning_option=yes
   6928 else
   6929   xorg_cv_cc_flag_unknown_warning_option=no
   6930 fi
   6931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6932 fi
   6933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6934 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6935 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6936 	CFLAGS="$xorg_testset_save_CFLAGS"
   6937 fi
   6938 
   6939 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6940 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6941 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6942 	fi
   6943 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6944 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6945 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6946 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6947   $as_echo_n "(cached) " >&6
   6948 else
   6949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6950 /* end confdefs.h.  */
   6951 int i;
   6952 _ACEOF
   6953 if ac_fn_c_try_compile "$LINENO"; then :
   6954   xorg_cv_cc_flag_unused_command_line_argument=yes
   6955 else
   6956   xorg_cv_cc_flag_unused_command_line_argument=no
   6957 fi
   6958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6959 fi
   6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6961 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6962 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6963 	CFLAGS="$xorg_testset_save_CFLAGS"
   6964 fi
   6965 
   6966 found="no"
   6967 
   6968 	if test $found = "no" ; then
   6969 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6970 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6971 		fi
   6972 
   6973 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6974 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6975 		fi
   6976 
   6977 		CFLAGS="$CFLAGS -Werror=missing-braces"
   6978 
   6979 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   6980 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   6981 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror=missing-braces`
   6982 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6983   $as_echo_n "(cached) " >&6
   6984 else
   6985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6986 /* end confdefs.h.  */
   6987 int i;
   6988 int
   6989 main ()
   6990 {
   6991 
   6992   ;
   6993   return 0;
   6994 }
   6995 _ACEOF
   6996 if ac_fn_c_try_link "$LINENO"; then :
   6997   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6998 else
   6999   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7000 fi
   7001 rm -f core conftest.err conftest.$ac_objext \
   7002     conftest$ac_exeext conftest.$ac_ext
   7003 fi
   7004 
   7005 
   7006 		CFLAGS="$xorg_testset_save_CFLAGS"
   7007 
   7008 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7009 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7010 $as_echo "$supported" >&6; }
   7011 		if test "$supported" = "yes" ; then
   7012 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7013 			found="yes"
   7014 		fi
   7015 	fi
   7016 
   7017 
   7018 
   7019 
   7020 
   7021 
   7022 
   7023 xorg_testset_save_CFLAGS="$CFLAGS"
   7024 
   7025 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7026 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7027 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7028 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7029 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7030   $as_echo_n "(cached) " >&6
   7031 else
   7032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7033 /* end confdefs.h.  */
   7034 int i;
   7035 _ACEOF
   7036 if ac_fn_c_try_compile "$LINENO"; then :
   7037   xorg_cv_cc_flag_unknown_warning_option=yes
   7038 else
   7039   xorg_cv_cc_flag_unknown_warning_option=no
   7040 fi
   7041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7042 fi
   7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7044 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7045 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7046 	CFLAGS="$xorg_testset_save_CFLAGS"
   7047 fi
   7048 
   7049 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7050 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7051 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7052 	fi
   7053 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7054 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7055 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7056 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7057   $as_echo_n "(cached) " >&6
   7058 else
   7059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7060 /* end confdefs.h.  */
   7061 int i;
   7062 _ACEOF
   7063 if ac_fn_c_try_compile "$LINENO"; then :
   7064   xorg_cv_cc_flag_unused_command_line_argument=yes
   7065 else
   7066   xorg_cv_cc_flag_unused_command_line_argument=no
   7067 fi
   7068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7069 fi
   7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7071 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7072 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7073 	CFLAGS="$xorg_testset_save_CFLAGS"
   7074 fi
   7075 
   7076 found="no"
   7077 
   7078 	if test $found = "no" ; then
   7079 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7080 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7081 		fi
   7082 
   7083 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7084 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7085 		fi
   7086 
   7087 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7088 
   7089 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7090 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7091 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror=sequence-point`
   7092 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7093   $as_echo_n "(cached) " >&6
   7094 else
   7095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7096 /* end confdefs.h.  */
   7097 int i;
   7098 int
   7099 main ()
   7100 {
   7101 
   7102   ;
   7103   return 0;
   7104 }
   7105 _ACEOF
   7106 if ac_fn_c_try_link "$LINENO"; then :
   7107   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7108 else
   7109   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7110 fi
   7111 rm -f core conftest.err conftest.$ac_objext \
   7112     conftest$ac_exeext conftest.$ac_ext
   7113 fi
   7114 
   7115 
   7116 		CFLAGS="$xorg_testset_save_CFLAGS"
   7117 
   7118 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7119 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7120 $as_echo "$supported" >&6; }
   7121 		if test "$supported" = "yes" ; then
   7122 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7123 			found="yes"
   7124 		fi
   7125 	fi
   7126 
   7127 
   7128 
   7129 
   7130 
   7131 
   7132 
   7133 xorg_testset_save_CFLAGS="$CFLAGS"
   7134 
   7135 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7136 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7137 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7138 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7139 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7140   $as_echo_n "(cached) " >&6
   7141 else
   7142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7143 /* end confdefs.h.  */
   7144 int i;
   7145 _ACEOF
   7146 if ac_fn_c_try_compile "$LINENO"; then :
   7147   xorg_cv_cc_flag_unknown_warning_option=yes
   7148 else
   7149   xorg_cv_cc_flag_unknown_warning_option=no
   7150 fi
   7151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7152 fi
   7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7154 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7155 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7156 	CFLAGS="$xorg_testset_save_CFLAGS"
   7157 fi
   7158 
   7159 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7160 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7161 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7162 	fi
   7163 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7164 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7165 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7166 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7167   $as_echo_n "(cached) " >&6
   7168 else
   7169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7170 /* end confdefs.h.  */
   7171 int i;
   7172 _ACEOF
   7173 if ac_fn_c_try_compile "$LINENO"; then :
   7174   xorg_cv_cc_flag_unused_command_line_argument=yes
   7175 else
   7176   xorg_cv_cc_flag_unused_command_line_argument=no
   7177 fi
   7178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7179 fi
   7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7181 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7182 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7183 	CFLAGS="$xorg_testset_save_CFLAGS"
   7184 fi
   7185 
   7186 found="no"
   7187 
   7188 	if test $found = "no" ; then
   7189 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7190 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7191 		fi
   7192 
   7193 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7194 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7195 		fi
   7196 
   7197 		CFLAGS="$CFLAGS -Werror=return-type"
   7198 
   7199 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7200 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7201 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror=return-type`
   7202 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7203   $as_echo_n "(cached) " >&6
   7204 else
   7205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7206 /* end confdefs.h.  */
   7207 int i;
   7208 int
   7209 main ()
   7210 {
   7211 
   7212   ;
   7213   return 0;
   7214 }
   7215 _ACEOF
   7216 if ac_fn_c_try_link "$LINENO"; then :
   7217   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7218 else
   7219   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7220 fi
   7221 rm -f core conftest.err conftest.$ac_objext \
   7222     conftest$ac_exeext conftest.$ac_ext
   7223 fi
   7224 
   7225 
   7226 		CFLAGS="$xorg_testset_save_CFLAGS"
   7227 
   7228 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7229 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7230 $as_echo "$supported" >&6; }
   7231 		if test "$supported" = "yes" ; then
   7232 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7233 			found="yes"
   7234 		fi
   7235 	fi
   7236 
   7237 	if test $found = "no" ; then
   7238 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7239 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7240 		fi
   7241 
   7242 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7243 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7244 		fi
   7245 
   7246 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7247 
   7248 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7249 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7250 		cacheid=`$as_echo_n xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT`
   7251 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7252   $as_echo_n "(cached) " >&6
   7253 else
   7254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7255 /* end confdefs.h.  */
   7256 int i;
   7257 int
   7258 main ()
   7259 {
   7260 
   7261   ;
   7262   return 0;
   7263 }
   7264 _ACEOF
   7265 if ac_fn_c_try_link "$LINENO"; then :
   7266   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7267 else
   7268   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7269 fi
   7270 rm -f core conftest.err conftest.$ac_objext \
   7271     conftest$ac_exeext conftest.$ac_ext
   7272 fi
   7273 
   7274 
   7275 		CFLAGS="$xorg_testset_save_CFLAGS"
   7276 
   7277 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7278 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7279 $as_echo "$supported" >&6; }
   7280 		if test "$supported" = "yes" ; then
   7281 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7282 			found="yes"
   7283 		fi
   7284 	fi
   7285 
   7286 
   7287 
   7288 
   7289 
   7290 
   7291 
   7292 xorg_testset_save_CFLAGS="$CFLAGS"
   7293 
   7294 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7295 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7296 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7297 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7298 if ${xorg_cv_cc_flag_unknown_warning_option+:} 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_unknown_warning_option=yes
   7307 else
   7308   xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   7313 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7314 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7315 	CFLAGS="$xorg_testset_save_CFLAGS"
   7316 fi
   7317 
   7318 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7319 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7320 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7321 	fi
   7322 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7323 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7324 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7325 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7326   $as_echo_n "(cached) " >&6
   7327 else
   7328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7329 /* end confdefs.h.  */
   7330 int i;
   7331 _ACEOF
   7332 if ac_fn_c_try_compile "$LINENO"; then :
   7333   xorg_cv_cc_flag_unused_command_line_argument=yes
   7334 else
   7335   xorg_cv_cc_flag_unused_command_line_argument=no
   7336 fi
   7337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7338 fi
   7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7340 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7341 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7342 	CFLAGS="$xorg_testset_save_CFLAGS"
   7343 fi
   7344 
   7345 found="no"
   7346 
   7347 	if test $found = "no" ; then
   7348 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7349 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7350 		fi
   7351 
   7352 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7353 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7354 		fi
   7355 
   7356 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7357 
   7358 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7359 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7360 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror=trigraphs`
   7361 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7362   $as_echo_n "(cached) " >&6
   7363 else
   7364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7365 /* end confdefs.h.  */
   7366 int i;
   7367 int
   7368 main ()
   7369 {
   7370 
   7371   ;
   7372   return 0;
   7373 }
   7374 _ACEOF
   7375 if ac_fn_c_try_link "$LINENO"; then :
   7376   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7377 else
   7378   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7379 fi
   7380 rm -f core conftest.err conftest.$ac_objext \
   7381     conftest$ac_exeext conftest.$ac_ext
   7382 fi
   7383 
   7384 
   7385 		CFLAGS="$xorg_testset_save_CFLAGS"
   7386 
   7387 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7388 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7389 $as_echo "$supported" >&6; }
   7390 		if test "$supported" = "yes" ; then
   7391 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7392 			found="yes"
   7393 		fi
   7394 	fi
   7395 
   7396 
   7397 
   7398 
   7399 
   7400 
   7401 
   7402 xorg_testset_save_CFLAGS="$CFLAGS"
   7403 
   7404 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7405 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7406 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7407 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7408 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7409   $as_echo_n "(cached) " >&6
   7410 else
   7411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7412 /* end confdefs.h.  */
   7413 int i;
   7414 _ACEOF
   7415 if ac_fn_c_try_compile "$LINENO"; then :
   7416   xorg_cv_cc_flag_unknown_warning_option=yes
   7417 else
   7418   xorg_cv_cc_flag_unknown_warning_option=no
   7419 fi
   7420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7421 fi
   7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7423 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7424 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7425 	CFLAGS="$xorg_testset_save_CFLAGS"
   7426 fi
   7427 
   7428 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7429 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7430 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7431 	fi
   7432 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7433 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7434 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7435 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7436   $as_echo_n "(cached) " >&6
   7437 else
   7438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7439 /* end confdefs.h.  */
   7440 int i;
   7441 _ACEOF
   7442 if ac_fn_c_try_compile "$LINENO"; then :
   7443   xorg_cv_cc_flag_unused_command_line_argument=yes
   7444 else
   7445   xorg_cv_cc_flag_unused_command_line_argument=no
   7446 fi
   7447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7448 fi
   7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7450 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7451 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7452 	CFLAGS="$xorg_testset_save_CFLAGS"
   7453 fi
   7454 
   7455 found="no"
   7456 
   7457 	if test $found = "no" ; then
   7458 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7459 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7460 		fi
   7461 
   7462 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7463 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7464 		fi
   7465 
   7466 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7467 
   7468 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7469 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7470 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror=array-bounds`
   7471 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7472   $as_echo_n "(cached) " >&6
   7473 else
   7474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7475 /* end confdefs.h.  */
   7476 int i;
   7477 int
   7478 main ()
   7479 {
   7480 
   7481   ;
   7482   return 0;
   7483 }
   7484 _ACEOF
   7485 if ac_fn_c_try_link "$LINENO"; then :
   7486   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7487 else
   7488   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7489 fi
   7490 rm -f core conftest.err conftest.$ac_objext \
   7491     conftest$ac_exeext conftest.$ac_ext
   7492 fi
   7493 
   7494 
   7495 		CFLAGS="$xorg_testset_save_CFLAGS"
   7496 
   7497 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7498 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7499 $as_echo "$supported" >&6; }
   7500 		if test "$supported" = "yes" ; then
   7501 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7502 			found="yes"
   7503 		fi
   7504 	fi
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 xorg_testset_save_CFLAGS="$CFLAGS"
   7513 
   7514 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7515 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7516 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7517 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7518 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7519   $as_echo_n "(cached) " >&6
   7520 else
   7521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7522 /* end confdefs.h.  */
   7523 int i;
   7524 _ACEOF
   7525 if ac_fn_c_try_compile "$LINENO"; then :
   7526   xorg_cv_cc_flag_unknown_warning_option=yes
   7527 else
   7528   xorg_cv_cc_flag_unknown_warning_option=no
   7529 fi
   7530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7531 fi
   7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7533 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7534 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7535 	CFLAGS="$xorg_testset_save_CFLAGS"
   7536 fi
   7537 
   7538 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7539 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7540 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7541 	fi
   7542 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7543 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7544 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7545 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7546   $as_echo_n "(cached) " >&6
   7547 else
   7548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7549 /* end confdefs.h.  */
   7550 int i;
   7551 _ACEOF
   7552 if ac_fn_c_try_compile "$LINENO"; then :
   7553   xorg_cv_cc_flag_unused_command_line_argument=yes
   7554 else
   7555   xorg_cv_cc_flag_unused_command_line_argument=no
   7556 fi
   7557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7558 fi
   7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7560 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7561 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7562 	CFLAGS="$xorg_testset_save_CFLAGS"
   7563 fi
   7564 
   7565 found="no"
   7566 
   7567 	if test $found = "no" ; then
   7568 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7569 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7570 		fi
   7571 
   7572 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7573 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7574 		fi
   7575 
   7576 		CFLAGS="$CFLAGS -Werror=write-strings"
   7577 
   7578 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   7579 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   7580 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror=write-strings`
   7581 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7582   $as_echo_n "(cached) " >&6
   7583 else
   7584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7585 /* end confdefs.h.  */
   7586 int i;
   7587 int
   7588 main ()
   7589 {
   7590 
   7591   ;
   7592   return 0;
   7593 }
   7594 _ACEOF
   7595 if ac_fn_c_try_link "$LINENO"; then :
   7596   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7597 else
   7598   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7599 fi
   7600 rm -f core conftest.err conftest.$ac_objext \
   7601     conftest$ac_exeext conftest.$ac_ext
   7602 fi
   7603 
   7604 
   7605 		CFLAGS="$xorg_testset_save_CFLAGS"
   7606 
   7607 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7608 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7609 $as_echo "$supported" >&6; }
   7610 		if test "$supported" = "yes" ; then
   7611 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   7612 			found="yes"
   7613 		fi
   7614 	fi
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 
   7621 
   7622 xorg_testset_save_CFLAGS="$CFLAGS"
   7623 
   7624 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7625 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7626 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7627 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7628 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7629   $as_echo_n "(cached) " >&6
   7630 else
   7631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7632 /* end confdefs.h.  */
   7633 int i;
   7634 _ACEOF
   7635 if ac_fn_c_try_compile "$LINENO"; then :
   7636   xorg_cv_cc_flag_unknown_warning_option=yes
   7637 else
   7638   xorg_cv_cc_flag_unknown_warning_option=no
   7639 fi
   7640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7641 fi
   7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7643 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7644 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7645 	CFLAGS="$xorg_testset_save_CFLAGS"
   7646 fi
   7647 
   7648 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7649 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7650 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7651 	fi
   7652 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7653 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7654 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7655 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7656   $as_echo_n "(cached) " >&6
   7657 else
   7658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7659 /* end confdefs.h.  */
   7660 int i;
   7661 _ACEOF
   7662 if ac_fn_c_try_compile "$LINENO"; then :
   7663   xorg_cv_cc_flag_unused_command_line_argument=yes
   7664 else
   7665   xorg_cv_cc_flag_unused_command_line_argument=no
   7666 fi
   7667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7668 fi
   7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7670 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7671 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7672 	CFLAGS="$xorg_testset_save_CFLAGS"
   7673 fi
   7674 
   7675 found="no"
   7676 
   7677 	if test $found = "no" ; then
   7678 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7679 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7680 		fi
   7681 
   7682 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7683 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7684 		fi
   7685 
   7686 		CFLAGS="$CFLAGS -Werror=address"
   7687 
   7688 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   7689 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   7690 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror=address`
   7691 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7692   $as_echo_n "(cached) " >&6
   7693 else
   7694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7695 /* end confdefs.h.  */
   7696 int i;
   7697 int
   7698 main ()
   7699 {
   7700 
   7701   ;
   7702   return 0;
   7703 }
   7704 _ACEOF
   7705 if ac_fn_c_try_link "$LINENO"; then :
   7706   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7707 else
   7708   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7709 fi
   7710 rm -f core conftest.err conftest.$ac_objext \
   7711     conftest$ac_exeext conftest.$ac_ext
   7712 fi
   7713 
   7714 
   7715 		CFLAGS="$xorg_testset_save_CFLAGS"
   7716 
   7717 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7718 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7719 $as_echo "$supported" >&6; }
   7720 		if test "$supported" = "yes" ; then
   7721 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   7722 			found="yes"
   7723 		fi
   7724 	fi
   7725 
   7726 
   7727 
   7728 
   7729 
   7730 
   7731 
   7732 xorg_testset_save_CFLAGS="$CFLAGS"
   7733 
   7734 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7735 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7736 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7737 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7738 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7739   $as_echo_n "(cached) " >&6
   7740 else
   7741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7742 /* end confdefs.h.  */
   7743 int i;
   7744 _ACEOF
   7745 if ac_fn_c_try_compile "$LINENO"; then :
   7746   xorg_cv_cc_flag_unknown_warning_option=yes
   7747 else
   7748   xorg_cv_cc_flag_unknown_warning_option=no
   7749 fi
   7750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7751 fi
   7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7753 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7754 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7755 	CFLAGS="$xorg_testset_save_CFLAGS"
   7756 fi
   7757 
   7758 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7759 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7760 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7761 	fi
   7762 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7763 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7764 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7765 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7766   $as_echo_n "(cached) " >&6
   7767 else
   7768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7769 /* end confdefs.h.  */
   7770 int i;
   7771 _ACEOF
   7772 if ac_fn_c_try_compile "$LINENO"; then :
   7773   xorg_cv_cc_flag_unused_command_line_argument=yes
   7774 else
   7775   xorg_cv_cc_flag_unused_command_line_argument=no
   7776 fi
   7777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7778 fi
   7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7780 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7781 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7782 	CFLAGS="$xorg_testset_save_CFLAGS"
   7783 fi
   7784 
   7785 found="no"
   7786 
   7787 	if test $found = "no" ; then
   7788 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7789 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7790 		fi
   7791 
   7792 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7793 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7794 		fi
   7795 
   7796 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   7797 
   7798 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   7799 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   7800 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror=int-to-pointer-cast`
   7801 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7802   $as_echo_n "(cached) " >&6
   7803 else
   7804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7805 /* end confdefs.h.  */
   7806 int i;
   7807 int
   7808 main ()
   7809 {
   7810 
   7811   ;
   7812   return 0;
   7813 }
   7814 _ACEOF
   7815 if ac_fn_c_try_link "$LINENO"; then :
   7816   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7817 else
   7818   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7819 fi
   7820 rm -f core conftest.err conftest.$ac_objext \
   7821     conftest$ac_exeext conftest.$ac_ext
   7822 fi
   7823 
   7824 
   7825 		CFLAGS="$xorg_testset_save_CFLAGS"
   7826 
   7827 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7828 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7829 $as_echo "$supported" >&6; }
   7830 		if test "$supported" = "yes" ; then
   7831 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   7832 			found="yes"
   7833 		fi
   7834 	fi
   7835 
   7836 	if test $found = "no" ; then
   7837 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7838 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7839 		fi
   7840 
   7841 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7842 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7843 		fi
   7844 
   7845 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   7846 
   7847 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   7848 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   7849 		cacheid=`$as_echo_n xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION`
   7850 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7851   $as_echo_n "(cached) " >&6
   7852 else
   7853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7854 /* end confdefs.h.  */
   7855 int i;
   7856 int
   7857 main ()
   7858 {
   7859 
   7860   ;
   7861   return 0;
   7862 }
   7863 _ACEOF
   7864 if ac_fn_c_try_link "$LINENO"; then :
   7865   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7866 else
   7867   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7868 fi
   7869 rm -f core conftest.err conftest.$ac_objext \
   7870     conftest$ac_exeext conftest.$ac_ext
   7871 fi
   7872 
   7873 
   7874 		CFLAGS="$xorg_testset_save_CFLAGS"
   7875 
   7876 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7877 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7878 $as_echo "$supported" >&6; }
   7879 		if test "$supported" = "yes" ; then
   7880 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   7881 			found="yes"
   7882 		fi
   7883 	fi
   7884 
   7885 
   7886 
   7887 
   7888 
   7889 
   7890 
   7891 xorg_testset_save_CFLAGS="$CFLAGS"
   7892 
   7893 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7894 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7895 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7896 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7897 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7898   $as_echo_n "(cached) " >&6
   7899 else
   7900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7901 /* end confdefs.h.  */
   7902 int i;
   7903 _ACEOF
   7904 if ac_fn_c_try_compile "$LINENO"; then :
   7905   xorg_cv_cc_flag_unknown_warning_option=yes
   7906 else
   7907   xorg_cv_cc_flag_unknown_warning_option=no
   7908 fi
   7909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7910 fi
   7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7912 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7913 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7914 	CFLAGS="$xorg_testset_save_CFLAGS"
   7915 fi
   7916 
   7917 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7918 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7919 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7920 	fi
   7921 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7922 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7923 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7924 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7925   $as_echo_n "(cached) " >&6
   7926 else
   7927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7928 /* end confdefs.h.  */
   7929 int i;
   7930 _ACEOF
   7931 if ac_fn_c_try_compile "$LINENO"; then :
   7932   xorg_cv_cc_flag_unused_command_line_argument=yes
   7933 else
   7934   xorg_cv_cc_flag_unused_command_line_argument=no
   7935 fi
   7936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7937 fi
   7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7939 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7940 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7941 	CFLAGS="$xorg_testset_save_CFLAGS"
   7942 fi
   7943 
   7944 found="no"
   7945 
   7946 	if test $found = "no" ; then
   7947 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7948 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7949 		fi
   7950 
   7951 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7952 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7953 		fi
   7954 
   7955 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   7956 
   7957 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   7958 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   7959 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror=pointer-to-int-cast`
   7960 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7961   $as_echo_n "(cached) " >&6
   7962 else
   7963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7964 /* end confdefs.h.  */
   7965 int i;
   7966 int
   7967 main ()
   7968 {
   7969 
   7970   ;
   7971   return 0;
   7972 }
   7973 _ACEOF
   7974 if ac_fn_c_try_link "$LINENO"; then :
   7975   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7976 else
   7977   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7978 fi
   7979 rm -f core conftest.err conftest.$ac_objext \
   7980     conftest$ac_exeext conftest.$ac_ext
   7981 fi
   7982 
   7983 
   7984 		CFLAGS="$xorg_testset_save_CFLAGS"
   7985 
   7986 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7987 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7988 $as_echo "$supported" >&6; }
   7989 		if test "$supported" = "yes" ; then
   7990 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   7991 			found="yes"
   7992 		fi
   7993 	fi
   7994 
   7995  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   7996 else
   7997 { $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
   7998 $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;}
   7999 
   8000 
   8001 
   8002 
   8003 
   8004 xorg_testset_save_CFLAGS="$CFLAGS"
   8005 
   8006 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8007 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8008 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8009 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8010 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8011   $as_echo_n "(cached) " >&6
   8012 else
   8013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8014 /* end confdefs.h.  */
   8015 int i;
   8016 _ACEOF
   8017 if ac_fn_c_try_compile "$LINENO"; then :
   8018   xorg_cv_cc_flag_unknown_warning_option=yes
   8019 else
   8020   xorg_cv_cc_flag_unknown_warning_option=no
   8021 fi
   8022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8023 fi
   8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8025 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8026 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8027 	CFLAGS="$xorg_testset_save_CFLAGS"
   8028 fi
   8029 
   8030 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8031 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8032 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8033 	fi
   8034 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8035 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8036 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8037 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8038   $as_echo_n "(cached) " >&6
   8039 else
   8040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8041 /* end confdefs.h.  */
   8042 int i;
   8043 _ACEOF
   8044 if ac_fn_c_try_compile "$LINENO"; then :
   8045   xorg_cv_cc_flag_unused_command_line_argument=yes
   8046 else
   8047   xorg_cv_cc_flag_unused_command_line_argument=no
   8048 fi
   8049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8050 fi
   8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8052 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8053 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8054 	CFLAGS="$xorg_testset_save_CFLAGS"
   8055 fi
   8056 
   8057 found="no"
   8058 
   8059 	if test $found = "no" ; then
   8060 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8061 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8062 		fi
   8063 
   8064 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8065 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8066 		fi
   8067 
   8068 		CFLAGS="$CFLAGS -Wimplicit"
   8069 
   8070 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8071 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8072 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wimplicit`
   8073 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8074   $as_echo_n "(cached) " >&6
   8075 else
   8076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8077 /* end confdefs.h.  */
   8078 int i;
   8079 int
   8080 main ()
   8081 {
   8082 
   8083   ;
   8084   return 0;
   8085 }
   8086 _ACEOF
   8087 if ac_fn_c_try_link "$LINENO"; then :
   8088   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8089 else
   8090   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8091 fi
   8092 rm -f core conftest.err conftest.$ac_objext \
   8093     conftest$ac_exeext conftest.$ac_ext
   8094 fi
   8095 
   8096 
   8097 		CFLAGS="$xorg_testset_save_CFLAGS"
   8098 
   8099 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8100 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8101 $as_echo "$supported" >&6; }
   8102 		if test "$supported" = "yes" ; then
   8103 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8104 			found="yes"
   8105 		fi
   8106 	fi
   8107 
   8108 
   8109 
   8110 
   8111 
   8112 
   8113 
   8114 xorg_testset_save_CFLAGS="$CFLAGS"
   8115 
   8116 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8117 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8118 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8119 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8120 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8121   $as_echo_n "(cached) " >&6
   8122 else
   8123   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8124 /* end confdefs.h.  */
   8125 int i;
   8126 _ACEOF
   8127 if ac_fn_c_try_compile "$LINENO"; then :
   8128   xorg_cv_cc_flag_unknown_warning_option=yes
   8129 else
   8130   xorg_cv_cc_flag_unknown_warning_option=no
   8131 fi
   8132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8133 fi
   8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8135 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8136 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8137 	CFLAGS="$xorg_testset_save_CFLAGS"
   8138 fi
   8139 
   8140 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8141 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8142 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8143 	fi
   8144 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8145 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8146 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8147 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8148   $as_echo_n "(cached) " >&6
   8149 else
   8150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8151 /* end confdefs.h.  */
   8152 int i;
   8153 _ACEOF
   8154 if ac_fn_c_try_compile "$LINENO"; then :
   8155   xorg_cv_cc_flag_unused_command_line_argument=yes
   8156 else
   8157   xorg_cv_cc_flag_unused_command_line_argument=no
   8158 fi
   8159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8160 fi
   8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8162 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8163 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8164 	CFLAGS="$xorg_testset_save_CFLAGS"
   8165 fi
   8166 
   8167 found="no"
   8168 
   8169 	if test $found = "no" ; then
   8170 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8171 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8172 		fi
   8173 
   8174 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8175 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8176 		fi
   8177 
   8178 		CFLAGS="$CFLAGS -Wnonnull"
   8179 
   8180 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8181 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8182 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wnonnull`
   8183 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8184   $as_echo_n "(cached) " >&6
   8185 else
   8186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8187 /* end confdefs.h.  */
   8188 int i;
   8189 int
   8190 main ()
   8191 {
   8192 
   8193   ;
   8194   return 0;
   8195 }
   8196 _ACEOF
   8197 if ac_fn_c_try_link "$LINENO"; then :
   8198   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8199 else
   8200   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8201 fi
   8202 rm -f core conftest.err conftest.$ac_objext \
   8203     conftest$ac_exeext conftest.$ac_ext
   8204 fi
   8205 
   8206 
   8207 		CFLAGS="$xorg_testset_save_CFLAGS"
   8208 
   8209 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8210 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8211 $as_echo "$supported" >&6; }
   8212 		if test "$supported" = "yes" ; then
   8213 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8214 			found="yes"
   8215 		fi
   8216 	fi
   8217 
   8218 
   8219 
   8220 
   8221 
   8222 
   8223 
   8224 xorg_testset_save_CFLAGS="$CFLAGS"
   8225 
   8226 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8227 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8228 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8229 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8230 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8231   $as_echo_n "(cached) " >&6
   8232 else
   8233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8234 /* end confdefs.h.  */
   8235 int i;
   8236 _ACEOF
   8237 if ac_fn_c_try_compile "$LINENO"; then :
   8238   xorg_cv_cc_flag_unknown_warning_option=yes
   8239 else
   8240   xorg_cv_cc_flag_unknown_warning_option=no
   8241 fi
   8242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8243 fi
   8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8245 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8246 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8247 	CFLAGS="$xorg_testset_save_CFLAGS"
   8248 fi
   8249 
   8250 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8251 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8252 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8253 	fi
   8254 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8255 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8256 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8257 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8258   $as_echo_n "(cached) " >&6
   8259 else
   8260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8261 /* end confdefs.h.  */
   8262 int i;
   8263 _ACEOF
   8264 if ac_fn_c_try_compile "$LINENO"; then :
   8265   xorg_cv_cc_flag_unused_command_line_argument=yes
   8266 else
   8267   xorg_cv_cc_flag_unused_command_line_argument=no
   8268 fi
   8269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8270 fi
   8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8272 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8273 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8274 	CFLAGS="$xorg_testset_save_CFLAGS"
   8275 fi
   8276 
   8277 found="no"
   8278 
   8279 	if test $found = "no" ; then
   8280 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8281 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8282 		fi
   8283 
   8284 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8285 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8286 		fi
   8287 
   8288 		CFLAGS="$CFLAGS -Winit-self"
   8289 
   8290 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8291 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8292 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Winit-self`
   8293 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8294   $as_echo_n "(cached) " >&6
   8295 else
   8296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8297 /* end confdefs.h.  */
   8298 int i;
   8299 int
   8300 main ()
   8301 {
   8302 
   8303   ;
   8304   return 0;
   8305 }
   8306 _ACEOF
   8307 if ac_fn_c_try_link "$LINENO"; then :
   8308   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8309 else
   8310   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8311 fi
   8312 rm -f core conftest.err conftest.$ac_objext \
   8313     conftest$ac_exeext conftest.$ac_ext
   8314 fi
   8315 
   8316 
   8317 		CFLAGS="$xorg_testset_save_CFLAGS"
   8318 
   8319 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8320 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8321 $as_echo "$supported" >&6; }
   8322 		if test "$supported" = "yes" ; then
   8323 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8324 			found="yes"
   8325 		fi
   8326 	fi
   8327 
   8328 
   8329 
   8330 
   8331 
   8332 
   8333 
   8334 xorg_testset_save_CFLAGS="$CFLAGS"
   8335 
   8336 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8337 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8338 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8339 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8340 if ${xorg_cv_cc_flag_unknown_warning_option+:} 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_unknown_warning_option=yes
   8349 else
   8350   xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   8355 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8356 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8357 	CFLAGS="$xorg_testset_save_CFLAGS"
   8358 fi
   8359 
   8360 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8361 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8362 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8363 	fi
   8364 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8365 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8366 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8367 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8368   $as_echo_n "(cached) " >&6
   8369 else
   8370   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8371 /* end confdefs.h.  */
   8372 int i;
   8373 _ACEOF
   8374 if ac_fn_c_try_compile "$LINENO"; then :
   8375   xorg_cv_cc_flag_unused_command_line_argument=yes
   8376 else
   8377   xorg_cv_cc_flag_unused_command_line_argument=no
   8378 fi
   8379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8380 fi
   8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8382 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8383 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8384 	CFLAGS="$xorg_testset_save_CFLAGS"
   8385 fi
   8386 
   8387 found="no"
   8388 
   8389 	if test $found = "no" ; then
   8390 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8391 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8392 		fi
   8393 
   8394 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8395 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8396 		fi
   8397 
   8398 		CFLAGS="$CFLAGS -Wmain"
   8399 
   8400 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8401 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8402 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wmain`
   8403 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8404   $as_echo_n "(cached) " >&6
   8405 else
   8406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8407 /* end confdefs.h.  */
   8408 int i;
   8409 int
   8410 main ()
   8411 {
   8412 
   8413   ;
   8414   return 0;
   8415 }
   8416 _ACEOF
   8417 if ac_fn_c_try_link "$LINENO"; then :
   8418   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8419 else
   8420   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8421 fi
   8422 rm -f core conftest.err conftest.$ac_objext \
   8423     conftest$ac_exeext conftest.$ac_ext
   8424 fi
   8425 
   8426 
   8427 		CFLAGS="$xorg_testset_save_CFLAGS"
   8428 
   8429 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8430 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8431 $as_echo "$supported" >&6; }
   8432 		if test "$supported" = "yes" ; then
   8433 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8434 			found="yes"
   8435 		fi
   8436 	fi
   8437 
   8438 
   8439 
   8440 
   8441 
   8442 
   8443 
   8444 xorg_testset_save_CFLAGS="$CFLAGS"
   8445 
   8446 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8447 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8448 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8449 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8450 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8451   $as_echo_n "(cached) " >&6
   8452 else
   8453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8454 /* end confdefs.h.  */
   8455 int i;
   8456 _ACEOF
   8457 if ac_fn_c_try_compile "$LINENO"; then :
   8458   xorg_cv_cc_flag_unknown_warning_option=yes
   8459 else
   8460   xorg_cv_cc_flag_unknown_warning_option=no
   8461 fi
   8462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8463 fi
   8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8465 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8466 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8467 	CFLAGS="$xorg_testset_save_CFLAGS"
   8468 fi
   8469 
   8470 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8471 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8472 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8473 	fi
   8474 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8475 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8476 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8477 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8478   $as_echo_n "(cached) " >&6
   8479 else
   8480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8481 /* end confdefs.h.  */
   8482 int i;
   8483 _ACEOF
   8484 if ac_fn_c_try_compile "$LINENO"; then :
   8485   xorg_cv_cc_flag_unused_command_line_argument=yes
   8486 else
   8487   xorg_cv_cc_flag_unused_command_line_argument=no
   8488 fi
   8489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8490 fi
   8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8492 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8493 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8494 	CFLAGS="$xorg_testset_save_CFLAGS"
   8495 fi
   8496 
   8497 found="no"
   8498 
   8499 	if test $found = "no" ; then
   8500 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8501 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8502 		fi
   8503 
   8504 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8505 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8506 		fi
   8507 
   8508 		CFLAGS="$CFLAGS -Wmissing-braces"
   8509 
   8510 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   8511 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   8512 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wmissing-braces`
   8513 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8514   $as_echo_n "(cached) " >&6
   8515 else
   8516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8517 /* end confdefs.h.  */
   8518 int i;
   8519 int
   8520 main ()
   8521 {
   8522 
   8523   ;
   8524   return 0;
   8525 }
   8526 _ACEOF
   8527 if ac_fn_c_try_link "$LINENO"; then :
   8528   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8529 else
   8530   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8531 fi
   8532 rm -f core conftest.err conftest.$ac_objext \
   8533     conftest$ac_exeext conftest.$ac_ext
   8534 fi
   8535 
   8536 
   8537 		CFLAGS="$xorg_testset_save_CFLAGS"
   8538 
   8539 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8540 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8541 $as_echo "$supported" >&6; }
   8542 		if test "$supported" = "yes" ; then
   8543 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   8544 			found="yes"
   8545 		fi
   8546 	fi
   8547 
   8548 
   8549 
   8550 
   8551 
   8552 
   8553 
   8554 xorg_testset_save_CFLAGS="$CFLAGS"
   8555 
   8556 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8557 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8558 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8559 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8560 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8561   $as_echo_n "(cached) " >&6
   8562 else
   8563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8564 /* end confdefs.h.  */
   8565 int i;
   8566 _ACEOF
   8567 if ac_fn_c_try_compile "$LINENO"; then :
   8568   xorg_cv_cc_flag_unknown_warning_option=yes
   8569 else
   8570   xorg_cv_cc_flag_unknown_warning_option=no
   8571 fi
   8572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8573 fi
   8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8575 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8576 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8577 	CFLAGS="$xorg_testset_save_CFLAGS"
   8578 fi
   8579 
   8580 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8581 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8582 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8583 	fi
   8584 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8585 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8586 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8587 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8588   $as_echo_n "(cached) " >&6
   8589 else
   8590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8591 /* end confdefs.h.  */
   8592 int i;
   8593 _ACEOF
   8594 if ac_fn_c_try_compile "$LINENO"; then :
   8595   xorg_cv_cc_flag_unused_command_line_argument=yes
   8596 else
   8597   xorg_cv_cc_flag_unused_command_line_argument=no
   8598 fi
   8599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8600 fi
   8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8602 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8603 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8604 	CFLAGS="$xorg_testset_save_CFLAGS"
   8605 fi
   8606 
   8607 found="no"
   8608 
   8609 	if test $found = "no" ; then
   8610 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8611 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8612 		fi
   8613 
   8614 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8615 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8616 		fi
   8617 
   8618 		CFLAGS="$CFLAGS -Wsequence-point"
   8619 
   8620 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   8621 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   8622 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wsequence-point`
   8623 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8624   $as_echo_n "(cached) " >&6
   8625 else
   8626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8627 /* end confdefs.h.  */
   8628 int i;
   8629 int
   8630 main ()
   8631 {
   8632 
   8633   ;
   8634   return 0;
   8635 }
   8636 _ACEOF
   8637 if ac_fn_c_try_link "$LINENO"; then :
   8638   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8639 else
   8640   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8641 fi
   8642 rm -f core conftest.err conftest.$ac_objext \
   8643     conftest$ac_exeext conftest.$ac_ext
   8644 fi
   8645 
   8646 
   8647 		CFLAGS="$xorg_testset_save_CFLAGS"
   8648 
   8649 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8650 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8651 $as_echo "$supported" >&6; }
   8652 		if test "$supported" = "yes" ; then
   8653 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   8654 			found="yes"
   8655 		fi
   8656 	fi
   8657 
   8658 
   8659 
   8660 
   8661 
   8662 
   8663 
   8664 xorg_testset_save_CFLAGS="$CFLAGS"
   8665 
   8666 if test "x$xorg_testset_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_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_unused_command_line_argument" = "x" ; then
   8691 	if test "x$xorg_testset_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_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_unknown_warning_option" = "xyes" ; then
   8721 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8722 		fi
   8723 
   8724 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8725 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8726 		fi
   8727 
   8728 		CFLAGS="$CFLAGS -Wreturn-type"
   8729 
   8730 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   8731 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   8732 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wreturn-type`
   8733 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} 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 `$as_echo "$cacheid" | $as_tr_sh`=yes
   8749 else
   8750   eval `$as_echo "$cacheid" | $as_tr_sh`=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=$`$as_echo "$cacheid" | $as_tr_sh`
   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 -Wreturn-type"
   8764 			found="yes"
   8765 		fi
   8766 	fi
   8767 
   8768 
   8769 
   8770 
   8771 
   8772 
   8773 
   8774 xorg_testset_save_CFLAGS="$CFLAGS"
   8775 
   8776 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8777 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8778 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8779 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8780 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8781   $as_echo_n "(cached) " >&6
   8782 else
   8783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8784 /* end confdefs.h.  */
   8785 int i;
   8786 _ACEOF
   8787 if ac_fn_c_try_compile "$LINENO"; then :
   8788   xorg_cv_cc_flag_unknown_warning_option=yes
   8789 else
   8790   xorg_cv_cc_flag_unknown_warning_option=no
   8791 fi
   8792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8793 fi
   8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8795 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8796 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8797 	CFLAGS="$xorg_testset_save_CFLAGS"
   8798 fi
   8799 
   8800 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8801 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8802 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8803 	fi
   8804 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8805 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8806 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8807 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8808   $as_echo_n "(cached) " >&6
   8809 else
   8810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8811 /* end confdefs.h.  */
   8812 int i;
   8813 _ACEOF
   8814 if ac_fn_c_try_compile "$LINENO"; then :
   8815   xorg_cv_cc_flag_unused_command_line_argument=yes
   8816 else
   8817   xorg_cv_cc_flag_unused_command_line_argument=no
   8818 fi
   8819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8820 fi
   8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8822 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8823 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8824 	CFLAGS="$xorg_testset_save_CFLAGS"
   8825 fi
   8826 
   8827 found="no"
   8828 
   8829 	if test $found = "no" ; then
   8830 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8831 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8832 		fi
   8833 
   8834 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8835 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8836 		fi
   8837 
   8838 		CFLAGS="$CFLAGS -Wtrigraphs"
   8839 
   8840 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   8841 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   8842 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wtrigraphs`
   8843 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8844   $as_echo_n "(cached) " >&6
   8845 else
   8846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8847 /* end confdefs.h.  */
   8848 int i;
   8849 int
   8850 main ()
   8851 {
   8852 
   8853   ;
   8854   return 0;
   8855 }
   8856 _ACEOF
   8857 if ac_fn_c_try_link "$LINENO"; then :
   8858   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8859 else
   8860   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8861 fi
   8862 rm -f core conftest.err conftest.$ac_objext \
   8863     conftest$ac_exeext conftest.$ac_ext
   8864 fi
   8865 
   8866 
   8867 		CFLAGS="$xorg_testset_save_CFLAGS"
   8868 
   8869 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8870 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8871 $as_echo "$supported" >&6; }
   8872 		if test "$supported" = "yes" ; then
   8873 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   8874 			found="yes"
   8875 		fi
   8876 	fi
   8877 
   8878 
   8879 
   8880 
   8881 
   8882 
   8883 
   8884 xorg_testset_save_CFLAGS="$CFLAGS"
   8885 
   8886 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8887 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8888 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8889 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8890 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8891   $as_echo_n "(cached) " >&6
   8892 else
   8893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8894 /* end confdefs.h.  */
   8895 int i;
   8896 _ACEOF
   8897 if ac_fn_c_try_compile "$LINENO"; then :
   8898   xorg_cv_cc_flag_unknown_warning_option=yes
   8899 else
   8900   xorg_cv_cc_flag_unknown_warning_option=no
   8901 fi
   8902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8903 fi
   8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8905 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8906 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8907 	CFLAGS="$xorg_testset_save_CFLAGS"
   8908 fi
   8909 
   8910 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8911 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8912 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8913 	fi
   8914 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8915 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8916 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8917 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8918   $as_echo_n "(cached) " >&6
   8919 else
   8920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8921 /* end confdefs.h.  */
   8922 int i;
   8923 _ACEOF
   8924 if ac_fn_c_try_compile "$LINENO"; then :
   8925   xorg_cv_cc_flag_unused_command_line_argument=yes
   8926 else
   8927   xorg_cv_cc_flag_unused_command_line_argument=no
   8928 fi
   8929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8930 fi
   8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8932 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8933 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8934 	CFLAGS="$xorg_testset_save_CFLAGS"
   8935 fi
   8936 
   8937 found="no"
   8938 
   8939 	if test $found = "no" ; then
   8940 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8941 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8942 		fi
   8943 
   8944 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8945 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8946 		fi
   8947 
   8948 		CFLAGS="$CFLAGS -Warray-bounds"
   8949 
   8950 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   8951 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   8952 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Warray-bounds`
   8953 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8954   $as_echo_n "(cached) " >&6
   8955 else
   8956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8957 /* end confdefs.h.  */
   8958 int i;
   8959 int
   8960 main ()
   8961 {
   8962 
   8963   ;
   8964   return 0;
   8965 }
   8966 _ACEOF
   8967 if ac_fn_c_try_link "$LINENO"; then :
   8968   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8969 else
   8970   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8971 fi
   8972 rm -f core conftest.err conftest.$ac_objext \
   8973     conftest$ac_exeext conftest.$ac_ext
   8974 fi
   8975 
   8976 
   8977 		CFLAGS="$xorg_testset_save_CFLAGS"
   8978 
   8979 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8980 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8981 $as_echo "$supported" >&6; }
   8982 		if test "$supported" = "yes" ; then
   8983 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   8984 			found="yes"
   8985 		fi
   8986 	fi
   8987 
   8988 
   8989 
   8990 
   8991 
   8992 
   8993 
   8994 xorg_testset_save_CFLAGS="$CFLAGS"
   8995 
   8996 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8997 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8998 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8999 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9000 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9001   $as_echo_n "(cached) " >&6
   9002 else
   9003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9004 /* end confdefs.h.  */
   9005 int i;
   9006 _ACEOF
   9007 if ac_fn_c_try_compile "$LINENO"; then :
   9008   xorg_cv_cc_flag_unknown_warning_option=yes
   9009 else
   9010   xorg_cv_cc_flag_unknown_warning_option=no
   9011 fi
   9012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9013 fi
   9014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9015 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9016 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9017 	CFLAGS="$xorg_testset_save_CFLAGS"
   9018 fi
   9019 
   9020 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9021 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9022 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9023 	fi
   9024 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9025 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9026 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9027 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9028   $as_echo_n "(cached) " >&6
   9029 else
   9030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9031 /* end confdefs.h.  */
   9032 int i;
   9033 _ACEOF
   9034 if ac_fn_c_try_compile "$LINENO"; then :
   9035   xorg_cv_cc_flag_unused_command_line_argument=yes
   9036 else
   9037   xorg_cv_cc_flag_unused_command_line_argument=no
   9038 fi
   9039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9040 fi
   9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9042 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9043 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9044 	CFLAGS="$xorg_testset_save_CFLAGS"
   9045 fi
   9046 
   9047 found="no"
   9048 
   9049 	if test $found = "no" ; then
   9050 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9051 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9052 		fi
   9053 
   9054 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9055 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9056 		fi
   9057 
   9058 		CFLAGS="$CFLAGS -Wwrite-strings"
   9059 
   9060 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9061 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9062 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wwrite-strings`
   9063 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9064   $as_echo_n "(cached) " >&6
   9065 else
   9066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9067 /* end confdefs.h.  */
   9068 int i;
   9069 int
   9070 main ()
   9071 {
   9072 
   9073   ;
   9074   return 0;
   9075 }
   9076 _ACEOF
   9077 if ac_fn_c_try_link "$LINENO"; then :
   9078   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9079 else
   9080   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9081 fi
   9082 rm -f core conftest.err conftest.$ac_objext \
   9083     conftest$ac_exeext conftest.$ac_ext
   9084 fi
   9085 
   9086 
   9087 		CFLAGS="$xorg_testset_save_CFLAGS"
   9088 
   9089 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9090 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9091 $as_echo "$supported" >&6; }
   9092 		if test "$supported" = "yes" ; then
   9093 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9094 			found="yes"
   9095 		fi
   9096 	fi
   9097 
   9098 
   9099 
   9100 
   9101 
   9102 
   9103 
   9104 xorg_testset_save_CFLAGS="$CFLAGS"
   9105 
   9106 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9107 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9108 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9109 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9110 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9111   $as_echo_n "(cached) " >&6
   9112 else
   9113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9114 /* end confdefs.h.  */
   9115 int i;
   9116 _ACEOF
   9117 if ac_fn_c_try_compile "$LINENO"; then :
   9118   xorg_cv_cc_flag_unknown_warning_option=yes
   9119 else
   9120   xorg_cv_cc_flag_unknown_warning_option=no
   9121 fi
   9122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9123 fi
   9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9125 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9126 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9127 	CFLAGS="$xorg_testset_save_CFLAGS"
   9128 fi
   9129 
   9130 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9131 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9132 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9133 	fi
   9134 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9135 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9136 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9137 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9138   $as_echo_n "(cached) " >&6
   9139 else
   9140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9141 /* end confdefs.h.  */
   9142 int i;
   9143 _ACEOF
   9144 if ac_fn_c_try_compile "$LINENO"; then :
   9145   xorg_cv_cc_flag_unused_command_line_argument=yes
   9146 else
   9147   xorg_cv_cc_flag_unused_command_line_argument=no
   9148 fi
   9149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9150 fi
   9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9152 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9153 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9154 	CFLAGS="$xorg_testset_save_CFLAGS"
   9155 fi
   9156 
   9157 found="no"
   9158 
   9159 	if test $found = "no" ; then
   9160 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9161 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9162 		fi
   9163 
   9164 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9165 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9166 		fi
   9167 
   9168 		CFLAGS="$CFLAGS -Waddress"
   9169 
   9170 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9171 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9172 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Waddress`
   9173 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9174   $as_echo_n "(cached) " >&6
   9175 else
   9176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9177 /* end confdefs.h.  */
   9178 int i;
   9179 int
   9180 main ()
   9181 {
   9182 
   9183   ;
   9184   return 0;
   9185 }
   9186 _ACEOF
   9187 if ac_fn_c_try_link "$LINENO"; then :
   9188   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9189 else
   9190   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9191 fi
   9192 rm -f core conftest.err conftest.$ac_objext \
   9193     conftest$ac_exeext conftest.$ac_ext
   9194 fi
   9195 
   9196 
   9197 		CFLAGS="$xorg_testset_save_CFLAGS"
   9198 
   9199 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9200 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9201 $as_echo "$supported" >&6; }
   9202 		if test "$supported" = "yes" ; then
   9203 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9204 			found="yes"
   9205 		fi
   9206 	fi
   9207 
   9208 
   9209 
   9210 
   9211 
   9212 
   9213 
   9214 xorg_testset_save_CFLAGS="$CFLAGS"
   9215 
   9216 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9217 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9218 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9219 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9220 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9221   $as_echo_n "(cached) " >&6
   9222 else
   9223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9224 /* end confdefs.h.  */
   9225 int i;
   9226 _ACEOF
   9227 if ac_fn_c_try_compile "$LINENO"; then :
   9228   xorg_cv_cc_flag_unknown_warning_option=yes
   9229 else
   9230   xorg_cv_cc_flag_unknown_warning_option=no
   9231 fi
   9232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9233 fi
   9234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9235 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9236 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9237 	CFLAGS="$xorg_testset_save_CFLAGS"
   9238 fi
   9239 
   9240 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9241 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9242 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9243 	fi
   9244 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9245 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9246 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9247 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9248   $as_echo_n "(cached) " >&6
   9249 else
   9250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9251 /* end confdefs.h.  */
   9252 int i;
   9253 _ACEOF
   9254 if ac_fn_c_try_compile "$LINENO"; then :
   9255   xorg_cv_cc_flag_unused_command_line_argument=yes
   9256 else
   9257   xorg_cv_cc_flag_unused_command_line_argument=no
   9258 fi
   9259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9260 fi
   9261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9262 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9263 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9264 	CFLAGS="$xorg_testset_save_CFLAGS"
   9265 fi
   9266 
   9267 found="no"
   9268 
   9269 	if test $found = "no" ; then
   9270 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9271 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9272 		fi
   9273 
   9274 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9275 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9276 		fi
   9277 
   9278 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9279 
   9280 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9281 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9282 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wint-to-pointer-cast`
   9283 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9284   $as_echo_n "(cached) " >&6
   9285 else
   9286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9287 /* end confdefs.h.  */
   9288 int i;
   9289 int
   9290 main ()
   9291 {
   9292 
   9293   ;
   9294   return 0;
   9295 }
   9296 _ACEOF
   9297 if ac_fn_c_try_link "$LINENO"; then :
   9298   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9299 else
   9300   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9301 fi
   9302 rm -f core conftest.err conftest.$ac_objext \
   9303     conftest$ac_exeext conftest.$ac_ext
   9304 fi
   9305 
   9306 
   9307 		CFLAGS="$xorg_testset_save_CFLAGS"
   9308 
   9309 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9310 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9311 $as_echo "$supported" >&6; }
   9312 		if test "$supported" = "yes" ; then
   9313 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9314 			found="yes"
   9315 		fi
   9316 	fi
   9317 
   9318 
   9319 
   9320 
   9321 
   9322 
   9323 
   9324 xorg_testset_save_CFLAGS="$CFLAGS"
   9325 
   9326 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9327 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9328 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9329 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9330 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9331   $as_echo_n "(cached) " >&6
   9332 else
   9333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9334 /* end confdefs.h.  */
   9335 int i;
   9336 _ACEOF
   9337 if ac_fn_c_try_compile "$LINENO"; then :
   9338   xorg_cv_cc_flag_unknown_warning_option=yes
   9339 else
   9340   xorg_cv_cc_flag_unknown_warning_option=no
   9341 fi
   9342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9343 fi
   9344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9345 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9346 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9347 	CFLAGS="$xorg_testset_save_CFLAGS"
   9348 fi
   9349 
   9350 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9351 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9352 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9353 	fi
   9354 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9355 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9356 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9357 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9358   $as_echo_n "(cached) " >&6
   9359 else
   9360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9361 /* end confdefs.h.  */
   9362 int i;
   9363 _ACEOF
   9364 if ac_fn_c_try_compile "$LINENO"; then :
   9365   xorg_cv_cc_flag_unused_command_line_argument=yes
   9366 else
   9367   xorg_cv_cc_flag_unused_command_line_argument=no
   9368 fi
   9369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9370 fi
   9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9372 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9373 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9374 	CFLAGS="$xorg_testset_save_CFLAGS"
   9375 fi
   9376 
   9377 found="no"
   9378 
   9379 	if test $found = "no" ; then
   9380 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9381 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9382 		fi
   9383 
   9384 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9385 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9386 		fi
   9387 
   9388 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9389 
   9390 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9391 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9392 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Wpointer-to-int-cast`
   9393 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9394   $as_echo_n "(cached) " >&6
   9395 else
   9396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9397 /* end confdefs.h.  */
   9398 int i;
   9399 int
   9400 main ()
   9401 {
   9402 
   9403   ;
   9404   return 0;
   9405 }
   9406 _ACEOF
   9407 if ac_fn_c_try_link "$LINENO"; then :
   9408   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9409 else
   9410   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9411 fi
   9412 rm -f core conftest.err conftest.$ac_objext \
   9413     conftest$ac_exeext conftest.$ac_ext
   9414 fi
   9415 
   9416 
   9417 		CFLAGS="$xorg_testset_save_CFLAGS"
   9418 
   9419 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9420 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9421 $as_echo "$supported" >&6; }
   9422 		if test "$supported" = "yes" ; then
   9423 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9424 			found="yes"
   9425 		fi
   9426 	fi
   9427 
   9428 
   9429 fi
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 
   9436 CWARNFLAGS="$BASE_CFLAGS"
   9437 if  test "x$GCC" = xyes ; then
   9438     CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9439 fi
   9440 
   9441 
   9442 
   9443 
   9444 
   9445 
   9446 # Check whether --enable-strict-compilation was given.
   9447 if test "${enable_strict_compilation+set}" = set; then :
   9448   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   9449 else
   9450   STRICT_COMPILE=no
   9451 fi
   9452 
   9453 
   9454 STRICT_CFLAGS=""
   9455 
   9456 
   9457 
   9458 
   9459 
   9460 xorg_testset_save_CFLAGS="$CFLAGS"
   9461 
   9462 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9463 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9464 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9465 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9466 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9467   $as_echo_n "(cached) " >&6
   9468 else
   9469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9470 /* end confdefs.h.  */
   9471 int i;
   9472 _ACEOF
   9473 if ac_fn_c_try_compile "$LINENO"; then :
   9474   xorg_cv_cc_flag_unknown_warning_option=yes
   9475 else
   9476   xorg_cv_cc_flag_unknown_warning_option=no
   9477 fi
   9478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9479 fi
   9480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9481 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9482 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9483 	CFLAGS="$xorg_testset_save_CFLAGS"
   9484 fi
   9485 
   9486 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9487 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9488 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9489 	fi
   9490 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9491 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9492 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9493 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9494   $as_echo_n "(cached) " >&6
   9495 else
   9496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9497 /* end confdefs.h.  */
   9498 int i;
   9499 _ACEOF
   9500 if ac_fn_c_try_compile "$LINENO"; then :
   9501   xorg_cv_cc_flag_unused_command_line_argument=yes
   9502 else
   9503   xorg_cv_cc_flag_unused_command_line_argument=no
   9504 fi
   9505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9506 fi
   9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9508 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9509 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9510 	CFLAGS="$xorg_testset_save_CFLAGS"
   9511 fi
   9512 
   9513 found="no"
   9514 
   9515 	if test $found = "no" ; then
   9516 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9517 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9518 		fi
   9519 
   9520 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9521 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9522 		fi
   9523 
   9524 		CFLAGS="$CFLAGS -pedantic"
   9525 
   9526 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   9527 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   9528 		cacheid=`$as_echo_n xorg_cv_cc_flag_-pedantic`
   9529 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9530   $as_echo_n "(cached) " >&6
   9531 else
   9532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9533 /* end confdefs.h.  */
   9534 int i;
   9535 int
   9536 main ()
   9537 {
   9538 
   9539   ;
   9540   return 0;
   9541 }
   9542 _ACEOF
   9543 if ac_fn_c_try_link "$LINENO"; then :
   9544   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9545 else
   9546   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9547 fi
   9548 rm -f core conftest.err conftest.$ac_objext \
   9549     conftest$ac_exeext conftest.$ac_ext
   9550 fi
   9551 
   9552 
   9553 		CFLAGS="$xorg_testset_save_CFLAGS"
   9554 
   9555 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9556 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9557 $as_echo "$supported" >&6; }
   9558 		if test "$supported" = "yes" ; then
   9559 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   9560 			found="yes"
   9561 		fi
   9562 	fi
   9563 
   9564 
   9565 
   9566 
   9567 
   9568 
   9569 
   9570 xorg_testset_save_CFLAGS="$CFLAGS"
   9571 
   9572 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9573 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9574 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9575 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9576 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9577   $as_echo_n "(cached) " >&6
   9578 else
   9579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9580 /* end confdefs.h.  */
   9581 int i;
   9582 _ACEOF
   9583 if ac_fn_c_try_compile "$LINENO"; then :
   9584   xorg_cv_cc_flag_unknown_warning_option=yes
   9585 else
   9586   xorg_cv_cc_flag_unknown_warning_option=no
   9587 fi
   9588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9589 fi
   9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9591 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9592 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9593 	CFLAGS="$xorg_testset_save_CFLAGS"
   9594 fi
   9595 
   9596 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9597 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9598 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9599 	fi
   9600 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9601 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9602 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9603 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9604   $as_echo_n "(cached) " >&6
   9605 else
   9606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9607 /* end confdefs.h.  */
   9608 int i;
   9609 _ACEOF
   9610 if ac_fn_c_try_compile "$LINENO"; then :
   9611   xorg_cv_cc_flag_unused_command_line_argument=yes
   9612 else
   9613   xorg_cv_cc_flag_unused_command_line_argument=no
   9614 fi
   9615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9616 fi
   9617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9618 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9619 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9620 	CFLAGS="$xorg_testset_save_CFLAGS"
   9621 fi
   9622 
   9623 found="no"
   9624 
   9625 	if test $found = "no" ; then
   9626 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9627 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9628 		fi
   9629 
   9630 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9631 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9632 		fi
   9633 
   9634 		CFLAGS="$CFLAGS -Werror"
   9635 
   9636 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   9637 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   9638 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror`
   9639 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9640   $as_echo_n "(cached) " >&6
   9641 else
   9642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9643 /* end confdefs.h.  */
   9644 int i;
   9645 int
   9646 main ()
   9647 {
   9648 
   9649   ;
   9650   return 0;
   9651 }
   9652 _ACEOF
   9653 if ac_fn_c_try_link "$LINENO"; then :
   9654   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9655 else
   9656   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9657 fi
   9658 rm -f core conftest.err conftest.$ac_objext \
   9659     conftest$ac_exeext conftest.$ac_ext
   9660 fi
   9661 
   9662 
   9663 		CFLAGS="$xorg_testset_save_CFLAGS"
   9664 
   9665 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9666 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9667 $as_echo "$supported" >&6; }
   9668 		if test "$supported" = "yes" ; then
   9669 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   9670 			found="yes"
   9671 		fi
   9672 	fi
   9673 
   9674 	if test $found = "no" ; then
   9675 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9676 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9677 		fi
   9678 
   9679 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9680 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9681 		fi
   9682 
   9683 		CFLAGS="$CFLAGS -errwarn"
   9684 
   9685 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   9686 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   9687 		cacheid=`$as_echo_n xorg_cv_cc_flag_-errwarn`
   9688 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9689   $as_echo_n "(cached) " >&6
   9690 else
   9691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9692 /* end confdefs.h.  */
   9693 int i;
   9694 int
   9695 main ()
   9696 {
   9697 
   9698   ;
   9699   return 0;
   9700 }
   9701 _ACEOF
   9702 if ac_fn_c_try_link "$LINENO"; then :
   9703   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9704 else
   9705   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9706 fi
   9707 rm -f core conftest.err conftest.$ac_objext \
   9708     conftest$ac_exeext conftest.$ac_ext
   9709 fi
   9710 
   9711 
   9712 		CFLAGS="$xorg_testset_save_CFLAGS"
   9713 
   9714 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9715 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9716 $as_echo "$supported" >&6; }
   9717 		if test "$supported" = "yes" ; then
   9718 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   9719 			found="yes"
   9720 		fi
   9721 	fi
   9722 
   9723 
   9724 
   9725 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   9726 # activate it with -Werror, so we add it here explicitly.
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 xorg_testset_save_CFLAGS="$CFLAGS"
   9733 
   9734 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9735 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9736 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9737 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9738 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9739   $as_echo_n "(cached) " >&6
   9740 else
   9741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9742 /* end confdefs.h.  */
   9743 int i;
   9744 _ACEOF
   9745 if ac_fn_c_try_compile "$LINENO"; then :
   9746   xorg_cv_cc_flag_unknown_warning_option=yes
   9747 else
   9748   xorg_cv_cc_flag_unknown_warning_option=no
   9749 fi
   9750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9751 fi
   9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9753 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9754 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9755 	CFLAGS="$xorg_testset_save_CFLAGS"
   9756 fi
   9757 
   9758 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9759 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9760 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9761 	fi
   9762 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9763 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9764 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9765 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9766   $as_echo_n "(cached) " >&6
   9767 else
   9768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9769 /* end confdefs.h.  */
   9770 int i;
   9771 _ACEOF
   9772 if ac_fn_c_try_compile "$LINENO"; then :
   9773   xorg_cv_cc_flag_unused_command_line_argument=yes
   9774 else
   9775   xorg_cv_cc_flag_unused_command_line_argument=no
   9776 fi
   9777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9778 fi
   9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9780 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9781 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9782 	CFLAGS="$xorg_testset_save_CFLAGS"
   9783 fi
   9784 
   9785 found="no"
   9786 
   9787 	if test $found = "no" ; then
   9788 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9789 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9790 		fi
   9791 
   9792 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9793 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9794 		fi
   9795 
   9796 		CFLAGS="$CFLAGS -Werror=attributes"
   9797 
   9798 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   9799 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   9800 		cacheid=`$as_echo_n xorg_cv_cc_flag_-Werror=attributes`
   9801 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9802   $as_echo_n "(cached) " >&6
   9803 else
   9804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9805 /* end confdefs.h.  */
   9806 int i;
   9807 int
   9808 main ()
   9809 {
   9810 
   9811   ;
   9812   return 0;
   9813 }
   9814 _ACEOF
   9815 if ac_fn_c_try_link "$LINENO"; then :
   9816   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9817 else
   9818   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9819 fi
   9820 rm -f core conftest.err conftest.$ac_objext \
   9821     conftest$ac_exeext conftest.$ac_ext
   9822 fi
   9823 
   9824 
   9825 		CFLAGS="$xorg_testset_save_CFLAGS"
   9826 
   9827 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9828 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9829 $as_echo "$supported" >&6; }
   9830 		if test "$supported" = "yes" ; then
   9831 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   9832 			found="yes"
   9833 		fi
   9834 	fi
   9835 
   9836 
   9837 
   9838 if test "x$STRICT_COMPILE" = "xyes"; then
   9839     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   9840     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   9841 fi
   9842 
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 cat >>confdefs.h <<_ACEOF
   9849 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   9850 _ACEOF
   9851 
   9852 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   9853 	if test "x$PVM" = "x"; then
   9854 		PVM="0"
   9855 	fi
   9856 
   9857 cat >>confdefs.h <<_ACEOF
   9858 #define PACKAGE_VERSION_MINOR $PVM
   9859 _ACEOF
   9860 
   9861 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   9862 	if test "x$PVP" = "x"; then
   9863 		PVP="0"
   9864 	fi
   9865 
   9866 cat >>confdefs.h <<_ACEOF
   9867 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   9868 _ACEOF
   9869 
   9870 
   9871 
   9872 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   9873 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   9874 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   9875 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   9876 
   9877 
   9878 
   9879 
   9880 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   9881 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   9882 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   9883 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   9884 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 if test x$APP_MAN_SUFFIX = x    ; then
   9892     APP_MAN_SUFFIX=1
   9893 fi
   9894 if test x$APP_MAN_DIR = x    ; then
   9895     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   9896 fi
   9897 
   9898 if test x$LIB_MAN_SUFFIX = x    ; then
   9899     LIB_MAN_SUFFIX=3
   9900 fi
   9901 if test x$LIB_MAN_DIR = x    ; then
   9902     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   9903 fi
   9904 
   9905 if test x$FILE_MAN_SUFFIX = x    ; then
   9906     case $host_os in
   9907 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   9908 	*)		FILE_MAN_SUFFIX=5  ;;
   9909     esac
   9910 fi
   9911 if test x$FILE_MAN_DIR = x    ; then
   9912     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   9913 fi
   9914 
   9915 if test x$MISC_MAN_SUFFIX = x    ; then
   9916     case $host_os in
   9917 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   9918 	*)		MISC_MAN_SUFFIX=7  ;;
   9919     esac
   9920 fi
   9921 if test x$MISC_MAN_DIR = x    ; then
   9922     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   9923 fi
   9924 
   9925 if test x$DRIVER_MAN_SUFFIX = x    ; then
   9926     case $host_os in
   9927 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   9928 	*)		DRIVER_MAN_SUFFIX=4  ;;
   9929     esac
   9930 fi
   9931 if test x$DRIVER_MAN_DIR = x    ; then
   9932     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   9933 fi
   9934 
   9935 if test x$ADMIN_MAN_SUFFIX = x    ; then
   9936     case $host_os in
   9937 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   9938 	*)		ADMIN_MAN_SUFFIX=8  ;;
   9939     esac
   9940 fi
   9941 if test x$ADMIN_MAN_DIR = x    ; then
   9942     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   9943 fi
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 
   9958 
   9959 XORG_MAN_PAGE="X Version 11"
   9960 
   9961 MAN_SUBSTS="\
   9962 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   9963 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   9964 	-e 's|__xservername__|Xorg|g' \
   9965 	-e 's|__xconfigfile__|xorg.conf|g' \
   9966 	-e 's|__projectroot__|\$(prefix)|g' \
   9967 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   9968 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   9969 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   9970 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   9971 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   9972 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   9973 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   9974 
   9975 
   9976 
   9977 # Check whether --enable-silent-rules was given.
   9978 if test "${enable_silent_rules+set}" = set; then :
   9979   enableval=$enable_silent_rules;
   9980 fi
   9981 
   9982 case $enable_silent_rules in
   9983 yes) AM_DEFAULT_VERBOSITY=0;;
   9984 no)  AM_DEFAULT_VERBOSITY=1;;
   9985 *)   AM_DEFAULT_VERBOSITY=0;;
   9986 esac
   9987 AM_BACKSLASH='\'
   9988 
   9989 
   9990 
   9991 # Checks for pkg-config packages
   9992 if test -n "$PKG_CONFIG" && \
   9993     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbfile\""; } >&5
   9994   ($PKG_CONFIG --exists --print-errors "xkbfile") 2>&5
   9995   ac_status=$?
   9996   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9997   test $ac_status = 0; }; then
   9998   XKBPKG="xkbfile"
   9999 else
   10000   XKBPKG=""
   10001 fi
   10002 if test x$XKBPKG = xxkbfile ; then
   10003 
   10004 $as_echo "#define XKB 1" >>confdefs.h
   10005 
   10006 fi
   10007 
   10008 pkg_failed=no
   10009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCLIPBOARD" >&5
   10010 $as_echo_n "checking for XCLIPBOARD... " >&6; }
   10011 
   10012 if test -n "$XCLIPBOARD_CFLAGS"; then
   10013     pkg_cv_XCLIPBOARD_CFLAGS="$XCLIPBOARD_CFLAGS"
   10014  elif test -n "$PKG_CONFIG"; then
   10015     if test -n "$PKG_CONFIG" && \
   10016     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt >= 1.1 x11 \${XKBPKG}\""; } >&5
   10017   ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt >= 1.1 x11 ${XKBPKG}") 2>&5
   10018   ac_status=$?
   10019   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10020   test $ac_status = 0; }; then
   10021   pkg_cv_XCLIPBOARD_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xmu xt >= 1.1 x11 ${XKBPKG}" 2>/dev/null`
   10022 else
   10023   pkg_failed=yes
   10024 fi
   10025  else
   10026     pkg_failed=untried
   10027 fi
   10028 if test -n "$XCLIPBOARD_LIBS"; then
   10029     pkg_cv_XCLIPBOARD_LIBS="$XCLIPBOARD_LIBS"
   10030  elif test -n "$PKG_CONFIG"; then
   10031     if test -n "$PKG_CONFIG" && \
   10032     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt >= 1.1 x11 \${XKBPKG}\""; } >&5
   10033   ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt >= 1.1 x11 ${XKBPKG}") 2>&5
   10034   ac_status=$?
   10035   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10036   test $ac_status = 0; }; then
   10037   pkg_cv_XCLIPBOARD_LIBS=`$PKG_CONFIG --libs "xaw7 xmu xt >= 1.1 x11 ${XKBPKG}" 2>/dev/null`
   10038 else
   10039   pkg_failed=yes
   10040 fi
   10041  else
   10042     pkg_failed=untried
   10043 fi
   10044 
   10045 
   10046 
   10047 if test $pkg_failed = yes; then
   10048 
   10049 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10050         _pkg_short_errors_supported=yes
   10051 else
   10052         _pkg_short_errors_supported=no
   10053 fi
   10054         if test $_pkg_short_errors_supported = yes; then
   10055 	        XCLIPBOARD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xaw7 xmu xt >= 1.1 x11 ${XKBPKG}" 2>&1`
   10056         else
   10057 	        XCLIPBOARD_PKG_ERRORS=`$PKG_CONFIG --print-errors "xaw7 xmu xt >= 1.1 x11 ${XKBPKG}" 2>&1`
   10058         fi
   10059 	# Put the nasty error message in config.log where it belongs
   10060 	echo "$XCLIPBOARD_PKG_ERRORS" >&5
   10061 
   10062 	as_fn_error $? "Package requirements (xaw7 xmu xt >= 1.1 x11 ${XKBPKG}) were not met:
   10063 
   10064 $XCLIPBOARD_PKG_ERRORS
   10065 
   10066 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10067 installed software in a non-standard prefix.
   10068 
   10069 Alternatively, you may set the environment variables XCLIPBOARD_CFLAGS
   10070 and XCLIPBOARD_LIBS to avoid the need to call pkg-config.
   10071 See the pkg-config man page for more details.
   10072 " "$LINENO" 5
   10073 elif test $pkg_failed = untried; then
   10074 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10076 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10077 is in your PATH or set the PKG_CONFIG environment variable to the full
   10078 path to pkg-config.
   10079 
   10080 Alternatively, you may set the environment variables XCLIPBOARD_CFLAGS
   10081 and XCLIPBOARD_LIBS to avoid the need to call pkg-config.
   10082 See the pkg-config man page for more details.
   10083 
   10084 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10085 See \`config.log' for more details" "$LINENO" 5; }
   10086 else
   10087 	XCLIPBOARD_CFLAGS=$pkg_cv_XCLIPBOARD_CFLAGS
   10088 	XCLIPBOARD_LIBS=$pkg_cv_XCLIPBOARD_LIBS
   10089         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10090 $as_echo "yes" >&6; }
   10091 	:
   10092 fi
   10093 
   10094 
   10095 pkg_failed=no
   10096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   10097 $as_echo_n "checking for APPDEFS... " >&6; }
   10098 
   10099 if test -n "$APPDEFS_CFLAGS"; then
   10100     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   10101  elif test -n "$PKG_CONFIG"; then
   10102     if test -n "$PKG_CONFIG" && \
   10103     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   10104   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   10105   ac_status=$?
   10106   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10107   test $ac_status = 0; }; then
   10108   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   10109 else
   10110   pkg_failed=yes
   10111 fi
   10112  else
   10113     pkg_failed=untried
   10114 fi
   10115 if test -n "$APPDEFS_LIBS"; then
   10116     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   10117  elif test -n "$PKG_CONFIG"; then
   10118     if test -n "$PKG_CONFIG" && \
   10119     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   10120   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   10121   ac_status=$?
   10122   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10123   test $ac_status = 0; }; then
   10124   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   10125 else
   10126   pkg_failed=yes
   10127 fi
   10128  else
   10129     pkg_failed=untried
   10130 fi
   10131 
   10132 
   10133 
   10134 if test $pkg_failed = yes; then
   10135 
   10136 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10137         _pkg_short_errors_supported=yes
   10138 else
   10139         _pkg_short_errors_supported=no
   10140 fi
   10141         if test $_pkg_short_errors_supported = yes; then
   10142 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xt" 2>&1`
   10143         else
   10144 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors "xt" 2>&1`
   10145         fi
   10146 	# Put the nasty error message in config.log where it belongs
   10147 	echo "$APPDEFS_PKG_ERRORS" >&5
   10148 
   10149 	as_fn_error $? "Package requirements (xt) were not met:
   10150 
   10151 $APPDEFS_PKG_ERRORS
   10152 
   10153 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10154 installed software in a non-standard prefix.
   10155 
   10156 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   10157 and APPDEFS_LIBS to avoid the need to call pkg-config.
   10158 See the pkg-config man page for more details.
   10159 " "$LINENO" 5
   10160 elif test $pkg_failed = untried; then
   10161 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10162 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10163 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10164 is in your PATH or set the PKG_CONFIG environment variable to the full
   10165 path to pkg-config.
   10166 
   10167 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   10168 and APPDEFS_LIBS to avoid the need to call pkg-config.
   10169 See the pkg-config man page for more details.
   10170 
   10171 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10172 See \`config.log' for more details" "$LINENO" 5; }
   10173 else
   10174 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   10175 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   10176         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10177 $as_echo "yes" >&6; }
   10178 	:
   10179 fi
   10180 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   10181 
   10182 # Check whether --with-appdefaultdir was given.
   10183 if test "${with_appdefaultdir+set}" = set; then :
   10184   withval=$with_appdefaultdir; appdefaultdir="$withval"
   10185 else
   10186   appdefaultdir="${xt_appdefaultdir}"
   10187 fi
   10188 
   10189 
   10190 
   10191 
   10192 ac_config_files="$ac_config_files Makefile man/Makefile"
   10193 
   10194 cat >confcache <<\_ACEOF
   10195 # This file is a shell script that caches the results of configure
   10196 # tests run on this system so they can be shared between configure
   10197 # scripts and configure runs, see configure's option --config-cache.
   10198 # It is not useful on other systems.  If it contains results you don't
   10199 # want to keep, you may remove or edit it.
   10200 #
   10201 # config.status only pays attention to the cache file if you give it
   10202 # the --recheck option to rerun configure.
   10203 #
   10204 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10205 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10206 # following values.
   10207 
   10208 _ACEOF
   10209 
   10210 # The following way of writing the cache mishandles newlines in values,
   10211 # but we know of no workaround that is simple, portable, and efficient.
   10212 # So, we kill variables containing newlines.
   10213 # Ultrix sh set writes to stderr and can't be redirected directly,
   10214 # and sets the high bit in the cache file unless we assign to the vars.
   10215 (
   10216   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10217     eval ac_val=\$$ac_var
   10218     case $ac_val in #(
   10219     *${as_nl}*)
   10220       case $ac_var in #(
   10221       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10222 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10223       esac
   10224       case $ac_var in #(
   10225       _ | IFS | as_nl) ;; #(
   10226       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10227       *) { eval $ac_var=; unset $ac_var;} ;;
   10228       esac ;;
   10229     esac
   10230   done
   10231 
   10232   (set) 2>&1 |
   10233     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10234     *${as_nl}ac_space=\ *)
   10235       # `set' does not quote correctly, so add quotes: double-quote
   10236       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10237       sed -n \
   10238 	"s/'/'\\\\''/g;
   10239 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10240       ;; #(
   10241     *)
   10242       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10243       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10244       ;;
   10245     esac |
   10246     sort
   10247 ) |
   10248   sed '
   10249      /^ac_cv_env_/b end
   10250      t clear
   10251      :clear
   10252      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10253      t end
   10254      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10255      :end' >>confcache
   10256 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10257   if test -w "$cache_file"; then
   10258     if test "x$cache_file" != "x/dev/null"; then
   10259       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10260 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10261       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10262 	cat confcache >"$cache_file"
   10263       else
   10264         case $cache_file in #(
   10265         */* | ?:*)
   10266 	  mv -f confcache "$cache_file"$$ &&
   10267 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10268         *)
   10269 	  mv -f confcache "$cache_file" ;;
   10270 	esac
   10271       fi
   10272     fi
   10273   else
   10274     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10275 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10276   fi
   10277 fi
   10278 rm -f confcache
   10279 
   10280 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10281 # Let make expand exec_prefix.
   10282 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10283 
   10284 DEFS=-DHAVE_CONFIG_H
   10285 
   10286 ac_libobjs=
   10287 ac_ltlibobjs=
   10288 U=
   10289 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10290   # 1. Remove the extension, and $U if already installed.
   10291   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10292   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10293   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10294   #    will be set to the directory where LIBOBJS objects are built.
   10295   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   10296   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   10297 done
   10298 LIBOBJS=$ac_libobjs
   10299 
   10300 LTLIBOBJS=$ac_ltlibobjs
   10301 
   10302 
   10303  if test -n "$EXEEXT"; then
   10304   am__EXEEXT_TRUE=
   10305   am__EXEEXT_FALSE='#'
   10306 else
   10307   am__EXEEXT_TRUE='#'
   10308   am__EXEEXT_FALSE=
   10309 fi
   10310 
   10311 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   10312   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   10313 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10314 fi
   10315 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   10316   as_fn_error $? "conditional \"AMDEP\" was never defined.
   10317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10318 fi
   10319 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   10320   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   10321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10322 fi
   10323 
   10324 : "${CONFIG_STATUS=./config.status}"
   10325 ac_write_fail=0
   10326 ac_clean_files_save=$ac_clean_files
   10327 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   10328 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   10329 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   10330 as_write_fail=0
   10331 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   10332 #! $SHELL
   10333 # Generated by $as_me.
   10334 # Run this file to recreate the current configuration.
   10335 # Compiler output produced by configure, useful for debugging
   10336 # configure, is in config.log if it exists.
   10337 
   10338 debug=false
   10339 ac_cs_recheck=false
   10340 ac_cs_silent=false
   10341 
   10342 SHELL=\${CONFIG_SHELL-$SHELL}
   10343 export SHELL
   10344 _ASEOF
   10345 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   10346 ## -------------------- ##
   10347 ## M4sh Initialization. ##
   10348 ## -------------------- ##
   10349 
   10350 # Be more Bourne compatible
   10351 DUALCASE=1; export DUALCASE # for MKS sh
   10352 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   10353   emulate sh
   10354   NULLCMD=:
   10355   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   10356   # is contrary to our usage.  Disable this feature.
   10357   alias -g '${1+"$@"}'='"$@"'
   10358   setopt NO_GLOB_SUBST
   10359 else
   10360   case `(set -o) 2>/dev/null` in #(
   10361   *posix*) :
   10362     set -o posix ;; #(
   10363   *) :
   10364      ;;
   10365 esac
   10366 fi
   10367 
   10368 
   10369 as_nl='
   10370 '
   10371 export as_nl
   10372 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   10373 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10374 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   10375 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   10376 # Prefer a ksh shell builtin over an external printf program on Solaris,
   10377 # but without wasting forks for bash or zsh.
   10378 if test -z "$BASH_VERSION$ZSH_VERSION" \
   10379     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   10380   as_echo='print -r --'
   10381   as_echo_n='print -rn --'
   10382 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   10383   as_echo='printf %s\n'
   10384   as_echo_n='printf %s'
   10385 else
   10386   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   10387     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   10388     as_echo_n='/usr/ucb/echo -n'
   10389   else
   10390     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   10391     as_echo_n_body='eval
   10392       arg=$1;
   10393       case $arg in #(
   10394       *"$as_nl"*)
   10395 	expr "X$arg" : "X\\(.*\\)$as_nl";
   10396 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   10397       esac;
   10398       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   10399     '
   10400     export as_echo_n_body
   10401     as_echo_n='sh -c $as_echo_n_body as_echo'
   10402   fi
   10403   export as_echo_body
   10404   as_echo='sh -c $as_echo_body as_echo'
   10405 fi
   10406 
   10407 # The user is always right.
   10408 if test "${PATH_SEPARATOR+set}" != set; then
   10409   PATH_SEPARATOR=:
   10410   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   10411     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   10412       PATH_SEPARATOR=';'
   10413   }
   10414 fi
   10415 
   10416 
   10417 # IFS
   10418 # We need space, tab and new line, in precisely that order.  Quoting is
   10419 # there to prevent editors from complaining about space-tab.
   10420 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   10421 # splitting by setting IFS to empty value.)
   10422 IFS=" ""	$as_nl"
   10423 
   10424 # Find who we are.  Look in the path if we contain no directory separator.
   10425 as_myself=
   10426 case $0 in #((
   10427   *[\\/]* ) as_myself=$0 ;;
   10428   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10429 for as_dir in $PATH
   10430 do
   10431   IFS=$as_save_IFS
   10432   test -z "$as_dir" && as_dir=.
   10433     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   10434   done
   10435 IFS=$as_save_IFS
   10436 
   10437      ;;
   10438 esac
   10439 # We did not find ourselves, most probably we were run as `sh COMMAND'
   10440 # in which case we are not to be found in the path.
   10441 if test "x$as_myself" = x; then
   10442   as_myself=$0
   10443 fi
   10444 if test ! -f "$as_myself"; then
   10445   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   10446   exit 1
   10447 fi
   10448 
   10449 # Unset variables that we do not need and which cause bugs (e.g. in
   10450 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   10451 # suppresses any "Segmentation fault" message there.  '((' could
   10452 # trigger a bug in pdksh 5.2.14.
   10453 for as_var in BASH_ENV ENV MAIL MAILPATH
   10454 do eval test x\${$as_var+set} = xset \
   10455   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   10456 done
   10457 PS1='$ '
   10458 PS2='> '
   10459 PS4='+ '
   10460 
   10461 # NLS nuisances.
   10462 LC_ALL=C
   10463 export LC_ALL
   10464 LANGUAGE=C
   10465 export LANGUAGE
   10466 
   10467 # CDPATH.
   10468 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10469 
   10470 
   10471 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   10472 # ----------------------------------------
   10473 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   10474 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   10475 # script with STATUS, using 1 if that was 0.
   10476 as_fn_error ()
   10477 {
   10478   as_status=$1; test $as_status -eq 0 && as_status=1
   10479   if test "$4"; then
   10480     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   10481     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   10482   fi
   10483   $as_echo "$as_me: error: $2" >&2
   10484   as_fn_exit $as_status
   10485 } # as_fn_error
   10486 
   10487 
   10488 # as_fn_set_status STATUS
   10489 # -----------------------
   10490 # Set $? to STATUS, without forking.
   10491 as_fn_set_status ()
   10492 {
   10493   return $1
   10494 } # as_fn_set_status
   10495 
   10496 # as_fn_exit STATUS
   10497 # -----------------
   10498 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   10499 as_fn_exit ()
   10500 {
   10501   set +e
   10502   as_fn_set_status $1
   10503   exit $1
   10504 } # as_fn_exit
   10505 
   10506 # as_fn_unset VAR
   10507 # ---------------
   10508 # Portably unset VAR.
   10509 as_fn_unset ()
   10510 {
   10511   { eval $1=; unset $1;}
   10512 }
   10513 as_unset=as_fn_unset
   10514 # as_fn_append VAR VALUE
   10515 # ----------------------
   10516 # Append the text in VALUE to the end of the definition contained in VAR. Take
   10517 # advantage of any shell optimizations that allow amortized linear growth over
   10518 # repeated appends, instead of the typical quadratic growth present in naive
   10519 # implementations.
   10520 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   10521   eval 'as_fn_append ()
   10522   {
   10523     eval $1+=\$2
   10524   }'
   10525 else
   10526   as_fn_append ()
   10527   {
   10528     eval $1=\$$1\$2
   10529   }
   10530 fi # as_fn_append
   10531 
   10532 # as_fn_arith ARG...
   10533 # ------------------
   10534 # Perform arithmetic evaluation on the ARGs, and store the result in the
   10535 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   10536 # must be portable across $(()) and expr.
   10537 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   10538   eval 'as_fn_arith ()
   10539   {
   10540     as_val=$(( $* ))
   10541   }'
   10542 else
   10543   as_fn_arith ()
   10544   {
   10545     as_val=`expr "$@" || test $? -eq 1`
   10546   }
   10547 fi # as_fn_arith
   10548 
   10549 
   10550 if expr a : '\(a\)' >/dev/null 2>&1 &&
   10551    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   10552   as_expr=expr
   10553 else
   10554   as_expr=false
   10555 fi
   10556 
   10557 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   10558   as_basename=basename
   10559 else
   10560   as_basename=false
   10561 fi
   10562 
   10563 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   10564   as_dirname=dirname
   10565 else
   10566   as_dirname=false
   10567 fi
   10568 
   10569 as_me=`$as_basename -- "$0" ||
   10570 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   10571 	 X"$0" : 'X\(//\)$' \| \
   10572 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   10573 $as_echo X/"$0" |
   10574     sed '/^.*\/\([^/][^/]*\)\/*$/{
   10575 	    s//\1/
   10576 	    q
   10577 	  }
   10578 	  /^X\/\(\/\/\)$/{
   10579 	    s//\1/
   10580 	    q
   10581 	  }
   10582 	  /^X\/\(\/\).*/{
   10583 	    s//\1/
   10584 	    q
   10585 	  }
   10586 	  s/.*/./; q'`
   10587 
   10588 # Avoid depending upon Character Ranges.
   10589 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   10590 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   10591 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   10592 as_cr_digits='0123456789'
   10593 as_cr_alnum=$as_cr_Letters$as_cr_digits
   10594 
   10595 ECHO_C= ECHO_N= ECHO_T=
   10596 case `echo -n x` in #(((((
   10597 -n*)
   10598   case `echo 'xy\c'` in
   10599   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   10600   xy)  ECHO_C='\c';;
   10601   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   10602        ECHO_T='	';;
   10603   esac;;
   10604 *)
   10605   ECHO_N='-n';;
   10606 esac
   10607 
   10608 rm -f conf$$ conf$$.exe conf$$.file
   10609 if test -d conf$$.dir; then
   10610   rm -f conf$$.dir/conf$$.file
   10611 else
   10612   rm -f conf$$.dir
   10613   mkdir conf$$.dir 2>/dev/null
   10614 fi
   10615 if (echo >conf$$.file) 2>/dev/null; then
   10616   if ln -s conf$$.file conf$$ 2>/dev/null; then
   10617     as_ln_s='ln -s'
   10618     # ... but there are two gotchas:
   10619     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   10620     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   10621     # In both cases, we have to default to `cp -p'.
   10622     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   10623       as_ln_s='cp -p'
   10624   elif ln conf$$.file conf$$ 2>/dev/null; then
   10625     as_ln_s=ln
   10626   else
   10627     as_ln_s='cp -p'
   10628   fi
   10629 else
   10630   as_ln_s='cp -p'
   10631 fi
   10632 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   10633 rmdir conf$$.dir 2>/dev/null
   10634 
   10635 
   10636 # as_fn_mkdir_p
   10637 # -------------
   10638 # Create "$as_dir" as a directory, including parents if necessary.
   10639 as_fn_mkdir_p ()
   10640 {
   10641 
   10642   case $as_dir in #(
   10643   -*) as_dir=./$as_dir;;
   10644   esac
   10645   test -d "$as_dir" || eval $as_mkdir_p || {
   10646     as_dirs=
   10647     while :; do
   10648       case $as_dir in #(
   10649       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   10650       *) as_qdir=$as_dir;;
   10651       esac
   10652       as_dirs="'$as_qdir' $as_dirs"
   10653       as_dir=`$as_dirname -- "$as_dir" ||
   10654 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10655 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   10656 	 X"$as_dir" : 'X\(//\)$' \| \
   10657 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   10658 $as_echo X"$as_dir" |
   10659     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   10660 	    s//\1/
   10661 	    q
   10662 	  }
   10663 	  /^X\(\/\/\)[^/].*/{
   10664 	    s//\1/
   10665 	    q
   10666 	  }
   10667 	  /^X\(\/\/\)$/{
   10668 	    s//\1/
   10669 	    q
   10670 	  }
   10671 	  /^X\(\/\).*/{
   10672 	    s//\1/
   10673 	    q
   10674 	  }
   10675 	  s/.*/./; q'`
   10676       test -d "$as_dir" && break
   10677     done
   10678     test -z "$as_dirs" || eval "mkdir $as_dirs"
   10679   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   10680 
   10681 
   10682 } # as_fn_mkdir_p
   10683 if mkdir -p . 2>/dev/null; then
   10684   as_mkdir_p='mkdir -p "$as_dir"'
   10685 else
   10686   test -d ./-p && rmdir ./-p
   10687   as_mkdir_p=false
   10688 fi
   10689 
   10690 if test -x / >/dev/null 2>&1; then
   10691   as_test_x='test -x'
   10692 else
   10693   if ls -dL / >/dev/null 2>&1; then
   10694     as_ls_L_option=L
   10695   else
   10696     as_ls_L_option=
   10697   fi
   10698   as_test_x='
   10699     eval sh -c '\''
   10700       if test -d "$1"; then
   10701 	test -d "$1/.";
   10702       else
   10703 	case $1 in #(
   10704 	-*)set "./$1";;
   10705 	esac;
   10706 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   10707 	???[sx]*):;;*)false;;esac;fi
   10708     '\'' sh
   10709   '
   10710 fi
   10711 as_executable_p=$as_test_x
   10712 
   10713 # Sed expression to map a string onto a valid CPP name.
   10714 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   10715 
   10716 # Sed expression to map a string onto a valid variable name.
   10717 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   10718 
   10719 
   10720 exec 6>&1
   10721 ## ----------------------------------- ##
   10722 ## Main body of $CONFIG_STATUS script. ##
   10723 ## ----------------------------------- ##
   10724 _ASEOF
   10725 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   10726 
   10727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   10728 # Save the log message, to keep $0 and so on meaningful, and to
   10729 # report actual input values of CONFIG_FILES etc. instead of their
   10730 # values after options handling.
   10731 ac_log="
   10732 This file was extended by xclipboard $as_me 1.1.2, which was
   10733 generated by GNU Autoconf 2.68.  Invocation command line was
   10734 
   10735   CONFIG_FILES    = $CONFIG_FILES
   10736   CONFIG_HEADERS  = $CONFIG_HEADERS
   10737   CONFIG_LINKS    = $CONFIG_LINKS
   10738   CONFIG_COMMANDS = $CONFIG_COMMANDS
   10739   $ $0 $@
   10740 
   10741 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   10742 "
   10743 
   10744 _ACEOF
   10745 
   10746 case $ac_config_files in *"
   10747 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   10748 esac
   10749 
   10750 case $ac_config_headers in *"
   10751 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   10752 esac
   10753 
   10754 
   10755 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   10756 # Files that config.status was made for.
   10757 config_files="$ac_config_files"
   10758 config_headers="$ac_config_headers"
   10759 config_commands="$ac_config_commands"
   10760 
   10761 _ACEOF
   10762 
   10763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   10764 ac_cs_usage="\
   10765 \`$as_me' instantiates files and other configuration actions
   10766 from templates according to the current configuration.  Unless the files
   10767 and actions are specified as TAGs, all are instantiated by default.
   10768 
   10769 Usage: $0 [OPTION]... [TAG]...
   10770 
   10771   -h, --help       print this help, then exit
   10772   -V, --version    print version number and configuration settings, then exit
   10773       --config     print configuration, then exit
   10774   -q, --quiet, --silent
   10775                    do not print progress messages
   10776   -d, --debug      don't remove temporary files
   10777       --recheck    update $as_me by reconfiguring in the same conditions
   10778       --file=FILE[:TEMPLATE]
   10779                    instantiate the configuration file FILE
   10780       --header=FILE[:TEMPLATE]
   10781                    instantiate the configuration header FILE
   10782 
   10783 Configuration files:
   10784 $config_files
   10785 
   10786 Configuration headers:
   10787 $config_headers
   10788 
   10789 Configuration commands:
   10790 $config_commands
   10791 
   10792 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   10793 
   10794 _ACEOF
   10795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   10796 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   10797 ac_cs_version="\\
   10798 xclipboard config.status 1.1.2
   10799 configured by $0, generated by GNU Autoconf 2.68,
   10800   with options \\"\$ac_cs_config\\"
   10801 
   10802 Copyright (C) 2010 Free Software Foundation, Inc.
   10803 This config.status script is free software; the Free Software Foundation
   10804 gives unlimited permission to copy, distribute and modify it."
   10805 
   10806 ac_pwd='$ac_pwd'
   10807 srcdir='$srcdir'
   10808 INSTALL='$INSTALL'
   10809 MKDIR_P='$MKDIR_P'
   10810 AWK='$AWK'
   10811 test -n "\$AWK" || AWK=awk
   10812 _ACEOF
   10813 
   10814 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   10815 # The default lists apply if the user does not specify any file.
   10816 ac_need_defaults=:
   10817 while test $# != 0
   10818 do
   10819   case $1 in
   10820   --*=?*)
   10821     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   10822     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   10823     ac_shift=:
   10824     ;;
   10825   --*=)
   10826     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   10827     ac_optarg=
   10828     ac_shift=:
   10829     ;;
   10830   *)
   10831     ac_option=$1
   10832     ac_optarg=$2
   10833     ac_shift=shift
   10834     ;;
   10835   esac
   10836 
   10837   case $ac_option in
   10838   # Handling of the options.
   10839   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   10840     ac_cs_recheck=: ;;
   10841   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   10842     $as_echo "$ac_cs_version"; exit ;;
   10843   --config | --confi | --conf | --con | --co | --c )
   10844     $as_echo "$ac_cs_config"; exit ;;
   10845   --debug | --debu | --deb | --de | --d | -d )
   10846     debug=: ;;
   10847   --file | --fil | --fi | --f )
   10848     $ac_shift
   10849     case $ac_optarg in
   10850     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   10851     '') as_fn_error $? "missing file argument" ;;
   10852     esac
   10853     as_fn_append CONFIG_FILES " '$ac_optarg'"
   10854     ac_need_defaults=false;;
   10855   --header | --heade | --head | --hea )
   10856     $ac_shift
   10857     case $ac_optarg in
   10858     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   10859     esac
   10860     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   10861     ac_need_defaults=false;;
   10862   --he | --h)
   10863     # Conflict between --help and --header
   10864     as_fn_error $? "ambiguous option: \`$1'
   10865 Try \`$0 --help' for more information.";;
   10866   --help | --hel | -h )
   10867     $as_echo "$ac_cs_usage"; exit ;;
   10868   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   10869   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   10870     ac_cs_silent=: ;;
   10871 
   10872   # This is an error.
   10873   -*) as_fn_error $? "unrecognized option: \`$1'
   10874 Try \`$0 --help' for more information." ;;
   10875 
   10876   *) as_fn_append ac_config_targets " $1"
   10877      ac_need_defaults=false ;;
   10878 
   10879   esac
   10880   shift
   10881 done
   10882 
   10883 ac_configure_extra_args=
   10884 
   10885 if $ac_cs_silent; then
   10886   exec 6>/dev/null
   10887   ac_configure_extra_args="$ac_configure_extra_args --silent"
   10888 fi
   10889 
   10890 _ACEOF
   10891 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   10892 if \$ac_cs_recheck; then
   10893   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   10894   shift
   10895   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   10896   CONFIG_SHELL='$SHELL'
   10897   export CONFIG_SHELL
   10898   exec "\$@"
   10899 fi
   10900 
   10901 _ACEOF
   10902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   10903 exec 5>>config.log
   10904 {
   10905   echo
   10906   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   10907 ## Running $as_me. ##
   10908 _ASBOX
   10909   $as_echo "$ac_log"
   10910 } >&5
   10911 
   10912 _ACEOF
   10913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   10914 #
   10915 # INIT-COMMANDS
   10916 #
   10917 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   10918 
   10919 _ACEOF
   10920 
   10921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   10922 
   10923 # Handling of arguments.
   10924 for ac_config_target in $ac_config_targets
   10925 do
   10926   case $ac_config_target in
   10927     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   10928     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   10929     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   10930     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   10931 
   10932   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   10933   esac
   10934 done
   10935 
   10936 
   10937 # If the user did not use the arguments to specify the items to instantiate,
   10938 # then the envvar interface is used.  Set only those that are not.
   10939 # We use the long form for the default assignment because of an extremely
   10940 # bizarre bug on SunOS 4.1.3.
   10941 if $ac_need_defaults; then
   10942   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   10943   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   10944   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   10945 fi
   10946 
   10947 # Have a temporary directory for convenience.  Make it in the build tree
   10948 # simply because there is no reason against having it here, and in addition,
   10949 # creating and moving files from /tmp can sometimes cause problems.
   10950 # Hook for its removal unless debugging.
   10951 # Note that there is a small window in which the directory will not be cleaned:
   10952 # after its creation but before its name has been assigned to `$tmp'.
   10953 $debug ||
   10954 {
   10955   tmp= ac_tmp=
   10956   trap 'exit_status=$?
   10957   : "${ac_tmp:=$tmp}"
   10958   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   10959 ' 0
   10960   trap 'as_fn_exit 1' 1 2 13 15
   10961 }
   10962 # Create a (secure) tmp directory for tmp files.
   10963 
   10964 {
   10965   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   10966   test -d "$tmp"
   10967 }  ||
   10968 {
   10969   tmp=./conf$$-$RANDOM
   10970   (umask 077 && mkdir "$tmp")
   10971 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   10972 ac_tmp=$tmp
   10973 
   10974 # Set up the scripts for CONFIG_FILES section.
   10975 # No need to generate them if there are no CONFIG_FILES.
   10976 # This happens for instance with `./config.status config.h'.
   10977 if test -n "$CONFIG_FILES"; then
   10978 
   10979 
   10980 ac_cr=`echo X | tr X '\015'`
   10981 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   10982 # But we know of no other shell where ac_cr would be empty at this
   10983 # point, so we can use a bashism as a fallback.
   10984 if test "x$ac_cr" = x; then
   10985   eval ac_cr=\$\'\\r\'
   10986 fi
   10987 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   10988 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   10989   ac_cs_awk_cr='\\r'
   10990 else
   10991   ac_cs_awk_cr=$ac_cr
   10992 fi
   10993 
   10994 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   10995 _ACEOF
   10996 
   10997 
   10998 {
   10999   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11000   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11001   echo "_ACEOF"
   11002 } >conf$$subs.sh ||
   11003   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11004 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11005 ac_delim='%!_!# '
   11006 for ac_last_try in false false false false false :; do
   11007   . ./conf$$subs.sh ||
   11008     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11009 
   11010   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11011   if test $ac_delim_n = $ac_delim_num; then
   11012     break
   11013   elif $ac_last_try; then
   11014     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11015   else
   11016     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11017   fi
   11018 done
   11019 rm -f conf$$subs.sh
   11020 
   11021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11022 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11023 _ACEOF
   11024 sed -n '
   11025 h
   11026 s/^/S["/; s/!.*/"]=/
   11027 p
   11028 g
   11029 s/^[^!]*!//
   11030 :repl
   11031 t repl
   11032 s/'"$ac_delim"'$//
   11033 t delim
   11034 :nl
   11035 h
   11036 s/\(.\{148\}\)..*/\1/
   11037 t more1
   11038 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11039 p
   11040 n
   11041 b repl
   11042 :more1
   11043 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11044 p
   11045 g
   11046 s/.\{148\}//
   11047 t nl
   11048 :delim
   11049 h
   11050 s/\(.\{148\}\)..*/\1/
   11051 t more2
   11052 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11053 p
   11054 b
   11055 :more2
   11056 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11057 p
   11058 g
   11059 s/.\{148\}//
   11060 t delim
   11061 ' <conf$$subs.awk | sed '
   11062 /^[^""]/{
   11063   N
   11064   s/\n//
   11065 }
   11066 ' >>$CONFIG_STATUS || ac_write_fail=1
   11067 rm -f conf$$subs.awk
   11068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11069 _ACAWK
   11070 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11071   for (key in S) S_is_set[key] = 1
   11072   FS = ""
   11073 
   11074 }
   11075 {
   11076   line = $ 0
   11077   nfields = split(line, field, "@")
   11078   substed = 0
   11079   len = length(field[1])
   11080   for (i = 2; i < nfields; i++) {
   11081     key = field[i]
   11082     keylen = length(key)
   11083     if (S_is_set[key]) {
   11084       value = S[key]
   11085       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11086       len += length(value) + length(field[++i])
   11087       substed = 1
   11088     } else
   11089       len += 1 + keylen
   11090   }
   11091 
   11092   print line
   11093 }
   11094 
   11095 _ACAWK
   11096 _ACEOF
   11097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11098 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11099   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11100 else
   11101   cat
   11102 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11103   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11104 _ACEOF
   11105 
   11106 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11107 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11108 # trailing colons and then remove the whole line if VPATH becomes empty
   11109 # (actually we leave an empty line to preserve line numbers).
   11110 if test "x$srcdir" = x.; then
   11111   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11112 h
   11113 s///
   11114 s/^/:/
   11115 s/[	 ]*$/:/
   11116 s/:\$(srcdir):/:/g
   11117 s/:\${srcdir}:/:/g
   11118 s/:@srcdir@:/:/g
   11119 s/^:*//
   11120 s/:*$//
   11121 x
   11122 s/\(=[	 ]*\).*/\1/
   11123 G
   11124 s/\n//
   11125 s/^[^=]*=[	 ]*$//
   11126 }'
   11127 fi
   11128 
   11129 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11130 fi # test -n "$CONFIG_FILES"
   11131 
   11132 # Set up the scripts for CONFIG_HEADERS section.
   11133 # No need to generate them if there are no CONFIG_HEADERS.
   11134 # This happens for instance with `./config.status Makefile'.
   11135 if test -n "$CONFIG_HEADERS"; then
   11136 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11137 BEGIN {
   11138 _ACEOF
   11139 
   11140 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11141 # here-document in config.status, that substitutes the proper values into
   11142 # config.h.in to produce config.h.
   11143 
   11144 # Create a delimiter string that does not exist in confdefs.h, to ease
   11145 # handling of long lines.
   11146 ac_delim='%!_!# '
   11147 for ac_last_try in false false :; do
   11148   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11149   if test -z "$ac_tt"; then
   11150     break
   11151   elif $ac_last_try; then
   11152     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11153   else
   11154     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11155   fi
   11156 done
   11157 
   11158 # For the awk script, D is an array of macro values keyed by name,
   11159 # likewise P contains macro parameters if any.  Preserve backslash
   11160 # newline sequences.
   11161 
   11162 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11163 sed -n '
   11164 s/.\{148\}/&'"$ac_delim"'/g
   11165 t rset
   11166 :rset
   11167 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11168 t def
   11169 d
   11170 :def
   11171 s/\\$//
   11172 t bsnl
   11173 s/["\\]/\\&/g
   11174 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11175 D["\1"]=" \3"/p
   11176 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11177 d
   11178 :bsnl
   11179 s/["\\]/\\&/g
   11180 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11181 D["\1"]=" \3\\\\\\n"\\/p
   11182 t cont
   11183 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11184 t cont
   11185 d
   11186 :cont
   11187 n
   11188 s/.\{148\}/&'"$ac_delim"'/g
   11189 t clear
   11190 :clear
   11191 s/\\$//
   11192 t bsnlc
   11193 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11194 d
   11195 :bsnlc
   11196 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11197 b cont
   11198 ' <confdefs.h | sed '
   11199 s/'"$ac_delim"'/"\\\
   11200 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11201 
   11202 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11203   for (key in D) D_is_set[key] = 1
   11204   FS = ""
   11205 }
   11206 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11207   line = \$ 0
   11208   split(line, arg, " ")
   11209   if (arg[1] == "#") {
   11210     defundef = arg[2]
   11211     mac1 = arg[3]
   11212   } else {
   11213     defundef = substr(arg[1], 2)
   11214     mac1 = arg[2]
   11215   }
   11216   split(mac1, mac2, "(") #)
   11217   macro = mac2[1]
   11218   prefix = substr(line, 1, index(line, defundef) - 1)
   11219   if (D_is_set[macro]) {
   11220     # Preserve the white space surrounding the "#".
   11221     print prefix "define", macro P[macro] D[macro]
   11222     next
   11223   } else {
   11224     # Replace #undef with comments.  This is necessary, for example,
   11225     # in the case of _POSIX_SOURCE, which is predefined and required
   11226     # on some systems where configure will not decide to define it.
   11227     if (defundef == "undef") {
   11228       print "/*", prefix defundef, macro, "*/"
   11229       next
   11230     }
   11231   }
   11232 }
   11233 { print }
   11234 _ACAWK
   11235 _ACEOF
   11236 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11237   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11238 fi # test -n "$CONFIG_HEADERS"
   11239 
   11240 
   11241 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11242 shift
   11243 for ac_tag
   11244 do
   11245   case $ac_tag in
   11246   :[FHLC]) ac_mode=$ac_tag; continue;;
   11247   esac
   11248   case $ac_mode$ac_tag in
   11249   :[FHL]*:*);;
   11250   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11251   :[FH]-) ac_tag=-:-;;
   11252   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11253   esac
   11254   ac_save_IFS=$IFS
   11255   IFS=:
   11256   set x $ac_tag
   11257   IFS=$ac_save_IFS
   11258   shift
   11259   ac_file=$1
   11260   shift
   11261 
   11262   case $ac_mode in
   11263   :L) ac_source=$1;;
   11264   :[FH])
   11265     ac_file_inputs=
   11266     for ac_f
   11267     do
   11268       case $ac_f in
   11269       -) ac_f="$ac_tmp/stdin";;
   11270       *) # Look for the file first in the build tree, then in the source tree
   11271 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11272 	 # because $ac_f cannot contain `:'.
   11273 	 test -f "$ac_f" ||
   11274 	   case $ac_f in
   11275 	   [\\/$]*) false;;
   11276 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11277 	   esac ||
   11278 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11279       esac
   11280       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11281       as_fn_append ac_file_inputs " '$ac_f'"
   11282     done
   11283 
   11284     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11285     # use $as_me), people would be surprised to read:
   11286     #    /* config.h.  Generated by config.status.  */
   11287     configure_input='Generated from '`
   11288 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11289 	`' by configure.'
   11290     if test x"$ac_file" != x-; then
   11291       configure_input="$ac_file.  $configure_input"
   11292       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11293 $as_echo "$as_me: creating $ac_file" >&6;}
   11294     fi
   11295     # Neutralize special characters interpreted by sed in replacement strings.
   11296     case $configure_input in #(
   11297     *\&* | *\|* | *\\* )
   11298        ac_sed_conf_input=`$as_echo "$configure_input" |
   11299        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11300     *) ac_sed_conf_input=$configure_input;;
   11301     esac
   11302 
   11303     case $ac_tag in
   11304     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   11305       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   11306     esac
   11307     ;;
   11308   esac
   11309 
   11310   ac_dir=`$as_dirname -- "$ac_file" ||
   11311 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11312 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   11313 	 X"$ac_file" : 'X\(//\)$' \| \
   11314 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   11315 $as_echo X"$ac_file" |
   11316     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11317 	    s//\1/
   11318 	    q
   11319 	  }
   11320 	  /^X\(\/\/\)[^/].*/{
   11321 	    s//\1/
   11322 	    q
   11323 	  }
   11324 	  /^X\(\/\/\)$/{
   11325 	    s//\1/
   11326 	    q
   11327 	  }
   11328 	  /^X\(\/\).*/{
   11329 	    s//\1/
   11330 	    q
   11331 	  }
   11332 	  s/.*/./; q'`
   11333   as_dir="$ac_dir"; as_fn_mkdir_p
   11334   ac_builddir=.
   11335 
   11336 case "$ac_dir" in
   11337 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11338 *)
   11339   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   11340   # A ".." for each directory in $ac_dir_suffix.
   11341   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   11342   case $ac_top_builddir_sub in
   11343   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11344   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   11345   esac ;;
   11346 esac
   11347 ac_abs_top_builddir=$ac_pwd
   11348 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   11349 # for backward compatibility:
   11350 ac_top_builddir=$ac_top_build_prefix
   11351 
   11352 case $srcdir in
   11353   .)  # We are building in place.
   11354     ac_srcdir=.
   11355     ac_top_srcdir=$ac_top_builddir_sub
   11356     ac_abs_top_srcdir=$ac_pwd ;;
   11357   [\\/]* | ?:[\\/]* )  # Absolute name.
   11358     ac_srcdir=$srcdir$ac_dir_suffix;
   11359     ac_top_srcdir=$srcdir
   11360     ac_abs_top_srcdir=$srcdir ;;
   11361   *) # Relative name.
   11362     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   11363     ac_top_srcdir=$ac_top_build_prefix$srcdir
   11364     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   11365 esac
   11366 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   11367 
   11368 
   11369   case $ac_mode in
   11370   :F)
   11371   #
   11372   # CONFIG_FILE
   11373   #
   11374 
   11375   case $INSTALL in
   11376   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   11377   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   11378   esac
   11379   ac_MKDIR_P=$MKDIR_P
   11380   case $MKDIR_P in
   11381   [\\/$]* | ?:[\\/]* ) ;;
   11382   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   11383   esac
   11384 _ACEOF
   11385 
   11386 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11387 # If the template does not know about datarootdir, expand it.
   11388 # FIXME: This hack should be removed a few years after 2.60.
   11389 ac_datarootdir_hack=; ac_datarootdir_seen=
   11390 ac_sed_dataroot='
   11391 /datarootdir/ {
   11392   p
   11393   q
   11394 }
   11395 /@datadir@/p
   11396 /@docdir@/p
   11397 /@infodir@/p
   11398 /@localedir@/p
   11399 /@mandir@/p'
   11400 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   11401 *datarootdir*) ac_datarootdir_seen=yes;;
   11402 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   11403   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   11404 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   11405 _ACEOF
   11406 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11407   ac_datarootdir_hack='
   11408   s&@datadir@&$datadir&g
   11409   s&@docdir@&$docdir&g
   11410   s&@infodir@&$infodir&g
   11411   s&@localedir@&$localedir&g
   11412   s&@mandir@&$mandir&g
   11413   s&\\\${datarootdir}&$datarootdir&g' ;;
   11414 esac
   11415 _ACEOF
   11416 
   11417 # Neutralize VPATH when `$srcdir' = `.'.
   11418 # Shell code in configure.ac might set extrasub.
   11419 # FIXME: do we really want to maintain this feature?
   11420 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11421 ac_sed_extra="$ac_vpsub
   11422 $extrasub
   11423 _ACEOF
   11424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11425 :t
   11426 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   11427 s|@configure_input@|$ac_sed_conf_input|;t t
   11428 s&@top_builddir@&$ac_top_builddir_sub&;t t
   11429 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   11430 s&@srcdir@&$ac_srcdir&;t t
   11431 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   11432 s&@top_srcdir@&$ac_top_srcdir&;t t
   11433 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   11434 s&@builddir@&$ac_builddir&;t t
   11435 s&@abs_builddir@&$ac_abs_builddir&;t t
   11436 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   11437 s&@INSTALL@&$ac_INSTALL&;t t
   11438 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   11439 $ac_datarootdir_hack
   11440 "
   11441 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   11442   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11443 
   11444 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   11445   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   11446   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   11447       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   11448   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11449 which seems to be undefined.  Please make sure it is defined" >&5
   11450 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11451 which seems to be undefined.  Please make sure it is defined" >&2;}
   11452 
   11453   rm -f "$ac_tmp/stdin"
   11454   case $ac_file in
   11455   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   11456   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   11457   esac \
   11458   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11459  ;;
   11460   :H)
   11461   #
   11462   # CONFIG_HEADER
   11463   #
   11464   if test x"$ac_file" != x-; then
   11465     {
   11466       $as_echo "/* $configure_input  */" \
   11467       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   11468     } >"$ac_tmp/config.h" \
   11469       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11470     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   11471       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   11472 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   11473     else
   11474       rm -f "$ac_file"
   11475       mv "$ac_tmp/config.h" "$ac_file" \
   11476 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11477     fi
   11478   else
   11479     $as_echo "/* $configure_input  */" \
   11480       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   11481       || as_fn_error $? "could not create -" "$LINENO" 5
   11482   fi
   11483 # Compute "$ac_file"'s index in $config_headers.
   11484 _am_arg="$ac_file"
   11485 _am_stamp_count=1
   11486 for _am_header in $config_headers :; do
   11487   case $_am_header in
   11488     $_am_arg | $_am_arg:* )
   11489       break ;;
   11490     * )
   11491       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   11492   esac
   11493 done
   11494 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   11495 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11496 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   11497 	 X"$_am_arg" : 'X\(//\)$' \| \
   11498 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   11499 $as_echo X"$_am_arg" |
   11500     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11501 	    s//\1/
   11502 	    q
   11503 	  }
   11504 	  /^X\(\/\/\)[^/].*/{
   11505 	    s//\1/
   11506 	    q
   11507 	  }
   11508 	  /^X\(\/\/\)$/{
   11509 	    s//\1/
   11510 	    q
   11511 	  }
   11512 	  /^X\(\/\).*/{
   11513 	    s//\1/
   11514 	    q
   11515 	  }
   11516 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   11517  ;;
   11518 
   11519   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   11520 $as_echo "$as_me: executing $ac_file commands" >&6;}
   11521  ;;
   11522   esac
   11523 
   11524 
   11525   case $ac_file$ac_mode in
   11526     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   11527   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   11528   # are listed without --file.  Let's play safe and only enable the eval
   11529   # if we detect the quoting.
   11530   case $CONFIG_FILES in
   11531   *\'*) eval set x "$CONFIG_FILES" ;;
   11532   *)   set x $CONFIG_FILES ;;
   11533   esac
   11534   shift
   11535   for mf
   11536   do
   11537     # Strip MF so we end up with the name of the file.
   11538     mf=`echo "$mf" | sed -e 's/:.*$//'`
   11539     # Check whether this is an Automake generated Makefile or not.
   11540     # We used to match only the files named `Makefile.in', but
   11541     # some people rename them; so instead we look at the file content.
   11542     # Grep'ing the first line is not enough: some people post-process
   11543     # each Makefile.in and add a new line on top of each file to say so.
   11544     # Grep'ing the whole file is not good either: AIX grep has a line
   11545     # limit of 2048, but all sed's we know have understand at least 4000.
   11546     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   11547       dirpart=`$as_dirname -- "$mf" ||
   11548 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11549 	 X"$mf" : 'X\(//\)[^/]' \| \
   11550 	 X"$mf" : 'X\(//\)$' \| \
   11551 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   11552 $as_echo X"$mf" |
   11553     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11554 	    s//\1/
   11555 	    q
   11556 	  }
   11557 	  /^X\(\/\/\)[^/].*/{
   11558 	    s//\1/
   11559 	    q
   11560 	  }
   11561 	  /^X\(\/\/\)$/{
   11562 	    s//\1/
   11563 	    q
   11564 	  }
   11565 	  /^X\(\/\).*/{
   11566 	    s//\1/
   11567 	    q
   11568 	  }
   11569 	  s/.*/./; q'`
   11570     else
   11571       continue
   11572     fi
   11573     # Extract the definition of DEPDIR, am__include, and am__quote
   11574     # from the Makefile without running `make'.
   11575     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   11576     test -z "$DEPDIR" && continue
   11577     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   11578     test -z "am__include" && continue
   11579     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   11580     # When using ansi2knr, U may be empty or an underscore; expand it
   11581     U=`sed -n 's/^U = //p' < "$mf"`
   11582     # Find all dependency output files, they are included files with
   11583     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   11584     # simplest approach to changing $(DEPDIR) to its actual value in the
   11585     # expansion.
   11586     for file in `sed -n "
   11587       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   11588 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   11589       # Make sure the directory exists.
   11590       test -f "$dirpart/$file" && continue
   11591       fdir=`$as_dirname -- "$file" ||
   11592 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11593 	 X"$file" : 'X\(//\)[^/]' \| \
   11594 	 X"$file" : 'X\(//\)$' \| \
   11595 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   11596 $as_echo X"$file" |
   11597     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11598 	    s//\1/
   11599 	    q
   11600 	  }
   11601 	  /^X\(\/\/\)[^/].*/{
   11602 	    s//\1/
   11603 	    q
   11604 	  }
   11605 	  /^X\(\/\/\)$/{
   11606 	    s//\1/
   11607 	    q
   11608 	  }
   11609 	  /^X\(\/\).*/{
   11610 	    s//\1/
   11611 	    q
   11612 	  }
   11613 	  s/.*/./; q'`
   11614       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   11615       # echo "creating $dirpart/$file"
   11616       echo '# dummy' > "$dirpart/$file"
   11617     done
   11618   done
   11619 }
   11620  ;;
   11621 
   11622   esac
   11623 done # for ac_tag
   11624 
   11625 
   11626 as_fn_exit 0
   11627 _ACEOF
   11628 ac_clean_files=$ac_clean_files_save
   11629 
   11630 test $ac_write_fail = 0 ||
   11631   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   11632 
   11633 
   11634 # configure is writing to config.log, and then calls config.status.
   11635 # config.status does its own redirection, appending to config.log.
   11636 # Unfortunately, on DOS this fails, as config.log is still kept open
   11637 # by configure, so config.status won't be able to write to it; its
   11638 # output is simply discarded.  So we exec the FD to /dev/null,
   11639 # effectively closing config.log, so it can be properly (re)opened and
   11640 # appended to by config.status.  When coming back to configure, we
   11641 # need to make the FD available again.
   11642 if test "$no_create" != yes; then
   11643   ac_cs_success=:
   11644   ac_config_status_args=
   11645   test "$silent" = yes &&
   11646     ac_config_status_args="$ac_config_status_args --quiet"
   11647   exec 5>/dev/null
   11648   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   11649   exec 5>>config.log
   11650   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   11651   # would make configure fail if this is the last instruction.
   11652   $ac_cs_success || as_fn_exit 1
   11653 fi
   11654 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   11655   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   11656 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   11657 fi
   11658 
   11659