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 xedit 1.2.1.
      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='xedit'
    563 PACKAGE_TARNAME='xedit'
    564 PACKAGE_VERSION='1.2.1'
    565 PACKAGE_STRING='xedit 1.2.1'
    566 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    567 PACKAGE_URL=''
    568 
    569 # Factoring default headers for most tests.
    570 ac_includes_default="\
    571 #include <stdio.h>
    572 #ifdef HAVE_SYS_TYPES_H
    573 # include <sys/types.h>
    574 #endif
    575 #ifdef HAVE_SYS_STAT_H
    576 # include <sys/stat.h>
    577 #endif
    578 #ifdef STDC_HEADERS
    579 # include <stdlib.h>
    580 # include <stddef.h>
    581 #else
    582 # ifdef HAVE_STDLIB_H
    583 #  include <stdlib.h>
    584 # endif
    585 #endif
    586 #ifdef HAVE_STRING_H
    587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    588 #  include <memory.h>
    589 # endif
    590 # include <string.h>
    591 #endif
    592 #ifdef HAVE_STRINGS_H
    593 # include <strings.h>
    594 #endif
    595 #ifdef HAVE_INTTYPES_H
    596 # include <inttypes.h>
    597 #endif
    598 #ifdef HAVE_STDINT_H
    599 # include <stdint.h>
    600 #endif
    601 #ifdef HAVE_UNISTD_H
    602 # include <unistd.h>
    603 #endif"
    604 
    605 ac_subst_vars='am__EXEEXT_FALSE
    606 am__EXEEXT_TRUE
    607 LTLIBOBJS
    608 LIBOBJS
    609 appdefaultdir
    610 APPDEFS_LIBS
    611 APPDEFS_CFLAGS
    612 NEED_UNSETENV_FALSE
    613 NEED_UNSETENV_TRUE
    614 NEED_STRCASECMP_FALSE
    615 NEED_STRCASECMP_TRUE
    616 NEED_REALPATH_FALSE
    617 NEED_REALPATH_TRUE
    618 LISPDIR
    619 PKGDEPS_LIBS
    620 PKGDEPS_CFLAGS
    621 RANLIB
    622 AM_BACKSLASH
    623 AM_DEFAULT_VERBOSITY
    624 MAN_SUBSTS
    625 XORG_MAN_PAGE
    626 ADMIN_MAN_DIR
    627 DRIVER_MAN_DIR
    628 MISC_MAN_DIR
    629 FILE_MAN_DIR
    630 LIB_MAN_DIR
    631 APP_MAN_DIR
    632 ADMIN_MAN_SUFFIX
    633 DRIVER_MAN_SUFFIX
    634 MISC_MAN_SUFFIX
    635 FILE_MAN_SUFFIX
    636 LIB_MAN_SUFFIX
    637 APP_MAN_SUFFIX
    638 SED
    639 host_os
    640 host_vendor
    641 host_cpu
    642 host
    643 build_os
    644 build_vendor
    645 build_cpu
    646 build
    647 INSTALL_CMD
    648 PKG_CONFIG
    649 CHANGELOG_CMD
    650 STRICT_CFLAGS
    651 CWARNFLAGS
    652 BASE_CFLAGS
    653 EGREP
    654 GREP
    655 CPP
    656 am__fastdepCC_FALSE
    657 am__fastdepCC_TRUE
    658 CCDEPMODE
    659 am__nodep
    660 AMDEPBACKSLASH
    661 AMDEP_FALSE
    662 AMDEP_TRUE
    663 am__quote
    664 am__include
    665 DEPDIR
    666 OBJEXT
    667 EXEEXT
    668 ac_ct_CC
    669 CPPFLAGS
    670 LDFLAGS
    671 CFLAGS
    672 CC
    673 MAINT
    674 MAINTAINER_MODE_FALSE
    675 MAINTAINER_MODE_TRUE
    676 am__untar
    677 am__tar
    678 AMTAR
    679 am__leading_dot
    680 SET_MAKE
    681 AWK
    682 mkdir_p
    683 MKDIR_P
    684 INSTALL_STRIP_PROGRAM
    685 STRIP
    686 install_sh
    687 MAKEINFO
    688 AUTOHEADER
    689 AUTOMAKE
    690 AUTOCONF
    691 ACLOCAL
    692 VERSION
    693 PACKAGE
    694 CYGPATH_W
    695 am__isrc
    696 INSTALL_DATA
    697 INSTALL_SCRIPT
    698 INSTALL_PROGRAM
    699 target_alias
    700 host_alias
    701 build_alias
    702 LIBS
    703 ECHO_T
    704 ECHO_N
    705 ECHO_C
    706 DEFS
    707 mandir
    708 localedir
    709 libdir
    710 psdir
    711 pdfdir
    712 dvidir
    713 htmldir
    714 infodir
    715 docdir
    716 oldincludedir
    717 includedir
    718 localstatedir
    719 sharedstatedir
    720 sysconfdir
    721 datadir
    722 datarootdir
    723 libexecdir
    724 sbindir
    725 bindir
    726 program_transform_name
    727 prefix
    728 exec_prefix
    729 PACKAGE_URL
    730 PACKAGE_BUGREPORT
    731 PACKAGE_STRING
    732 PACKAGE_VERSION
    733 PACKAGE_TARNAME
    734 PACKAGE_NAME
    735 PATH_SEPARATOR
    736 SHELL'
    737 ac_subst_files=''
    738 ac_user_opts='
    739 enable_option_checking
    740 enable_maintainer_mode
    741 enable_dependency_tracking
    742 enable_selective_werror
    743 enable_strict_compilation
    744 enable_silent_rules
    745 with_lispdir
    746 with_appdefaultdir
    747 '
    748       ac_precious_vars='build_alias
    749 host_alias
    750 target_alias
    751 CC
    752 CFLAGS
    753 LDFLAGS
    754 LIBS
    755 CPPFLAGS
    756 CPP
    757 PKG_CONFIG
    758 PKGDEPS_CFLAGS
    759 PKGDEPS_LIBS
    760 APPDEFS_CFLAGS
    761 APPDEFS_LIBS'
    762 
    763 
    764 # Initialize some variables set by options.
    765 ac_init_help=
    766 ac_init_version=false
    767 ac_unrecognized_opts=
    768 ac_unrecognized_sep=
    769 # The variables have the same names as the options, with
    770 # dashes changed to underlines.
    771 cache_file=/dev/null
    772 exec_prefix=NONE
    773 no_create=
    774 no_recursion=
    775 prefix=NONE
    776 program_prefix=NONE
    777 program_suffix=NONE
    778 program_transform_name=s,x,x,
    779 silent=
    780 site=
    781 srcdir=
    782 verbose=
    783 x_includes=NONE
    784 x_libraries=NONE
    785 
    786 # Installation directory options.
    787 # These are left unexpanded so users can "make install exec_prefix=/foo"
    788 # and all the variables that are supposed to be based on exec_prefix
    789 # by default will actually change.
    790 # Use braces instead of parens because sh, perl, etc. also accept them.
    791 # (The list follows the same order as the GNU Coding Standards.)
    792 bindir='${exec_prefix}/bin'
    793 sbindir='${exec_prefix}/sbin'
    794 libexecdir='${exec_prefix}/libexec'
    795 datarootdir='${prefix}/share'
    796 datadir='${datarootdir}'
    797 sysconfdir='${prefix}/etc'
    798 sharedstatedir='${prefix}/com'
    799 localstatedir='${prefix}/var'
    800 includedir='${prefix}/include'
    801 oldincludedir='/usr/include'
    802 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    803 infodir='${datarootdir}/info'
    804 htmldir='${docdir}'
    805 dvidir='${docdir}'
    806 pdfdir='${docdir}'
    807 psdir='${docdir}'
    808 libdir='${exec_prefix}/lib'
    809 localedir='${datarootdir}/locale'
    810 mandir='${datarootdir}/man'
    811 
    812 ac_prev=
    813 ac_dashdash=
    814 for ac_option
    815 do
    816   # If the previous option needs an argument, assign it.
    817   if test -n "$ac_prev"; then
    818     eval $ac_prev=\$ac_option
    819     ac_prev=
    820     continue
    821   fi
    822 
    823   case $ac_option in
    824   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    825   *=)   ac_optarg= ;;
    826   *)    ac_optarg=yes ;;
    827   esac
    828 
    829   # Accept the important Cygnus configure options, so we can diagnose typos.
    830 
    831   case $ac_dashdash$ac_option in
    832   --)
    833     ac_dashdash=yes ;;
    834 
    835   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    836     ac_prev=bindir ;;
    837   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    838     bindir=$ac_optarg ;;
    839 
    840   -build | --build | --buil | --bui | --bu)
    841     ac_prev=build_alias ;;
    842   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    843     build_alias=$ac_optarg ;;
    844 
    845   -cache-file | --cache-file | --cache-fil | --cache-fi \
    846   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    847     ac_prev=cache_file ;;
    848   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    849   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    850     cache_file=$ac_optarg ;;
    851 
    852   --config-cache | -C)
    853     cache_file=config.cache ;;
    854 
    855   -datadir | --datadir | --datadi | --datad)
    856     ac_prev=datadir ;;
    857   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    858     datadir=$ac_optarg ;;
    859 
    860   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    861   | --dataroo | --dataro | --datar)
    862     ac_prev=datarootdir ;;
    863   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    864   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    865     datarootdir=$ac_optarg ;;
    866 
    867   -disable-* | --disable-*)
    868     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    869     # Reject names that are not valid shell variable names.
    870     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    871       as_fn_error $? "invalid feature name: $ac_useropt"
    872     ac_useropt_orig=$ac_useropt
    873     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    874     case $ac_user_opts in
    875       *"
    876 "enable_$ac_useropt"
    877 "*) ;;
    878       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    879 	 ac_unrecognized_sep=', ';;
    880     esac
    881     eval enable_$ac_useropt=no ;;
    882 
    883   -docdir | --docdir | --docdi | --doc | --do)
    884     ac_prev=docdir ;;
    885   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    886     docdir=$ac_optarg ;;
    887 
    888   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    889     ac_prev=dvidir ;;
    890   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    891     dvidir=$ac_optarg ;;
    892 
    893   -enable-* | --enable-*)
    894     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    895     # Reject names that are not valid shell variable names.
    896     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    897       as_fn_error $? "invalid feature name: $ac_useropt"
    898     ac_useropt_orig=$ac_useropt
    899     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    900     case $ac_user_opts in
    901       *"
    902 "enable_$ac_useropt"
    903 "*) ;;
    904       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    905 	 ac_unrecognized_sep=', ';;
    906     esac
    907     eval enable_$ac_useropt=\$ac_optarg ;;
    908 
    909   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    910   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    911   | --exec | --exe | --ex)
    912     ac_prev=exec_prefix ;;
    913   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    914   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    915   | --exec=* | --exe=* | --ex=*)
    916     exec_prefix=$ac_optarg ;;
    917 
    918   -gas | --gas | --ga | --g)
    919     # Obsolete; use --with-gas.
    920     with_gas=yes ;;
    921 
    922   -help | --help | --hel | --he | -h)
    923     ac_init_help=long ;;
    924   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    925     ac_init_help=recursive ;;
    926   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    927     ac_init_help=short ;;
    928 
    929   -host | --host | --hos | --ho)
    930     ac_prev=host_alias ;;
    931   -host=* | --host=* | --hos=* | --ho=*)
    932     host_alias=$ac_optarg ;;
    933 
    934   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    935     ac_prev=htmldir ;;
    936   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    937   | --ht=*)
    938     htmldir=$ac_optarg ;;
    939 
    940   -includedir | --includedir | --includedi | --included | --include \
    941   | --includ | --inclu | --incl | --inc)
    942     ac_prev=includedir ;;
    943   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    944   | --includ=* | --inclu=* | --incl=* | --inc=*)
    945     includedir=$ac_optarg ;;
    946 
    947   -infodir | --infodir | --infodi | --infod | --info | --inf)
    948     ac_prev=infodir ;;
    949   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    950     infodir=$ac_optarg ;;
    951 
    952   -libdir | --libdir | --libdi | --libd)
    953     ac_prev=libdir ;;
    954   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    955     libdir=$ac_optarg ;;
    956 
    957   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    958   | --libexe | --libex | --libe)
    959     ac_prev=libexecdir ;;
    960   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    961   | --libexe=* | --libex=* | --libe=*)
    962     libexecdir=$ac_optarg ;;
    963 
    964   -localedir | --localedir | --localedi | --localed | --locale)
    965     ac_prev=localedir ;;
    966   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    967     localedir=$ac_optarg ;;
    968 
    969   -localstatedir | --localstatedir | --localstatedi | --localstated \
    970   | --localstate | --localstat | --localsta | --localst | --locals)
    971     ac_prev=localstatedir ;;
    972   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    973   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    974     localstatedir=$ac_optarg ;;
    975 
    976   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    977     ac_prev=mandir ;;
    978   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    979     mandir=$ac_optarg ;;
    980 
    981   -nfp | --nfp | --nf)
    982     # Obsolete; use --without-fp.
    983     with_fp=no ;;
    984 
    985   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    986   | --no-cr | --no-c | -n)
    987     no_create=yes ;;
    988 
    989   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    990   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    991     no_recursion=yes ;;
    992 
    993   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    994   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    995   | --oldin | --oldi | --old | --ol | --o)
    996     ac_prev=oldincludedir ;;
    997   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    998   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    999   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1000     oldincludedir=$ac_optarg ;;
   1001 
   1002   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1003     ac_prev=prefix ;;
   1004   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1005     prefix=$ac_optarg ;;
   1006 
   1007   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1008   | --program-pre | --program-pr | --program-p)
   1009     ac_prev=program_prefix ;;
   1010   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1011   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1012     program_prefix=$ac_optarg ;;
   1013 
   1014   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1015   | --program-suf | --program-su | --program-s)
   1016     ac_prev=program_suffix ;;
   1017   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1018   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1019     program_suffix=$ac_optarg ;;
   1020 
   1021   -program-transform-name | --program-transform-name \
   1022   | --program-transform-nam | --program-transform-na \
   1023   | --program-transform-n | --program-transform- \
   1024   | --program-transform | --program-transfor \
   1025   | --program-transfo | --program-transf \
   1026   | --program-trans | --program-tran \
   1027   | --progr-tra | --program-tr | --program-t)
   1028     ac_prev=program_transform_name ;;
   1029   -program-transform-name=* | --program-transform-name=* \
   1030   | --program-transform-nam=* | --program-transform-na=* \
   1031   | --program-transform-n=* | --program-transform-=* \
   1032   | --program-transform=* | --program-transfor=* \
   1033   | --program-transfo=* | --program-transf=* \
   1034   | --program-trans=* | --program-tran=* \
   1035   | --progr-tra=* | --program-tr=* | --program-t=*)
   1036     program_transform_name=$ac_optarg ;;
   1037 
   1038   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1039     ac_prev=pdfdir ;;
   1040   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1041     pdfdir=$ac_optarg ;;
   1042 
   1043   -psdir | --psdir | --psdi | --psd | --ps)
   1044     ac_prev=psdir ;;
   1045   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1046     psdir=$ac_optarg ;;
   1047 
   1048   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1049   | -silent | --silent | --silen | --sile | --sil)
   1050     silent=yes ;;
   1051 
   1052   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1053     ac_prev=sbindir ;;
   1054   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1055   | --sbi=* | --sb=*)
   1056     sbindir=$ac_optarg ;;
   1057 
   1058   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1059   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1060   | --sharedst | --shareds | --shared | --share | --shar \
   1061   | --sha | --sh)
   1062     ac_prev=sharedstatedir ;;
   1063   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1064   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1065   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1066   | --sha=* | --sh=*)
   1067     sharedstatedir=$ac_optarg ;;
   1068 
   1069   -site | --site | --sit)
   1070     ac_prev=site ;;
   1071   -site=* | --site=* | --sit=*)
   1072     site=$ac_optarg ;;
   1073 
   1074   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1075     ac_prev=srcdir ;;
   1076   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1077     srcdir=$ac_optarg ;;
   1078 
   1079   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1080   | --syscon | --sysco | --sysc | --sys | --sy)
   1081     ac_prev=sysconfdir ;;
   1082   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1083   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1084     sysconfdir=$ac_optarg ;;
   1085 
   1086   -target | --target | --targe | --targ | --tar | --ta | --t)
   1087     ac_prev=target_alias ;;
   1088   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1089     target_alias=$ac_optarg ;;
   1090 
   1091   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1092     verbose=yes ;;
   1093 
   1094   -version | --version | --versio | --versi | --vers | -V)
   1095     ac_init_version=: ;;
   1096 
   1097   -with-* | --with-*)
   1098     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1099     # Reject names that are not valid shell variable names.
   1100     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1101       as_fn_error $? "invalid package name: $ac_useropt"
   1102     ac_useropt_orig=$ac_useropt
   1103     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1104     case $ac_user_opts in
   1105       *"
   1106 "with_$ac_useropt"
   1107 "*) ;;
   1108       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1109 	 ac_unrecognized_sep=', ';;
   1110     esac
   1111     eval with_$ac_useropt=\$ac_optarg ;;
   1112 
   1113   -without-* | --without-*)
   1114     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1115     # Reject names that are not valid shell variable names.
   1116     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1117       as_fn_error $? "invalid package name: $ac_useropt"
   1118     ac_useropt_orig=$ac_useropt
   1119     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1120     case $ac_user_opts in
   1121       *"
   1122 "with_$ac_useropt"
   1123 "*) ;;
   1124       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1125 	 ac_unrecognized_sep=', ';;
   1126     esac
   1127     eval with_$ac_useropt=no ;;
   1128 
   1129   --x)
   1130     # Obsolete; use --with-x.
   1131     with_x=yes ;;
   1132 
   1133   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1134   | --x-incl | --x-inc | --x-in | --x-i)
   1135     ac_prev=x_includes ;;
   1136   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1137   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1138     x_includes=$ac_optarg ;;
   1139 
   1140   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1141   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1142     ac_prev=x_libraries ;;
   1143   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1144   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1145     x_libraries=$ac_optarg ;;
   1146 
   1147   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1148 Try \`$0 --help' for more information"
   1149     ;;
   1150 
   1151   *=*)
   1152     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1153     # Reject names that are not valid shell variable names.
   1154     case $ac_envvar in #(
   1155       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1156       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1157     esac
   1158     eval $ac_envvar=\$ac_optarg
   1159     export $ac_envvar ;;
   1160 
   1161   *)
   1162     # FIXME: should be removed in autoconf 3.0.
   1163     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1164     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1165       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1166     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1167     ;;
   1168 
   1169   esac
   1170 done
   1171 
   1172 if test -n "$ac_prev"; then
   1173   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1174   as_fn_error $? "missing argument to $ac_option"
   1175 fi
   1176 
   1177 if test -n "$ac_unrecognized_opts"; then
   1178   case $enable_option_checking in
   1179     no) ;;
   1180     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1181     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1182   esac
   1183 fi
   1184 
   1185 # Check all directory arguments for consistency.
   1186 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1187 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1188 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1189 		libdir localedir mandir
   1190 do
   1191   eval ac_val=\$$ac_var
   1192   # Remove trailing slashes.
   1193   case $ac_val in
   1194     */ )
   1195       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1196       eval $ac_var=\$ac_val;;
   1197   esac
   1198   # Be sure to have absolute directory names.
   1199   case $ac_val in
   1200     [\\/$]* | ?:[\\/]* )  continue;;
   1201     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1202   esac
   1203   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1204 done
   1205 
   1206 # There might be people who depend on the old broken behavior: `$host'
   1207 # used to hold the argument of --host etc.
   1208 # FIXME: To remove some day.
   1209 build=$build_alias
   1210 host=$host_alias
   1211 target=$target_alias
   1212 
   1213 # FIXME: To remove some day.
   1214 if test "x$host_alias" != x; then
   1215   if test "x$build_alias" = x; then
   1216     cross_compiling=maybe
   1217     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1218     If a cross compiler is detected then cross compile mode will be used" >&2
   1219   elif test "x$build_alias" != "x$host_alias"; then
   1220     cross_compiling=yes
   1221   fi
   1222 fi
   1223 
   1224 ac_tool_prefix=
   1225 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1226 
   1227 test "$silent" = yes && exec 6>/dev/null
   1228 
   1229 
   1230 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1231 ac_ls_di=`ls -di .` &&
   1232 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1233   as_fn_error $? "working directory cannot be determined"
   1234 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1235   as_fn_error $? "pwd does not report name of working directory"
   1236 
   1237 
   1238 # Find the source files, if location was not specified.
   1239 if test -z "$srcdir"; then
   1240   ac_srcdir_defaulted=yes
   1241   # Try the directory containing this script, then the parent directory.
   1242   ac_confdir=`$as_dirname -- "$as_myself" ||
   1243 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1244 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1245 	 X"$as_myself" : 'X\(//\)$' \| \
   1246 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1247 $as_echo X"$as_myself" |
   1248     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1249 	    s//\1/
   1250 	    q
   1251 	  }
   1252 	  /^X\(\/\/\)[^/].*/{
   1253 	    s//\1/
   1254 	    q
   1255 	  }
   1256 	  /^X\(\/\/\)$/{
   1257 	    s//\1/
   1258 	    q
   1259 	  }
   1260 	  /^X\(\/\).*/{
   1261 	    s//\1/
   1262 	    q
   1263 	  }
   1264 	  s/.*/./; q'`
   1265   srcdir=$ac_confdir
   1266   if test ! -r "$srcdir/$ac_unique_file"; then
   1267     srcdir=..
   1268   fi
   1269 else
   1270   ac_srcdir_defaulted=no
   1271 fi
   1272 if test ! -r "$srcdir/$ac_unique_file"; then
   1273   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1274   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1275 fi
   1276 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1277 ac_abs_confdir=`(
   1278 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1279 	pwd)`
   1280 # When building in place, set srcdir=.
   1281 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1282   srcdir=.
   1283 fi
   1284 # Remove unnecessary trailing slashes from srcdir.
   1285 # Double slashes in file names in object file debugging info
   1286 # mess up M-x gdb in Emacs.
   1287 case $srcdir in
   1288 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1289 esac
   1290 for ac_var in $ac_precious_vars; do
   1291   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1292   eval ac_env_${ac_var}_value=\$${ac_var}
   1293   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1294   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1295 done
   1296 
   1297 #
   1298 # Report the --help message.
   1299 #
   1300 if test "$ac_init_help" = "long"; then
   1301   # Omit some internal or obsolete options to make the list less imposing.
   1302   # This message is too long to be a string in the A/UX 3.1 sh.
   1303   cat <<_ACEOF
   1304 \`configure' configures xedit 1.2.1 to adapt to many kinds of systems.
   1305 
   1306 Usage: $0 [OPTION]... [VAR=VALUE]...
   1307 
   1308 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1309 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1310 
   1311 Defaults for the options are specified in brackets.
   1312 
   1313 Configuration:
   1314   -h, --help              display this help and exit
   1315       --help=short        display options specific to this package
   1316       --help=recursive    display the short help of all the included packages
   1317   -V, --version           display version information and exit
   1318   -q, --quiet, --silent   do not print \`checking ...' messages
   1319       --cache-file=FILE   cache test results in FILE [disabled]
   1320   -C, --config-cache      alias for \`--cache-file=config.cache'
   1321   -n, --no-create         do not create output files
   1322       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1323 
   1324 Installation directories:
   1325   --prefix=PREFIX         install architecture-independent files in PREFIX
   1326                           [$ac_default_prefix]
   1327   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1328                           [PREFIX]
   1329 
   1330 By default, \`make install' will install all the files in
   1331 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1332 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1333 for instance \`--prefix=\$HOME'.
   1334 
   1335 For better control, use the options below.
   1336 
   1337 Fine tuning of the installation directories:
   1338   --bindir=DIR            user executables [EPREFIX/bin]
   1339   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1340   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1341   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1342   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1343   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1344   --libdir=DIR            object code libraries [EPREFIX/lib]
   1345   --includedir=DIR        C header files [PREFIX/include]
   1346   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1347   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1348   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1349   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1350   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1351   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1352   --docdir=DIR            documentation root [DATAROOTDIR/doc/xedit]
   1353   --htmldir=DIR           html documentation [DOCDIR]
   1354   --dvidir=DIR            dvi documentation [DOCDIR]
   1355   --pdfdir=DIR            pdf documentation [DOCDIR]
   1356   --psdir=DIR             ps documentation [DOCDIR]
   1357 _ACEOF
   1358 
   1359   cat <<\_ACEOF
   1360 
   1361 Program names:
   1362   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1363   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1364   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1365 
   1366 System types:
   1367   --build=BUILD     configure for building on BUILD [guessed]
   1368   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1369 _ACEOF
   1370 fi
   1371 
   1372 if test -n "$ac_init_help"; then
   1373   case $ac_init_help in
   1374      short | recursive ) echo "Configuration of xedit 1.2.1:";;
   1375    esac
   1376   cat <<\_ACEOF
   1377 
   1378 Optional Features:
   1379   --disable-option-checking  ignore unrecognized --enable/--with options
   1380   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1381   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1382   --enable-maintainer-mode  enable make rules and dependencies not useful
   1383 			  (and sometimes confusing) to the casual installer
   1384   --disable-dependency-tracking  speeds up one-time build
   1385   --enable-dependency-tracking   do not reject slow dependency extractors
   1386   --disable-selective-werror
   1387                           Turn off selective compiler errors. (default:
   1388                           enabled)
   1389   --enable-strict-compilation
   1390                           Enable all warnings from compiler and make them
   1391                           errors (default: disabled)
   1392   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1393   --disable-silent-rules         verbose build output (undo: `make V=0')
   1394 
   1395 Optional Packages:
   1396   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1397   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1398   --with-lispdir=PATH     Directory to install lisp files (default:
   1399                           $libdir/X11/xedit/lisp)
   1400   --with-appdefaultdir=<pathname>
   1401                           specify directory for app-defaults files (default is
   1402                           autodetected)
   1403 
   1404 Some influential environment variables:
   1405   CC          C compiler command
   1406   CFLAGS      C compiler flags
   1407   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1408               nonstandard directory <lib dir>
   1409   LIBS        libraries to pass to the linker, e.g. -l<library>
   1410   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1411               you have headers in a nonstandard directory <include dir>
   1412   CPP         C preprocessor
   1413   PKG_CONFIG  path to pkg-config utility
   1414   PKGDEPS_CFLAGS
   1415               C compiler flags for PKGDEPS, overriding pkg-config
   1416   PKGDEPS_LIBS
   1417               linker flags for PKGDEPS, overriding pkg-config
   1418   APPDEFS_CFLAGS
   1419               C compiler flags for APPDEFS, overriding pkg-config
   1420   APPDEFS_LIBS
   1421               linker flags for APPDEFS, overriding pkg-config
   1422 
   1423 Use these variables to override the choices made by `configure' or to help
   1424 it to find libraries and programs with nonstandard names/locations.
   1425 
   1426 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1427 _ACEOF
   1428 ac_status=$?
   1429 fi
   1430 
   1431 if test "$ac_init_help" = "recursive"; then
   1432   # If there are subdirs, report their specific --help.
   1433   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1434     test -d "$ac_dir" ||
   1435       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1436       continue
   1437     ac_builddir=.
   1438 
   1439 case "$ac_dir" in
   1440 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1441 *)
   1442   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1443   # A ".." for each directory in $ac_dir_suffix.
   1444   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1445   case $ac_top_builddir_sub in
   1446   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1447   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1448   esac ;;
   1449 esac
   1450 ac_abs_top_builddir=$ac_pwd
   1451 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1452 # for backward compatibility:
   1453 ac_top_builddir=$ac_top_build_prefix
   1454 
   1455 case $srcdir in
   1456   .)  # We are building in place.
   1457     ac_srcdir=.
   1458     ac_top_srcdir=$ac_top_builddir_sub
   1459     ac_abs_top_srcdir=$ac_pwd ;;
   1460   [\\/]* | ?:[\\/]* )  # Absolute name.
   1461     ac_srcdir=$srcdir$ac_dir_suffix;
   1462     ac_top_srcdir=$srcdir
   1463     ac_abs_top_srcdir=$srcdir ;;
   1464   *) # Relative name.
   1465     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1466     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1467     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1468 esac
   1469 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1470 
   1471     cd "$ac_dir" || { ac_status=$?; continue; }
   1472     # Check for guested configure.
   1473     if test -f "$ac_srcdir/configure.gnu"; then
   1474       echo &&
   1475       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1476     elif test -f "$ac_srcdir/configure"; then
   1477       echo &&
   1478       $SHELL "$ac_srcdir/configure" --help=recursive
   1479     else
   1480       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1481     fi || ac_status=$?
   1482     cd "$ac_pwd" || { ac_status=$?; break; }
   1483   done
   1484 fi
   1485 
   1486 test -n "$ac_init_help" && exit $ac_status
   1487 if $ac_init_version; then
   1488   cat <<\_ACEOF
   1489 xedit configure 1.2.1
   1490 generated by GNU Autoconf 2.68
   1491 
   1492 Copyright (C) 2010 Free Software Foundation, Inc.
   1493 This configure script is free software; the Free Software Foundation
   1494 gives unlimited permission to copy, distribute and modify it.
   1495 _ACEOF
   1496   exit
   1497 fi
   1498 
   1499 ## ------------------------ ##
   1500 ## Autoconf initialization. ##
   1501 ## ------------------------ ##
   1502 
   1503 # ac_fn_c_try_compile LINENO
   1504 # --------------------------
   1505 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1506 ac_fn_c_try_compile ()
   1507 {
   1508   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1509   rm -f conftest.$ac_objext
   1510   if { { ac_try="$ac_compile"
   1511 case "(($ac_try" in
   1512   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1513   *) ac_try_echo=$ac_try;;
   1514 esac
   1515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1516 $as_echo "$ac_try_echo"; } >&5
   1517   (eval "$ac_compile") 2>conftest.err
   1518   ac_status=$?
   1519   if test -s conftest.err; then
   1520     grep -v '^ *+' conftest.err >conftest.er1
   1521     cat conftest.er1 >&5
   1522     mv -f conftest.er1 conftest.err
   1523   fi
   1524   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1525   test $ac_status = 0; } && {
   1526 	 test -z "$ac_c_werror_flag" ||
   1527 	 test ! -s conftest.err
   1528        } && test -s conftest.$ac_objext; then :
   1529   ac_retval=0
   1530 else
   1531   $as_echo "$as_me: failed program was:" >&5
   1532 sed 's/^/| /' conftest.$ac_ext >&5
   1533 
   1534 	ac_retval=1
   1535 fi
   1536   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1537   as_fn_set_status $ac_retval
   1538 
   1539 } # ac_fn_c_try_compile
   1540 
   1541 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1542 # ---------------------------------------------
   1543 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1544 # accordingly.
   1545 ac_fn_c_check_decl ()
   1546 {
   1547   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1548   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1549   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1551 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1552 if eval \${$3+:} false; then :
   1553   $as_echo_n "(cached) " >&6
   1554 else
   1555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1556 /* end confdefs.h.  */
   1557 $4
   1558 int
   1559 main ()
   1560 {
   1561 #ifndef $as_decl_name
   1562 #ifdef __cplusplus
   1563   (void) $as_decl_use;
   1564 #else
   1565   (void) $as_decl_name;
   1566 #endif
   1567 #endif
   1568 
   1569   ;
   1570   return 0;
   1571 }
   1572 _ACEOF
   1573 if ac_fn_c_try_compile "$LINENO"; then :
   1574   eval "$3=yes"
   1575 else
   1576   eval "$3=no"
   1577 fi
   1578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1579 fi
   1580 eval ac_res=\$$3
   1581 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1582 $as_echo "$ac_res" >&6; }
   1583   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1584 
   1585 } # ac_fn_c_check_decl
   1586 
   1587 # ac_fn_c_try_cpp LINENO
   1588 # ----------------------
   1589 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1590 ac_fn_c_try_cpp ()
   1591 {
   1592   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1593   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1594 case "(($ac_try" in
   1595   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1596   *) ac_try_echo=$ac_try;;
   1597 esac
   1598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1599 $as_echo "$ac_try_echo"; } >&5
   1600   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1601   ac_status=$?
   1602   if test -s conftest.err; then
   1603     grep -v '^ *+' conftest.err >conftest.er1
   1604     cat conftest.er1 >&5
   1605     mv -f conftest.er1 conftest.err
   1606   fi
   1607   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1608   test $ac_status = 0; } > conftest.i && {
   1609 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1610 	 test ! -s conftest.err
   1611        }; then :
   1612   ac_retval=0
   1613 else
   1614   $as_echo "$as_me: failed program was:" >&5
   1615 sed 's/^/| /' conftest.$ac_ext >&5
   1616 
   1617     ac_retval=1
   1618 fi
   1619   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1620   as_fn_set_status $ac_retval
   1621 
   1622 } # ac_fn_c_try_cpp
   1623 
   1624 # ac_fn_c_try_run LINENO
   1625 # ----------------------
   1626 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1627 # that executables *can* be run.
   1628 ac_fn_c_try_run ()
   1629 {
   1630   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1631   if { { ac_try="$ac_link"
   1632 case "(($ac_try" in
   1633   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1634   *) ac_try_echo=$ac_try;;
   1635 esac
   1636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1637 $as_echo "$ac_try_echo"; } >&5
   1638   (eval "$ac_link") 2>&5
   1639   ac_status=$?
   1640   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1641   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1642   { { case "(($ac_try" in
   1643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1644   *) ac_try_echo=$ac_try;;
   1645 esac
   1646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1647 $as_echo "$ac_try_echo"; } >&5
   1648   (eval "$ac_try") 2>&5
   1649   ac_status=$?
   1650   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1651   test $ac_status = 0; }; }; then :
   1652   ac_retval=0
   1653 else
   1654   $as_echo "$as_me: program exited with status $ac_status" >&5
   1655        $as_echo "$as_me: failed program was:" >&5
   1656 sed 's/^/| /' conftest.$ac_ext >&5
   1657 
   1658        ac_retval=$ac_status
   1659 fi
   1660   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1661   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1662   as_fn_set_status $ac_retval
   1663 
   1664 } # ac_fn_c_try_run
   1665 
   1666 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1667 # -------------------------------------------------------
   1668 # Tests whether HEADER exists and can be compiled using the include files in
   1669 # INCLUDES, setting the cache variable VAR accordingly.
   1670 ac_fn_c_check_header_compile ()
   1671 {
   1672   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1674 $as_echo_n "checking for $2... " >&6; }
   1675 if eval \${$3+:} false; then :
   1676   $as_echo_n "(cached) " >&6
   1677 else
   1678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1679 /* end confdefs.h.  */
   1680 $4
   1681 #include <$2>
   1682 _ACEOF
   1683 if ac_fn_c_try_compile "$LINENO"; then :
   1684   eval "$3=yes"
   1685 else
   1686   eval "$3=no"
   1687 fi
   1688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1689 fi
   1690 eval ac_res=\$$3
   1691 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1692 $as_echo "$ac_res" >&6; }
   1693   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1694 
   1695 } # ac_fn_c_check_header_compile
   1696 
   1697 # ac_fn_c_try_link LINENO
   1698 # -----------------------
   1699 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1700 ac_fn_c_try_link ()
   1701 {
   1702   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1703   rm -f conftest.$ac_objext conftest$ac_exeext
   1704   if { { ac_try="$ac_link"
   1705 case "(($ac_try" in
   1706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1707   *) ac_try_echo=$ac_try;;
   1708 esac
   1709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1710 $as_echo "$ac_try_echo"; } >&5
   1711   (eval "$ac_link") 2>conftest.err
   1712   ac_status=$?
   1713   if test -s conftest.err; then
   1714     grep -v '^ *+' conftest.err >conftest.er1
   1715     cat conftest.er1 >&5
   1716     mv -f conftest.er1 conftest.err
   1717   fi
   1718   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1719   test $ac_status = 0; } && {
   1720 	 test -z "$ac_c_werror_flag" ||
   1721 	 test ! -s conftest.err
   1722        } && test -s conftest$ac_exeext && {
   1723 	 test "$cross_compiling" = yes ||
   1724 	 $as_test_x conftest$ac_exeext
   1725        }; then :
   1726   ac_retval=0
   1727 else
   1728   $as_echo "$as_me: failed program was:" >&5
   1729 sed 's/^/| /' conftest.$ac_ext >&5
   1730 
   1731 	ac_retval=1
   1732 fi
   1733   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1734   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1735   # interfere with the next link command; also delete a directory that is
   1736   # left behind by Apple's compiler.  We do this before executing the actions.
   1737   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1738   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1739   as_fn_set_status $ac_retval
   1740 
   1741 } # ac_fn_c_try_link
   1742 
   1743 # ac_fn_c_check_func LINENO FUNC VAR
   1744 # ----------------------------------
   1745 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1746 ac_fn_c_check_func ()
   1747 {
   1748   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1750 $as_echo_n "checking for $2... " >&6; }
   1751 if eval \${$3+:} false; then :
   1752   $as_echo_n "(cached) " >&6
   1753 else
   1754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1755 /* end confdefs.h.  */
   1756 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1757    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1758 #define $2 innocuous_$2
   1759 
   1760 /* System header to define __stub macros and hopefully few prototypes,
   1761     which can conflict with char $2 (); below.
   1762     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1763     <limits.h> exists even on freestanding compilers.  */
   1764 
   1765 #ifdef __STDC__
   1766 # include <limits.h>
   1767 #else
   1768 # include <assert.h>
   1769 #endif
   1770 
   1771 #undef $2
   1772 
   1773 /* Override any GCC internal prototype to avoid an error.
   1774    Use char because int might match the return type of a GCC
   1775    builtin and then its argument prototype would still apply.  */
   1776 #ifdef __cplusplus
   1777 extern "C"
   1778 #endif
   1779 char $2 ();
   1780 /* The GNU C library defines this for functions which it implements
   1781     to always fail with ENOSYS.  Some functions are actually named
   1782     something starting with __ and the normal name is an alias.  */
   1783 #if defined __stub_$2 || defined __stub___$2
   1784 choke me
   1785 #endif
   1786 
   1787 int
   1788 main ()
   1789 {
   1790 return $2 ();
   1791   ;
   1792   return 0;
   1793 }
   1794 _ACEOF
   1795 if ac_fn_c_try_link "$LINENO"; then :
   1796   eval "$3=yes"
   1797 else
   1798   eval "$3=no"
   1799 fi
   1800 rm -f core conftest.err conftest.$ac_objext \
   1801     conftest$ac_exeext conftest.$ac_ext
   1802 fi
   1803 eval ac_res=\$$3
   1804 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1805 $as_echo "$ac_res" >&6; }
   1806   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1807 
   1808 } # ac_fn_c_check_func
   1809 cat >config.log <<_ACEOF
   1810 This file contains any messages produced by compilers while
   1811 running configure, to aid debugging if configure makes a mistake.
   1812 
   1813 It was created by xedit $as_me 1.2.1, which was
   1814 generated by GNU Autoconf 2.68.  Invocation command line was
   1815 
   1816   $ $0 $@
   1817 
   1818 _ACEOF
   1819 exec 5>>config.log
   1820 {
   1821 cat <<_ASUNAME
   1822 ## --------- ##
   1823 ## Platform. ##
   1824 ## --------- ##
   1825 
   1826 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1827 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1828 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1829 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1830 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1831 
   1832 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1833 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1834 
   1835 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1836 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1837 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1838 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1839 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1840 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1841 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1842 
   1843 _ASUNAME
   1844 
   1845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1846 for as_dir in $PATH
   1847 do
   1848   IFS=$as_save_IFS
   1849   test -z "$as_dir" && as_dir=.
   1850     $as_echo "PATH: $as_dir"
   1851   done
   1852 IFS=$as_save_IFS
   1853 
   1854 } >&5
   1855 
   1856 cat >&5 <<_ACEOF
   1857 
   1858 
   1859 ## ----------- ##
   1860 ## Core tests. ##
   1861 ## ----------- ##
   1862 
   1863 _ACEOF
   1864 
   1865 
   1866 # Keep a trace of the command line.
   1867 # Strip out --no-create and --no-recursion so they do not pile up.
   1868 # Strip out --silent because we don't want to record it for future runs.
   1869 # Also quote any args containing shell meta-characters.
   1870 # Make two passes to allow for proper duplicate-argument suppression.
   1871 ac_configure_args=
   1872 ac_configure_args0=
   1873 ac_configure_args1=
   1874 ac_must_keep_next=false
   1875 for ac_pass in 1 2
   1876 do
   1877   for ac_arg
   1878   do
   1879     case $ac_arg in
   1880     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1881     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1882     | -silent | --silent | --silen | --sile | --sil)
   1883       continue ;;
   1884     *\'*)
   1885       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1886     esac
   1887     case $ac_pass in
   1888     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1889     2)
   1890       as_fn_append ac_configure_args1 " '$ac_arg'"
   1891       if test $ac_must_keep_next = true; then
   1892 	ac_must_keep_next=false # Got value, back to normal.
   1893       else
   1894 	case $ac_arg in
   1895 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1896 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1897 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1898 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1899 	    case "$ac_configure_args0 " in
   1900 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1901 	    esac
   1902 	    ;;
   1903 	  -* ) ac_must_keep_next=true ;;
   1904 	esac
   1905       fi
   1906       as_fn_append ac_configure_args " '$ac_arg'"
   1907       ;;
   1908     esac
   1909   done
   1910 done
   1911 { ac_configure_args0=; unset ac_configure_args0;}
   1912 { ac_configure_args1=; unset ac_configure_args1;}
   1913 
   1914 # When interrupted or exit'd, cleanup temporary files, and complete
   1915 # config.log.  We remove comments because anyway the quotes in there
   1916 # would cause problems or look ugly.
   1917 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1918 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1919 trap 'exit_status=$?
   1920   # Save into config.log some information that might help in debugging.
   1921   {
   1922     echo
   1923 
   1924     $as_echo "## ---------------- ##
   1925 ## Cache variables. ##
   1926 ## ---------------- ##"
   1927     echo
   1928     # The following way of writing the cache mishandles newlines in values,
   1929 (
   1930   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1931     eval ac_val=\$$ac_var
   1932     case $ac_val in #(
   1933     *${as_nl}*)
   1934       case $ac_var in #(
   1935       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1936 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1937       esac
   1938       case $ac_var in #(
   1939       _ | IFS | as_nl) ;; #(
   1940       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1941       *) { eval $ac_var=; unset $ac_var;} ;;
   1942       esac ;;
   1943     esac
   1944   done
   1945   (set) 2>&1 |
   1946     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1947     *${as_nl}ac_space=\ *)
   1948       sed -n \
   1949 	"s/'\''/'\''\\\\'\'''\''/g;
   1950 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1951       ;; #(
   1952     *)
   1953       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1954       ;;
   1955     esac |
   1956     sort
   1957 )
   1958     echo
   1959 
   1960     $as_echo "## ----------------- ##
   1961 ## Output variables. ##
   1962 ## ----------------- ##"
   1963     echo
   1964     for ac_var in $ac_subst_vars
   1965     do
   1966       eval ac_val=\$$ac_var
   1967       case $ac_val in
   1968       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1969       esac
   1970       $as_echo "$ac_var='\''$ac_val'\''"
   1971     done | sort
   1972     echo
   1973 
   1974     if test -n "$ac_subst_files"; then
   1975       $as_echo "## ------------------- ##
   1976 ## File substitutions. ##
   1977 ## ------------------- ##"
   1978       echo
   1979       for ac_var in $ac_subst_files
   1980       do
   1981 	eval ac_val=\$$ac_var
   1982 	case $ac_val in
   1983 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1984 	esac
   1985 	$as_echo "$ac_var='\''$ac_val'\''"
   1986       done | sort
   1987       echo
   1988     fi
   1989 
   1990     if test -s confdefs.h; then
   1991       $as_echo "## ----------- ##
   1992 ## confdefs.h. ##
   1993 ## ----------- ##"
   1994       echo
   1995       cat confdefs.h
   1996       echo
   1997     fi
   1998     test "$ac_signal" != 0 &&
   1999       $as_echo "$as_me: caught signal $ac_signal"
   2000     $as_echo "$as_me: exit $exit_status"
   2001   } >&5
   2002   rm -f core *.core core.conftest.* &&
   2003     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2004     exit $exit_status
   2005 ' 0
   2006 for ac_signal in 1 2 13 15; do
   2007   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2008 done
   2009 ac_signal=0
   2010 
   2011 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2012 rm -f -r conftest* confdefs.h
   2013 
   2014 $as_echo "/* confdefs.h */" > confdefs.h
   2015 
   2016 # Predefined preprocessor variables.
   2017 
   2018 cat >>confdefs.h <<_ACEOF
   2019 #define PACKAGE_NAME "$PACKAGE_NAME"
   2020 _ACEOF
   2021 
   2022 cat >>confdefs.h <<_ACEOF
   2023 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2024 _ACEOF
   2025 
   2026 cat >>confdefs.h <<_ACEOF
   2027 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2028 _ACEOF
   2029 
   2030 cat >>confdefs.h <<_ACEOF
   2031 #define PACKAGE_STRING "$PACKAGE_STRING"
   2032 _ACEOF
   2033 
   2034 cat >>confdefs.h <<_ACEOF
   2035 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2036 _ACEOF
   2037 
   2038 cat >>confdefs.h <<_ACEOF
   2039 #define PACKAGE_URL "$PACKAGE_URL"
   2040 _ACEOF
   2041 
   2042 
   2043 # Let the site file select an alternate cache file if it wants to.
   2044 # Prefer an explicitly selected file to automatically selected ones.
   2045 ac_site_file1=NONE
   2046 ac_site_file2=NONE
   2047 if test -n "$CONFIG_SITE"; then
   2048   # We do not want a PATH search for config.site.
   2049   case $CONFIG_SITE in #((
   2050     -*)  ac_site_file1=./$CONFIG_SITE;;
   2051     */*) ac_site_file1=$CONFIG_SITE;;
   2052     *)   ac_site_file1=./$CONFIG_SITE;;
   2053   esac
   2054 elif test "x$prefix" != xNONE; then
   2055   ac_site_file1=$prefix/share/config.site
   2056   ac_site_file2=$prefix/etc/config.site
   2057 else
   2058   ac_site_file1=$ac_default_prefix/share/config.site
   2059   ac_site_file2=$ac_default_prefix/etc/config.site
   2060 fi
   2061 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2062 do
   2063   test "x$ac_site_file" = xNONE && continue
   2064   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2065     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2066 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2067     sed 's/^/| /' "$ac_site_file" >&5
   2068     . "$ac_site_file" \
   2069       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2071 as_fn_error $? "failed to load site script $ac_site_file
   2072 See \`config.log' for more details" "$LINENO" 5; }
   2073   fi
   2074 done
   2075 
   2076 if test -r "$cache_file"; then
   2077   # Some versions of bash will fail to source /dev/null (special files
   2078   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2079   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2080     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2081 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2082     case $cache_file in
   2083       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2084       *)                      . "./$cache_file";;
   2085     esac
   2086   fi
   2087 else
   2088   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2089 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2090   >$cache_file
   2091 fi
   2092 
   2093 # Check that the precious variables saved in the cache have kept the same
   2094 # value.
   2095 ac_cache_corrupted=false
   2096 for ac_var in $ac_precious_vars; do
   2097   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2098   eval ac_new_set=\$ac_env_${ac_var}_set
   2099   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2100   eval ac_new_val=\$ac_env_${ac_var}_value
   2101   case $ac_old_set,$ac_new_set in
   2102     set,)
   2103       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2104 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2105       ac_cache_corrupted=: ;;
   2106     ,set)
   2107       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2108 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2109       ac_cache_corrupted=: ;;
   2110     ,);;
   2111     *)
   2112       if test "x$ac_old_val" != "x$ac_new_val"; then
   2113 	# differences in whitespace do not lead to failure.
   2114 	ac_old_val_w=`echo x $ac_old_val`
   2115 	ac_new_val_w=`echo x $ac_new_val`
   2116 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2117 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2118 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2119 	  ac_cache_corrupted=:
   2120 	else
   2121 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2122 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2123 	  eval $ac_var=\$ac_old_val
   2124 	fi
   2125 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2126 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2127 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2128 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2129       fi;;
   2130   esac
   2131   # Pass precious variables to config.status.
   2132   if test "$ac_new_set" = set; then
   2133     case $ac_new_val in
   2134     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2135     *) ac_arg=$ac_var=$ac_new_val ;;
   2136     esac
   2137     case " $ac_configure_args " in
   2138       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2139       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2140     esac
   2141   fi
   2142 done
   2143 if $ac_cache_corrupted; then
   2144   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2146   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2147 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2148   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2149 fi
   2150 ## -------------------- ##
   2151 ## Main body of script. ##
   2152 ## -------------------- ##
   2153 
   2154 ac_ext=c
   2155 ac_cpp='$CPP $CPPFLAGS'
   2156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2159 
   2160 
   2161 am__api_version='1.11'
   2162 
   2163 ac_aux_dir=
   2164 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2165   if test -f "$ac_dir/install-sh"; then
   2166     ac_aux_dir=$ac_dir
   2167     ac_install_sh="$ac_aux_dir/install-sh -c"
   2168     break
   2169   elif test -f "$ac_dir/install.sh"; then
   2170     ac_aux_dir=$ac_dir
   2171     ac_install_sh="$ac_aux_dir/install.sh -c"
   2172     break
   2173   elif test -f "$ac_dir/shtool"; then
   2174     ac_aux_dir=$ac_dir
   2175     ac_install_sh="$ac_aux_dir/shtool install -c"
   2176     break
   2177   fi
   2178 done
   2179 if test -z "$ac_aux_dir"; then
   2180   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2181 fi
   2182 
   2183 # These three variables are undocumented and unsupported,
   2184 # and are intended to be withdrawn in a future Autoconf release.
   2185 # They can cause serious problems if a builder's source tree is in a directory
   2186 # whose full name contains unusual characters.
   2187 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2188 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2189 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2190 
   2191 
   2192 # Find a good install program.  We prefer a C program (faster),
   2193 # so one script is as good as another.  But avoid the broken or
   2194 # incompatible versions:
   2195 # SysV /etc/install, /usr/sbin/install
   2196 # SunOS /usr/etc/install
   2197 # IRIX /sbin/install
   2198 # AIX /bin/install
   2199 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2200 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2201 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2202 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2203 # OS/2's system install, which has a completely different semantic
   2204 # ./install, which can be erroneously created by make from ./install.sh.
   2205 # Reject install programs that cannot install multiple files.
   2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2207 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2208 if test -z "$INSTALL"; then
   2209 if ${ac_cv_path_install+:} false; then :
   2210   $as_echo_n "(cached) " >&6
   2211 else
   2212   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2213 for as_dir in $PATH
   2214 do
   2215   IFS=$as_save_IFS
   2216   test -z "$as_dir" && as_dir=.
   2217     # Account for people who put trailing slashes in PATH elements.
   2218 case $as_dir/ in #((
   2219   ./ | .// | /[cC]/* | \
   2220   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2221   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2222   /usr/ucb/* ) ;;
   2223   *)
   2224     # OSF1 and SCO ODT 3.0 have their own names for install.
   2225     # Don't use installbsd from OSF since it installs stuff as root
   2226     # by default.
   2227     for ac_prog in ginstall scoinst install; do
   2228       for ac_exec_ext in '' $ac_executable_extensions; do
   2229 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2230 	  if test $ac_prog = install &&
   2231 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2232 	    # AIX install.  It has an incompatible calling convention.
   2233 	    :
   2234 	  elif test $ac_prog = install &&
   2235 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2236 	    # program-specific install script used by HP pwplus--don't use.
   2237 	    :
   2238 	  else
   2239 	    rm -rf conftest.one conftest.two conftest.dir
   2240 	    echo one > conftest.one
   2241 	    echo two > conftest.two
   2242 	    mkdir conftest.dir
   2243 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2244 	      test -s conftest.one && test -s conftest.two &&
   2245 	      test -s conftest.dir/conftest.one &&
   2246 	      test -s conftest.dir/conftest.two
   2247 	    then
   2248 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2249 	      break 3
   2250 	    fi
   2251 	  fi
   2252 	fi
   2253       done
   2254     done
   2255     ;;
   2256 esac
   2257 
   2258   done
   2259 IFS=$as_save_IFS
   2260 
   2261 rm -rf conftest.one conftest.two conftest.dir
   2262 
   2263 fi
   2264   if test "${ac_cv_path_install+set}" = set; then
   2265     INSTALL=$ac_cv_path_install
   2266   else
   2267     # As a last resort, use the slow shell script.  Don't cache a
   2268     # value for INSTALL within a source directory, because that will
   2269     # break other packages using the cache if that directory is
   2270     # removed, or if the value is a relative name.
   2271     INSTALL=$ac_install_sh
   2272   fi
   2273 fi
   2274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2275 $as_echo "$INSTALL" >&6; }
   2276 
   2277 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2278 # It thinks the first close brace ends the variable substitution.
   2279 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2280 
   2281 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2282 
   2283 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2284 
   2285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2286 $as_echo_n "checking whether build environment is sane... " >&6; }
   2287 # Just in case
   2288 sleep 1
   2289 echo timestamp > conftest.file
   2290 # Reject unsafe characters in $srcdir or the absolute working directory
   2291 # name.  Accept space and tab only in the latter.
   2292 am_lf='
   2293 '
   2294 case `pwd` in
   2295   *[\\\"\#\$\&\'\`$am_lf]*)
   2296     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2297 esac
   2298 case $srcdir in
   2299   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2300     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2301 esac
   2302 
   2303 # Do `set' in a subshell so we don't clobber the current shell's
   2304 # arguments.  Must try -L first in case configure is actually a
   2305 # symlink; some systems play weird games with the mod time of symlinks
   2306 # (eg FreeBSD returns the mod time of the symlink's containing
   2307 # directory).
   2308 if (
   2309    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2310    if test "$*" = "X"; then
   2311       # -L didn't work.
   2312       set X `ls -t "$srcdir/configure" conftest.file`
   2313    fi
   2314    rm -f conftest.file
   2315    if test "$*" != "X $srcdir/configure conftest.file" \
   2316       && test "$*" != "X conftest.file $srcdir/configure"; then
   2317 
   2318       # If neither matched, then we have a broken ls.  This can happen
   2319       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2320       # broken ls alias from the environment.  This has actually
   2321       # happened.  Such a system could not be considered "sane".
   2322       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2323 alias in your environment" "$LINENO" 5
   2324    fi
   2325 
   2326    test "$2" = conftest.file
   2327    )
   2328 then
   2329    # Ok.
   2330    :
   2331 else
   2332    as_fn_error $? "newly created file is older than distributed files!
   2333 Check your system clock" "$LINENO" 5
   2334 fi
   2335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2336 $as_echo "yes" >&6; }
   2337 test "$program_prefix" != NONE &&
   2338   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2339 # Use a double $ so make ignores it.
   2340 test "$program_suffix" != NONE &&
   2341   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2342 # Double any \ or $.
   2343 # By default was `s,x,x', remove it if useless.
   2344 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2345 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2346 
   2347 # expand $ac_aux_dir to an absolute path
   2348 am_aux_dir=`cd $ac_aux_dir && pwd`
   2349 
   2350 if test x"${MISSING+set}" != xset; then
   2351   case $am_aux_dir in
   2352   *\ * | *\	*)
   2353     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2354   *)
   2355     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2356   esac
   2357 fi
   2358 # Use eval to expand $SHELL
   2359 if eval "$MISSING --run true"; then
   2360   am_missing_run="$MISSING --run "
   2361 else
   2362   am_missing_run=
   2363   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2364 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2365 fi
   2366 
   2367 if test x"${install_sh}" != xset; then
   2368   case $am_aux_dir in
   2369   *\ * | *\	*)
   2370     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2371   *)
   2372     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2373   esac
   2374 fi
   2375 
   2376 # Installed binaries are usually stripped using `strip' when the user
   2377 # run `make install-strip'.  However `strip' might not be the right
   2378 # tool to use in cross-compilation environments, therefore Automake
   2379 # will honor the `STRIP' environment variable to overrule this program.
   2380 if test "$cross_compiling" != no; then
   2381   if test -n "$ac_tool_prefix"; then
   2382   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2383 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2385 $as_echo_n "checking for $ac_word... " >&6; }
   2386 if ${ac_cv_prog_STRIP+:} false; then :
   2387   $as_echo_n "(cached) " >&6
   2388 else
   2389   if test -n "$STRIP"; then
   2390   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2391 else
   2392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2393 for as_dir in $PATH
   2394 do
   2395   IFS=$as_save_IFS
   2396   test -z "$as_dir" && as_dir=.
   2397     for ac_exec_ext in '' $ac_executable_extensions; do
   2398   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2399     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2400     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2401     break 2
   2402   fi
   2403 done
   2404   done
   2405 IFS=$as_save_IFS
   2406 
   2407 fi
   2408 fi
   2409 STRIP=$ac_cv_prog_STRIP
   2410 if test -n "$STRIP"; then
   2411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2412 $as_echo "$STRIP" >&6; }
   2413 else
   2414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2415 $as_echo "no" >&6; }
   2416 fi
   2417 
   2418 
   2419 fi
   2420 if test -z "$ac_cv_prog_STRIP"; then
   2421   ac_ct_STRIP=$STRIP
   2422   # Extract the first word of "strip", so it can be a program name with args.
   2423 set dummy strip; ac_word=$2
   2424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2425 $as_echo_n "checking for $ac_word... " >&6; }
   2426 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2427   $as_echo_n "(cached) " >&6
   2428 else
   2429   if test -n "$ac_ct_STRIP"; then
   2430   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2431 else
   2432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2433 for as_dir in $PATH
   2434 do
   2435   IFS=$as_save_IFS
   2436   test -z "$as_dir" && as_dir=.
   2437     for ac_exec_ext in '' $ac_executable_extensions; do
   2438   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2439     ac_cv_prog_ac_ct_STRIP="strip"
   2440     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2441     break 2
   2442   fi
   2443 done
   2444   done
   2445 IFS=$as_save_IFS
   2446 
   2447 fi
   2448 fi
   2449 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2450 if test -n "$ac_ct_STRIP"; then
   2451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2452 $as_echo "$ac_ct_STRIP" >&6; }
   2453 else
   2454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2455 $as_echo "no" >&6; }
   2456 fi
   2457 
   2458   if test "x$ac_ct_STRIP" = x; then
   2459     STRIP=":"
   2460   else
   2461     case $cross_compiling:$ac_tool_warned in
   2462 yes:)
   2463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2465 ac_tool_warned=yes ;;
   2466 esac
   2467     STRIP=$ac_ct_STRIP
   2468   fi
   2469 else
   2470   STRIP="$ac_cv_prog_STRIP"
   2471 fi
   2472 
   2473 fi
   2474 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2475 
   2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2477 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2478 if test -z "$MKDIR_P"; then
   2479   if ${ac_cv_path_mkdir+:} false; then :
   2480   $as_echo_n "(cached) " >&6
   2481 else
   2482   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2483 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2484 do
   2485   IFS=$as_save_IFS
   2486   test -z "$as_dir" && as_dir=.
   2487     for ac_prog in mkdir gmkdir; do
   2488 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2489 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2490 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2491 	     'mkdir (GNU coreutils) '* | \
   2492 	     'mkdir (coreutils) '* | \
   2493 	     'mkdir (fileutils) '4.1*)
   2494 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2495 	       break 3;;
   2496 	   esac
   2497 	 done
   2498        done
   2499   done
   2500 IFS=$as_save_IFS
   2501 
   2502 fi
   2503 
   2504   test -d ./--version && rmdir ./--version
   2505   if test "${ac_cv_path_mkdir+set}" = set; then
   2506     MKDIR_P="$ac_cv_path_mkdir -p"
   2507   else
   2508     # As a last resort, use the slow shell script.  Don't cache a
   2509     # value for MKDIR_P within a source directory, because that will
   2510     # break other packages using the cache if that directory is
   2511     # removed, or if the value is a relative name.
   2512     MKDIR_P="$ac_install_sh -d"
   2513   fi
   2514 fi
   2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2516 $as_echo "$MKDIR_P" >&6; }
   2517 
   2518 mkdir_p="$MKDIR_P"
   2519 case $mkdir_p in
   2520   [\\/$]* | ?:[\\/]*) ;;
   2521   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2522 esac
   2523 
   2524 for ac_prog in gawk mawk nawk awk
   2525 do
   2526   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2527 set dummy $ac_prog; ac_word=$2
   2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2529 $as_echo_n "checking for $ac_word... " >&6; }
   2530 if ${ac_cv_prog_AWK+:} false; then :
   2531   $as_echo_n "(cached) " >&6
   2532 else
   2533   if test -n "$AWK"; then
   2534   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2535 else
   2536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2537 for as_dir in $PATH
   2538 do
   2539   IFS=$as_save_IFS
   2540   test -z "$as_dir" && as_dir=.
   2541     for ac_exec_ext in '' $ac_executable_extensions; do
   2542   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2543     ac_cv_prog_AWK="$ac_prog"
   2544     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2545     break 2
   2546   fi
   2547 done
   2548   done
   2549 IFS=$as_save_IFS
   2550 
   2551 fi
   2552 fi
   2553 AWK=$ac_cv_prog_AWK
   2554 if test -n "$AWK"; then
   2555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2556 $as_echo "$AWK" >&6; }
   2557 else
   2558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2559 $as_echo "no" >&6; }
   2560 fi
   2561 
   2562 
   2563   test -n "$AWK" && break
   2564 done
   2565 
   2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2567 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2568 set x ${MAKE-make}
   2569 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2570 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2571   $as_echo_n "(cached) " >&6
   2572 else
   2573   cat >conftest.make <<\_ACEOF
   2574 SHELL = /bin/sh
   2575 all:
   2576 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2577 _ACEOF
   2578 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2579 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2580   *@@@%%%=?*=@@@%%%*)
   2581     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2582   *)
   2583     eval ac_cv_prog_make_${ac_make}_set=no;;
   2584 esac
   2585 rm -f conftest.make
   2586 fi
   2587 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2589 $as_echo "yes" >&6; }
   2590   SET_MAKE=
   2591 else
   2592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2593 $as_echo "no" >&6; }
   2594   SET_MAKE="MAKE=${MAKE-make}"
   2595 fi
   2596 
   2597 rm -rf .tst 2>/dev/null
   2598 mkdir .tst 2>/dev/null
   2599 if test -d .tst; then
   2600   am__leading_dot=.
   2601 else
   2602   am__leading_dot=_
   2603 fi
   2604 rmdir .tst 2>/dev/null
   2605 
   2606 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2607   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2608   # is not polluted with repeated "-I."
   2609   am__isrc=' -I$(srcdir)'
   2610   # test to see if srcdir already configured
   2611   if test -f $srcdir/config.status; then
   2612     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2613   fi
   2614 fi
   2615 
   2616 # test whether we have cygpath
   2617 if test -z "$CYGPATH_W"; then
   2618   if (cygpath --version) >/dev/null 2>/dev/null; then
   2619     CYGPATH_W='cygpath -w'
   2620   else
   2621     CYGPATH_W=echo
   2622   fi
   2623 fi
   2624 
   2625 
   2626 # Define the identity of the package.
   2627  PACKAGE='xedit'
   2628  VERSION='1.2.1'
   2629 
   2630 
   2631 cat >>confdefs.h <<_ACEOF
   2632 #define PACKAGE "$PACKAGE"
   2633 _ACEOF
   2634 
   2635 
   2636 cat >>confdefs.h <<_ACEOF
   2637 #define VERSION "$VERSION"
   2638 _ACEOF
   2639 
   2640 # Some tools Automake needs.
   2641 
   2642 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2643 
   2644 
   2645 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2646 
   2647 
   2648 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2649 
   2650 
   2651 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2652 
   2653 
   2654 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2655 
   2656 # We need awk for the "check" target.  The system "awk" is bad on
   2657 # some platforms.
   2658 # Always define AMTAR for backward compatibility.
   2659 
   2660 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2661 
   2662 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2663 
   2664 
   2665 
   2666 
   2667 
   2668 
   2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2670 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2671     # Check whether --enable-maintainer-mode was given.
   2672 if test "${enable_maintainer_mode+set}" = set; then :
   2673   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2674 else
   2675   USE_MAINTAINER_MODE=no
   2676 fi
   2677 
   2678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2679 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2680    if test $USE_MAINTAINER_MODE = yes; then
   2681   MAINTAINER_MODE_TRUE=
   2682   MAINTAINER_MODE_FALSE='#'
   2683 else
   2684   MAINTAINER_MODE_TRUE='#'
   2685   MAINTAINER_MODE_FALSE=
   2686 fi
   2687 
   2688   MAINT=$MAINTAINER_MODE_TRUE
   2689 
   2690 
   2691 
   2692 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2693 
   2694 
   2695 
   2696 
   2697 
   2698 
   2699 
   2700 
   2701 
   2702 
   2703 
   2704 DEPDIR="${am__leading_dot}deps"
   2705 
   2706 ac_config_commands="$ac_config_commands depfiles"
   2707 
   2708 
   2709 am_make=${MAKE-make}
   2710 cat > confinc << 'END'
   2711 am__doit:
   2712 	@echo this is the am__doit target
   2713 .PHONY: am__doit
   2714 END
   2715 # If we don't find an include directive, just comment out the code.
   2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2717 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2718 am__include="#"
   2719 am__quote=
   2720 _am_result=none
   2721 # First try GNU make style include.
   2722 echo "include confinc" > confmf
   2723 # Ignore all kinds of additional output from `make'.
   2724 case `$am_make -s -f confmf 2> /dev/null` in #(
   2725 *the\ am__doit\ target*)
   2726   am__include=include
   2727   am__quote=
   2728   _am_result=GNU
   2729   ;;
   2730 esac
   2731 # Now try BSD make style include.
   2732 if test "$am__include" = "#"; then
   2733    echo '.include "confinc"' > confmf
   2734    case `$am_make -s -f confmf 2> /dev/null` in #(
   2735    *the\ am__doit\ target*)
   2736      am__include=.include
   2737      am__quote="\""
   2738      _am_result=BSD
   2739      ;;
   2740    esac
   2741 fi
   2742 
   2743 
   2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2745 $as_echo "$_am_result" >&6; }
   2746 rm -f confinc confmf
   2747 
   2748 # Check whether --enable-dependency-tracking was given.
   2749 if test "${enable_dependency_tracking+set}" = set; then :
   2750   enableval=$enable_dependency_tracking;
   2751 fi
   2752 
   2753 if test "x$enable_dependency_tracking" != xno; then
   2754   am_depcomp="$ac_aux_dir/depcomp"
   2755   AMDEPBACKSLASH='\'
   2756   am__nodep='_no'
   2757 fi
   2758  if test "x$enable_dependency_tracking" != xno; then
   2759   AMDEP_TRUE=
   2760   AMDEP_FALSE='#'
   2761 else
   2762   AMDEP_TRUE='#'
   2763   AMDEP_FALSE=
   2764 fi
   2765 
   2766 
   2767 ac_ext=c
   2768 ac_cpp='$CPP $CPPFLAGS'
   2769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2772 if test -n "$ac_tool_prefix"; then
   2773   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2774 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2776 $as_echo_n "checking for $ac_word... " >&6; }
   2777 if ${ac_cv_prog_CC+:} false; then :
   2778   $as_echo_n "(cached) " >&6
   2779 else
   2780   if test -n "$CC"; then
   2781   ac_cv_prog_CC="$CC" # Let the user override the test.
   2782 else
   2783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2784 for as_dir in $PATH
   2785 do
   2786   IFS=$as_save_IFS
   2787   test -z "$as_dir" && as_dir=.
   2788     for ac_exec_ext in '' $ac_executable_extensions; do
   2789   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2790     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2791     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2792     break 2
   2793   fi
   2794 done
   2795   done
   2796 IFS=$as_save_IFS
   2797 
   2798 fi
   2799 fi
   2800 CC=$ac_cv_prog_CC
   2801 if test -n "$CC"; then
   2802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2803 $as_echo "$CC" >&6; }
   2804 else
   2805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2806 $as_echo "no" >&6; }
   2807 fi
   2808 
   2809 
   2810 fi
   2811 if test -z "$ac_cv_prog_CC"; then
   2812   ac_ct_CC=$CC
   2813   # Extract the first word of "gcc", so it can be a program name with args.
   2814 set dummy gcc; ac_word=$2
   2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2816 $as_echo_n "checking for $ac_word... " >&6; }
   2817 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2818   $as_echo_n "(cached) " >&6
   2819 else
   2820   if test -n "$ac_ct_CC"; then
   2821   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2822 else
   2823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2824 for as_dir in $PATH
   2825 do
   2826   IFS=$as_save_IFS
   2827   test -z "$as_dir" && as_dir=.
   2828     for ac_exec_ext in '' $ac_executable_extensions; do
   2829   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2830     ac_cv_prog_ac_ct_CC="gcc"
   2831     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2832     break 2
   2833   fi
   2834 done
   2835   done
   2836 IFS=$as_save_IFS
   2837 
   2838 fi
   2839 fi
   2840 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2841 if test -n "$ac_ct_CC"; then
   2842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2843 $as_echo "$ac_ct_CC" >&6; }
   2844 else
   2845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2846 $as_echo "no" >&6; }
   2847 fi
   2848 
   2849   if test "x$ac_ct_CC" = x; then
   2850     CC=""
   2851   else
   2852     case $cross_compiling:$ac_tool_warned in
   2853 yes:)
   2854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2855 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2856 ac_tool_warned=yes ;;
   2857 esac
   2858     CC=$ac_ct_CC
   2859   fi
   2860 else
   2861   CC="$ac_cv_prog_CC"
   2862 fi
   2863 
   2864 if test -z "$CC"; then
   2865           if test -n "$ac_tool_prefix"; then
   2866     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2867 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2869 $as_echo_n "checking for $ac_word... " >&6; }
   2870 if ${ac_cv_prog_CC+:} false; then :
   2871   $as_echo_n "(cached) " >&6
   2872 else
   2873   if test -n "$CC"; then
   2874   ac_cv_prog_CC="$CC" # Let the user override the test.
   2875 else
   2876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2877 for as_dir in $PATH
   2878 do
   2879   IFS=$as_save_IFS
   2880   test -z "$as_dir" && as_dir=.
   2881     for ac_exec_ext in '' $ac_executable_extensions; do
   2882   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2883     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2884     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2885     break 2
   2886   fi
   2887 done
   2888   done
   2889 IFS=$as_save_IFS
   2890 
   2891 fi
   2892 fi
   2893 CC=$ac_cv_prog_CC
   2894 if test -n "$CC"; then
   2895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2896 $as_echo "$CC" >&6; }
   2897 else
   2898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2899 $as_echo "no" >&6; }
   2900 fi
   2901 
   2902 
   2903   fi
   2904 fi
   2905 if test -z "$CC"; then
   2906   # Extract the first word of "cc", so it can be a program name with args.
   2907 set dummy cc; ac_word=$2
   2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2909 $as_echo_n "checking for $ac_word... " >&6; }
   2910 if ${ac_cv_prog_CC+:} false; then :
   2911   $as_echo_n "(cached) " >&6
   2912 else
   2913   if test -n "$CC"; then
   2914   ac_cv_prog_CC="$CC" # Let the user override the test.
   2915 else
   2916   ac_prog_rejected=no
   2917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2918 for as_dir in $PATH
   2919 do
   2920   IFS=$as_save_IFS
   2921   test -z "$as_dir" && as_dir=.
   2922     for ac_exec_ext in '' $ac_executable_extensions; do
   2923   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2924     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2925        ac_prog_rejected=yes
   2926        continue
   2927      fi
   2928     ac_cv_prog_CC="cc"
   2929     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2930     break 2
   2931   fi
   2932 done
   2933   done
   2934 IFS=$as_save_IFS
   2935 
   2936 if test $ac_prog_rejected = yes; then
   2937   # We found a bogon in the path, so make sure we never use it.
   2938   set dummy $ac_cv_prog_CC
   2939   shift
   2940   if test $# != 0; then
   2941     # We chose a different compiler from the bogus one.
   2942     # However, it has the same basename, so the bogon will be chosen
   2943     # first if we set CC to just the basename; use the full file name.
   2944     shift
   2945     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2946   fi
   2947 fi
   2948 fi
   2949 fi
   2950 CC=$ac_cv_prog_CC
   2951 if test -n "$CC"; then
   2952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2953 $as_echo "$CC" >&6; }
   2954 else
   2955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2956 $as_echo "no" >&6; }
   2957 fi
   2958 
   2959 
   2960 fi
   2961 if test -z "$CC"; then
   2962   if test -n "$ac_tool_prefix"; then
   2963   for ac_prog in cl.exe
   2964   do
   2965     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2966 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2968 $as_echo_n "checking for $ac_word... " >&6; }
   2969 if ${ac_cv_prog_CC+:} false; then :
   2970   $as_echo_n "(cached) " >&6
   2971 else
   2972   if test -n "$CC"; then
   2973   ac_cv_prog_CC="$CC" # Let the user override the test.
   2974 else
   2975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2976 for as_dir in $PATH
   2977 do
   2978   IFS=$as_save_IFS
   2979   test -z "$as_dir" && as_dir=.
   2980     for ac_exec_ext in '' $ac_executable_extensions; do
   2981   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2982     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2983     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2984     break 2
   2985   fi
   2986 done
   2987   done
   2988 IFS=$as_save_IFS
   2989 
   2990 fi
   2991 fi
   2992 CC=$ac_cv_prog_CC
   2993 if test -n "$CC"; then
   2994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2995 $as_echo "$CC" >&6; }
   2996 else
   2997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2998 $as_echo "no" >&6; }
   2999 fi
   3000 
   3001 
   3002     test -n "$CC" && break
   3003   done
   3004 fi
   3005 if test -z "$CC"; then
   3006   ac_ct_CC=$CC
   3007   for ac_prog in cl.exe
   3008 do
   3009   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3010 set dummy $ac_prog; ac_word=$2
   3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3012 $as_echo_n "checking for $ac_word... " >&6; }
   3013 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3014   $as_echo_n "(cached) " >&6
   3015 else
   3016   if test -n "$ac_ct_CC"; then
   3017   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3018 else
   3019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3020 for as_dir in $PATH
   3021 do
   3022   IFS=$as_save_IFS
   3023   test -z "$as_dir" && as_dir=.
   3024     for ac_exec_ext in '' $ac_executable_extensions; do
   3025   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3026     ac_cv_prog_ac_ct_CC="$ac_prog"
   3027     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3028     break 2
   3029   fi
   3030 done
   3031   done
   3032 IFS=$as_save_IFS
   3033 
   3034 fi
   3035 fi
   3036 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3037 if test -n "$ac_ct_CC"; then
   3038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3039 $as_echo "$ac_ct_CC" >&6; }
   3040 else
   3041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3042 $as_echo "no" >&6; }
   3043 fi
   3044 
   3045 
   3046   test -n "$ac_ct_CC" && break
   3047 done
   3048 
   3049   if test "x$ac_ct_CC" = x; then
   3050     CC=""
   3051   else
   3052     case $cross_compiling:$ac_tool_warned in
   3053 yes:)
   3054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3055 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3056 ac_tool_warned=yes ;;
   3057 esac
   3058     CC=$ac_ct_CC
   3059   fi
   3060 fi
   3061 
   3062 fi
   3063 
   3064 
   3065 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3067 as_fn_error $? "no acceptable C compiler found in \$PATH
   3068 See \`config.log' for more details" "$LINENO" 5; }
   3069 
   3070 # Provide some information about the compiler.
   3071 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3072 set X $ac_compile
   3073 ac_compiler=$2
   3074 for ac_option in --version -v -V -qversion; do
   3075   { { ac_try="$ac_compiler $ac_option >&5"
   3076 case "(($ac_try" in
   3077   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3078   *) ac_try_echo=$ac_try;;
   3079 esac
   3080 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3081 $as_echo "$ac_try_echo"; } >&5
   3082   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3083   ac_status=$?
   3084   if test -s conftest.err; then
   3085     sed '10a\
   3086 ... rest of stderr output deleted ...
   3087          10q' conftest.err >conftest.er1
   3088     cat conftest.er1 >&5
   3089   fi
   3090   rm -f conftest.er1 conftest.err
   3091   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3092   test $ac_status = 0; }
   3093 done
   3094 
   3095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3096 /* end confdefs.h.  */
   3097 
   3098 int
   3099 main ()
   3100 {
   3101 
   3102   ;
   3103   return 0;
   3104 }
   3105 _ACEOF
   3106 ac_clean_files_save=$ac_clean_files
   3107 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3108 # Try to create an executable without -o first, disregard a.out.
   3109 # It will help us diagnose broken compilers, and finding out an intuition
   3110 # of exeext.
   3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3112 $as_echo_n "checking whether the C compiler works... " >&6; }
   3113 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3114 
   3115 # The possible output files:
   3116 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3117 
   3118 ac_rmfiles=
   3119 for ac_file in $ac_files
   3120 do
   3121   case $ac_file in
   3122     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3123     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3124   esac
   3125 done
   3126 rm -f $ac_rmfiles
   3127 
   3128 if { { ac_try="$ac_link_default"
   3129 case "(($ac_try" in
   3130   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3131   *) ac_try_echo=$ac_try;;
   3132 esac
   3133 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3134 $as_echo "$ac_try_echo"; } >&5
   3135   (eval "$ac_link_default") 2>&5
   3136   ac_status=$?
   3137   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3138   test $ac_status = 0; }; then :
   3139   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3140 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3141 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3142 # so that the user can short-circuit this test for compilers unknown to
   3143 # Autoconf.
   3144 for ac_file in $ac_files ''
   3145 do
   3146   test -f "$ac_file" || continue
   3147   case $ac_file in
   3148     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3149 	;;
   3150     [ab].out )
   3151 	# We found the default executable, but exeext='' is most
   3152 	# certainly right.
   3153 	break;;
   3154     *.* )
   3155 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3156 	then :; else
   3157 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3158 	fi
   3159 	# We set ac_cv_exeext here because the later test for it is not
   3160 	# safe: cross compilers may not add the suffix if given an `-o'
   3161 	# argument, so we may need to know it at that point already.
   3162 	# Even if this section looks crufty: it has the advantage of
   3163 	# actually working.
   3164 	break;;
   3165     * )
   3166 	break;;
   3167   esac
   3168 done
   3169 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3170 
   3171 else
   3172   ac_file=''
   3173 fi
   3174 if test -z "$ac_file"; then :
   3175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3176 $as_echo "no" >&6; }
   3177 $as_echo "$as_me: failed program was:" >&5
   3178 sed 's/^/| /' conftest.$ac_ext >&5
   3179 
   3180 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3182 as_fn_error 77 "C compiler cannot create executables
   3183 See \`config.log' for more details" "$LINENO" 5; }
   3184 else
   3185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3186 $as_echo "yes" >&6; }
   3187 fi
   3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3189 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3191 $as_echo "$ac_file" >&6; }
   3192 ac_exeext=$ac_cv_exeext
   3193 
   3194 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3195 ac_clean_files=$ac_clean_files_save
   3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3197 $as_echo_n "checking for suffix of executables... " >&6; }
   3198 if { { ac_try="$ac_link"
   3199 case "(($ac_try" in
   3200   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3201   *) ac_try_echo=$ac_try;;
   3202 esac
   3203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3204 $as_echo "$ac_try_echo"; } >&5
   3205   (eval "$ac_link") 2>&5
   3206   ac_status=$?
   3207   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3208   test $ac_status = 0; }; then :
   3209   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3210 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3211 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3212 # `rm'.
   3213 for ac_file in conftest.exe conftest conftest.*; do
   3214   test -f "$ac_file" || continue
   3215   case $ac_file in
   3216     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3217     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3218 	  break;;
   3219     * ) break;;
   3220   esac
   3221 done
   3222 else
   3223   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3225 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3226 See \`config.log' for more details" "$LINENO" 5; }
   3227 fi
   3228 rm -f conftest conftest$ac_cv_exeext
   3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3230 $as_echo "$ac_cv_exeext" >&6; }
   3231 
   3232 rm -f conftest.$ac_ext
   3233 EXEEXT=$ac_cv_exeext
   3234 ac_exeext=$EXEEXT
   3235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3236 /* end confdefs.h.  */
   3237 #include <stdio.h>
   3238 int
   3239 main ()
   3240 {
   3241 FILE *f = fopen ("conftest.out", "w");
   3242  return ferror (f) || fclose (f) != 0;
   3243 
   3244   ;
   3245   return 0;
   3246 }
   3247 _ACEOF
   3248 ac_clean_files="$ac_clean_files conftest.out"
   3249 # Check that the compiler produces executables we can run.  If not, either
   3250 # the compiler is broken, or we cross compile.
   3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3252 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3253 if test "$cross_compiling" != yes; then
   3254   { { ac_try="$ac_link"
   3255 case "(($ac_try" in
   3256   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3257   *) ac_try_echo=$ac_try;;
   3258 esac
   3259 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3260 $as_echo "$ac_try_echo"; } >&5
   3261   (eval "$ac_link") 2>&5
   3262   ac_status=$?
   3263   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3264   test $ac_status = 0; }
   3265   if { ac_try='./conftest$ac_cv_exeext'
   3266   { { case "(($ac_try" in
   3267   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3268   *) ac_try_echo=$ac_try;;
   3269 esac
   3270 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3271 $as_echo "$ac_try_echo"; } >&5
   3272   (eval "$ac_try") 2>&5
   3273   ac_status=$?
   3274   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3275   test $ac_status = 0; }; }; then
   3276     cross_compiling=no
   3277   else
   3278     if test "$cross_compiling" = maybe; then
   3279 	cross_compiling=yes
   3280     else
   3281 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3283 as_fn_error $? "cannot run C compiled programs.
   3284 If you meant to cross compile, use \`--host'.
   3285 See \`config.log' for more details" "$LINENO" 5; }
   3286     fi
   3287   fi
   3288 fi
   3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3290 $as_echo "$cross_compiling" >&6; }
   3291 
   3292 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3293 ac_clean_files=$ac_clean_files_save
   3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3295 $as_echo_n "checking for suffix of object files... " >&6; }
   3296 if ${ac_cv_objext+:} false; then :
   3297   $as_echo_n "(cached) " >&6
   3298 else
   3299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3300 /* end confdefs.h.  */
   3301 
   3302 int
   3303 main ()
   3304 {
   3305 
   3306   ;
   3307   return 0;
   3308 }
   3309 _ACEOF
   3310 rm -f conftest.o conftest.obj
   3311 if { { ac_try="$ac_compile"
   3312 case "(($ac_try" in
   3313   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3314   *) ac_try_echo=$ac_try;;
   3315 esac
   3316 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3317 $as_echo "$ac_try_echo"; } >&5
   3318   (eval "$ac_compile") 2>&5
   3319   ac_status=$?
   3320   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3321   test $ac_status = 0; }; then :
   3322   for ac_file in conftest.o conftest.obj conftest.*; do
   3323   test -f "$ac_file" || continue;
   3324   case $ac_file in
   3325     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3326     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3327        break;;
   3328   esac
   3329 done
   3330 else
   3331   $as_echo "$as_me: failed program was:" >&5
   3332 sed 's/^/| /' conftest.$ac_ext >&5
   3333 
   3334 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3335 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3336 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3337 See \`config.log' for more details" "$LINENO" 5; }
   3338 fi
   3339 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3340 fi
   3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3342 $as_echo "$ac_cv_objext" >&6; }
   3343 OBJEXT=$ac_cv_objext
   3344 ac_objext=$OBJEXT
   3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3346 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3347 if ${ac_cv_c_compiler_gnu+:} false; then :
   3348   $as_echo_n "(cached) " >&6
   3349 else
   3350   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3351 /* end confdefs.h.  */
   3352 
   3353 int
   3354 main ()
   3355 {
   3356 #ifndef __GNUC__
   3357        choke me
   3358 #endif
   3359 
   3360   ;
   3361   return 0;
   3362 }
   3363 _ACEOF
   3364 if ac_fn_c_try_compile "$LINENO"; then :
   3365   ac_compiler_gnu=yes
   3366 else
   3367   ac_compiler_gnu=no
   3368 fi
   3369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3370 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3371 
   3372 fi
   3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3374 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3375 if test $ac_compiler_gnu = yes; then
   3376   GCC=yes
   3377 else
   3378   GCC=
   3379 fi
   3380 ac_test_CFLAGS=${CFLAGS+set}
   3381 ac_save_CFLAGS=$CFLAGS
   3382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3383 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3384 if ${ac_cv_prog_cc_g+:} false; then :
   3385   $as_echo_n "(cached) " >&6
   3386 else
   3387   ac_save_c_werror_flag=$ac_c_werror_flag
   3388    ac_c_werror_flag=yes
   3389    ac_cv_prog_cc_g=no
   3390    CFLAGS="-g"
   3391    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3392 /* end confdefs.h.  */
   3393 
   3394 int
   3395 main ()
   3396 {
   3397 
   3398   ;
   3399   return 0;
   3400 }
   3401 _ACEOF
   3402 if ac_fn_c_try_compile "$LINENO"; then :
   3403   ac_cv_prog_cc_g=yes
   3404 else
   3405   CFLAGS=""
   3406       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3407 /* end confdefs.h.  */
   3408 
   3409 int
   3410 main ()
   3411 {
   3412 
   3413   ;
   3414   return 0;
   3415 }
   3416 _ACEOF
   3417 if ac_fn_c_try_compile "$LINENO"; then :
   3418 
   3419 else
   3420   ac_c_werror_flag=$ac_save_c_werror_flag
   3421 	 CFLAGS="-g"
   3422 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3423 /* end confdefs.h.  */
   3424 
   3425 int
   3426 main ()
   3427 {
   3428 
   3429   ;
   3430   return 0;
   3431 }
   3432 _ACEOF
   3433 if ac_fn_c_try_compile "$LINENO"; then :
   3434   ac_cv_prog_cc_g=yes
   3435 fi
   3436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3437 fi
   3438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3439 fi
   3440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3441    ac_c_werror_flag=$ac_save_c_werror_flag
   3442 fi
   3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3444 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3445 if test "$ac_test_CFLAGS" = set; then
   3446   CFLAGS=$ac_save_CFLAGS
   3447 elif test $ac_cv_prog_cc_g = yes; then
   3448   if test "$GCC" = yes; then
   3449     CFLAGS="-g -O2"
   3450   else
   3451     CFLAGS="-g"
   3452   fi
   3453 else
   3454   if test "$GCC" = yes; then
   3455     CFLAGS="-O2"
   3456   else
   3457     CFLAGS=
   3458   fi
   3459 fi
   3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3461 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3462 if ${ac_cv_prog_cc_c89+:} false; then :
   3463   $as_echo_n "(cached) " >&6
   3464 else
   3465   ac_cv_prog_cc_c89=no
   3466 ac_save_CC=$CC
   3467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3468 /* end confdefs.h.  */
   3469 #include <stdarg.h>
   3470 #include <stdio.h>
   3471 #include <sys/types.h>
   3472 #include <sys/stat.h>
   3473 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3474 struct buf { int x; };
   3475 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3476 static char *e (p, i)
   3477      char **p;
   3478      int i;
   3479 {
   3480   return p[i];
   3481 }
   3482 static char *f (char * (*g) (char **, int), char **p, ...)
   3483 {
   3484   char *s;
   3485   va_list v;
   3486   va_start (v,p);
   3487   s = g (p, va_arg (v,int));
   3488   va_end (v);
   3489   return s;
   3490 }
   3491 
   3492 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3493    function prototypes and stuff, but not '\xHH' hex character constants.
   3494    These don't provoke an error unfortunately, instead are silently treated
   3495    as 'x'.  The following induces an error, until -std is added to get
   3496    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3497    array size at least.  It's necessary to write '\x00'==0 to get something
   3498    that's true only with -std.  */
   3499 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3500 
   3501 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3502    inside strings and character constants.  */
   3503 #define FOO(x) 'x'
   3504 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3505 
   3506 int test (int i, double x);
   3507 struct s1 {int (*f) (int a);};
   3508 struct s2 {int (*f) (double a);};
   3509 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3510 int argc;
   3511 char **argv;
   3512 int
   3513 main ()
   3514 {
   3515 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3516   ;
   3517   return 0;
   3518 }
   3519 _ACEOF
   3520 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3521 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3522 do
   3523   CC="$ac_save_CC $ac_arg"
   3524   if ac_fn_c_try_compile "$LINENO"; then :
   3525   ac_cv_prog_cc_c89=$ac_arg
   3526 fi
   3527 rm -f core conftest.err conftest.$ac_objext
   3528   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3529 done
   3530 rm -f conftest.$ac_ext
   3531 CC=$ac_save_CC
   3532 
   3533 fi
   3534 # AC_CACHE_VAL
   3535 case "x$ac_cv_prog_cc_c89" in
   3536   x)
   3537     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3538 $as_echo "none needed" >&6; } ;;
   3539   xno)
   3540     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3541 $as_echo "unsupported" >&6; } ;;
   3542   *)
   3543     CC="$CC $ac_cv_prog_cc_c89"
   3544     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3545 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3546 esac
   3547 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3548 
   3549 fi
   3550 
   3551 ac_ext=c
   3552 ac_cpp='$CPP $CPPFLAGS'
   3553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3556 
   3557 depcc="$CC"   am_compiler_list=
   3558 
   3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3560 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3561 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3562   $as_echo_n "(cached) " >&6
   3563 else
   3564   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3565   # We make a subdir and do the tests there.  Otherwise we can end up
   3566   # making bogus files that we don't know about and never remove.  For
   3567   # instance it was reported that on HP-UX the gcc test will end up
   3568   # making a dummy file named `D' -- because `-MD' means `put the output
   3569   # in D'.
   3570   rm -rf conftest.dir
   3571   mkdir conftest.dir
   3572   # Copy depcomp to subdir because otherwise we won't find it if we're
   3573   # using a relative directory.
   3574   cp "$am_depcomp" conftest.dir
   3575   cd conftest.dir
   3576   # We will build objects and dependencies in a subdirectory because
   3577   # it helps to detect inapplicable dependency modes.  For instance
   3578   # both Tru64's cc and ICC support -MD to output dependencies as a
   3579   # side effect of compilation, but ICC will put the dependencies in
   3580   # the current directory while Tru64 will put them in the object
   3581   # directory.
   3582   mkdir sub
   3583 
   3584   am_cv_CC_dependencies_compiler_type=none
   3585   if test "$am_compiler_list" = ""; then
   3586      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3587   fi
   3588   am__universal=false
   3589   case " $depcc " in #(
   3590      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3591      esac
   3592 
   3593   for depmode in $am_compiler_list; do
   3594     # Setup a source with many dependencies, because some compilers
   3595     # like to wrap large dependency lists on column 80 (with \), and
   3596     # we should not choose a depcomp mode which is confused by this.
   3597     #
   3598     # We need to recreate these files for each test, as the compiler may
   3599     # overwrite some of them when testing with obscure command lines.
   3600     # This happens at least with the AIX C compiler.
   3601     : > sub/conftest.c
   3602     for i in 1 2 3 4 5 6; do
   3603       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3604       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3605       # Solaris 8's {/usr,}/bin/sh.
   3606       touch sub/conftst$i.h
   3607     done
   3608     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3609 
   3610     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3611     # mode.  It turns out that the SunPro C++ compiler does not properly
   3612     # handle `-M -o', and we need to detect this.  Also, some Intel
   3613     # versions had trouble with output in subdirs
   3614     am__obj=sub/conftest.${OBJEXT-o}
   3615     am__minus_obj="-o $am__obj"
   3616     case $depmode in
   3617     gcc)
   3618       # This depmode causes a compiler race in universal mode.
   3619       test "$am__universal" = false || continue
   3620       ;;
   3621     nosideeffect)
   3622       # after this tag, mechanisms are not by side-effect, so they'll
   3623       # only be used when explicitly requested
   3624       if test "x$enable_dependency_tracking" = xyes; then
   3625 	continue
   3626       else
   3627 	break
   3628       fi
   3629       ;;
   3630     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3631       # This compiler won't grok `-c -o', but also, the minuso test has
   3632       # not run yet.  These depmodes are late enough in the game, and
   3633       # so weak that their functioning should not be impacted.
   3634       am__obj=conftest.${OBJEXT-o}
   3635       am__minus_obj=
   3636       ;;
   3637     none) break ;;
   3638     esac
   3639     if depmode=$depmode \
   3640        source=sub/conftest.c object=$am__obj \
   3641        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3642        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3643          >/dev/null 2>conftest.err &&
   3644        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3645        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3646        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3647        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3648       # icc doesn't choke on unknown options, it will just issue warnings
   3649       # or remarks (even with -Werror).  So we grep stderr for any message
   3650       # that says an option was ignored or not supported.
   3651       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3652       #   icc: Command line warning: ignoring option '-M'; no argument required
   3653       # The diagnosis changed in icc 8.0:
   3654       #   icc: Command line remark: option '-MP' not supported
   3655       if (grep 'ignoring option' conftest.err ||
   3656           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3657         am_cv_CC_dependencies_compiler_type=$depmode
   3658         break
   3659       fi
   3660     fi
   3661   done
   3662 
   3663   cd ..
   3664   rm -rf conftest.dir
   3665 else
   3666   am_cv_CC_dependencies_compiler_type=none
   3667 fi
   3668 
   3669 fi
   3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3671 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3672 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3673 
   3674  if
   3675   test "x$enable_dependency_tracking" != xno \
   3676   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3677   am__fastdepCC_TRUE=
   3678   am__fastdepCC_FALSE='#'
   3679 else
   3680   am__fastdepCC_TRUE='#'
   3681   am__fastdepCC_FALSE=
   3682 fi
   3683 
   3684 
   3685    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3686 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3687 if ${ac_cv_prog_cc_c99+:} false; then :
   3688   $as_echo_n "(cached) " >&6
   3689 else
   3690   ac_cv_prog_cc_c99=no
   3691 ac_save_CC=$CC
   3692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3693 /* end confdefs.h.  */
   3694 #include <stdarg.h>
   3695 #include <stdbool.h>
   3696 #include <stdlib.h>
   3697 #include <wchar.h>
   3698 #include <stdio.h>
   3699 
   3700 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3701 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3702 #define showlist(...) puts (#__VA_ARGS__)
   3703 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3704 static void
   3705 test_varargs_macros (void)
   3706 {
   3707   int x = 1234;
   3708   int y = 5678;
   3709   debug ("Flag");
   3710   debug ("X = %d\n", x);
   3711   showlist (The first, second, and third items.);
   3712   report (x>y, "x is %d but y is %d", x, y);
   3713 }
   3714 
   3715 // Check long long types.
   3716 #define BIG64 18446744073709551615ull
   3717 #define BIG32 4294967295ul
   3718 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3719 #if !BIG_OK
   3720   your preprocessor is broken;
   3721 #endif
   3722 #if BIG_OK
   3723 #else
   3724   your preprocessor is broken;
   3725 #endif
   3726 static long long int bignum = -9223372036854775807LL;
   3727 static unsigned long long int ubignum = BIG64;
   3728 
   3729 struct incomplete_array
   3730 {
   3731   int datasize;
   3732   double data[];
   3733 };
   3734 
   3735 struct named_init {
   3736   int number;
   3737   const wchar_t *name;
   3738   double average;
   3739 };
   3740 
   3741 typedef const char *ccp;
   3742 
   3743 static inline int
   3744 test_restrict (ccp restrict text)
   3745 {
   3746   // See if C++-style comments work.
   3747   // Iterate through items via the restricted pointer.
   3748   // Also check for declarations in for loops.
   3749   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3750     continue;
   3751   return 0;
   3752 }
   3753 
   3754 // Check varargs and va_copy.
   3755 static void
   3756 test_varargs (const char *format, ...)
   3757 {
   3758   va_list args;
   3759   va_start (args, format);
   3760   va_list args_copy;
   3761   va_copy (args_copy, args);
   3762 
   3763   const char *str;
   3764   int number;
   3765   float fnumber;
   3766 
   3767   while (*format)
   3768     {
   3769       switch (*format++)
   3770 	{
   3771 	case 's': // string
   3772 	  str = va_arg (args_copy, const char *);
   3773 	  break;
   3774 	case 'd': // int
   3775 	  number = va_arg (args_copy, int);
   3776 	  break;
   3777 	case 'f': // float
   3778 	  fnumber = va_arg (args_copy, double);
   3779 	  break;
   3780 	default:
   3781 	  break;
   3782 	}
   3783     }
   3784   va_end (args_copy);
   3785   va_end (args);
   3786 }
   3787 
   3788 int
   3789 main ()
   3790 {
   3791 
   3792   // Check bool.
   3793   _Bool success = false;
   3794 
   3795   // Check restrict.
   3796   if (test_restrict ("String literal") == 0)
   3797     success = true;
   3798   char *restrict newvar = "Another string";
   3799 
   3800   // Check varargs.
   3801   test_varargs ("s, d' f .", "string", 65, 34.234);
   3802   test_varargs_macros ();
   3803 
   3804   // Check flexible array members.
   3805   struct incomplete_array *ia =
   3806     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3807   ia->datasize = 10;
   3808   for (int i = 0; i < ia->datasize; ++i)
   3809     ia->data[i] = i * 1.234;
   3810 
   3811   // Check named initializers.
   3812   struct named_init ni = {
   3813     .number = 34,
   3814     .name = L"Test wide string",
   3815     .average = 543.34343,
   3816   };
   3817 
   3818   ni.number = 58;
   3819 
   3820   int dynamic_array[ni.number];
   3821   dynamic_array[ni.number - 1] = 543;
   3822 
   3823   // work around unused variable warnings
   3824   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3825 	  || dynamic_array[ni.number - 1] != 543);
   3826 
   3827   ;
   3828   return 0;
   3829 }
   3830 _ACEOF
   3831 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3832 do
   3833   CC="$ac_save_CC $ac_arg"
   3834   if ac_fn_c_try_compile "$LINENO"; then :
   3835   ac_cv_prog_cc_c99=$ac_arg
   3836 fi
   3837 rm -f core conftest.err conftest.$ac_objext
   3838   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3839 done
   3840 rm -f conftest.$ac_ext
   3841 CC=$ac_save_CC
   3842 
   3843 fi
   3844 # AC_CACHE_VAL
   3845 case "x$ac_cv_prog_cc_c99" in
   3846   x)
   3847     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3848 $as_echo "none needed" >&6; } ;;
   3849   xno)
   3850     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3851 $as_echo "unsupported" >&6; } ;;
   3852   *)
   3853     CC="$CC $ac_cv_prog_cc_c99"
   3854     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3855 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3856 esac
   3857 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3858 
   3859 fi
   3860 
   3861 
   3862 
   3863 ac_ext=c
   3864 ac_cpp='$CPP $CPPFLAGS'
   3865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3869 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3870 # On Suns, sometimes $CPP names a directory.
   3871 if test -n "$CPP" && test -d "$CPP"; then
   3872   CPP=
   3873 fi
   3874 if test -z "$CPP"; then
   3875   if ${ac_cv_prog_CPP+:} false; then :
   3876   $as_echo_n "(cached) " >&6
   3877 else
   3878       # Double quotes because CPP needs to be expanded
   3879     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3880     do
   3881       ac_preproc_ok=false
   3882 for ac_c_preproc_warn_flag in '' yes
   3883 do
   3884   # Use a header file that comes with gcc, so configuring glibc
   3885   # with a fresh cross-compiler works.
   3886   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3887   # <limits.h> exists even on freestanding compilers.
   3888   # On the NeXT, cc -E runs the code through the compiler's parser,
   3889   # not just through cpp. "Syntax error" is here to catch this case.
   3890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3891 /* end confdefs.h.  */
   3892 #ifdef __STDC__
   3893 # include <limits.h>
   3894 #else
   3895 # include <assert.h>
   3896 #endif
   3897 		     Syntax error
   3898 _ACEOF
   3899 if ac_fn_c_try_cpp "$LINENO"; then :
   3900 
   3901 else
   3902   # Broken: fails on valid input.
   3903 continue
   3904 fi
   3905 rm -f conftest.err conftest.i conftest.$ac_ext
   3906 
   3907   # OK, works on sane cases.  Now check whether nonexistent headers
   3908   # can be detected and how.
   3909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3910 /* end confdefs.h.  */
   3911 #include <ac_nonexistent.h>
   3912 _ACEOF
   3913 if ac_fn_c_try_cpp "$LINENO"; then :
   3914   # Broken: success on invalid input.
   3915 continue
   3916 else
   3917   # Passes both tests.
   3918 ac_preproc_ok=:
   3919 break
   3920 fi
   3921 rm -f conftest.err conftest.i conftest.$ac_ext
   3922 
   3923 done
   3924 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3925 rm -f conftest.i conftest.err conftest.$ac_ext
   3926 if $ac_preproc_ok; then :
   3927   break
   3928 fi
   3929 
   3930     done
   3931     ac_cv_prog_CPP=$CPP
   3932 
   3933 fi
   3934   CPP=$ac_cv_prog_CPP
   3935 else
   3936   ac_cv_prog_CPP=$CPP
   3937 fi
   3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3939 $as_echo "$CPP" >&6; }
   3940 ac_preproc_ok=false
   3941 for ac_c_preproc_warn_flag in '' yes
   3942 do
   3943   # Use a header file that comes with gcc, so configuring glibc
   3944   # with a fresh cross-compiler works.
   3945   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3946   # <limits.h> exists even on freestanding compilers.
   3947   # On the NeXT, cc -E runs the code through the compiler's parser,
   3948   # not just through cpp. "Syntax error" is here to catch this case.
   3949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3950 /* end confdefs.h.  */
   3951 #ifdef __STDC__
   3952 # include <limits.h>
   3953 #else
   3954 # include <assert.h>
   3955 #endif
   3956 		     Syntax error
   3957 _ACEOF
   3958 if ac_fn_c_try_cpp "$LINENO"; then :
   3959 
   3960 else
   3961   # Broken: fails on valid input.
   3962 continue
   3963 fi
   3964 rm -f conftest.err conftest.i conftest.$ac_ext
   3965 
   3966   # OK, works on sane cases.  Now check whether nonexistent headers
   3967   # can be detected and how.
   3968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3969 /* end confdefs.h.  */
   3970 #include <ac_nonexistent.h>
   3971 _ACEOF
   3972 if ac_fn_c_try_cpp "$LINENO"; then :
   3973   # Broken: success on invalid input.
   3974 continue
   3975 else
   3976   # Passes both tests.
   3977 ac_preproc_ok=:
   3978 break
   3979 fi
   3980 rm -f conftest.err conftest.i conftest.$ac_ext
   3981 
   3982 done
   3983 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3984 rm -f conftest.i conftest.err conftest.$ac_ext
   3985 if $ac_preproc_ok; then :
   3986 
   3987 else
   3988   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3989 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3990 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3991 See \`config.log' for more details" "$LINENO" 5; }
   3992 fi
   3993 
   3994 ac_ext=c
   3995 ac_cpp='$CPP $CPPFLAGS'
   3996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3999 
   4000 
   4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4002 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4003 if ${ac_cv_path_GREP+:} false; then :
   4004   $as_echo_n "(cached) " >&6
   4005 else
   4006   if test -z "$GREP"; then
   4007   ac_path_GREP_found=false
   4008   # Loop through the user's path and test for each of PROGNAME-LIST
   4009   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4010 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4011 do
   4012   IFS=$as_save_IFS
   4013   test -z "$as_dir" && as_dir=.
   4014     for ac_prog in grep ggrep; do
   4015     for ac_exec_ext in '' $ac_executable_extensions; do
   4016       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4017       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4018 # Check for GNU ac_path_GREP and select it if it is found.
   4019   # Check for GNU $ac_path_GREP
   4020 case `"$ac_path_GREP" --version 2>&1` in
   4021 *GNU*)
   4022   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4023 *)
   4024   ac_count=0
   4025   $as_echo_n 0123456789 >"conftest.in"
   4026   while :
   4027   do
   4028     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4029     mv "conftest.tmp" "conftest.in"
   4030     cp "conftest.in" "conftest.nl"
   4031     $as_echo 'GREP' >> "conftest.nl"
   4032     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4033     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4034     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4035     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4036       # Best one so far, save it but keep looking for a better one
   4037       ac_cv_path_GREP="$ac_path_GREP"
   4038       ac_path_GREP_max=$ac_count
   4039     fi
   4040     # 10*(2^10) chars as input seems more than enough
   4041     test $ac_count -gt 10 && break
   4042   done
   4043   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4044 esac
   4045 
   4046       $ac_path_GREP_found && break 3
   4047     done
   4048   done
   4049   done
   4050 IFS=$as_save_IFS
   4051   if test -z "$ac_cv_path_GREP"; then
   4052     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4053   fi
   4054 else
   4055   ac_cv_path_GREP=$GREP
   4056 fi
   4057 
   4058 fi
   4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4060 $as_echo "$ac_cv_path_GREP" >&6; }
   4061  GREP="$ac_cv_path_GREP"
   4062 
   4063 
   4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4065 $as_echo_n "checking for egrep... " >&6; }
   4066 if ${ac_cv_path_EGREP+:} false; then :
   4067   $as_echo_n "(cached) " >&6
   4068 else
   4069   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4070    then ac_cv_path_EGREP="$GREP -E"
   4071    else
   4072      if test -z "$EGREP"; then
   4073   ac_path_EGREP_found=false
   4074   # Loop through the user's path and test for each of PROGNAME-LIST
   4075   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4076 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4077 do
   4078   IFS=$as_save_IFS
   4079   test -z "$as_dir" && as_dir=.
   4080     for ac_prog in egrep; do
   4081     for ac_exec_ext in '' $ac_executable_extensions; do
   4082       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4083       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4084 # Check for GNU ac_path_EGREP and select it if it is found.
   4085   # Check for GNU $ac_path_EGREP
   4086 case `"$ac_path_EGREP" --version 2>&1` in
   4087 *GNU*)
   4088   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4089 *)
   4090   ac_count=0
   4091   $as_echo_n 0123456789 >"conftest.in"
   4092   while :
   4093   do
   4094     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4095     mv "conftest.tmp" "conftest.in"
   4096     cp "conftest.in" "conftest.nl"
   4097     $as_echo 'EGREP' >> "conftest.nl"
   4098     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4099     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4100     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4101     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4102       # Best one so far, save it but keep looking for a better one
   4103       ac_cv_path_EGREP="$ac_path_EGREP"
   4104       ac_path_EGREP_max=$ac_count
   4105     fi
   4106     # 10*(2^10) chars as input seems more than enough
   4107     test $ac_count -gt 10 && break
   4108   done
   4109   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4110 esac
   4111 
   4112       $ac_path_EGREP_found && break 3
   4113     done
   4114   done
   4115   done
   4116 IFS=$as_save_IFS
   4117   if test -z "$ac_cv_path_EGREP"; then
   4118     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4119   fi
   4120 else
   4121   ac_cv_path_EGREP=$EGREP
   4122 fi
   4123 
   4124    fi
   4125 fi
   4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4127 $as_echo "$ac_cv_path_EGREP" >&6; }
   4128  EGREP="$ac_cv_path_EGREP"
   4129 
   4130 
   4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4132 $as_echo_n "checking for ANSI C header files... " >&6; }
   4133 if ${ac_cv_header_stdc+:} false; then :
   4134   $as_echo_n "(cached) " >&6
   4135 else
   4136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4137 /* end confdefs.h.  */
   4138 #include <stdlib.h>
   4139 #include <stdarg.h>
   4140 #include <string.h>
   4141 #include <float.h>
   4142 
   4143 int
   4144 main ()
   4145 {
   4146 
   4147   ;
   4148   return 0;
   4149 }
   4150 _ACEOF
   4151 if ac_fn_c_try_compile "$LINENO"; then :
   4152   ac_cv_header_stdc=yes
   4153 else
   4154   ac_cv_header_stdc=no
   4155 fi
   4156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4157 
   4158 if test $ac_cv_header_stdc = yes; then
   4159   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4161 /* end confdefs.h.  */
   4162 #include <string.h>
   4163 
   4164 _ACEOF
   4165 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4166   $EGREP "memchr" >/dev/null 2>&1; then :
   4167 
   4168 else
   4169   ac_cv_header_stdc=no
   4170 fi
   4171 rm -f conftest*
   4172 
   4173 fi
   4174 
   4175 if test $ac_cv_header_stdc = yes; then
   4176   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4178 /* end confdefs.h.  */
   4179 #include <stdlib.h>
   4180 
   4181 _ACEOF
   4182 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4183   $EGREP "free" >/dev/null 2>&1; then :
   4184 
   4185 else
   4186   ac_cv_header_stdc=no
   4187 fi
   4188 rm -f conftest*
   4189 
   4190 fi
   4191 
   4192 if test $ac_cv_header_stdc = yes; then
   4193   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4194   if test "$cross_compiling" = yes; then :
   4195   :
   4196 else
   4197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4198 /* end confdefs.h.  */
   4199 #include <ctype.h>
   4200 #include <stdlib.h>
   4201 #if ((' ' & 0x0FF) == 0x020)
   4202 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4203 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4204 #else
   4205 # define ISLOWER(c) \
   4206 		   (('a' <= (c) && (c) <= 'i') \
   4207 		     || ('j' <= (c) && (c) <= 'r') \
   4208 		     || ('s' <= (c) && (c) <= 'z'))
   4209 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4210 #endif
   4211 
   4212 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4213 int
   4214 main ()
   4215 {
   4216   int i;
   4217   for (i = 0; i < 256; i++)
   4218     if (XOR (islower (i), ISLOWER (i))
   4219 	|| toupper (i) != TOUPPER (i))
   4220       return 2;
   4221   return 0;
   4222 }
   4223 _ACEOF
   4224 if ac_fn_c_try_run "$LINENO"; then :
   4225 
   4226 else
   4227   ac_cv_header_stdc=no
   4228 fi
   4229 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4230   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4231 fi
   4232 
   4233 fi
   4234 fi
   4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4236 $as_echo "$ac_cv_header_stdc" >&6; }
   4237 if test $ac_cv_header_stdc = yes; then
   4238 
   4239 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4240 
   4241 fi
   4242 
   4243 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4244 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4245 		  inttypes.h stdint.h unistd.h
   4246 do :
   4247   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4248 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4249 "
   4250 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4251   cat >>confdefs.h <<_ACEOF
   4252 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4253 _ACEOF
   4254 
   4255 fi
   4256 
   4257 done
   4258 
   4259 
   4260 
   4261 
   4262 
   4263 
   4264 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4265 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4266   CLANGCC="yes"
   4267 else
   4268   CLANGCC="no"
   4269 fi
   4270 
   4271 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4272 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4273   INTELCC="yes"
   4274 else
   4275   INTELCC="no"
   4276 fi
   4277 
   4278 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4279 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4280   SUNCC="yes"
   4281 else
   4282   SUNCC="no"
   4283 fi
   4284 
   4285 
   4286 
   4287 
   4288 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4289 	if test -n "$ac_tool_prefix"; then
   4290   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4291 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4293 $as_echo_n "checking for $ac_word... " >&6; }
   4294 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4295   $as_echo_n "(cached) " >&6
   4296 else
   4297   case $PKG_CONFIG in
   4298   [\\/]* | ?:[\\/]*)
   4299   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4300   ;;
   4301   *)
   4302   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4303 for as_dir in $PATH
   4304 do
   4305   IFS=$as_save_IFS
   4306   test -z "$as_dir" && as_dir=.
   4307     for ac_exec_ext in '' $ac_executable_extensions; do
   4308   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4309     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4310     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4311     break 2
   4312   fi
   4313 done
   4314   done
   4315 IFS=$as_save_IFS
   4316 
   4317   ;;
   4318 esac
   4319 fi
   4320 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4321 if test -n "$PKG_CONFIG"; then
   4322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4323 $as_echo "$PKG_CONFIG" >&6; }
   4324 else
   4325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4326 $as_echo "no" >&6; }
   4327 fi
   4328 
   4329 
   4330 fi
   4331 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4332   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4333   # Extract the first word of "pkg-config", so it can be a program name with args.
   4334 set dummy pkg-config; ac_word=$2
   4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4336 $as_echo_n "checking for $ac_word... " >&6; }
   4337 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4338   $as_echo_n "(cached) " >&6
   4339 else
   4340   case $ac_pt_PKG_CONFIG in
   4341   [\\/]* | ?:[\\/]*)
   4342   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4343   ;;
   4344   *)
   4345   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4346 for as_dir in $PATH
   4347 do
   4348   IFS=$as_save_IFS
   4349   test -z "$as_dir" && as_dir=.
   4350     for ac_exec_ext in '' $ac_executable_extensions; do
   4351   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4352     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4353     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4354     break 2
   4355   fi
   4356 done
   4357   done
   4358 IFS=$as_save_IFS
   4359 
   4360   ;;
   4361 esac
   4362 fi
   4363 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4364 if test -n "$ac_pt_PKG_CONFIG"; then
   4365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4366 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4367 else
   4368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4369 $as_echo "no" >&6; }
   4370 fi
   4371 
   4372   if test "x$ac_pt_PKG_CONFIG" = x; then
   4373     PKG_CONFIG=""
   4374   else
   4375     case $cross_compiling:$ac_tool_warned in
   4376 yes:)
   4377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4379 ac_tool_warned=yes ;;
   4380 esac
   4381     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4382   fi
   4383 else
   4384   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4385 fi
   4386 
   4387 fi
   4388 if test -n "$PKG_CONFIG"; then
   4389 	_pkg_min_version=0.9.0
   4390 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4391 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4392 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4393 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4394 $as_echo "yes" >&6; }
   4395 	else
   4396 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4397 $as_echo "no" >&6; }
   4398 		PKG_CONFIG=""
   4399 	fi
   4400 
   4401 fi
   4402 # Make sure we can run config.sub.
   4403 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4404   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4405 
   4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4407 $as_echo_n "checking build system type... " >&6; }
   4408 if ${ac_cv_build+:} false; then :
   4409   $as_echo_n "(cached) " >&6
   4410 else
   4411   ac_build_alias=$build_alias
   4412 test "x$ac_build_alias" = x &&
   4413   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4414 test "x$ac_build_alias" = x &&
   4415   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4416 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4417   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4418 
   4419 fi
   4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4421 $as_echo "$ac_cv_build" >&6; }
   4422 case $ac_cv_build in
   4423 *-*-*) ;;
   4424 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4425 esac
   4426 build=$ac_cv_build
   4427 ac_save_IFS=$IFS; IFS='-'
   4428 set x $ac_cv_build
   4429 shift
   4430 build_cpu=$1
   4431 build_vendor=$2
   4432 shift; shift
   4433 # Remember, the first character of IFS is used to create $*,
   4434 # except with old shells:
   4435 build_os=$*
   4436 IFS=$ac_save_IFS
   4437 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4438 
   4439 
   4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4441 $as_echo_n "checking host system type... " >&6; }
   4442 if ${ac_cv_host+:} false; then :
   4443   $as_echo_n "(cached) " >&6
   4444 else
   4445   if test "x$host_alias" = x; then
   4446   ac_cv_host=$ac_cv_build
   4447 else
   4448   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4449     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4450 fi
   4451 
   4452 fi
   4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4454 $as_echo "$ac_cv_host" >&6; }
   4455 case $ac_cv_host in
   4456 *-*-*) ;;
   4457 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4458 esac
   4459 host=$ac_cv_host
   4460 ac_save_IFS=$IFS; IFS='-'
   4461 set x $ac_cv_host
   4462 shift
   4463 host_cpu=$1
   4464 host_vendor=$2
   4465 shift; shift
   4466 # Remember, the first character of IFS is used to create $*,
   4467 # except with old shells:
   4468 host_os=$*
   4469 IFS=$ac_save_IFS
   4470 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4471 
   4472 
   4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4474 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4475 if ${ac_cv_path_SED+:} false; then :
   4476   $as_echo_n "(cached) " >&6
   4477 else
   4478             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4479      for ac_i in 1 2 3 4 5 6 7; do
   4480        ac_script="$ac_script$as_nl$ac_script"
   4481      done
   4482      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4483      { ac_script=; unset ac_script;}
   4484      if test -z "$SED"; then
   4485   ac_path_SED_found=false
   4486   # Loop through the user's path and test for each of PROGNAME-LIST
   4487   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4488 for as_dir in $PATH
   4489 do
   4490   IFS=$as_save_IFS
   4491   test -z "$as_dir" && as_dir=.
   4492     for ac_prog in sed gsed; do
   4493     for ac_exec_ext in '' $ac_executable_extensions; do
   4494       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4495       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4496 # Check for GNU ac_path_SED and select it if it is found.
   4497   # Check for GNU $ac_path_SED
   4498 case `"$ac_path_SED" --version 2>&1` in
   4499 *GNU*)
   4500   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4501 *)
   4502   ac_count=0
   4503   $as_echo_n 0123456789 >"conftest.in"
   4504   while :
   4505   do
   4506     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4507     mv "conftest.tmp" "conftest.in"
   4508     cp "conftest.in" "conftest.nl"
   4509     $as_echo '' >> "conftest.nl"
   4510     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4511     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4512     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4513     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4514       # Best one so far, save it but keep looking for a better one
   4515       ac_cv_path_SED="$ac_path_SED"
   4516       ac_path_SED_max=$ac_count
   4517     fi
   4518     # 10*(2^10) chars as input seems more than enough
   4519     test $ac_count -gt 10 && break
   4520   done
   4521   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4522 esac
   4523 
   4524       $ac_path_SED_found && break 3
   4525     done
   4526   done
   4527   done
   4528 IFS=$as_save_IFS
   4529   if test -z "$ac_cv_path_SED"; then
   4530     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4531   fi
   4532 else
   4533   ac_cv_path_SED=$SED
   4534 fi
   4535 
   4536 fi
   4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4538 $as_echo "$ac_cv_path_SED" >&6; }
   4539  SED="$ac_cv_path_SED"
   4540   rm -f conftest.sed
   4541 
   4542 
   4543 
   4544 
   4545 
   4546 
   4547 # Check whether --enable-selective-werror was given.
   4548 if test "${enable_selective_werror+set}" = set; then :
   4549   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4550 else
   4551   SELECTIVE_WERROR=yes
   4552 fi
   4553 
   4554 
   4555 
   4556 
   4557 
   4558 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4559 if test "x$SUNCC" = "xyes"; then
   4560     BASE_CFLAGS="-v"
   4561 else
   4562     BASE_CFLAGS=""
   4563 fi
   4564 
   4565 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4566 
   4567 
   4568 
   4569 
   4570 
   4571 
   4572 
   4573 
   4574 
   4575 
   4576 
   4577 
   4578 
   4579 xorg_testset_save_CFLAGS="$CFLAGS"
   4580 
   4581 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4582 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4583 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4584 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4585 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4586   $as_echo_n "(cached) " >&6
   4587 else
   4588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4589 /* end confdefs.h.  */
   4590 int i;
   4591 _ACEOF
   4592 if ac_fn_c_try_compile "$LINENO"; then :
   4593   xorg_cv_cc_flag_unknown_warning_option=yes
   4594 else
   4595   xorg_cv_cc_flag_unknown_warning_option=no
   4596 fi
   4597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4598 fi
   4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4600 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4601 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4602 	CFLAGS="$xorg_testset_save_CFLAGS"
   4603 fi
   4604 
   4605 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4606 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4607 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4608 	fi
   4609 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4610 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4611 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4612 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4613   $as_echo_n "(cached) " >&6
   4614 else
   4615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4616 /* end confdefs.h.  */
   4617 int i;
   4618 _ACEOF
   4619 if ac_fn_c_try_compile "$LINENO"; then :
   4620   xorg_cv_cc_flag_unused_command_line_argument=yes
   4621 else
   4622   xorg_cv_cc_flag_unused_command_line_argument=no
   4623 fi
   4624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4625 fi
   4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4627 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4628 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4629 	CFLAGS="$xorg_testset_save_CFLAGS"
   4630 fi
   4631 
   4632 found="no"
   4633 
   4634 	if test $found = "no" ; then
   4635 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4636 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4637 		fi
   4638 
   4639 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4640 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4641 		fi
   4642 
   4643 		CFLAGS="$CFLAGS -Wall"
   4644 
   4645 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4646 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4647 		cacheid=xorg_cv_cc_flag__Wall
   4648 		if eval \${$cacheid+:} false; then :
   4649   $as_echo_n "(cached) " >&6
   4650 else
   4651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4652 /* end confdefs.h.  */
   4653 int i;
   4654 int
   4655 main ()
   4656 {
   4657 
   4658   ;
   4659   return 0;
   4660 }
   4661 _ACEOF
   4662 if ac_fn_c_try_link "$LINENO"; then :
   4663   eval $cacheid=yes
   4664 else
   4665   eval $cacheid=no
   4666 fi
   4667 rm -f core conftest.err conftest.$ac_objext \
   4668     conftest$ac_exeext conftest.$ac_ext
   4669 fi
   4670 
   4671 
   4672 		CFLAGS="$xorg_testset_save_CFLAGS"
   4673 
   4674 		eval supported=\$$cacheid
   4675 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4676 $as_echo "$supported" >&6; }
   4677 		if test "$supported" = "yes" ; then
   4678 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4679 			found="yes"
   4680 		fi
   4681 	fi
   4682 
   4683 
   4684 
   4685 
   4686 
   4687 
   4688 
   4689 
   4690 
   4691 
   4692 
   4693 
   4694 
   4695 
   4696 
   4697 xorg_testset_save_CFLAGS="$CFLAGS"
   4698 
   4699 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4700 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4701 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4702 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4703 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4704   $as_echo_n "(cached) " >&6
   4705 else
   4706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4707 /* end confdefs.h.  */
   4708 int i;
   4709 _ACEOF
   4710 if ac_fn_c_try_compile "$LINENO"; then :
   4711   xorg_cv_cc_flag_unknown_warning_option=yes
   4712 else
   4713   xorg_cv_cc_flag_unknown_warning_option=no
   4714 fi
   4715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4716 fi
   4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4718 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4719 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4720 	CFLAGS="$xorg_testset_save_CFLAGS"
   4721 fi
   4722 
   4723 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4724 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4725 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4726 	fi
   4727 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4728 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4729 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4730 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4731   $as_echo_n "(cached) " >&6
   4732 else
   4733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4734 /* end confdefs.h.  */
   4735 int i;
   4736 _ACEOF
   4737 if ac_fn_c_try_compile "$LINENO"; then :
   4738   xorg_cv_cc_flag_unused_command_line_argument=yes
   4739 else
   4740   xorg_cv_cc_flag_unused_command_line_argument=no
   4741 fi
   4742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4743 fi
   4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4745 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4746 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4747 	CFLAGS="$xorg_testset_save_CFLAGS"
   4748 fi
   4749 
   4750 found="no"
   4751 
   4752 	if test $found = "no" ; then
   4753 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4754 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4755 		fi
   4756 
   4757 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4758 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4759 		fi
   4760 
   4761 		CFLAGS="$CFLAGS -Wpointer-arith"
   4762 
   4763 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4764 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4765 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4766 		if eval \${$cacheid+:} false; then :
   4767   $as_echo_n "(cached) " >&6
   4768 else
   4769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4770 /* end confdefs.h.  */
   4771 int i;
   4772 int
   4773 main ()
   4774 {
   4775 
   4776   ;
   4777   return 0;
   4778 }
   4779 _ACEOF
   4780 if ac_fn_c_try_link "$LINENO"; then :
   4781   eval $cacheid=yes
   4782 else
   4783   eval $cacheid=no
   4784 fi
   4785 rm -f core conftest.err conftest.$ac_objext \
   4786     conftest$ac_exeext conftest.$ac_ext
   4787 fi
   4788 
   4789 
   4790 		CFLAGS="$xorg_testset_save_CFLAGS"
   4791 
   4792 		eval supported=\$$cacheid
   4793 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4794 $as_echo "$supported" >&6; }
   4795 		if test "$supported" = "yes" ; then
   4796 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4797 			found="yes"
   4798 		fi
   4799 	fi
   4800 
   4801 
   4802 
   4803 
   4804 
   4805 
   4806 
   4807 
   4808 
   4809 
   4810 
   4811 
   4812 
   4813 
   4814 
   4815 xorg_testset_save_CFLAGS="$CFLAGS"
   4816 
   4817 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4818 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4819 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4820 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4821 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4822   $as_echo_n "(cached) " >&6
   4823 else
   4824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4825 /* end confdefs.h.  */
   4826 int i;
   4827 _ACEOF
   4828 if ac_fn_c_try_compile "$LINENO"; then :
   4829   xorg_cv_cc_flag_unknown_warning_option=yes
   4830 else
   4831   xorg_cv_cc_flag_unknown_warning_option=no
   4832 fi
   4833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4834 fi
   4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4836 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4837 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4838 	CFLAGS="$xorg_testset_save_CFLAGS"
   4839 fi
   4840 
   4841 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4842 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4843 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4844 	fi
   4845 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4846 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4847 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4848 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4849   $as_echo_n "(cached) " >&6
   4850 else
   4851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4852 /* end confdefs.h.  */
   4853 int i;
   4854 _ACEOF
   4855 if ac_fn_c_try_compile "$LINENO"; then :
   4856   xorg_cv_cc_flag_unused_command_line_argument=yes
   4857 else
   4858   xorg_cv_cc_flag_unused_command_line_argument=no
   4859 fi
   4860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4861 fi
   4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4863 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4864 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4865 	CFLAGS="$xorg_testset_save_CFLAGS"
   4866 fi
   4867 
   4868 found="no"
   4869 
   4870 	if test $found = "no" ; then
   4871 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4872 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4873 		fi
   4874 
   4875 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4876 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4877 		fi
   4878 
   4879 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4880 
   4881 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4882 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4883 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   4884 		if eval \${$cacheid+:} false; then :
   4885   $as_echo_n "(cached) " >&6
   4886 else
   4887   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4888 /* end confdefs.h.  */
   4889 int i;
   4890 int
   4891 main ()
   4892 {
   4893 
   4894   ;
   4895   return 0;
   4896 }
   4897 _ACEOF
   4898 if ac_fn_c_try_link "$LINENO"; then :
   4899   eval $cacheid=yes
   4900 else
   4901   eval $cacheid=no
   4902 fi
   4903 rm -f core conftest.err conftest.$ac_objext \
   4904     conftest$ac_exeext conftest.$ac_ext
   4905 fi
   4906 
   4907 
   4908 		CFLAGS="$xorg_testset_save_CFLAGS"
   4909 
   4910 		eval supported=\$$cacheid
   4911 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4912 $as_echo "$supported" >&6; }
   4913 		if test "$supported" = "yes" ; then
   4914 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   4915 			found="yes"
   4916 		fi
   4917 	fi
   4918 
   4919 
   4920 
   4921 
   4922 
   4923 
   4924 
   4925 
   4926 
   4927 
   4928 
   4929 
   4930 
   4931 
   4932 
   4933 xorg_testset_save_CFLAGS="$CFLAGS"
   4934 
   4935 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4936 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4937 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4938 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4939 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4940   $as_echo_n "(cached) " >&6
   4941 else
   4942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4943 /* end confdefs.h.  */
   4944 int i;
   4945 _ACEOF
   4946 if ac_fn_c_try_compile "$LINENO"; then :
   4947   xorg_cv_cc_flag_unknown_warning_option=yes
   4948 else
   4949   xorg_cv_cc_flag_unknown_warning_option=no
   4950 fi
   4951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4952 fi
   4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4954 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4955 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4956 	CFLAGS="$xorg_testset_save_CFLAGS"
   4957 fi
   4958 
   4959 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4960 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4961 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4962 	fi
   4963 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4964 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4965 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4966 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4967   $as_echo_n "(cached) " >&6
   4968 else
   4969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4970 /* end confdefs.h.  */
   4971 int i;
   4972 _ACEOF
   4973 if ac_fn_c_try_compile "$LINENO"; then :
   4974   xorg_cv_cc_flag_unused_command_line_argument=yes
   4975 else
   4976   xorg_cv_cc_flag_unused_command_line_argument=no
   4977 fi
   4978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4979 fi
   4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4981 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4982 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4983 	CFLAGS="$xorg_testset_save_CFLAGS"
   4984 fi
   4985 
   4986 found="no"
   4987 
   4988 	if test $found = "no" ; then
   4989 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4990 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4991 		fi
   4992 
   4993 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4994 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4995 		fi
   4996 
   4997 		CFLAGS="$CFLAGS -Wformat=2"
   4998 
   4999 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5000 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5001 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   5002 		if eval \${$cacheid+:} false; then :
   5003   $as_echo_n "(cached) " >&6
   5004 else
   5005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5006 /* end confdefs.h.  */
   5007 int i;
   5008 int
   5009 main ()
   5010 {
   5011 
   5012   ;
   5013   return 0;
   5014 }
   5015 _ACEOF
   5016 if ac_fn_c_try_link "$LINENO"; then :
   5017   eval $cacheid=yes
   5018 else
   5019   eval $cacheid=no
   5020 fi
   5021 rm -f core conftest.err conftest.$ac_objext \
   5022     conftest$ac_exeext conftest.$ac_ext
   5023 fi
   5024 
   5025 
   5026 		CFLAGS="$xorg_testset_save_CFLAGS"
   5027 
   5028 		eval supported=\$$cacheid
   5029 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5030 $as_echo "$supported" >&6; }
   5031 		if test "$supported" = "yes" ; then
   5032 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5033 			found="yes"
   5034 		fi
   5035 	fi
   5036 
   5037 	if test $found = "no" ; then
   5038 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5039 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5040 		fi
   5041 
   5042 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5043 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5044 		fi
   5045 
   5046 		CFLAGS="$CFLAGS -Wformat"
   5047 
   5048 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5049 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5050 		cacheid=xorg_cv_cc_flag__Wformat
   5051 		if eval \${$cacheid+:} false; then :
   5052   $as_echo_n "(cached) " >&6
   5053 else
   5054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5055 /* end confdefs.h.  */
   5056 int i;
   5057 int
   5058 main ()
   5059 {
   5060 
   5061   ;
   5062   return 0;
   5063 }
   5064 _ACEOF
   5065 if ac_fn_c_try_link "$LINENO"; then :
   5066   eval $cacheid=yes
   5067 else
   5068   eval $cacheid=no
   5069 fi
   5070 rm -f core conftest.err conftest.$ac_objext \
   5071     conftest$ac_exeext conftest.$ac_ext
   5072 fi
   5073 
   5074 
   5075 		CFLAGS="$xorg_testset_save_CFLAGS"
   5076 
   5077 		eval supported=\$$cacheid
   5078 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5079 $as_echo "$supported" >&6; }
   5080 		if test "$supported" = "yes" ; then
   5081 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5082 			found="yes"
   5083 		fi
   5084 	fi
   5085 
   5086 
   5087 
   5088 
   5089 
   5090 
   5091 
   5092 
   5093 
   5094 
   5095 
   5096 
   5097 
   5098 
   5099 
   5100 
   5101 
   5102 xorg_testset_save_CFLAGS="$CFLAGS"
   5103 
   5104 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5105 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5106 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5107 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5108 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5109   $as_echo_n "(cached) " >&6
   5110 else
   5111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5112 /* end confdefs.h.  */
   5113 int i;
   5114 _ACEOF
   5115 if ac_fn_c_try_compile "$LINENO"; then :
   5116   xorg_cv_cc_flag_unknown_warning_option=yes
   5117 else
   5118   xorg_cv_cc_flag_unknown_warning_option=no
   5119 fi
   5120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5121 fi
   5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5123 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5124 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5125 	CFLAGS="$xorg_testset_save_CFLAGS"
   5126 fi
   5127 
   5128 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5129 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5130 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5131 	fi
   5132 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5133 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5134 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5135 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5136   $as_echo_n "(cached) " >&6
   5137 else
   5138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5139 /* end confdefs.h.  */
   5140 int i;
   5141 _ACEOF
   5142 if ac_fn_c_try_compile "$LINENO"; then :
   5143   xorg_cv_cc_flag_unused_command_line_argument=yes
   5144 else
   5145   xorg_cv_cc_flag_unused_command_line_argument=no
   5146 fi
   5147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5148 fi
   5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5150 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5151 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5152 	CFLAGS="$xorg_testset_save_CFLAGS"
   5153 fi
   5154 
   5155 found="no"
   5156 
   5157 	if test $found = "no" ; then
   5158 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5159 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5160 		fi
   5161 
   5162 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5163 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5164 		fi
   5165 
   5166 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5167 
   5168 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5169 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5170 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5171 		if eval \${$cacheid+:} false; then :
   5172   $as_echo_n "(cached) " >&6
   5173 else
   5174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5175 /* end confdefs.h.  */
   5176 int i;
   5177 int
   5178 main ()
   5179 {
   5180 
   5181   ;
   5182   return 0;
   5183 }
   5184 _ACEOF
   5185 if ac_fn_c_try_link "$LINENO"; then :
   5186   eval $cacheid=yes
   5187 else
   5188   eval $cacheid=no
   5189 fi
   5190 rm -f core conftest.err conftest.$ac_objext \
   5191     conftest$ac_exeext conftest.$ac_ext
   5192 fi
   5193 
   5194 
   5195 		CFLAGS="$xorg_testset_save_CFLAGS"
   5196 
   5197 		eval supported=\$$cacheid
   5198 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5199 $as_echo "$supported" >&6; }
   5200 		if test "$supported" = "yes" ; then
   5201 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5202 			found="yes"
   5203 		fi
   5204 	fi
   5205 
   5206 
   5207 
   5208 
   5209 
   5210 
   5211 
   5212 
   5213 
   5214 
   5215 
   5216 
   5217 
   5218 
   5219 
   5220 xorg_testset_save_CFLAGS="$CFLAGS"
   5221 
   5222 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5223 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5224 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5225 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5226 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5227   $as_echo_n "(cached) " >&6
   5228 else
   5229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5230 /* end confdefs.h.  */
   5231 int i;
   5232 _ACEOF
   5233 if ac_fn_c_try_compile "$LINENO"; then :
   5234   xorg_cv_cc_flag_unknown_warning_option=yes
   5235 else
   5236   xorg_cv_cc_flag_unknown_warning_option=no
   5237 fi
   5238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5239 fi
   5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5241 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5242 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5243 	CFLAGS="$xorg_testset_save_CFLAGS"
   5244 fi
   5245 
   5246 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5247 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5248 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5249 	fi
   5250 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5251 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5252 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5253 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5254   $as_echo_n "(cached) " >&6
   5255 else
   5256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5257 /* end confdefs.h.  */
   5258 int i;
   5259 _ACEOF
   5260 if ac_fn_c_try_compile "$LINENO"; then :
   5261   xorg_cv_cc_flag_unused_command_line_argument=yes
   5262 else
   5263   xorg_cv_cc_flag_unused_command_line_argument=no
   5264 fi
   5265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5266 fi
   5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5268 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5269 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5270 	CFLAGS="$xorg_testset_save_CFLAGS"
   5271 fi
   5272 
   5273 found="no"
   5274 
   5275 	if test $found = "no" ; then
   5276 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5277 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5278 		fi
   5279 
   5280 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5281 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5282 		fi
   5283 
   5284 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5285 
   5286 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5287 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5288 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5289 		if eval \${$cacheid+:} false; then :
   5290   $as_echo_n "(cached) " >&6
   5291 else
   5292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5293 /* end confdefs.h.  */
   5294 int i;
   5295 int
   5296 main ()
   5297 {
   5298 
   5299   ;
   5300   return 0;
   5301 }
   5302 _ACEOF
   5303 if ac_fn_c_try_link "$LINENO"; then :
   5304   eval $cacheid=yes
   5305 else
   5306   eval $cacheid=no
   5307 fi
   5308 rm -f core conftest.err conftest.$ac_objext \
   5309     conftest$ac_exeext conftest.$ac_ext
   5310 fi
   5311 
   5312 
   5313 		CFLAGS="$xorg_testset_save_CFLAGS"
   5314 
   5315 		eval supported=\$$cacheid
   5316 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5317 $as_echo "$supported" >&6; }
   5318 		if test "$supported" = "yes" ; then
   5319 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5320 			found="yes"
   5321 		fi
   5322 	fi
   5323 
   5324 
   5325 
   5326 
   5327 
   5328 
   5329 
   5330 
   5331 
   5332 
   5333 
   5334 
   5335 
   5336 
   5337 
   5338 xorg_testset_save_CFLAGS="$CFLAGS"
   5339 
   5340 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5341 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5342 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5343 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5344 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5345   $as_echo_n "(cached) " >&6
   5346 else
   5347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5348 /* end confdefs.h.  */
   5349 int i;
   5350 _ACEOF
   5351 if ac_fn_c_try_compile "$LINENO"; then :
   5352   xorg_cv_cc_flag_unknown_warning_option=yes
   5353 else
   5354   xorg_cv_cc_flag_unknown_warning_option=no
   5355 fi
   5356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5357 fi
   5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5359 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5360 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5361 	CFLAGS="$xorg_testset_save_CFLAGS"
   5362 fi
   5363 
   5364 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5365 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5366 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5367 	fi
   5368 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5369 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5370 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5371 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5372   $as_echo_n "(cached) " >&6
   5373 else
   5374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5375 /* end confdefs.h.  */
   5376 int i;
   5377 _ACEOF
   5378 if ac_fn_c_try_compile "$LINENO"; then :
   5379   xorg_cv_cc_flag_unused_command_line_argument=yes
   5380 else
   5381   xorg_cv_cc_flag_unused_command_line_argument=no
   5382 fi
   5383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5384 fi
   5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5386 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5387 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5388 	CFLAGS="$xorg_testset_save_CFLAGS"
   5389 fi
   5390 
   5391 found="no"
   5392 
   5393 	if test $found = "no" ; then
   5394 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5395 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5396 		fi
   5397 
   5398 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5399 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5400 		fi
   5401 
   5402 		CFLAGS="$CFLAGS -Wnested-externs"
   5403 
   5404 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5405 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5406 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5407 		if eval \${$cacheid+:} false; then :
   5408   $as_echo_n "(cached) " >&6
   5409 else
   5410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5411 /* end confdefs.h.  */
   5412 int i;
   5413 int
   5414 main ()
   5415 {
   5416 
   5417   ;
   5418   return 0;
   5419 }
   5420 _ACEOF
   5421 if ac_fn_c_try_link "$LINENO"; then :
   5422   eval $cacheid=yes
   5423 else
   5424   eval $cacheid=no
   5425 fi
   5426 rm -f core conftest.err conftest.$ac_objext \
   5427     conftest$ac_exeext conftest.$ac_ext
   5428 fi
   5429 
   5430 
   5431 		CFLAGS="$xorg_testset_save_CFLAGS"
   5432 
   5433 		eval supported=\$$cacheid
   5434 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5435 $as_echo "$supported" >&6; }
   5436 		if test "$supported" = "yes" ; then
   5437 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5438 			found="yes"
   5439 		fi
   5440 	fi
   5441 
   5442 
   5443 
   5444 
   5445 
   5446 
   5447 
   5448 
   5449 
   5450 
   5451 
   5452 
   5453 
   5454 
   5455 
   5456 xorg_testset_save_CFLAGS="$CFLAGS"
   5457 
   5458 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5459 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5460 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5461 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5462 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5463   $as_echo_n "(cached) " >&6
   5464 else
   5465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5466 /* end confdefs.h.  */
   5467 int i;
   5468 _ACEOF
   5469 if ac_fn_c_try_compile "$LINENO"; then :
   5470   xorg_cv_cc_flag_unknown_warning_option=yes
   5471 else
   5472   xorg_cv_cc_flag_unknown_warning_option=no
   5473 fi
   5474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5475 fi
   5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5477 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5478 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5479 	CFLAGS="$xorg_testset_save_CFLAGS"
   5480 fi
   5481 
   5482 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5483 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5484 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5485 	fi
   5486 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5487 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5488 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5489 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   5496 if ac_fn_c_try_compile "$LINENO"; then :
   5497   xorg_cv_cc_flag_unused_command_line_argument=yes
   5498 else
   5499   xorg_cv_cc_flag_unused_command_line_argument=no
   5500 fi
   5501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5502 fi
   5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5504 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5505 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5506 	CFLAGS="$xorg_testset_save_CFLAGS"
   5507 fi
   5508 
   5509 found="no"
   5510 
   5511 	if test $found = "no" ; then
   5512 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5513 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5514 		fi
   5515 
   5516 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5517 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5518 		fi
   5519 
   5520 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5521 
   5522 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5523 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5524 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5525 		if eval \${$cacheid+:} false; then :
   5526   $as_echo_n "(cached) " >&6
   5527 else
   5528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5529 /* end confdefs.h.  */
   5530 int i;
   5531 int
   5532 main ()
   5533 {
   5534 
   5535   ;
   5536   return 0;
   5537 }
   5538 _ACEOF
   5539 if ac_fn_c_try_link "$LINENO"; then :
   5540   eval $cacheid=yes
   5541 else
   5542   eval $cacheid=no
   5543 fi
   5544 rm -f core conftest.err conftest.$ac_objext \
   5545     conftest$ac_exeext conftest.$ac_ext
   5546 fi
   5547 
   5548 
   5549 		CFLAGS="$xorg_testset_save_CFLAGS"
   5550 
   5551 		eval supported=\$$cacheid
   5552 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5553 $as_echo "$supported" >&6; }
   5554 		if test "$supported" = "yes" ; then
   5555 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5556 			found="yes"
   5557 		fi
   5558 	fi
   5559 
   5560 
   5561 
   5562 
   5563 
   5564 
   5565 
   5566 
   5567 
   5568 
   5569 
   5570 
   5571 
   5572 
   5573 
   5574 xorg_testset_save_CFLAGS="$CFLAGS"
   5575 
   5576 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5577 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5578 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5579 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5580 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5581   $as_echo_n "(cached) " >&6
   5582 else
   5583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5584 /* end confdefs.h.  */
   5585 int i;
   5586 _ACEOF
   5587 if ac_fn_c_try_compile "$LINENO"; then :
   5588   xorg_cv_cc_flag_unknown_warning_option=yes
   5589 else
   5590   xorg_cv_cc_flag_unknown_warning_option=no
   5591 fi
   5592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5593 fi
   5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5595 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5596 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5597 	CFLAGS="$xorg_testset_save_CFLAGS"
   5598 fi
   5599 
   5600 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5601 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5602 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5603 	fi
   5604 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5605 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5606 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5607 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5608   $as_echo_n "(cached) " >&6
   5609 else
   5610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5611 /* end confdefs.h.  */
   5612 int i;
   5613 _ACEOF
   5614 if ac_fn_c_try_compile "$LINENO"; then :
   5615   xorg_cv_cc_flag_unused_command_line_argument=yes
   5616 else
   5617   xorg_cv_cc_flag_unused_command_line_argument=no
   5618 fi
   5619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5620 fi
   5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5622 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5623 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5624 	CFLAGS="$xorg_testset_save_CFLAGS"
   5625 fi
   5626 
   5627 found="no"
   5628 
   5629 	if test $found = "no" ; then
   5630 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5631 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5632 		fi
   5633 
   5634 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5635 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5636 		fi
   5637 
   5638 		CFLAGS="$CFLAGS -Wold-style-definition"
   5639 
   5640 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5641 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5642 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5643 		if eval \${$cacheid+:} false; then :
   5644   $as_echo_n "(cached) " >&6
   5645 else
   5646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5647 /* end confdefs.h.  */
   5648 int i;
   5649 int
   5650 main ()
   5651 {
   5652 
   5653   ;
   5654   return 0;
   5655 }
   5656 _ACEOF
   5657 if ac_fn_c_try_link "$LINENO"; then :
   5658   eval $cacheid=yes
   5659 else
   5660   eval $cacheid=no
   5661 fi
   5662 rm -f core conftest.err conftest.$ac_objext \
   5663     conftest$ac_exeext conftest.$ac_ext
   5664 fi
   5665 
   5666 
   5667 		CFLAGS="$xorg_testset_save_CFLAGS"
   5668 
   5669 		eval supported=\$$cacheid
   5670 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5671 $as_echo "$supported" >&6; }
   5672 		if test "$supported" = "yes" ; then
   5673 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5674 			found="yes"
   5675 		fi
   5676 	fi
   5677 
   5678 
   5679 
   5680 
   5681 
   5682 
   5683 
   5684 
   5685 
   5686 
   5687 
   5688 
   5689 
   5690 
   5691 
   5692 xorg_testset_save_CFLAGS="$CFLAGS"
   5693 
   5694 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5695 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5696 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5697 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5698 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5699   $as_echo_n "(cached) " >&6
   5700 else
   5701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5702 /* end confdefs.h.  */
   5703 int i;
   5704 _ACEOF
   5705 if ac_fn_c_try_compile "$LINENO"; then :
   5706   xorg_cv_cc_flag_unknown_warning_option=yes
   5707 else
   5708   xorg_cv_cc_flag_unknown_warning_option=no
   5709 fi
   5710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5711 fi
   5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5713 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5714 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5715 	CFLAGS="$xorg_testset_save_CFLAGS"
   5716 fi
   5717 
   5718 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5719 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5720 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5721 	fi
   5722 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5723 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5724 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5725 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5726   $as_echo_n "(cached) " >&6
   5727 else
   5728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5729 /* end confdefs.h.  */
   5730 int i;
   5731 _ACEOF
   5732 if ac_fn_c_try_compile "$LINENO"; then :
   5733   xorg_cv_cc_flag_unused_command_line_argument=yes
   5734 else
   5735   xorg_cv_cc_flag_unused_command_line_argument=no
   5736 fi
   5737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5738 fi
   5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5740 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5741 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5742 	CFLAGS="$xorg_testset_save_CFLAGS"
   5743 fi
   5744 
   5745 found="no"
   5746 
   5747 	if test $found = "no" ; then
   5748 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5749 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5750 		fi
   5751 
   5752 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5753 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5754 		fi
   5755 
   5756 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5757 
   5758 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5759 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5760 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5761 		if eval \${$cacheid+:} false; then :
   5762   $as_echo_n "(cached) " >&6
   5763 else
   5764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5765 /* end confdefs.h.  */
   5766 int i;
   5767 int
   5768 main ()
   5769 {
   5770 
   5771   ;
   5772   return 0;
   5773 }
   5774 _ACEOF
   5775 if ac_fn_c_try_link "$LINENO"; then :
   5776   eval $cacheid=yes
   5777 else
   5778   eval $cacheid=no
   5779 fi
   5780 rm -f core conftest.err conftest.$ac_objext \
   5781     conftest$ac_exeext conftest.$ac_ext
   5782 fi
   5783 
   5784 
   5785 		CFLAGS="$xorg_testset_save_CFLAGS"
   5786 
   5787 		eval supported=\$$cacheid
   5788 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5789 $as_echo "$supported" >&6; }
   5790 		if test "$supported" = "yes" ; then
   5791 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5792 			found="yes"
   5793 		fi
   5794 	fi
   5795 
   5796 
   5797 
   5798 
   5799 
   5800 # This chunk adds additional warnings that could catch undesired effects.
   5801 
   5802 
   5803 
   5804 
   5805 
   5806 
   5807 
   5808 
   5809 
   5810 
   5811 
   5812 
   5813 
   5814 xorg_testset_save_CFLAGS="$CFLAGS"
   5815 
   5816 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5817 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5818 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5819 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5820 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5821   $as_echo_n "(cached) " >&6
   5822 else
   5823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5824 /* end confdefs.h.  */
   5825 int i;
   5826 _ACEOF
   5827 if ac_fn_c_try_compile "$LINENO"; then :
   5828   xorg_cv_cc_flag_unknown_warning_option=yes
   5829 else
   5830   xorg_cv_cc_flag_unknown_warning_option=no
   5831 fi
   5832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5833 fi
   5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5835 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5836 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5837 	CFLAGS="$xorg_testset_save_CFLAGS"
   5838 fi
   5839 
   5840 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5841 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5842 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5843 	fi
   5844 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5845 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5846 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5847 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5848   $as_echo_n "(cached) " >&6
   5849 else
   5850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5851 /* end confdefs.h.  */
   5852 int i;
   5853 _ACEOF
   5854 if ac_fn_c_try_compile "$LINENO"; then :
   5855   xorg_cv_cc_flag_unused_command_line_argument=yes
   5856 else
   5857   xorg_cv_cc_flag_unused_command_line_argument=no
   5858 fi
   5859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5860 fi
   5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5862 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5863 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5864 	CFLAGS="$xorg_testset_save_CFLAGS"
   5865 fi
   5866 
   5867 found="no"
   5868 
   5869 	if test $found = "no" ; then
   5870 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5871 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5872 		fi
   5873 
   5874 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5875 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5876 		fi
   5877 
   5878 		CFLAGS="$CFLAGS -Wunused"
   5879 
   5880 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   5881 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   5882 		cacheid=xorg_cv_cc_flag__Wunused
   5883 		if eval \${$cacheid+:} false; then :
   5884   $as_echo_n "(cached) " >&6
   5885 else
   5886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5887 /* end confdefs.h.  */
   5888 int i;
   5889 int
   5890 main ()
   5891 {
   5892 
   5893   ;
   5894   return 0;
   5895 }
   5896 _ACEOF
   5897 if ac_fn_c_try_link "$LINENO"; then :
   5898   eval $cacheid=yes
   5899 else
   5900   eval $cacheid=no
   5901 fi
   5902 rm -f core conftest.err conftest.$ac_objext \
   5903     conftest$ac_exeext conftest.$ac_ext
   5904 fi
   5905 
   5906 
   5907 		CFLAGS="$xorg_testset_save_CFLAGS"
   5908 
   5909 		eval supported=\$$cacheid
   5910 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5911 $as_echo "$supported" >&6; }
   5912 		if test "$supported" = "yes" ; then
   5913 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   5914 			found="yes"
   5915 		fi
   5916 	fi
   5917 
   5918 
   5919 
   5920 
   5921 
   5922 
   5923 
   5924 
   5925 
   5926 
   5927 
   5928 
   5929 
   5930 
   5931 
   5932 xorg_testset_save_CFLAGS="$CFLAGS"
   5933 
   5934 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5935 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5936 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5937 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5938 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5939   $as_echo_n "(cached) " >&6
   5940 else
   5941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5942 /* end confdefs.h.  */
   5943 int i;
   5944 _ACEOF
   5945 if ac_fn_c_try_compile "$LINENO"; then :
   5946   xorg_cv_cc_flag_unknown_warning_option=yes
   5947 else
   5948   xorg_cv_cc_flag_unknown_warning_option=no
   5949 fi
   5950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5951 fi
   5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5953 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5954 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5955 	CFLAGS="$xorg_testset_save_CFLAGS"
   5956 fi
   5957 
   5958 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5959 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5960 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5961 	fi
   5962 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5963 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5964 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5965 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5966   $as_echo_n "(cached) " >&6
   5967 else
   5968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5969 /* end confdefs.h.  */
   5970 int i;
   5971 _ACEOF
   5972 if ac_fn_c_try_compile "$LINENO"; then :
   5973   xorg_cv_cc_flag_unused_command_line_argument=yes
   5974 else
   5975   xorg_cv_cc_flag_unused_command_line_argument=no
   5976 fi
   5977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5978 fi
   5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5980 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5981 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5982 	CFLAGS="$xorg_testset_save_CFLAGS"
   5983 fi
   5984 
   5985 found="no"
   5986 
   5987 	if test $found = "no" ; then
   5988 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5989 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5990 		fi
   5991 
   5992 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5993 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5994 		fi
   5995 
   5996 		CFLAGS="$CFLAGS -Wuninitialized"
   5997 
   5998 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   5999 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6000 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6001 		if eval \${$cacheid+:} false; then :
   6002   $as_echo_n "(cached) " >&6
   6003 else
   6004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6005 /* end confdefs.h.  */
   6006 int i;
   6007 int
   6008 main ()
   6009 {
   6010 
   6011   ;
   6012   return 0;
   6013 }
   6014 _ACEOF
   6015 if ac_fn_c_try_link "$LINENO"; then :
   6016   eval $cacheid=yes
   6017 else
   6018   eval $cacheid=no
   6019 fi
   6020 rm -f core conftest.err conftest.$ac_objext \
   6021     conftest$ac_exeext conftest.$ac_ext
   6022 fi
   6023 
   6024 
   6025 		CFLAGS="$xorg_testset_save_CFLAGS"
   6026 
   6027 		eval supported=\$$cacheid
   6028 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6029 $as_echo "$supported" >&6; }
   6030 		if test "$supported" = "yes" ; then
   6031 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6032 			found="yes"
   6033 		fi
   6034 	fi
   6035 
   6036 
   6037 
   6038 
   6039 
   6040 
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 xorg_testset_save_CFLAGS="$CFLAGS"
   6051 
   6052 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6053 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6054 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6055 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6056 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6057   $as_echo_n "(cached) " >&6
   6058 else
   6059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6060 /* end confdefs.h.  */
   6061 int i;
   6062 _ACEOF
   6063 if ac_fn_c_try_compile "$LINENO"; then :
   6064   xorg_cv_cc_flag_unknown_warning_option=yes
   6065 else
   6066   xorg_cv_cc_flag_unknown_warning_option=no
   6067 fi
   6068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6069 fi
   6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6071 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6072 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6073 	CFLAGS="$xorg_testset_save_CFLAGS"
   6074 fi
   6075 
   6076 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6077 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6078 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6079 	fi
   6080 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6081 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6082 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6083 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6084   $as_echo_n "(cached) " >&6
   6085 else
   6086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6087 /* end confdefs.h.  */
   6088 int i;
   6089 _ACEOF
   6090 if ac_fn_c_try_compile "$LINENO"; then :
   6091   xorg_cv_cc_flag_unused_command_line_argument=yes
   6092 else
   6093   xorg_cv_cc_flag_unused_command_line_argument=no
   6094 fi
   6095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6096 fi
   6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6098 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6099 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6100 	CFLAGS="$xorg_testset_save_CFLAGS"
   6101 fi
   6102 
   6103 found="no"
   6104 
   6105 	if test $found = "no" ; then
   6106 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6107 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6108 		fi
   6109 
   6110 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6111 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6112 		fi
   6113 
   6114 		CFLAGS="$CFLAGS -Wshadow"
   6115 
   6116 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6117 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6118 		cacheid=xorg_cv_cc_flag__Wshadow
   6119 		if eval \${$cacheid+:} false; then :
   6120   $as_echo_n "(cached) " >&6
   6121 else
   6122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6123 /* end confdefs.h.  */
   6124 int i;
   6125 int
   6126 main ()
   6127 {
   6128 
   6129   ;
   6130   return 0;
   6131 }
   6132 _ACEOF
   6133 if ac_fn_c_try_link "$LINENO"; then :
   6134   eval $cacheid=yes
   6135 else
   6136   eval $cacheid=no
   6137 fi
   6138 rm -f core conftest.err conftest.$ac_objext \
   6139     conftest$ac_exeext conftest.$ac_ext
   6140 fi
   6141 
   6142 
   6143 		CFLAGS="$xorg_testset_save_CFLAGS"
   6144 
   6145 		eval supported=\$$cacheid
   6146 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6147 $as_echo "$supported" >&6; }
   6148 		if test "$supported" = "yes" ; then
   6149 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6150 			found="yes"
   6151 		fi
   6152 	fi
   6153 
   6154 
   6155 
   6156 
   6157 
   6158 
   6159 
   6160 
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 xorg_testset_save_CFLAGS="$CFLAGS"
   6169 
   6170 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6171 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6172 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6173 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6174 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6175   $as_echo_n "(cached) " >&6
   6176 else
   6177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6178 /* end confdefs.h.  */
   6179 int i;
   6180 _ACEOF
   6181 if ac_fn_c_try_compile "$LINENO"; then :
   6182   xorg_cv_cc_flag_unknown_warning_option=yes
   6183 else
   6184   xorg_cv_cc_flag_unknown_warning_option=no
   6185 fi
   6186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6187 fi
   6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6189 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6190 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6191 	CFLAGS="$xorg_testset_save_CFLAGS"
   6192 fi
   6193 
   6194 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6195 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6196 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6197 	fi
   6198 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6199 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6200 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6201 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6202   $as_echo_n "(cached) " >&6
   6203 else
   6204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6205 /* end confdefs.h.  */
   6206 int i;
   6207 _ACEOF
   6208 if ac_fn_c_try_compile "$LINENO"; then :
   6209   xorg_cv_cc_flag_unused_command_line_argument=yes
   6210 else
   6211   xorg_cv_cc_flag_unused_command_line_argument=no
   6212 fi
   6213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6214 fi
   6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6216 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6217 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6218 	CFLAGS="$xorg_testset_save_CFLAGS"
   6219 fi
   6220 
   6221 found="no"
   6222 
   6223 	if test $found = "no" ; then
   6224 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6225 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6226 		fi
   6227 
   6228 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6229 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6230 		fi
   6231 
   6232 		CFLAGS="$CFLAGS -Wcast-qual"
   6233 
   6234 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6235 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6236 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6237 		if eval \${$cacheid+:} false; then :
   6238   $as_echo_n "(cached) " >&6
   6239 else
   6240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6241 /* end confdefs.h.  */
   6242 int i;
   6243 int
   6244 main ()
   6245 {
   6246 
   6247   ;
   6248   return 0;
   6249 }
   6250 _ACEOF
   6251 if ac_fn_c_try_link "$LINENO"; then :
   6252   eval $cacheid=yes
   6253 else
   6254   eval $cacheid=no
   6255 fi
   6256 rm -f core conftest.err conftest.$ac_objext \
   6257     conftest$ac_exeext conftest.$ac_ext
   6258 fi
   6259 
   6260 
   6261 		CFLAGS="$xorg_testset_save_CFLAGS"
   6262 
   6263 		eval supported=\$$cacheid
   6264 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6265 $as_echo "$supported" >&6; }
   6266 		if test "$supported" = "yes" ; then
   6267 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6268 			found="yes"
   6269 		fi
   6270 	fi
   6271 
   6272 
   6273 
   6274 
   6275 
   6276 
   6277 
   6278 
   6279 
   6280 
   6281 
   6282 
   6283 
   6284 
   6285 
   6286 xorg_testset_save_CFLAGS="$CFLAGS"
   6287 
   6288 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6289 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6290 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6291 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6292 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6293   $as_echo_n "(cached) " >&6
   6294 else
   6295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6296 /* end confdefs.h.  */
   6297 int i;
   6298 _ACEOF
   6299 if ac_fn_c_try_compile "$LINENO"; then :
   6300   xorg_cv_cc_flag_unknown_warning_option=yes
   6301 else
   6302   xorg_cv_cc_flag_unknown_warning_option=no
   6303 fi
   6304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6305 fi
   6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6307 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6308 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6309 	CFLAGS="$xorg_testset_save_CFLAGS"
   6310 fi
   6311 
   6312 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6313 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6314 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6315 	fi
   6316 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6317 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6318 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6319 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6320   $as_echo_n "(cached) " >&6
   6321 else
   6322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6323 /* end confdefs.h.  */
   6324 int i;
   6325 _ACEOF
   6326 if ac_fn_c_try_compile "$LINENO"; then :
   6327   xorg_cv_cc_flag_unused_command_line_argument=yes
   6328 else
   6329   xorg_cv_cc_flag_unused_command_line_argument=no
   6330 fi
   6331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6332 fi
   6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6334 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6335 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6336 	CFLAGS="$xorg_testset_save_CFLAGS"
   6337 fi
   6338 
   6339 found="no"
   6340 
   6341 	if test $found = "no" ; then
   6342 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6343 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6344 		fi
   6345 
   6346 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6347 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6348 		fi
   6349 
   6350 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6351 
   6352 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6353 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6354 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6355 		if eval \${$cacheid+:} false; then :
   6356   $as_echo_n "(cached) " >&6
   6357 else
   6358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6359 /* end confdefs.h.  */
   6360 int i;
   6361 int
   6362 main ()
   6363 {
   6364 
   6365   ;
   6366   return 0;
   6367 }
   6368 _ACEOF
   6369 if ac_fn_c_try_link "$LINENO"; then :
   6370   eval $cacheid=yes
   6371 else
   6372   eval $cacheid=no
   6373 fi
   6374 rm -f core conftest.err conftest.$ac_objext \
   6375     conftest$ac_exeext conftest.$ac_ext
   6376 fi
   6377 
   6378 
   6379 		CFLAGS="$xorg_testset_save_CFLAGS"
   6380 
   6381 		eval supported=\$$cacheid
   6382 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6383 $as_echo "$supported" >&6; }
   6384 		if test "$supported" = "yes" ; then
   6385 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6386 			found="yes"
   6387 		fi
   6388 	fi
   6389 
   6390 
   6391 
   6392 
   6393 
   6394 
   6395 
   6396 
   6397 
   6398 
   6399 
   6400 
   6401 
   6402 
   6403 
   6404 xorg_testset_save_CFLAGS="$CFLAGS"
   6405 
   6406 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6407 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6408 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6409 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6410 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6411   $as_echo_n "(cached) " >&6
   6412 else
   6413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6414 /* end confdefs.h.  */
   6415 int i;
   6416 _ACEOF
   6417 if ac_fn_c_try_compile "$LINENO"; then :
   6418   xorg_cv_cc_flag_unknown_warning_option=yes
   6419 else
   6420   xorg_cv_cc_flag_unknown_warning_option=no
   6421 fi
   6422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6423 fi
   6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6425 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6426 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6427 	CFLAGS="$xorg_testset_save_CFLAGS"
   6428 fi
   6429 
   6430 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6431 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6432 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6433 	fi
   6434 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6435 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6436 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6437 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6438   $as_echo_n "(cached) " >&6
   6439 else
   6440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6441 /* end confdefs.h.  */
   6442 int i;
   6443 _ACEOF
   6444 if ac_fn_c_try_compile "$LINENO"; then :
   6445   xorg_cv_cc_flag_unused_command_line_argument=yes
   6446 else
   6447   xorg_cv_cc_flag_unused_command_line_argument=no
   6448 fi
   6449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6450 fi
   6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6452 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6453 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6454 	CFLAGS="$xorg_testset_save_CFLAGS"
   6455 fi
   6456 
   6457 found="no"
   6458 
   6459 	if test $found = "no" ; then
   6460 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6461 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6462 		fi
   6463 
   6464 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6465 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6466 		fi
   6467 
   6468 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6469 
   6470 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6471 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6472 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6473 		if eval \${$cacheid+:} false; then :
   6474   $as_echo_n "(cached) " >&6
   6475 else
   6476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6477 /* end confdefs.h.  */
   6478 int i;
   6479 int
   6480 main ()
   6481 {
   6482 
   6483   ;
   6484   return 0;
   6485 }
   6486 _ACEOF
   6487 if ac_fn_c_try_link "$LINENO"; then :
   6488   eval $cacheid=yes
   6489 else
   6490   eval $cacheid=no
   6491 fi
   6492 rm -f core conftest.err conftest.$ac_objext \
   6493     conftest$ac_exeext conftest.$ac_ext
   6494 fi
   6495 
   6496 
   6497 		CFLAGS="$xorg_testset_save_CFLAGS"
   6498 
   6499 		eval supported=\$$cacheid
   6500 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6501 $as_echo "$supported" >&6; }
   6502 		if test "$supported" = "yes" ; then
   6503 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6504 			found="yes"
   6505 		fi
   6506 	fi
   6507 
   6508 
   6509 
   6510 
   6511 
   6512 
   6513 
   6514 
   6515 
   6516 
   6517 
   6518 
   6519 
   6520 
   6521 
   6522 xorg_testset_save_CFLAGS="$CFLAGS"
   6523 
   6524 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6525 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6526 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6527 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6528 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6529   $as_echo_n "(cached) " >&6
   6530 else
   6531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6532 /* end confdefs.h.  */
   6533 int i;
   6534 _ACEOF
   6535 if ac_fn_c_try_compile "$LINENO"; then :
   6536   xorg_cv_cc_flag_unknown_warning_option=yes
   6537 else
   6538   xorg_cv_cc_flag_unknown_warning_option=no
   6539 fi
   6540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6541 fi
   6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6543 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6544 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6545 	CFLAGS="$xorg_testset_save_CFLAGS"
   6546 fi
   6547 
   6548 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6549 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6550 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6551 	fi
   6552 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6553 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6554 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6555 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6556   $as_echo_n "(cached) " >&6
   6557 else
   6558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6559 /* end confdefs.h.  */
   6560 int i;
   6561 _ACEOF
   6562 if ac_fn_c_try_compile "$LINENO"; then :
   6563   xorg_cv_cc_flag_unused_command_line_argument=yes
   6564 else
   6565   xorg_cv_cc_flag_unused_command_line_argument=no
   6566 fi
   6567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6568 fi
   6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6570 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6571 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6572 	CFLAGS="$xorg_testset_save_CFLAGS"
   6573 fi
   6574 
   6575 found="no"
   6576 
   6577 	if test $found = "no" ; then
   6578 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6579 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6580 		fi
   6581 
   6582 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6583 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6584 		fi
   6585 
   6586 		CFLAGS="$CFLAGS -Wredundant-decls"
   6587 
   6588 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6589 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6590 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6591 		if eval \${$cacheid+:} false; then :
   6592   $as_echo_n "(cached) " >&6
   6593 else
   6594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6595 /* end confdefs.h.  */
   6596 int i;
   6597 int
   6598 main ()
   6599 {
   6600 
   6601   ;
   6602   return 0;
   6603 }
   6604 _ACEOF
   6605 if ac_fn_c_try_link "$LINENO"; then :
   6606   eval $cacheid=yes
   6607 else
   6608   eval $cacheid=no
   6609 fi
   6610 rm -f core conftest.err conftest.$ac_objext \
   6611     conftest$ac_exeext conftest.$ac_ext
   6612 fi
   6613 
   6614 
   6615 		CFLAGS="$xorg_testset_save_CFLAGS"
   6616 
   6617 		eval supported=\$$cacheid
   6618 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6619 $as_echo "$supported" >&6; }
   6620 		if test "$supported" = "yes" ; then
   6621 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6622 			found="yes"
   6623 		fi
   6624 	fi
   6625 
   6626 
   6627 
   6628 # These are currently disabled because they are noisy.  They will be enabled
   6629 # in the future once the codebase is sufficiently modernized to silence
   6630 # them.  For now, I don't want them to drown out the other warnings.
   6631 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6632 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6633 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6634 
   6635 # Turn some warnings into errors, so we don't accidently get successful builds
   6636 # when there are problems that should be fixed.
   6637 
   6638 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6639 
   6640 
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 
   6647 
   6648 
   6649 
   6650 
   6651 
   6652 xorg_testset_save_CFLAGS="$CFLAGS"
   6653 
   6654 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6655 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6656 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6657 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6658 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6659   $as_echo_n "(cached) " >&6
   6660 else
   6661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6662 /* end confdefs.h.  */
   6663 int i;
   6664 _ACEOF
   6665 if ac_fn_c_try_compile "$LINENO"; then :
   6666   xorg_cv_cc_flag_unknown_warning_option=yes
   6667 else
   6668   xorg_cv_cc_flag_unknown_warning_option=no
   6669 fi
   6670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6671 fi
   6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6673 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6674 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6675 	CFLAGS="$xorg_testset_save_CFLAGS"
   6676 fi
   6677 
   6678 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6679 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6680 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6681 	fi
   6682 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6683 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6684 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6685 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6686   $as_echo_n "(cached) " >&6
   6687 else
   6688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6689 /* end confdefs.h.  */
   6690 int i;
   6691 _ACEOF
   6692 if ac_fn_c_try_compile "$LINENO"; then :
   6693   xorg_cv_cc_flag_unused_command_line_argument=yes
   6694 else
   6695   xorg_cv_cc_flag_unused_command_line_argument=no
   6696 fi
   6697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6698 fi
   6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6700 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6701 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6702 	CFLAGS="$xorg_testset_save_CFLAGS"
   6703 fi
   6704 
   6705 found="no"
   6706 
   6707 	if test $found = "no" ; then
   6708 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6709 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6710 		fi
   6711 
   6712 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6713 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6714 		fi
   6715 
   6716 		CFLAGS="$CFLAGS -Werror=implicit"
   6717 
   6718 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6719 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6720 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   6721 		if eval \${$cacheid+:} false; then :
   6722   $as_echo_n "(cached) " >&6
   6723 else
   6724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6725 /* end confdefs.h.  */
   6726 int i;
   6727 int
   6728 main ()
   6729 {
   6730 
   6731   ;
   6732   return 0;
   6733 }
   6734 _ACEOF
   6735 if ac_fn_c_try_link "$LINENO"; then :
   6736   eval $cacheid=yes
   6737 else
   6738   eval $cacheid=no
   6739 fi
   6740 rm -f core conftest.err conftest.$ac_objext \
   6741     conftest$ac_exeext conftest.$ac_ext
   6742 fi
   6743 
   6744 
   6745 		CFLAGS="$xorg_testset_save_CFLAGS"
   6746 
   6747 		eval supported=\$$cacheid
   6748 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6749 $as_echo "$supported" >&6; }
   6750 		if test "$supported" = "yes" ; then
   6751 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6752 			found="yes"
   6753 		fi
   6754 	fi
   6755 
   6756 	if test $found = "no" ; then
   6757 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6758 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6759 		fi
   6760 
   6761 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6762 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6763 		fi
   6764 
   6765 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6766 
   6767 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6768 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6769 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   6770 		if eval \${$cacheid+:} false; then :
   6771   $as_echo_n "(cached) " >&6
   6772 else
   6773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6774 /* end confdefs.h.  */
   6775 int i;
   6776 int
   6777 main ()
   6778 {
   6779 
   6780   ;
   6781   return 0;
   6782 }
   6783 _ACEOF
   6784 if ac_fn_c_try_link "$LINENO"; then :
   6785   eval $cacheid=yes
   6786 else
   6787   eval $cacheid=no
   6788 fi
   6789 rm -f core conftest.err conftest.$ac_objext \
   6790     conftest$ac_exeext conftest.$ac_ext
   6791 fi
   6792 
   6793 
   6794 		CFLAGS="$xorg_testset_save_CFLAGS"
   6795 
   6796 		eval supported=\$$cacheid
   6797 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6798 $as_echo "$supported" >&6; }
   6799 		if test "$supported" = "yes" ; then
   6800 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6801 			found="yes"
   6802 		fi
   6803 	fi
   6804 
   6805 
   6806 
   6807 
   6808 
   6809 
   6810 
   6811 
   6812 
   6813 
   6814 
   6815 
   6816 
   6817 
   6818 
   6819 xorg_testset_save_CFLAGS="$CFLAGS"
   6820 
   6821 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6822 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6823 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6824 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6825 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6826   $as_echo_n "(cached) " >&6
   6827 else
   6828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6829 /* end confdefs.h.  */
   6830 int i;
   6831 _ACEOF
   6832 if ac_fn_c_try_compile "$LINENO"; then :
   6833   xorg_cv_cc_flag_unknown_warning_option=yes
   6834 else
   6835   xorg_cv_cc_flag_unknown_warning_option=no
   6836 fi
   6837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6838 fi
   6839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6840 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6841 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6842 	CFLAGS="$xorg_testset_save_CFLAGS"
   6843 fi
   6844 
   6845 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6846 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6847 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6848 	fi
   6849 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6850 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6851 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6852 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6853   $as_echo_n "(cached) " >&6
   6854 else
   6855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6856 /* end confdefs.h.  */
   6857 int i;
   6858 _ACEOF
   6859 if ac_fn_c_try_compile "$LINENO"; then :
   6860   xorg_cv_cc_flag_unused_command_line_argument=yes
   6861 else
   6862   xorg_cv_cc_flag_unused_command_line_argument=no
   6863 fi
   6864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6865 fi
   6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6867 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6868 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6869 	CFLAGS="$xorg_testset_save_CFLAGS"
   6870 fi
   6871 
   6872 found="no"
   6873 
   6874 	if test $found = "no" ; then
   6875 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6876 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6877 		fi
   6878 
   6879 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6880 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6881 		fi
   6882 
   6883 		CFLAGS="$CFLAGS -Werror=nonnull"
   6884 
   6885 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   6886 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   6887 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   6888 		if eval \${$cacheid+:} false; then :
   6889   $as_echo_n "(cached) " >&6
   6890 else
   6891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6892 /* end confdefs.h.  */
   6893 int i;
   6894 int
   6895 main ()
   6896 {
   6897 
   6898   ;
   6899   return 0;
   6900 }
   6901 _ACEOF
   6902 if ac_fn_c_try_link "$LINENO"; then :
   6903   eval $cacheid=yes
   6904 else
   6905   eval $cacheid=no
   6906 fi
   6907 rm -f core conftest.err conftest.$ac_objext \
   6908     conftest$ac_exeext conftest.$ac_ext
   6909 fi
   6910 
   6911 
   6912 		CFLAGS="$xorg_testset_save_CFLAGS"
   6913 
   6914 		eval supported=\$$cacheid
   6915 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6916 $as_echo "$supported" >&6; }
   6917 		if test "$supported" = "yes" ; then
   6918 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   6919 			found="yes"
   6920 		fi
   6921 	fi
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 
   6929 
   6930 
   6931 
   6932 
   6933 
   6934 
   6935 
   6936 
   6937 xorg_testset_save_CFLAGS="$CFLAGS"
   6938 
   6939 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6940 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6941 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6942 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6943 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6944   $as_echo_n "(cached) " >&6
   6945 else
   6946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6947 /* end confdefs.h.  */
   6948 int i;
   6949 _ACEOF
   6950 if ac_fn_c_try_compile "$LINENO"; then :
   6951   xorg_cv_cc_flag_unknown_warning_option=yes
   6952 else
   6953   xorg_cv_cc_flag_unknown_warning_option=no
   6954 fi
   6955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6956 fi
   6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6958 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6959 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6960 	CFLAGS="$xorg_testset_save_CFLAGS"
   6961 fi
   6962 
   6963 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6964 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6965 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6966 	fi
   6967 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6968 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6969 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6970 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6971   $as_echo_n "(cached) " >&6
   6972 else
   6973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6974 /* end confdefs.h.  */
   6975 int i;
   6976 _ACEOF
   6977 if ac_fn_c_try_compile "$LINENO"; then :
   6978   xorg_cv_cc_flag_unused_command_line_argument=yes
   6979 else
   6980   xorg_cv_cc_flag_unused_command_line_argument=no
   6981 fi
   6982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6983 fi
   6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6985 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6986 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6987 	CFLAGS="$xorg_testset_save_CFLAGS"
   6988 fi
   6989 
   6990 found="no"
   6991 
   6992 	if test $found = "no" ; then
   6993 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6994 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6995 		fi
   6996 
   6997 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6998 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6999 		fi
   7000 
   7001 		CFLAGS="$CFLAGS -Werror=init-self"
   7002 
   7003 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7004 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7005 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   7006 		if eval \${$cacheid+:} false; then :
   7007   $as_echo_n "(cached) " >&6
   7008 else
   7009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7010 /* end confdefs.h.  */
   7011 int i;
   7012 int
   7013 main ()
   7014 {
   7015 
   7016   ;
   7017   return 0;
   7018 }
   7019 _ACEOF
   7020 if ac_fn_c_try_link "$LINENO"; then :
   7021   eval $cacheid=yes
   7022 else
   7023   eval $cacheid=no
   7024 fi
   7025 rm -f core conftest.err conftest.$ac_objext \
   7026     conftest$ac_exeext conftest.$ac_ext
   7027 fi
   7028 
   7029 
   7030 		CFLAGS="$xorg_testset_save_CFLAGS"
   7031 
   7032 		eval supported=\$$cacheid
   7033 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7034 $as_echo "$supported" >&6; }
   7035 		if test "$supported" = "yes" ; then
   7036 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7037 			found="yes"
   7038 		fi
   7039 	fi
   7040 
   7041 
   7042 
   7043 
   7044 
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 
   7052 
   7053 
   7054 
   7055 xorg_testset_save_CFLAGS="$CFLAGS"
   7056 
   7057 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7058 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7059 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7060 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7061 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7062   $as_echo_n "(cached) " >&6
   7063 else
   7064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7065 /* end confdefs.h.  */
   7066 int i;
   7067 _ACEOF
   7068 if ac_fn_c_try_compile "$LINENO"; then :
   7069   xorg_cv_cc_flag_unknown_warning_option=yes
   7070 else
   7071   xorg_cv_cc_flag_unknown_warning_option=no
   7072 fi
   7073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7074 fi
   7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7076 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7077 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7078 	CFLAGS="$xorg_testset_save_CFLAGS"
   7079 fi
   7080 
   7081 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7082 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7083 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7084 	fi
   7085 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7086 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7087 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7088 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7089   $as_echo_n "(cached) " >&6
   7090 else
   7091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7092 /* end confdefs.h.  */
   7093 int i;
   7094 _ACEOF
   7095 if ac_fn_c_try_compile "$LINENO"; then :
   7096   xorg_cv_cc_flag_unused_command_line_argument=yes
   7097 else
   7098   xorg_cv_cc_flag_unused_command_line_argument=no
   7099 fi
   7100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7101 fi
   7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7103 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7104 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7105 	CFLAGS="$xorg_testset_save_CFLAGS"
   7106 fi
   7107 
   7108 found="no"
   7109 
   7110 	if test $found = "no" ; then
   7111 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7112 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7113 		fi
   7114 
   7115 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7116 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7117 		fi
   7118 
   7119 		CFLAGS="$CFLAGS -Werror=main"
   7120 
   7121 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7122 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7123 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   7124 		if eval \${$cacheid+:} false; then :
   7125   $as_echo_n "(cached) " >&6
   7126 else
   7127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7128 /* end confdefs.h.  */
   7129 int i;
   7130 int
   7131 main ()
   7132 {
   7133 
   7134   ;
   7135   return 0;
   7136 }
   7137 _ACEOF
   7138 if ac_fn_c_try_link "$LINENO"; then :
   7139   eval $cacheid=yes
   7140 else
   7141   eval $cacheid=no
   7142 fi
   7143 rm -f core conftest.err conftest.$ac_objext \
   7144     conftest$ac_exeext conftest.$ac_ext
   7145 fi
   7146 
   7147 
   7148 		CFLAGS="$xorg_testset_save_CFLAGS"
   7149 
   7150 		eval supported=\$$cacheid
   7151 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7152 $as_echo "$supported" >&6; }
   7153 		if test "$supported" = "yes" ; then
   7154 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7155 			found="yes"
   7156 		fi
   7157 	fi
   7158 
   7159 
   7160 
   7161 
   7162 
   7163 
   7164 
   7165 
   7166 
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 xorg_testset_save_CFLAGS="$CFLAGS"
   7174 
   7175 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7176 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7177 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7178 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7179 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7180   $as_echo_n "(cached) " >&6
   7181 else
   7182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7183 /* end confdefs.h.  */
   7184 int i;
   7185 _ACEOF
   7186 if ac_fn_c_try_compile "$LINENO"; then :
   7187   xorg_cv_cc_flag_unknown_warning_option=yes
   7188 else
   7189   xorg_cv_cc_flag_unknown_warning_option=no
   7190 fi
   7191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7192 fi
   7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7194 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7195 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7196 	CFLAGS="$xorg_testset_save_CFLAGS"
   7197 fi
   7198 
   7199 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7200 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7201 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7202 	fi
   7203 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7204 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7205 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7206 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7207   $as_echo_n "(cached) " >&6
   7208 else
   7209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7210 /* end confdefs.h.  */
   7211 int i;
   7212 _ACEOF
   7213 if ac_fn_c_try_compile "$LINENO"; then :
   7214   xorg_cv_cc_flag_unused_command_line_argument=yes
   7215 else
   7216   xorg_cv_cc_flag_unused_command_line_argument=no
   7217 fi
   7218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7219 fi
   7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7221 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7222 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7223 	CFLAGS="$xorg_testset_save_CFLAGS"
   7224 fi
   7225 
   7226 found="no"
   7227 
   7228 	if test $found = "no" ; then
   7229 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7230 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7231 		fi
   7232 
   7233 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7234 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7235 		fi
   7236 
   7237 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7238 
   7239 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7240 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7241 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   7242 		if eval \${$cacheid+:} false; then :
   7243   $as_echo_n "(cached) " >&6
   7244 else
   7245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7246 /* end confdefs.h.  */
   7247 int i;
   7248 int
   7249 main ()
   7250 {
   7251 
   7252   ;
   7253   return 0;
   7254 }
   7255 _ACEOF
   7256 if ac_fn_c_try_link "$LINENO"; then :
   7257   eval $cacheid=yes
   7258 else
   7259   eval $cacheid=no
   7260 fi
   7261 rm -f core conftest.err conftest.$ac_objext \
   7262     conftest$ac_exeext conftest.$ac_ext
   7263 fi
   7264 
   7265 
   7266 		CFLAGS="$xorg_testset_save_CFLAGS"
   7267 
   7268 		eval supported=\$$cacheid
   7269 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7270 $as_echo "$supported" >&6; }
   7271 		if test "$supported" = "yes" ; then
   7272 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7273 			found="yes"
   7274 		fi
   7275 	fi
   7276 
   7277 
   7278 
   7279 
   7280 
   7281 
   7282 
   7283 
   7284 
   7285 
   7286 
   7287 
   7288 
   7289 
   7290 
   7291 xorg_testset_save_CFLAGS="$CFLAGS"
   7292 
   7293 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7294 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7295 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7296 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7297 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7298   $as_echo_n "(cached) " >&6
   7299 else
   7300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7301 /* end confdefs.h.  */
   7302 int i;
   7303 _ACEOF
   7304 if ac_fn_c_try_compile "$LINENO"; then :
   7305   xorg_cv_cc_flag_unknown_warning_option=yes
   7306 else
   7307   xorg_cv_cc_flag_unknown_warning_option=no
   7308 fi
   7309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7310 fi
   7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7312 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7313 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7314 	CFLAGS="$xorg_testset_save_CFLAGS"
   7315 fi
   7316 
   7317 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7318 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7319 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7320 	fi
   7321 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7322 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7323 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7324 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7325   $as_echo_n "(cached) " >&6
   7326 else
   7327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7328 /* end confdefs.h.  */
   7329 int i;
   7330 _ACEOF
   7331 if ac_fn_c_try_compile "$LINENO"; then :
   7332   xorg_cv_cc_flag_unused_command_line_argument=yes
   7333 else
   7334   xorg_cv_cc_flag_unused_command_line_argument=no
   7335 fi
   7336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7337 fi
   7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7339 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7340 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7341 	CFLAGS="$xorg_testset_save_CFLAGS"
   7342 fi
   7343 
   7344 found="no"
   7345 
   7346 	if test $found = "no" ; then
   7347 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7348 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7349 		fi
   7350 
   7351 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7352 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7353 		fi
   7354 
   7355 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7356 
   7357 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7358 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7359 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   7360 		if eval \${$cacheid+:} false; then :
   7361   $as_echo_n "(cached) " >&6
   7362 else
   7363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7364 /* end confdefs.h.  */
   7365 int i;
   7366 int
   7367 main ()
   7368 {
   7369 
   7370   ;
   7371   return 0;
   7372 }
   7373 _ACEOF
   7374 if ac_fn_c_try_link "$LINENO"; then :
   7375   eval $cacheid=yes
   7376 else
   7377   eval $cacheid=no
   7378 fi
   7379 rm -f core conftest.err conftest.$ac_objext \
   7380     conftest$ac_exeext conftest.$ac_ext
   7381 fi
   7382 
   7383 
   7384 		CFLAGS="$xorg_testset_save_CFLAGS"
   7385 
   7386 		eval supported=\$$cacheid
   7387 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7388 $as_echo "$supported" >&6; }
   7389 		if test "$supported" = "yes" ; then
   7390 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7391 			found="yes"
   7392 		fi
   7393 	fi
   7394 
   7395 
   7396 
   7397 
   7398 
   7399 
   7400 
   7401 
   7402 
   7403 
   7404 
   7405 
   7406 
   7407 
   7408 
   7409 xorg_testset_save_CFLAGS="$CFLAGS"
   7410 
   7411 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7412 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7413 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7414 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7415 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7416   $as_echo_n "(cached) " >&6
   7417 else
   7418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7419 /* end confdefs.h.  */
   7420 int i;
   7421 _ACEOF
   7422 if ac_fn_c_try_compile "$LINENO"; then :
   7423   xorg_cv_cc_flag_unknown_warning_option=yes
   7424 else
   7425   xorg_cv_cc_flag_unknown_warning_option=no
   7426 fi
   7427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7428 fi
   7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7430 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7431 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7432 	CFLAGS="$xorg_testset_save_CFLAGS"
   7433 fi
   7434 
   7435 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7436 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7437 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7438 	fi
   7439 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7440 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7441 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7442 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7443   $as_echo_n "(cached) " >&6
   7444 else
   7445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7446 /* end confdefs.h.  */
   7447 int i;
   7448 _ACEOF
   7449 if ac_fn_c_try_compile "$LINENO"; then :
   7450   xorg_cv_cc_flag_unused_command_line_argument=yes
   7451 else
   7452   xorg_cv_cc_flag_unused_command_line_argument=no
   7453 fi
   7454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7455 fi
   7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7457 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7458 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7459 	CFLAGS="$xorg_testset_save_CFLAGS"
   7460 fi
   7461 
   7462 found="no"
   7463 
   7464 	if test $found = "no" ; then
   7465 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7466 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7467 		fi
   7468 
   7469 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7470 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7471 		fi
   7472 
   7473 		CFLAGS="$CFLAGS -Werror=return-type"
   7474 
   7475 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7476 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7477 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   7478 		if eval \${$cacheid+:} false; then :
   7479   $as_echo_n "(cached) " >&6
   7480 else
   7481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7482 /* end confdefs.h.  */
   7483 int i;
   7484 int
   7485 main ()
   7486 {
   7487 
   7488   ;
   7489   return 0;
   7490 }
   7491 _ACEOF
   7492 if ac_fn_c_try_link "$LINENO"; then :
   7493   eval $cacheid=yes
   7494 else
   7495   eval $cacheid=no
   7496 fi
   7497 rm -f core conftest.err conftest.$ac_objext \
   7498     conftest$ac_exeext conftest.$ac_ext
   7499 fi
   7500 
   7501 
   7502 		CFLAGS="$xorg_testset_save_CFLAGS"
   7503 
   7504 		eval supported=\$$cacheid
   7505 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7506 $as_echo "$supported" >&6; }
   7507 		if test "$supported" = "yes" ; then
   7508 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7509 			found="yes"
   7510 		fi
   7511 	fi
   7512 
   7513 	if test $found = "no" ; then
   7514 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7515 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7516 		fi
   7517 
   7518 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7519 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7520 		fi
   7521 
   7522 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7523 
   7524 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7525 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7526 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   7527 		if eval \${$cacheid+:} false; then :
   7528   $as_echo_n "(cached) " >&6
   7529 else
   7530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7531 /* end confdefs.h.  */
   7532 int i;
   7533 int
   7534 main ()
   7535 {
   7536 
   7537   ;
   7538   return 0;
   7539 }
   7540 _ACEOF
   7541 if ac_fn_c_try_link "$LINENO"; then :
   7542   eval $cacheid=yes
   7543 else
   7544   eval $cacheid=no
   7545 fi
   7546 rm -f core conftest.err conftest.$ac_objext \
   7547     conftest$ac_exeext conftest.$ac_ext
   7548 fi
   7549 
   7550 
   7551 		CFLAGS="$xorg_testset_save_CFLAGS"
   7552 
   7553 		eval supported=\$$cacheid
   7554 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7555 $as_echo "$supported" >&6; }
   7556 		if test "$supported" = "yes" ; then
   7557 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7558 			found="yes"
   7559 		fi
   7560 	fi
   7561 
   7562 
   7563 
   7564 
   7565 
   7566 
   7567 
   7568 
   7569 
   7570 
   7571 
   7572 
   7573 
   7574 
   7575 
   7576 xorg_testset_save_CFLAGS="$CFLAGS"
   7577 
   7578 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7579 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7580 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7581 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7582 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7583   $as_echo_n "(cached) " >&6
   7584 else
   7585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7586 /* end confdefs.h.  */
   7587 int i;
   7588 _ACEOF
   7589 if ac_fn_c_try_compile "$LINENO"; then :
   7590   xorg_cv_cc_flag_unknown_warning_option=yes
   7591 else
   7592   xorg_cv_cc_flag_unknown_warning_option=no
   7593 fi
   7594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7595 fi
   7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7597 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7598 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7599 	CFLAGS="$xorg_testset_save_CFLAGS"
   7600 fi
   7601 
   7602 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7603 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7604 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7605 	fi
   7606 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7607 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7608 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7609 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7610   $as_echo_n "(cached) " >&6
   7611 else
   7612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7613 /* end confdefs.h.  */
   7614 int i;
   7615 _ACEOF
   7616 if ac_fn_c_try_compile "$LINENO"; then :
   7617   xorg_cv_cc_flag_unused_command_line_argument=yes
   7618 else
   7619   xorg_cv_cc_flag_unused_command_line_argument=no
   7620 fi
   7621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7622 fi
   7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7624 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7625 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7626 	CFLAGS="$xorg_testset_save_CFLAGS"
   7627 fi
   7628 
   7629 found="no"
   7630 
   7631 	if test $found = "no" ; then
   7632 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7633 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7634 		fi
   7635 
   7636 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7637 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7638 		fi
   7639 
   7640 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7641 
   7642 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7643 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7644 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   7645 		if eval \${$cacheid+:} false; then :
   7646   $as_echo_n "(cached) " >&6
   7647 else
   7648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7649 /* end confdefs.h.  */
   7650 int i;
   7651 int
   7652 main ()
   7653 {
   7654 
   7655   ;
   7656   return 0;
   7657 }
   7658 _ACEOF
   7659 if ac_fn_c_try_link "$LINENO"; then :
   7660   eval $cacheid=yes
   7661 else
   7662   eval $cacheid=no
   7663 fi
   7664 rm -f core conftest.err conftest.$ac_objext \
   7665     conftest$ac_exeext conftest.$ac_ext
   7666 fi
   7667 
   7668 
   7669 		CFLAGS="$xorg_testset_save_CFLAGS"
   7670 
   7671 		eval supported=\$$cacheid
   7672 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7673 $as_echo "$supported" >&6; }
   7674 		if test "$supported" = "yes" ; then
   7675 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7676 			found="yes"
   7677 		fi
   7678 	fi
   7679 
   7680 
   7681 
   7682 
   7683 
   7684 
   7685 
   7686 
   7687 
   7688 
   7689 
   7690 
   7691 
   7692 
   7693 
   7694 xorg_testset_save_CFLAGS="$CFLAGS"
   7695 
   7696 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7697 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7698 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7699 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7700 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7701   $as_echo_n "(cached) " >&6
   7702 else
   7703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7704 /* end confdefs.h.  */
   7705 int i;
   7706 _ACEOF
   7707 if ac_fn_c_try_compile "$LINENO"; then :
   7708   xorg_cv_cc_flag_unknown_warning_option=yes
   7709 else
   7710   xorg_cv_cc_flag_unknown_warning_option=no
   7711 fi
   7712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7713 fi
   7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7715 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7716 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7717 	CFLAGS="$xorg_testset_save_CFLAGS"
   7718 fi
   7719 
   7720 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7721 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7722 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7723 	fi
   7724 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7725 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7726 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7727 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7728   $as_echo_n "(cached) " >&6
   7729 else
   7730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7731 /* end confdefs.h.  */
   7732 int i;
   7733 _ACEOF
   7734 if ac_fn_c_try_compile "$LINENO"; then :
   7735   xorg_cv_cc_flag_unused_command_line_argument=yes
   7736 else
   7737   xorg_cv_cc_flag_unused_command_line_argument=no
   7738 fi
   7739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7740 fi
   7741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7742 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7743 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7744 	CFLAGS="$xorg_testset_save_CFLAGS"
   7745 fi
   7746 
   7747 found="no"
   7748 
   7749 	if test $found = "no" ; then
   7750 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7751 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7752 		fi
   7753 
   7754 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7755 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7756 		fi
   7757 
   7758 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7759 
   7760 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7761 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7762 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   7763 		if eval \${$cacheid+:} false; then :
   7764   $as_echo_n "(cached) " >&6
   7765 else
   7766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7767 /* end confdefs.h.  */
   7768 int i;
   7769 int
   7770 main ()
   7771 {
   7772 
   7773   ;
   7774   return 0;
   7775 }
   7776 _ACEOF
   7777 if ac_fn_c_try_link "$LINENO"; then :
   7778   eval $cacheid=yes
   7779 else
   7780   eval $cacheid=no
   7781 fi
   7782 rm -f core conftest.err conftest.$ac_objext \
   7783     conftest$ac_exeext conftest.$ac_ext
   7784 fi
   7785 
   7786 
   7787 		CFLAGS="$xorg_testset_save_CFLAGS"
   7788 
   7789 		eval supported=\$$cacheid
   7790 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7791 $as_echo "$supported" >&6; }
   7792 		if test "$supported" = "yes" ; then
   7793 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7794 			found="yes"
   7795 		fi
   7796 	fi
   7797 
   7798 
   7799 
   7800 
   7801 
   7802 
   7803 
   7804 
   7805 
   7806 
   7807 
   7808 
   7809 
   7810 
   7811 
   7812 xorg_testset_save_CFLAGS="$CFLAGS"
   7813 
   7814 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7815 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7816 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7817 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7818 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7819   $as_echo_n "(cached) " >&6
   7820 else
   7821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7822 /* end confdefs.h.  */
   7823 int i;
   7824 _ACEOF
   7825 if ac_fn_c_try_compile "$LINENO"; then :
   7826   xorg_cv_cc_flag_unknown_warning_option=yes
   7827 else
   7828   xorg_cv_cc_flag_unknown_warning_option=no
   7829 fi
   7830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7831 fi
   7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7833 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7834 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7835 	CFLAGS="$xorg_testset_save_CFLAGS"
   7836 fi
   7837 
   7838 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7839 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7840 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7841 	fi
   7842 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7843 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7844 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7845 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7846   $as_echo_n "(cached) " >&6
   7847 else
   7848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7849 /* end confdefs.h.  */
   7850 int i;
   7851 _ACEOF
   7852 if ac_fn_c_try_compile "$LINENO"; then :
   7853   xorg_cv_cc_flag_unused_command_line_argument=yes
   7854 else
   7855   xorg_cv_cc_flag_unused_command_line_argument=no
   7856 fi
   7857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7858 fi
   7859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7860 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7861 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7862 	CFLAGS="$xorg_testset_save_CFLAGS"
   7863 fi
   7864 
   7865 found="no"
   7866 
   7867 	if test $found = "no" ; then
   7868 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7869 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7870 		fi
   7871 
   7872 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7873 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7874 		fi
   7875 
   7876 		CFLAGS="$CFLAGS -Werror=write-strings"
   7877 
   7878 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   7879 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   7880 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   7881 		if eval \${$cacheid+:} false; then :
   7882   $as_echo_n "(cached) " >&6
   7883 else
   7884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7885 /* end confdefs.h.  */
   7886 int i;
   7887 int
   7888 main ()
   7889 {
   7890 
   7891   ;
   7892   return 0;
   7893 }
   7894 _ACEOF
   7895 if ac_fn_c_try_link "$LINENO"; then :
   7896   eval $cacheid=yes
   7897 else
   7898   eval $cacheid=no
   7899 fi
   7900 rm -f core conftest.err conftest.$ac_objext \
   7901     conftest$ac_exeext conftest.$ac_ext
   7902 fi
   7903 
   7904 
   7905 		CFLAGS="$xorg_testset_save_CFLAGS"
   7906 
   7907 		eval supported=\$$cacheid
   7908 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7909 $as_echo "$supported" >&6; }
   7910 		if test "$supported" = "yes" ; then
   7911 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   7912 			found="yes"
   7913 		fi
   7914 	fi
   7915 
   7916 
   7917 
   7918 
   7919 
   7920 
   7921 
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 
   7928 
   7929 
   7930 xorg_testset_save_CFLAGS="$CFLAGS"
   7931 
   7932 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7933 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7934 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7935 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7936 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7937   $as_echo_n "(cached) " >&6
   7938 else
   7939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7940 /* end confdefs.h.  */
   7941 int i;
   7942 _ACEOF
   7943 if ac_fn_c_try_compile "$LINENO"; then :
   7944   xorg_cv_cc_flag_unknown_warning_option=yes
   7945 else
   7946   xorg_cv_cc_flag_unknown_warning_option=no
   7947 fi
   7948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7949 fi
   7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7951 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7952 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7953 	CFLAGS="$xorg_testset_save_CFLAGS"
   7954 fi
   7955 
   7956 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7957 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7958 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7959 	fi
   7960 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7961 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7962 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7963 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7964   $as_echo_n "(cached) " >&6
   7965 else
   7966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7967 /* end confdefs.h.  */
   7968 int i;
   7969 _ACEOF
   7970 if ac_fn_c_try_compile "$LINENO"; then :
   7971   xorg_cv_cc_flag_unused_command_line_argument=yes
   7972 else
   7973   xorg_cv_cc_flag_unused_command_line_argument=no
   7974 fi
   7975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7976 fi
   7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7978 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7979 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7980 	CFLAGS="$xorg_testset_save_CFLAGS"
   7981 fi
   7982 
   7983 found="no"
   7984 
   7985 	if test $found = "no" ; then
   7986 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7987 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7988 		fi
   7989 
   7990 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7991 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7992 		fi
   7993 
   7994 		CFLAGS="$CFLAGS -Werror=address"
   7995 
   7996 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   7997 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   7998 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   7999 		if eval \${$cacheid+:} false; then :
   8000   $as_echo_n "(cached) " >&6
   8001 else
   8002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8003 /* end confdefs.h.  */
   8004 int i;
   8005 int
   8006 main ()
   8007 {
   8008 
   8009   ;
   8010   return 0;
   8011 }
   8012 _ACEOF
   8013 if ac_fn_c_try_link "$LINENO"; then :
   8014   eval $cacheid=yes
   8015 else
   8016   eval $cacheid=no
   8017 fi
   8018 rm -f core conftest.err conftest.$ac_objext \
   8019     conftest$ac_exeext conftest.$ac_ext
   8020 fi
   8021 
   8022 
   8023 		CFLAGS="$xorg_testset_save_CFLAGS"
   8024 
   8025 		eval supported=\$$cacheid
   8026 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8027 $as_echo "$supported" >&6; }
   8028 		if test "$supported" = "yes" ; then
   8029 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8030 			found="yes"
   8031 		fi
   8032 	fi
   8033 
   8034 
   8035 
   8036 
   8037 
   8038 
   8039 
   8040 
   8041 
   8042 
   8043 
   8044 
   8045 
   8046 
   8047 
   8048 xorg_testset_save_CFLAGS="$CFLAGS"
   8049 
   8050 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8051 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8052 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8053 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8054 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8055   $as_echo_n "(cached) " >&6
   8056 else
   8057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8058 /* end confdefs.h.  */
   8059 int i;
   8060 _ACEOF
   8061 if ac_fn_c_try_compile "$LINENO"; then :
   8062   xorg_cv_cc_flag_unknown_warning_option=yes
   8063 else
   8064   xorg_cv_cc_flag_unknown_warning_option=no
   8065 fi
   8066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8067 fi
   8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8069 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8070 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8071 	CFLAGS="$xorg_testset_save_CFLAGS"
   8072 fi
   8073 
   8074 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8075 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8076 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8077 	fi
   8078 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8079 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8080 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8081 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8082   $as_echo_n "(cached) " >&6
   8083 else
   8084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8085 /* end confdefs.h.  */
   8086 int i;
   8087 _ACEOF
   8088 if ac_fn_c_try_compile "$LINENO"; then :
   8089   xorg_cv_cc_flag_unused_command_line_argument=yes
   8090 else
   8091   xorg_cv_cc_flag_unused_command_line_argument=no
   8092 fi
   8093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8094 fi
   8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8096 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8097 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8098 	CFLAGS="$xorg_testset_save_CFLAGS"
   8099 fi
   8100 
   8101 found="no"
   8102 
   8103 	if test $found = "no" ; then
   8104 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8105 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8106 		fi
   8107 
   8108 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8109 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8110 		fi
   8111 
   8112 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8113 
   8114 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8115 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8116 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   8117 		if eval \${$cacheid+:} false; then :
   8118   $as_echo_n "(cached) " >&6
   8119 else
   8120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8121 /* end confdefs.h.  */
   8122 int i;
   8123 int
   8124 main ()
   8125 {
   8126 
   8127   ;
   8128   return 0;
   8129 }
   8130 _ACEOF
   8131 if ac_fn_c_try_link "$LINENO"; then :
   8132   eval $cacheid=yes
   8133 else
   8134   eval $cacheid=no
   8135 fi
   8136 rm -f core conftest.err conftest.$ac_objext \
   8137     conftest$ac_exeext conftest.$ac_ext
   8138 fi
   8139 
   8140 
   8141 		CFLAGS="$xorg_testset_save_CFLAGS"
   8142 
   8143 		eval supported=\$$cacheid
   8144 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8145 $as_echo "$supported" >&6; }
   8146 		if test "$supported" = "yes" ; then
   8147 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8148 			found="yes"
   8149 		fi
   8150 	fi
   8151 
   8152 	if test $found = "no" ; then
   8153 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8154 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8155 		fi
   8156 
   8157 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8158 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8159 		fi
   8160 
   8161 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8162 
   8163 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8164 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8165 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   8166 		if eval \${$cacheid+:} false; then :
   8167   $as_echo_n "(cached) " >&6
   8168 else
   8169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8170 /* end confdefs.h.  */
   8171 int i;
   8172 int
   8173 main ()
   8174 {
   8175 
   8176   ;
   8177   return 0;
   8178 }
   8179 _ACEOF
   8180 if ac_fn_c_try_link "$LINENO"; then :
   8181   eval $cacheid=yes
   8182 else
   8183   eval $cacheid=no
   8184 fi
   8185 rm -f core conftest.err conftest.$ac_objext \
   8186     conftest$ac_exeext conftest.$ac_ext
   8187 fi
   8188 
   8189 
   8190 		CFLAGS="$xorg_testset_save_CFLAGS"
   8191 
   8192 		eval supported=\$$cacheid
   8193 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8194 $as_echo "$supported" >&6; }
   8195 		if test "$supported" = "yes" ; then
   8196 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8197 			found="yes"
   8198 		fi
   8199 	fi
   8200 
   8201 
   8202 
   8203 
   8204 
   8205 
   8206 
   8207 
   8208 
   8209 
   8210 
   8211 
   8212 
   8213 
   8214 
   8215 xorg_testset_save_CFLAGS="$CFLAGS"
   8216 
   8217 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8218 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8219 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8220 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8221 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8222   $as_echo_n "(cached) " >&6
   8223 else
   8224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8225 /* end confdefs.h.  */
   8226 int i;
   8227 _ACEOF
   8228 if ac_fn_c_try_compile "$LINENO"; then :
   8229   xorg_cv_cc_flag_unknown_warning_option=yes
   8230 else
   8231   xorg_cv_cc_flag_unknown_warning_option=no
   8232 fi
   8233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8234 fi
   8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8236 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8237 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8238 	CFLAGS="$xorg_testset_save_CFLAGS"
   8239 fi
   8240 
   8241 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8242 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8243 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8244 	fi
   8245 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8246 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8247 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8248 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8249   $as_echo_n "(cached) " >&6
   8250 else
   8251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8252 /* end confdefs.h.  */
   8253 int i;
   8254 _ACEOF
   8255 if ac_fn_c_try_compile "$LINENO"; then :
   8256   xorg_cv_cc_flag_unused_command_line_argument=yes
   8257 else
   8258   xorg_cv_cc_flag_unused_command_line_argument=no
   8259 fi
   8260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8261 fi
   8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8263 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8264 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8265 	CFLAGS="$xorg_testset_save_CFLAGS"
   8266 fi
   8267 
   8268 found="no"
   8269 
   8270 	if test $found = "no" ; then
   8271 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8272 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8273 		fi
   8274 
   8275 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8276 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8277 		fi
   8278 
   8279 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8280 
   8281 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8282 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8283 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   8284 		if eval \${$cacheid+:} false; then :
   8285   $as_echo_n "(cached) " >&6
   8286 else
   8287   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8288 /* end confdefs.h.  */
   8289 int i;
   8290 int
   8291 main ()
   8292 {
   8293 
   8294   ;
   8295   return 0;
   8296 }
   8297 _ACEOF
   8298 if ac_fn_c_try_link "$LINENO"; then :
   8299   eval $cacheid=yes
   8300 else
   8301   eval $cacheid=no
   8302 fi
   8303 rm -f core conftest.err conftest.$ac_objext \
   8304     conftest$ac_exeext conftest.$ac_ext
   8305 fi
   8306 
   8307 
   8308 		CFLAGS="$xorg_testset_save_CFLAGS"
   8309 
   8310 		eval supported=\$$cacheid
   8311 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8312 $as_echo "$supported" >&6; }
   8313 		if test "$supported" = "yes" ; then
   8314 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8315 			found="yes"
   8316 		fi
   8317 	fi
   8318 
   8319  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8320 else
   8321 { $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
   8322 $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;}
   8323 
   8324 
   8325 
   8326 
   8327 
   8328 
   8329 
   8330 
   8331 
   8332 
   8333 
   8334 
   8335 
   8336 xorg_testset_save_CFLAGS="$CFLAGS"
   8337 
   8338 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8339 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8340 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8341 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8342 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8343   $as_echo_n "(cached) " >&6
   8344 else
   8345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8346 /* end confdefs.h.  */
   8347 int i;
   8348 _ACEOF
   8349 if ac_fn_c_try_compile "$LINENO"; then :
   8350   xorg_cv_cc_flag_unknown_warning_option=yes
   8351 else
   8352   xorg_cv_cc_flag_unknown_warning_option=no
   8353 fi
   8354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8355 fi
   8356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8357 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8358 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8359 	CFLAGS="$xorg_testset_save_CFLAGS"
   8360 fi
   8361 
   8362 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8363 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8364 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8365 	fi
   8366 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8367 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8368 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8369 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8370   $as_echo_n "(cached) " >&6
   8371 else
   8372   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8373 /* end confdefs.h.  */
   8374 int i;
   8375 _ACEOF
   8376 if ac_fn_c_try_compile "$LINENO"; then :
   8377   xorg_cv_cc_flag_unused_command_line_argument=yes
   8378 else
   8379   xorg_cv_cc_flag_unused_command_line_argument=no
   8380 fi
   8381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8382 fi
   8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8384 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8385 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8386 	CFLAGS="$xorg_testset_save_CFLAGS"
   8387 fi
   8388 
   8389 found="no"
   8390 
   8391 	if test $found = "no" ; then
   8392 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8393 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8394 		fi
   8395 
   8396 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8397 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8398 		fi
   8399 
   8400 		CFLAGS="$CFLAGS -Wimplicit"
   8401 
   8402 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8403 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8404 		cacheid=xorg_cv_cc_flag__Wimplicit
   8405 		if eval \${$cacheid+:} false; then :
   8406   $as_echo_n "(cached) " >&6
   8407 else
   8408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8409 /* end confdefs.h.  */
   8410 int i;
   8411 int
   8412 main ()
   8413 {
   8414 
   8415   ;
   8416   return 0;
   8417 }
   8418 _ACEOF
   8419 if ac_fn_c_try_link "$LINENO"; then :
   8420   eval $cacheid=yes
   8421 else
   8422   eval $cacheid=no
   8423 fi
   8424 rm -f core conftest.err conftest.$ac_objext \
   8425     conftest$ac_exeext conftest.$ac_ext
   8426 fi
   8427 
   8428 
   8429 		CFLAGS="$xorg_testset_save_CFLAGS"
   8430 
   8431 		eval supported=\$$cacheid
   8432 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8433 $as_echo "$supported" >&6; }
   8434 		if test "$supported" = "yes" ; then
   8435 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8436 			found="yes"
   8437 		fi
   8438 	fi
   8439 
   8440 
   8441 
   8442 
   8443 
   8444 
   8445 
   8446 
   8447 
   8448 
   8449 
   8450 
   8451 
   8452 
   8453 
   8454 xorg_testset_save_CFLAGS="$CFLAGS"
   8455 
   8456 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8457 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8458 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8459 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8460 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8461   $as_echo_n "(cached) " >&6
   8462 else
   8463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8464 /* end confdefs.h.  */
   8465 int i;
   8466 _ACEOF
   8467 if ac_fn_c_try_compile "$LINENO"; then :
   8468   xorg_cv_cc_flag_unknown_warning_option=yes
   8469 else
   8470   xorg_cv_cc_flag_unknown_warning_option=no
   8471 fi
   8472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8473 fi
   8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8475 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8476 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8477 	CFLAGS="$xorg_testset_save_CFLAGS"
   8478 fi
   8479 
   8480 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8481 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8482 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8483 	fi
   8484 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8485 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8486 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8487 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8488   $as_echo_n "(cached) " >&6
   8489 else
   8490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8491 /* end confdefs.h.  */
   8492 int i;
   8493 _ACEOF
   8494 if ac_fn_c_try_compile "$LINENO"; then :
   8495   xorg_cv_cc_flag_unused_command_line_argument=yes
   8496 else
   8497   xorg_cv_cc_flag_unused_command_line_argument=no
   8498 fi
   8499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8500 fi
   8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8502 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8503 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8504 	CFLAGS="$xorg_testset_save_CFLAGS"
   8505 fi
   8506 
   8507 found="no"
   8508 
   8509 	if test $found = "no" ; then
   8510 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8511 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8512 		fi
   8513 
   8514 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8515 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8516 		fi
   8517 
   8518 		CFLAGS="$CFLAGS -Wnonnull"
   8519 
   8520 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8521 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8522 		cacheid=xorg_cv_cc_flag__Wnonnull
   8523 		if eval \${$cacheid+:} false; then :
   8524   $as_echo_n "(cached) " >&6
   8525 else
   8526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8527 /* end confdefs.h.  */
   8528 int i;
   8529 int
   8530 main ()
   8531 {
   8532 
   8533   ;
   8534   return 0;
   8535 }
   8536 _ACEOF
   8537 if ac_fn_c_try_link "$LINENO"; then :
   8538   eval $cacheid=yes
   8539 else
   8540   eval $cacheid=no
   8541 fi
   8542 rm -f core conftest.err conftest.$ac_objext \
   8543     conftest$ac_exeext conftest.$ac_ext
   8544 fi
   8545 
   8546 
   8547 		CFLAGS="$xorg_testset_save_CFLAGS"
   8548 
   8549 		eval supported=\$$cacheid
   8550 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8551 $as_echo "$supported" >&6; }
   8552 		if test "$supported" = "yes" ; then
   8553 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8554 			found="yes"
   8555 		fi
   8556 	fi
   8557 
   8558 
   8559 
   8560 
   8561 
   8562 
   8563 
   8564 
   8565 
   8566 
   8567 
   8568 
   8569 
   8570 
   8571 
   8572 xorg_testset_save_CFLAGS="$CFLAGS"
   8573 
   8574 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8575 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8576 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8577 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8578 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8579   $as_echo_n "(cached) " >&6
   8580 else
   8581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8582 /* end confdefs.h.  */
   8583 int i;
   8584 _ACEOF
   8585 if ac_fn_c_try_compile "$LINENO"; then :
   8586   xorg_cv_cc_flag_unknown_warning_option=yes
   8587 else
   8588   xorg_cv_cc_flag_unknown_warning_option=no
   8589 fi
   8590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8591 fi
   8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8593 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8594 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8595 	CFLAGS="$xorg_testset_save_CFLAGS"
   8596 fi
   8597 
   8598 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8599 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8600 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8601 	fi
   8602 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8603 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8604 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8605 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8606   $as_echo_n "(cached) " >&6
   8607 else
   8608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8609 /* end confdefs.h.  */
   8610 int i;
   8611 _ACEOF
   8612 if ac_fn_c_try_compile "$LINENO"; then :
   8613   xorg_cv_cc_flag_unused_command_line_argument=yes
   8614 else
   8615   xorg_cv_cc_flag_unused_command_line_argument=no
   8616 fi
   8617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8618 fi
   8619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8620 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8621 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8622 	CFLAGS="$xorg_testset_save_CFLAGS"
   8623 fi
   8624 
   8625 found="no"
   8626 
   8627 	if test $found = "no" ; then
   8628 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8629 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8630 		fi
   8631 
   8632 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8633 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8634 		fi
   8635 
   8636 		CFLAGS="$CFLAGS -Winit-self"
   8637 
   8638 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8639 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8640 		cacheid=xorg_cv_cc_flag__Winit_self
   8641 		if eval \${$cacheid+:} false; then :
   8642   $as_echo_n "(cached) " >&6
   8643 else
   8644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8645 /* end confdefs.h.  */
   8646 int i;
   8647 int
   8648 main ()
   8649 {
   8650 
   8651   ;
   8652   return 0;
   8653 }
   8654 _ACEOF
   8655 if ac_fn_c_try_link "$LINENO"; then :
   8656   eval $cacheid=yes
   8657 else
   8658   eval $cacheid=no
   8659 fi
   8660 rm -f core conftest.err conftest.$ac_objext \
   8661     conftest$ac_exeext conftest.$ac_ext
   8662 fi
   8663 
   8664 
   8665 		CFLAGS="$xorg_testset_save_CFLAGS"
   8666 
   8667 		eval supported=\$$cacheid
   8668 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8669 $as_echo "$supported" >&6; }
   8670 		if test "$supported" = "yes" ; then
   8671 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8672 			found="yes"
   8673 		fi
   8674 	fi
   8675 
   8676 
   8677 
   8678 
   8679 
   8680 
   8681 
   8682 
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 
   8689 
   8690 xorg_testset_save_CFLAGS="$CFLAGS"
   8691 
   8692 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8693 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8694 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8695 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8696 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8697   $as_echo_n "(cached) " >&6
   8698 else
   8699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8700 /* end confdefs.h.  */
   8701 int i;
   8702 _ACEOF
   8703 if ac_fn_c_try_compile "$LINENO"; then :
   8704   xorg_cv_cc_flag_unknown_warning_option=yes
   8705 else
   8706   xorg_cv_cc_flag_unknown_warning_option=no
   8707 fi
   8708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8709 fi
   8710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8711 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8712 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8713 	CFLAGS="$xorg_testset_save_CFLAGS"
   8714 fi
   8715 
   8716 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8717 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8718 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8719 	fi
   8720 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8721 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8722 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8723 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8724   $as_echo_n "(cached) " >&6
   8725 else
   8726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8727 /* end confdefs.h.  */
   8728 int i;
   8729 _ACEOF
   8730 if ac_fn_c_try_compile "$LINENO"; then :
   8731   xorg_cv_cc_flag_unused_command_line_argument=yes
   8732 else
   8733   xorg_cv_cc_flag_unused_command_line_argument=no
   8734 fi
   8735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8736 fi
   8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8738 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8739 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8740 	CFLAGS="$xorg_testset_save_CFLAGS"
   8741 fi
   8742 
   8743 found="no"
   8744 
   8745 	if test $found = "no" ; then
   8746 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8747 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8748 		fi
   8749 
   8750 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8751 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8752 		fi
   8753 
   8754 		CFLAGS="$CFLAGS -Wmain"
   8755 
   8756 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8757 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8758 		cacheid=xorg_cv_cc_flag__Wmain
   8759 		if eval \${$cacheid+:} false; then :
   8760   $as_echo_n "(cached) " >&6
   8761 else
   8762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8763 /* end confdefs.h.  */
   8764 int i;
   8765 int
   8766 main ()
   8767 {
   8768 
   8769   ;
   8770   return 0;
   8771 }
   8772 _ACEOF
   8773 if ac_fn_c_try_link "$LINENO"; then :
   8774   eval $cacheid=yes
   8775 else
   8776   eval $cacheid=no
   8777 fi
   8778 rm -f core conftest.err conftest.$ac_objext \
   8779     conftest$ac_exeext conftest.$ac_ext
   8780 fi
   8781 
   8782 
   8783 		CFLAGS="$xorg_testset_save_CFLAGS"
   8784 
   8785 		eval supported=\$$cacheid
   8786 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8787 $as_echo "$supported" >&6; }
   8788 		if test "$supported" = "yes" ; then
   8789 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8790 			found="yes"
   8791 		fi
   8792 	fi
   8793 
   8794 
   8795 
   8796 
   8797 
   8798 
   8799 
   8800 
   8801 
   8802 
   8803 
   8804 
   8805 
   8806 
   8807 
   8808 xorg_testset_save_CFLAGS="$CFLAGS"
   8809 
   8810 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8811 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8812 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8813 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8814 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8815   $as_echo_n "(cached) " >&6
   8816 else
   8817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8818 /* end confdefs.h.  */
   8819 int i;
   8820 _ACEOF
   8821 if ac_fn_c_try_compile "$LINENO"; then :
   8822   xorg_cv_cc_flag_unknown_warning_option=yes
   8823 else
   8824   xorg_cv_cc_flag_unknown_warning_option=no
   8825 fi
   8826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8827 fi
   8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8829 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8830 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8831 	CFLAGS="$xorg_testset_save_CFLAGS"
   8832 fi
   8833 
   8834 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8835 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8836 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8837 	fi
   8838 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8839 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8840 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8841 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8842   $as_echo_n "(cached) " >&6
   8843 else
   8844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8845 /* end confdefs.h.  */
   8846 int i;
   8847 _ACEOF
   8848 if ac_fn_c_try_compile "$LINENO"; then :
   8849   xorg_cv_cc_flag_unused_command_line_argument=yes
   8850 else
   8851   xorg_cv_cc_flag_unused_command_line_argument=no
   8852 fi
   8853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8854 fi
   8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8856 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8857 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8858 	CFLAGS="$xorg_testset_save_CFLAGS"
   8859 fi
   8860 
   8861 found="no"
   8862 
   8863 	if test $found = "no" ; then
   8864 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8865 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8866 		fi
   8867 
   8868 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8869 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8870 		fi
   8871 
   8872 		CFLAGS="$CFLAGS -Wmissing-braces"
   8873 
   8874 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   8875 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   8876 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   8877 		if eval \${$cacheid+:} false; then :
   8878   $as_echo_n "(cached) " >&6
   8879 else
   8880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8881 /* end confdefs.h.  */
   8882 int i;
   8883 int
   8884 main ()
   8885 {
   8886 
   8887   ;
   8888   return 0;
   8889 }
   8890 _ACEOF
   8891 if ac_fn_c_try_link "$LINENO"; then :
   8892   eval $cacheid=yes
   8893 else
   8894   eval $cacheid=no
   8895 fi
   8896 rm -f core conftest.err conftest.$ac_objext \
   8897     conftest$ac_exeext conftest.$ac_ext
   8898 fi
   8899 
   8900 
   8901 		CFLAGS="$xorg_testset_save_CFLAGS"
   8902 
   8903 		eval supported=\$$cacheid
   8904 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8905 $as_echo "$supported" >&6; }
   8906 		if test "$supported" = "yes" ; then
   8907 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   8908 			found="yes"
   8909 		fi
   8910 	fi
   8911 
   8912 
   8913 
   8914 
   8915 
   8916 
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 
   8924 
   8925 
   8926 xorg_testset_save_CFLAGS="$CFLAGS"
   8927 
   8928 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8929 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8930 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8931 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8932 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8933   $as_echo_n "(cached) " >&6
   8934 else
   8935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8936 /* end confdefs.h.  */
   8937 int i;
   8938 _ACEOF
   8939 if ac_fn_c_try_compile "$LINENO"; then :
   8940   xorg_cv_cc_flag_unknown_warning_option=yes
   8941 else
   8942   xorg_cv_cc_flag_unknown_warning_option=no
   8943 fi
   8944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8945 fi
   8946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8947 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8948 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8949 	CFLAGS="$xorg_testset_save_CFLAGS"
   8950 fi
   8951 
   8952 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8953 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8954 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8955 	fi
   8956 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8957 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8958 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8959 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8960   $as_echo_n "(cached) " >&6
   8961 else
   8962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8963 /* end confdefs.h.  */
   8964 int i;
   8965 _ACEOF
   8966 if ac_fn_c_try_compile "$LINENO"; then :
   8967   xorg_cv_cc_flag_unused_command_line_argument=yes
   8968 else
   8969   xorg_cv_cc_flag_unused_command_line_argument=no
   8970 fi
   8971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8972 fi
   8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8974 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8975 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8976 	CFLAGS="$xorg_testset_save_CFLAGS"
   8977 fi
   8978 
   8979 found="no"
   8980 
   8981 	if test $found = "no" ; then
   8982 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8983 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8984 		fi
   8985 
   8986 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8987 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8988 		fi
   8989 
   8990 		CFLAGS="$CFLAGS -Wsequence-point"
   8991 
   8992 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   8993 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   8994 		cacheid=xorg_cv_cc_flag__Wsequence_point
   8995 		if eval \${$cacheid+:} false; then :
   8996   $as_echo_n "(cached) " >&6
   8997 else
   8998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8999 /* end confdefs.h.  */
   9000 int i;
   9001 int
   9002 main ()
   9003 {
   9004 
   9005   ;
   9006   return 0;
   9007 }
   9008 _ACEOF
   9009 if ac_fn_c_try_link "$LINENO"; then :
   9010   eval $cacheid=yes
   9011 else
   9012   eval $cacheid=no
   9013 fi
   9014 rm -f core conftest.err conftest.$ac_objext \
   9015     conftest$ac_exeext conftest.$ac_ext
   9016 fi
   9017 
   9018 
   9019 		CFLAGS="$xorg_testset_save_CFLAGS"
   9020 
   9021 		eval supported=\$$cacheid
   9022 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9023 $as_echo "$supported" >&6; }
   9024 		if test "$supported" = "yes" ; then
   9025 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9026 			found="yes"
   9027 		fi
   9028 	fi
   9029 
   9030 
   9031 
   9032 
   9033 
   9034 
   9035 
   9036 
   9037 
   9038 
   9039 
   9040 
   9041 
   9042 
   9043 
   9044 xorg_testset_save_CFLAGS="$CFLAGS"
   9045 
   9046 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9047 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9048 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9049 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9050 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9051   $as_echo_n "(cached) " >&6
   9052 else
   9053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9054 /* end confdefs.h.  */
   9055 int i;
   9056 _ACEOF
   9057 if ac_fn_c_try_compile "$LINENO"; then :
   9058   xorg_cv_cc_flag_unknown_warning_option=yes
   9059 else
   9060   xorg_cv_cc_flag_unknown_warning_option=no
   9061 fi
   9062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9063 fi
   9064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9065 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9066 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9067 	CFLAGS="$xorg_testset_save_CFLAGS"
   9068 fi
   9069 
   9070 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9071 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9072 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9073 	fi
   9074 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9075 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9076 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9077 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9078   $as_echo_n "(cached) " >&6
   9079 else
   9080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9081 /* end confdefs.h.  */
   9082 int i;
   9083 _ACEOF
   9084 if ac_fn_c_try_compile "$LINENO"; then :
   9085   xorg_cv_cc_flag_unused_command_line_argument=yes
   9086 else
   9087   xorg_cv_cc_flag_unused_command_line_argument=no
   9088 fi
   9089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9090 fi
   9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9092 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9093 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9094 	CFLAGS="$xorg_testset_save_CFLAGS"
   9095 fi
   9096 
   9097 found="no"
   9098 
   9099 	if test $found = "no" ; then
   9100 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9101 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9102 		fi
   9103 
   9104 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9105 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9106 		fi
   9107 
   9108 		CFLAGS="$CFLAGS -Wreturn-type"
   9109 
   9110 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9111 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9112 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9113 		if eval \${$cacheid+:} false; then :
   9114   $as_echo_n "(cached) " >&6
   9115 else
   9116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9117 /* end confdefs.h.  */
   9118 int i;
   9119 int
   9120 main ()
   9121 {
   9122 
   9123   ;
   9124   return 0;
   9125 }
   9126 _ACEOF
   9127 if ac_fn_c_try_link "$LINENO"; then :
   9128   eval $cacheid=yes
   9129 else
   9130   eval $cacheid=no
   9131 fi
   9132 rm -f core conftest.err conftest.$ac_objext \
   9133     conftest$ac_exeext conftest.$ac_ext
   9134 fi
   9135 
   9136 
   9137 		CFLAGS="$xorg_testset_save_CFLAGS"
   9138 
   9139 		eval supported=\$$cacheid
   9140 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9141 $as_echo "$supported" >&6; }
   9142 		if test "$supported" = "yes" ; then
   9143 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9144 			found="yes"
   9145 		fi
   9146 	fi
   9147 
   9148 
   9149 
   9150 
   9151 
   9152 
   9153 
   9154 
   9155 
   9156 
   9157 
   9158 
   9159 
   9160 
   9161 
   9162 xorg_testset_save_CFLAGS="$CFLAGS"
   9163 
   9164 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9165 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9166 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9167 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9168 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9169   $as_echo_n "(cached) " >&6
   9170 else
   9171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9172 /* end confdefs.h.  */
   9173 int i;
   9174 _ACEOF
   9175 if ac_fn_c_try_compile "$LINENO"; then :
   9176   xorg_cv_cc_flag_unknown_warning_option=yes
   9177 else
   9178   xorg_cv_cc_flag_unknown_warning_option=no
   9179 fi
   9180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9181 fi
   9182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9183 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9184 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9185 	CFLAGS="$xorg_testset_save_CFLAGS"
   9186 fi
   9187 
   9188 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9189 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9190 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9191 	fi
   9192 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9193 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9194 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9195 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9196   $as_echo_n "(cached) " >&6
   9197 else
   9198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9199 /* end confdefs.h.  */
   9200 int i;
   9201 _ACEOF
   9202 if ac_fn_c_try_compile "$LINENO"; then :
   9203   xorg_cv_cc_flag_unused_command_line_argument=yes
   9204 else
   9205   xorg_cv_cc_flag_unused_command_line_argument=no
   9206 fi
   9207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9208 fi
   9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9210 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9211 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9212 	CFLAGS="$xorg_testset_save_CFLAGS"
   9213 fi
   9214 
   9215 found="no"
   9216 
   9217 	if test $found = "no" ; then
   9218 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9219 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9220 		fi
   9221 
   9222 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9223 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9224 		fi
   9225 
   9226 		CFLAGS="$CFLAGS -Wtrigraphs"
   9227 
   9228 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9229 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9230 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9231 		if eval \${$cacheid+:} false; then :
   9232   $as_echo_n "(cached) " >&6
   9233 else
   9234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9235 /* end confdefs.h.  */
   9236 int i;
   9237 int
   9238 main ()
   9239 {
   9240 
   9241   ;
   9242   return 0;
   9243 }
   9244 _ACEOF
   9245 if ac_fn_c_try_link "$LINENO"; then :
   9246   eval $cacheid=yes
   9247 else
   9248   eval $cacheid=no
   9249 fi
   9250 rm -f core conftest.err conftest.$ac_objext \
   9251     conftest$ac_exeext conftest.$ac_ext
   9252 fi
   9253 
   9254 
   9255 		CFLAGS="$xorg_testset_save_CFLAGS"
   9256 
   9257 		eval supported=\$$cacheid
   9258 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9259 $as_echo "$supported" >&6; }
   9260 		if test "$supported" = "yes" ; then
   9261 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9262 			found="yes"
   9263 		fi
   9264 	fi
   9265 
   9266 
   9267 
   9268 
   9269 
   9270 
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 
   9277 
   9278 
   9279 
   9280 xorg_testset_save_CFLAGS="$CFLAGS"
   9281 
   9282 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9283 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9284 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9285 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9286 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9287   $as_echo_n "(cached) " >&6
   9288 else
   9289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9290 /* end confdefs.h.  */
   9291 int i;
   9292 _ACEOF
   9293 if ac_fn_c_try_compile "$LINENO"; then :
   9294   xorg_cv_cc_flag_unknown_warning_option=yes
   9295 else
   9296   xorg_cv_cc_flag_unknown_warning_option=no
   9297 fi
   9298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9299 fi
   9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9301 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9302 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9303 	CFLAGS="$xorg_testset_save_CFLAGS"
   9304 fi
   9305 
   9306 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9307 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9308 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9309 	fi
   9310 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9311 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9312 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9313 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9314   $as_echo_n "(cached) " >&6
   9315 else
   9316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9317 /* end confdefs.h.  */
   9318 int i;
   9319 _ACEOF
   9320 if ac_fn_c_try_compile "$LINENO"; then :
   9321   xorg_cv_cc_flag_unused_command_line_argument=yes
   9322 else
   9323   xorg_cv_cc_flag_unused_command_line_argument=no
   9324 fi
   9325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9326 fi
   9327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9328 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9329 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9330 	CFLAGS="$xorg_testset_save_CFLAGS"
   9331 fi
   9332 
   9333 found="no"
   9334 
   9335 	if test $found = "no" ; then
   9336 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9337 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9338 		fi
   9339 
   9340 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9341 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9342 		fi
   9343 
   9344 		CFLAGS="$CFLAGS -Warray-bounds"
   9345 
   9346 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9347 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9348 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9349 		if eval \${$cacheid+:} false; then :
   9350   $as_echo_n "(cached) " >&6
   9351 else
   9352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9353 /* end confdefs.h.  */
   9354 int i;
   9355 int
   9356 main ()
   9357 {
   9358 
   9359   ;
   9360   return 0;
   9361 }
   9362 _ACEOF
   9363 if ac_fn_c_try_link "$LINENO"; then :
   9364   eval $cacheid=yes
   9365 else
   9366   eval $cacheid=no
   9367 fi
   9368 rm -f core conftest.err conftest.$ac_objext \
   9369     conftest$ac_exeext conftest.$ac_ext
   9370 fi
   9371 
   9372 
   9373 		CFLAGS="$xorg_testset_save_CFLAGS"
   9374 
   9375 		eval supported=\$$cacheid
   9376 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9377 $as_echo "$supported" >&6; }
   9378 		if test "$supported" = "yes" ; then
   9379 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9380 			found="yes"
   9381 		fi
   9382 	fi
   9383 
   9384 
   9385 
   9386 
   9387 
   9388 
   9389 
   9390 
   9391 
   9392 
   9393 
   9394 
   9395 
   9396 
   9397 
   9398 xorg_testset_save_CFLAGS="$CFLAGS"
   9399 
   9400 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9401 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9402 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9403 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9404 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9405   $as_echo_n "(cached) " >&6
   9406 else
   9407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9408 /* end confdefs.h.  */
   9409 int i;
   9410 _ACEOF
   9411 if ac_fn_c_try_compile "$LINENO"; then :
   9412   xorg_cv_cc_flag_unknown_warning_option=yes
   9413 else
   9414   xorg_cv_cc_flag_unknown_warning_option=no
   9415 fi
   9416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9417 fi
   9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9419 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9420 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9421 	CFLAGS="$xorg_testset_save_CFLAGS"
   9422 fi
   9423 
   9424 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9425 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9426 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9427 	fi
   9428 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9429 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9430 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9431 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9432   $as_echo_n "(cached) " >&6
   9433 else
   9434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9435 /* end confdefs.h.  */
   9436 int i;
   9437 _ACEOF
   9438 if ac_fn_c_try_compile "$LINENO"; then :
   9439   xorg_cv_cc_flag_unused_command_line_argument=yes
   9440 else
   9441   xorg_cv_cc_flag_unused_command_line_argument=no
   9442 fi
   9443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9444 fi
   9445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9446 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9447 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9448 	CFLAGS="$xorg_testset_save_CFLAGS"
   9449 fi
   9450 
   9451 found="no"
   9452 
   9453 	if test $found = "no" ; then
   9454 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9455 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9456 		fi
   9457 
   9458 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9459 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9460 		fi
   9461 
   9462 		CFLAGS="$CFLAGS -Wwrite-strings"
   9463 
   9464 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9465 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9466 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9467 		if eval \${$cacheid+:} false; then :
   9468   $as_echo_n "(cached) " >&6
   9469 else
   9470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9471 /* end confdefs.h.  */
   9472 int i;
   9473 int
   9474 main ()
   9475 {
   9476 
   9477   ;
   9478   return 0;
   9479 }
   9480 _ACEOF
   9481 if ac_fn_c_try_link "$LINENO"; then :
   9482   eval $cacheid=yes
   9483 else
   9484   eval $cacheid=no
   9485 fi
   9486 rm -f core conftest.err conftest.$ac_objext \
   9487     conftest$ac_exeext conftest.$ac_ext
   9488 fi
   9489 
   9490 
   9491 		CFLAGS="$xorg_testset_save_CFLAGS"
   9492 
   9493 		eval supported=\$$cacheid
   9494 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9495 $as_echo "$supported" >&6; }
   9496 		if test "$supported" = "yes" ; then
   9497 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9498 			found="yes"
   9499 		fi
   9500 	fi
   9501 
   9502 
   9503 
   9504 
   9505 
   9506 
   9507 
   9508 
   9509 
   9510 
   9511 
   9512 
   9513 
   9514 
   9515 
   9516 xorg_testset_save_CFLAGS="$CFLAGS"
   9517 
   9518 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9519 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9520 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9521 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9522 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9523   $as_echo_n "(cached) " >&6
   9524 else
   9525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9526 /* end confdefs.h.  */
   9527 int i;
   9528 _ACEOF
   9529 if ac_fn_c_try_compile "$LINENO"; then :
   9530   xorg_cv_cc_flag_unknown_warning_option=yes
   9531 else
   9532   xorg_cv_cc_flag_unknown_warning_option=no
   9533 fi
   9534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9535 fi
   9536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9537 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9538 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9539 	CFLAGS="$xorg_testset_save_CFLAGS"
   9540 fi
   9541 
   9542 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9543 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9544 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9545 	fi
   9546 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9547 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9548 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9549 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9550   $as_echo_n "(cached) " >&6
   9551 else
   9552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9553 /* end confdefs.h.  */
   9554 int i;
   9555 _ACEOF
   9556 if ac_fn_c_try_compile "$LINENO"; then :
   9557   xorg_cv_cc_flag_unused_command_line_argument=yes
   9558 else
   9559   xorg_cv_cc_flag_unused_command_line_argument=no
   9560 fi
   9561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9562 fi
   9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9564 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9565 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9566 	CFLAGS="$xorg_testset_save_CFLAGS"
   9567 fi
   9568 
   9569 found="no"
   9570 
   9571 	if test $found = "no" ; then
   9572 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9573 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9574 		fi
   9575 
   9576 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9577 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9578 		fi
   9579 
   9580 		CFLAGS="$CFLAGS -Waddress"
   9581 
   9582 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9583 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9584 		cacheid=xorg_cv_cc_flag__Waddress
   9585 		if eval \${$cacheid+:} false; then :
   9586   $as_echo_n "(cached) " >&6
   9587 else
   9588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9589 /* end confdefs.h.  */
   9590 int i;
   9591 int
   9592 main ()
   9593 {
   9594 
   9595   ;
   9596   return 0;
   9597 }
   9598 _ACEOF
   9599 if ac_fn_c_try_link "$LINENO"; then :
   9600   eval $cacheid=yes
   9601 else
   9602   eval $cacheid=no
   9603 fi
   9604 rm -f core conftest.err conftest.$ac_objext \
   9605     conftest$ac_exeext conftest.$ac_ext
   9606 fi
   9607 
   9608 
   9609 		CFLAGS="$xorg_testset_save_CFLAGS"
   9610 
   9611 		eval supported=\$$cacheid
   9612 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9613 $as_echo "$supported" >&6; }
   9614 		if test "$supported" = "yes" ; then
   9615 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9616 			found="yes"
   9617 		fi
   9618 	fi
   9619 
   9620 
   9621 
   9622 
   9623 
   9624 
   9625 
   9626 
   9627 
   9628 
   9629 
   9630 
   9631 
   9632 
   9633 
   9634 xorg_testset_save_CFLAGS="$CFLAGS"
   9635 
   9636 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9637 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9638 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9639 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9640 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9641   $as_echo_n "(cached) " >&6
   9642 else
   9643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9644 /* end confdefs.h.  */
   9645 int i;
   9646 _ACEOF
   9647 if ac_fn_c_try_compile "$LINENO"; then :
   9648   xorg_cv_cc_flag_unknown_warning_option=yes
   9649 else
   9650   xorg_cv_cc_flag_unknown_warning_option=no
   9651 fi
   9652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9653 fi
   9654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9655 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9656 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9657 	CFLAGS="$xorg_testset_save_CFLAGS"
   9658 fi
   9659 
   9660 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9661 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9662 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9663 	fi
   9664 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9665 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9666 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9667 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9668   $as_echo_n "(cached) " >&6
   9669 else
   9670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9671 /* end confdefs.h.  */
   9672 int i;
   9673 _ACEOF
   9674 if ac_fn_c_try_compile "$LINENO"; then :
   9675   xorg_cv_cc_flag_unused_command_line_argument=yes
   9676 else
   9677   xorg_cv_cc_flag_unused_command_line_argument=no
   9678 fi
   9679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9680 fi
   9681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9682 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9683 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9684 	CFLAGS="$xorg_testset_save_CFLAGS"
   9685 fi
   9686 
   9687 found="no"
   9688 
   9689 	if test $found = "no" ; then
   9690 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9691 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9692 		fi
   9693 
   9694 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9695 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9696 		fi
   9697 
   9698 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9699 
   9700 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9701 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9702 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9703 		if eval \${$cacheid+:} false; then :
   9704   $as_echo_n "(cached) " >&6
   9705 else
   9706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9707 /* end confdefs.h.  */
   9708 int i;
   9709 int
   9710 main ()
   9711 {
   9712 
   9713   ;
   9714   return 0;
   9715 }
   9716 _ACEOF
   9717 if ac_fn_c_try_link "$LINENO"; then :
   9718   eval $cacheid=yes
   9719 else
   9720   eval $cacheid=no
   9721 fi
   9722 rm -f core conftest.err conftest.$ac_objext \
   9723     conftest$ac_exeext conftest.$ac_ext
   9724 fi
   9725 
   9726 
   9727 		CFLAGS="$xorg_testset_save_CFLAGS"
   9728 
   9729 		eval supported=\$$cacheid
   9730 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9731 $as_echo "$supported" >&6; }
   9732 		if test "$supported" = "yes" ; then
   9733 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9734 			found="yes"
   9735 		fi
   9736 	fi
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 xorg_testset_save_CFLAGS="$CFLAGS"
   9753 
   9754 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9755 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9756 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9757 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9758 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9759   $as_echo_n "(cached) " >&6
   9760 else
   9761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9762 /* end confdefs.h.  */
   9763 int i;
   9764 _ACEOF
   9765 if ac_fn_c_try_compile "$LINENO"; then :
   9766   xorg_cv_cc_flag_unknown_warning_option=yes
   9767 else
   9768   xorg_cv_cc_flag_unknown_warning_option=no
   9769 fi
   9770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9771 fi
   9772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9773 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9774 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9775 	CFLAGS="$xorg_testset_save_CFLAGS"
   9776 fi
   9777 
   9778 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9779 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9780 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9781 	fi
   9782 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9783 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9784 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9785 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9786   $as_echo_n "(cached) " >&6
   9787 else
   9788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9789 /* end confdefs.h.  */
   9790 int i;
   9791 _ACEOF
   9792 if ac_fn_c_try_compile "$LINENO"; then :
   9793   xorg_cv_cc_flag_unused_command_line_argument=yes
   9794 else
   9795   xorg_cv_cc_flag_unused_command_line_argument=no
   9796 fi
   9797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9798 fi
   9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9800 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9801 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9802 	CFLAGS="$xorg_testset_save_CFLAGS"
   9803 fi
   9804 
   9805 found="no"
   9806 
   9807 	if test $found = "no" ; then
   9808 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9809 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9810 		fi
   9811 
   9812 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9813 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9814 		fi
   9815 
   9816 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9817 
   9818 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9819 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9820 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9821 		if eval \${$cacheid+:} false; then :
   9822   $as_echo_n "(cached) " >&6
   9823 else
   9824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9825 /* end confdefs.h.  */
   9826 int i;
   9827 int
   9828 main ()
   9829 {
   9830 
   9831   ;
   9832   return 0;
   9833 }
   9834 _ACEOF
   9835 if ac_fn_c_try_link "$LINENO"; then :
   9836   eval $cacheid=yes
   9837 else
   9838   eval $cacheid=no
   9839 fi
   9840 rm -f core conftest.err conftest.$ac_objext \
   9841     conftest$ac_exeext conftest.$ac_ext
   9842 fi
   9843 
   9844 
   9845 		CFLAGS="$xorg_testset_save_CFLAGS"
   9846 
   9847 		eval supported=\$$cacheid
   9848 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9849 $as_echo "$supported" >&6; }
   9850 		if test "$supported" = "yes" ; then
   9851 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9852 			found="yes"
   9853 		fi
   9854 	fi
   9855 
   9856 
   9857 fi
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 		CWARNFLAGS="$BASE_CFLAGS"
   9866 		if  test "x$GCC" = xyes ; then
   9867 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9868 		fi
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 # Check whether --enable-strict-compilation was given.
   9878 if test "${enable_strict_compilation+set}" = set; then :
   9879   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   9880 else
   9881   STRICT_COMPILE=no
   9882 fi
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 STRICT_CFLAGS=""
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 xorg_testset_save_CFLAGS="$CFLAGS"
   9904 
   9905 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9906 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9907 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9908 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9909 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9910   $as_echo_n "(cached) " >&6
   9911 else
   9912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9913 /* end confdefs.h.  */
   9914 int i;
   9915 _ACEOF
   9916 if ac_fn_c_try_compile "$LINENO"; then :
   9917   xorg_cv_cc_flag_unknown_warning_option=yes
   9918 else
   9919   xorg_cv_cc_flag_unknown_warning_option=no
   9920 fi
   9921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9922 fi
   9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9924 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9925 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9926 	CFLAGS="$xorg_testset_save_CFLAGS"
   9927 fi
   9928 
   9929 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9930 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9931 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9932 	fi
   9933 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9934 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9935 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9936 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9937   $as_echo_n "(cached) " >&6
   9938 else
   9939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9940 /* end confdefs.h.  */
   9941 int i;
   9942 _ACEOF
   9943 if ac_fn_c_try_compile "$LINENO"; then :
   9944   xorg_cv_cc_flag_unused_command_line_argument=yes
   9945 else
   9946   xorg_cv_cc_flag_unused_command_line_argument=no
   9947 fi
   9948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9949 fi
   9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9951 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9952 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9953 	CFLAGS="$xorg_testset_save_CFLAGS"
   9954 fi
   9955 
   9956 found="no"
   9957 
   9958 	if test $found = "no" ; then
   9959 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9960 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9961 		fi
   9962 
   9963 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9964 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9965 		fi
   9966 
   9967 		CFLAGS="$CFLAGS -pedantic"
   9968 
   9969 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   9970 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   9971 		cacheid=xorg_cv_cc_flag__pedantic
   9972 		if eval \${$cacheid+:} false; then :
   9973   $as_echo_n "(cached) " >&6
   9974 else
   9975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9976 /* end confdefs.h.  */
   9977 int i;
   9978 int
   9979 main ()
   9980 {
   9981 
   9982   ;
   9983   return 0;
   9984 }
   9985 _ACEOF
   9986 if ac_fn_c_try_link "$LINENO"; then :
   9987   eval $cacheid=yes
   9988 else
   9989   eval $cacheid=no
   9990 fi
   9991 rm -f core conftest.err conftest.$ac_objext \
   9992     conftest$ac_exeext conftest.$ac_ext
   9993 fi
   9994 
   9995 
   9996 		CFLAGS="$xorg_testset_save_CFLAGS"
   9997 
   9998 		eval supported=\$$cacheid
   9999 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10000 $as_echo "$supported" >&6; }
   10001 		if test "$supported" = "yes" ; then
   10002 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10003 			found="yes"
   10004 		fi
   10005 	fi
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 xorg_testset_save_CFLAGS="$CFLAGS"
   10022 
   10023 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10024 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10025 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10026 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10027 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10028   $as_echo_n "(cached) " >&6
   10029 else
   10030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10031 /* end confdefs.h.  */
   10032 int i;
   10033 _ACEOF
   10034 if ac_fn_c_try_compile "$LINENO"; then :
   10035   xorg_cv_cc_flag_unknown_warning_option=yes
   10036 else
   10037   xorg_cv_cc_flag_unknown_warning_option=no
   10038 fi
   10039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10040 fi
   10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10042 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10043 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10044 	CFLAGS="$xorg_testset_save_CFLAGS"
   10045 fi
   10046 
   10047 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10048 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10049 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10050 	fi
   10051 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10052 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10053 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10054 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10055   $as_echo_n "(cached) " >&6
   10056 else
   10057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10058 /* end confdefs.h.  */
   10059 int i;
   10060 _ACEOF
   10061 if ac_fn_c_try_compile "$LINENO"; then :
   10062   xorg_cv_cc_flag_unused_command_line_argument=yes
   10063 else
   10064   xorg_cv_cc_flag_unused_command_line_argument=no
   10065 fi
   10066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10067 fi
   10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10069 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10070 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10071 	CFLAGS="$xorg_testset_save_CFLAGS"
   10072 fi
   10073 
   10074 found="no"
   10075 
   10076 	if test $found = "no" ; then
   10077 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10078 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10079 		fi
   10080 
   10081 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10082 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10083 		fi
   10084 
   10085 		CFLAGS="$CFLAGS -Werror"
   10086 
   10087 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10088 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10089 		cacheid=xorg_cv_cc_flag__Werror
   10090 		if eval \${$cacheid+:} false; then :
   10091   $as_echo_n "(cached) " >&6
   10092 else
   10093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10094 /* end confdefs.h.  */
   10095 int i;
   10096 int
   10097 main ()
   10098 {
   10099 
   10100   ;
   10101   return 0;
   10102 }
   10103 _ACEOF
   10104 if ac_fn_c_try_link "$LINENO"; then :
   10105   eval $cacheid=yes
   10106 else
   10107   eval $cacheid=no
   10108 fi
   10109 rm -f core conftest.err conftest.$ac_objext \
   10110     conftest$ac_exeext conftest.$ac_ext
   10111 fi
   10112 
   10113 
   10114 		CFLAGS="$xorg_testset_save_CFLAGS"
   10115 
   10116 		eval supported=\$$cacheid
   10117 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10118 $as_echo "$supported" >&6; }
   10119 		if test "$supported" = "yes" ; then
   10120 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10121 			found="yes"
   10122 		fi
   10123 	fi
   10124 
   10125 	if test $found = "no" ; then
   10126 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10127 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10128 		fi
   10129 
   10130 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10131 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10132 		fi
   10133 
   10134 		CFLAGS="$CFLAGS -errwarn"
   10135 
   10136 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10137 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10138 		cacheid=xorg_cv_cc_flag__errwarn
   10139 		if eval \${$cacheid+:} false; then :
   10140   $as_echo_n "(cached) " >&6
   10141 else
   10142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10143 /* end confdefs.h.  */
   10144 int i;
   10145 int
   10146 main ()
   10147 {
   10148 
   10149   ;
   10150   return 0;
   10151 }
   10152 _ACEOF
   10153 if ac_fn_c_try_link "$LINENO"; then :
   10154   eval $cacheid=yes
   10155 else
   10156   eval $cacheid=no
   10157 fi
   10158 rm -f core conftest.err conftest.$ac_objext \
   10159     conftest$ac_exeext conftest.$ac_ext
   10160 fi
   10161 
   10162 
   10163 		CFLAGS="$xorg_testset_save_CFLAGS"
   10164 
   10165 		eval supported=\$$cacheid
   10166 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10167 $as_echo "$supported" >&6; }
   10168 		if test "$supported" = "yes" ; then
   10169 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10170 			found="yes"
   10171 		fi
   10172 	fi
   10173 
   10174 
   10175 
   10176 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10177 # activate it with -Werror, so we add it here explicitly.
   10178 
   10179 
   10180 
   10181 
   10182 
   10183 
   10184 
   10185 
   10186 
   10187 
   10188 
   10189 
   10190 
   10191 xorg_testset_save_CFLAGS="$CFLAGS"
   10192 
   10193 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10194 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10195 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10196 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10197 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10198   $as_echo_n "(cached) " >&6
   10199 else
   10200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10201 /* end confdefs.h.  */
   10202 int i;
   10203 _ACEOF
   10204 if ac_fn_c_try_compile "$LINENO"; then :
   10205   xorg_cv_cc_flag_unknown_warning_option=yes
   10206 else
   10207   xorg_cv_cc_flag_unknown_warning_option=no
   10208 fi
   10209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10210 fi
   10211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10212 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10213 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10214 	CFLAGS="$xorg_testset_save_CFLAGS"
   10215 fi
   10216 
   10217 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10218 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10219 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10220 	fi
   10221 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10222 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10223 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10224 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10225   $as_echo_n "(cached) " >&6
   10226 else
   10227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10228 /* end confdefs.h.  */
   10229 int i;
   10230 _ACEOF
   10231 if ac_fn_c_try_compile "$LINENO"; then :
   10232   xorg_cv_cc_flag_unused_command_line_argument=yes
   10233 else
   10234   xorg_cv_cc_flag_unused_command_line_argument=no
   10235 fi
   10236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10237 fi
   10238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10239 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10240 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10241 	CFLAGS="$xorg_testset_save_CFLAGS"
   10242 fi
   10243 
   10244 found="no"
   10245 
   10246 	if test $found = "no" ; then
   10247 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10248 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10249 		fi
   10250 
   10251 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10252 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10253 		fi
   10254 
   10255 		CFLAGS="$CFLAGS -Werror=attributes"
   10256 
   10257 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10258 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10259 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   10260 		if eval \${$cacheid+:} false; then :
   10261   $as_echo_n "(cached) " >&6
   10262 else
   10263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10264 /* end confdefs.h.  */
   10265 int i;
   10266 int
   10267 main ()
   10268 {
   10269 
   10270   ;
   10271   return 0;
   10272 }
   10273 _ACEOF
   10274 if ac_fn_c_try_link "$LINENO"; then :
   10275   eval $cacheid=yes
   10276 else
   10277   eval $cacheid=no
   10278 fi
   10279 rm -f core conftest.err conftest.$ac_objext \
   10280     conftest$ac_exeext conftest.$ac_ext
   10281 fi
   10282 
   10283 
   10284 		CFLAGS="$xorg_testset_save_CFLAGS"
   10285 
   10286 		eval supported=\$$cacheid
   10287 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10288 $as_echo "$supported" >&6; }
   10289 		if test "$supported" = "yes" ; then
   10290 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10291 			found="yes"
   10292 		fi
   10293 	fi
   10294 
   10295 
   10296 
   10297 if test "x$STRICT_COMPILE" = "xyes"; then
   10298     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10299     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10300 fi
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 cat >>confdefs.h <<_ACEOF
   10308 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10309 _ACEOF
   10310 
   10311 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10312 	if test "x$PVM" = "x"; then
   10313 		PVM="0"
   10314 	fi
   10315 
   10316 cat >>confdefs.h <<_ACEOF
   10317 #define PACKAGE_VERSION_MINOR $PVM
   10318 _ACEOF
   10319 
   10320 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10321 	if test "x$PVP" = "x"; then
   10322 		PVP="0"
   10323 	fi
   10324 
   10325 cat >>confdefs.h <<_ACEOF
   10326 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10327 _ACEOF
   10328 
   10329 
   10330 
   10331 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10332 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10333 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10334 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10335 
   10336 
   10337 
   10338 
   10339 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10340 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10341 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10342 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10343 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10344 
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 if test x$APP_MAN_SUFFIX = x    ; then
   10351     APP_MAN_SUFFIX=1
   10352 fi
   10353 if test x$APP_MAN_DIR = x    ; then
   10354     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10355 fi
   10356 
   10357 if test x$LIB_MAN_SUFFIX = x    ; then
   10358     LIB_MAN_SUFFIX=3
   10359 fi
   10360 if test x$LIB_MAN_DIR = x    ; then
   10361     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10362 fi
   10363 
   10364 if test x$FILE_MAN_SUFFIX = x    ; then
   10365     case $host_os in
   10366 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10367 	*)		FILE_MAN_SUFFIX=5  ;;
   10368     esac
   10369 fi
   10370 if test x$FILE_MAN_DIR = x    ; then
   10371     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10372 fi
   10373 
   10374 if test x$MISC_MAN_SUFFIX = x    ; then
   10375     case $host_os in
   10376 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10377 	*)		MISC_MAN_SUFFIX=7  ;;
   10378     esac
   10379 fi
   10380 if test x$MISC_MAN_DIR = x    ; then
   10381     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10382 fi
   10383 
   10384 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10385     case $host_os in
   10386 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10387 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10388     esac
   10389 fi
   10390 if test x$DRIVER_MAN_DIR = x    ; then
   10391     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10392 fi
   10393 
   10394 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10395     case $host_os in
   10396 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10397 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10398     esac
   10399 fi
   10400 if test x$ADMIN_MAN_DIR = x    ; then
   10401     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10402 fi
   10403 
   10404 
   10405 
   10406 
   10407 
   10408 
   10409 
   10410 
   10411 
   10412 
   10413 
   10414 
   10415 
   10416 
   10417 
   10418 XORG_MAN_PAGE="X Version 11"
   10419 
   10420 MAN_SUBSTS="\
   10421 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10422 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10423 	-e 's|__xservername__|Xorg|g' \
   10424 	-e 's|__xconfigfile__|xorg.conf|g' \
   10425 	-e 's|__projectroot__|\$(prefix)|g' \
   10426 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10427 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10428 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10429 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10430 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10431 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10432 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10433 
   10434 
   10435 
   10436 # Check whether --enable-silent-rules was given.
   10437 if test "${enable_silent_rules+set}" = set; then :
   10438   enableval=$enable_silent_rules;
   10439 fi
   10440 
   10441 case $enable_silent_rules in
   10442 yes) AM_DEFAULT_VERBOSITY=0;;
   10443 no)  AM_DEFAULT_VERBOSITY=1;;
   10444 *)   AM_DEFAULT_VERBOSITY=0;;
   10445 esac
   10446 AM_BACKSLASH='\'
   10447 
   10448 
   10449 
   10450 ac_config_headers="$ac_config_headers config.h"
   10451 
   10452 
   10453 if test "x$CC" != xcc; then
   10454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
   10455 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
   10456 else
   10457   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
   10458 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
   10459 fi
   10460 set dummy $CC; ac_cc=`$as_echo "$2" |
   10461 		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
   10462 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
   10463   $as_echo_n "(cached) " >&6
   10464 else
   10465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10466 /* end confdefs.h.  */
   10467 
   10468 int
   10469 main ()
   10470 {
   10471 
   10472   ;
   10473   return 0;
   10474 }
   10475 _ACEOF
   10476 # Make sure it works both with $CC and with simple cc.
   10477 # We do the test twice because some compilers refuse to overwrite an
   10478 # existing .o file with -o, though they will create one.
   10479 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
   10480 rm -f conftest2.*
   10481 if { { case "(($ac_try" in
   10482   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10483   *) ac_try_echo=$ac_try;;
   10484 esac
   10485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   10486 $as_echo "$ac_try_echo"; } >&5
   10487   (eval "$ac_try") 2>&5
   10488   ac_status=$?
   10489   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10490   test $ac_status = 0; } &&
   10491    test -f conftest2.$ac_objext && { { case "(($ac_try" in
   10492   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10493   *) ac_try_echo=$ac_try;;
   10494 esac
   10495 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   10496 $as_echo "$ac_try_echo"; } >&5
   10497   (eval "$ac_try") 2>&5
   10498   ac_status=$?
   10499   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10500   test $ac_status = 0; };
   10501 then
   10502   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
   10503   if test "x$CC" != xcc; then
   10504     # Test first that cc exists at all.
   10505     if { ac_try='cc -c conftest.$ac_ext >&5'
   10506   { { case "(($ac_try" in
   10507   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10508   *) ac_try_echo=$ac_try;;
   10509 esac
   10510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   10511 $as_echo "$ac_try_echo"; } >&5
   10512   (eval "$ac_try") 2>&5
   10513   ac_status=$?
   10514   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10515   test $ac_status = 0; }; }; then
   10516       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
   10517       rm -f conftest2.*
   10518       if { { case "(($ac_try" in
   10519   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10520   *) ac_try_echo=$ac_try;;
   10521 esac
   10522 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   10523 $as_echo "$ac_try_echo"; } >&5
   10524   (eval "$ac_try") 2>&5
   10525   ac_status=$?
   10526   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10527   test $ac_status = 0; } &&
   10528 	 test -f conftest2.$ac_objext && { { case "(($ac_try" in
   10529   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10530   *) ac_try_echo=$ac_try;;
   10531 esac
   10532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   10533 $as_echo "$ac_try_echo"; } >&5
   10534   (eval "$ac_try") 2>&5
   10535   ac_status=$?
   10536   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10537   test $ac_status = 0; };
   10538       then
   10539 	# cc works too.
   10540 	:
   10541       else
   10542 	# cc exists but doesn't like -o.
   10543 	eval ac_cv_prog_cc_${ac_cc}_c_o=no
   10544       fi
   10545     fi
   10546   fi
   10547 else
   10548   eval ac_cv_prog_cc_${ac_cc}_c_o=no
   10549 fi
   10550 rm -f core conftest*
   10551 
   10552 fi
   10553 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
   10554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10555 $as_echo "yes" >&6; }
   10556 else
   10557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10558 $as_echo "no" >&6; }
   10559 
   10560 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
   10561 
   10562 fi
   10563 
   10564 # FIXME: we rely on the cache variable name because
   10565 # there is no other way.
   10566 set dummy $CC
   10567 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
   10568 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
   10569 if test "$am_t" != yes; then
   10570    # Losing compiler, so override with the script.
   10571    # FIXME: It is wrong to rewrite CC.
   10572    # But if we don't then we get into trouble of one sort or another.
   10573    # A longer-term fix would be to have automake use am__CC in this case,
   10574    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   10575    CC="$am_aux_dir/compile $CC"
   10576 fi
   10577 
   10578 
   10579 if test -n "$ac_tool_prefix"; then
   10580   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   10581 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   10582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10583 $as_echo_n "checking for $ac_word... " >&6; }
   10584 if ${ac_cv_prog_RANLIB+:} false; then :
   10585   $as_echo_n "(cached) " >&6
   10586 else
   10587   if test -n "$RANLIB"; then
   10588   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   10589 else
   10590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10591 for as_dir in $PATH
   10592 do
   10593   IFS=$as_save_IFS
   10594   test -z "$as_dir" && as_dir=.
   10595     for ac_exec_ext in '' $ac_executable_extensions; do
   10596   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10597     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   10598     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10599     break 2
   10600   fi
   10601 done
   10602   done
   10603 IFS=$as_save_IFS
   10604 
   10605 fi
   10606 fi
   10607 RANLIB=$ac_cv_prog_RANLIB
   10608 if test -n "$RANLIB"; then
   10609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   10610 $as_echo "$RANLIB" >&6; }
   10611 else
   10612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10613 $as_echo "no" >&6; }
   10614 fi
   10615 
   10616 
   10617 fi
   10618 if test -z "$ac_cv_prog_RANLIB"; then
   10619   ac_ct_RANLIB=$RANLIB
   10620   # Extract the first word of "ranlib", so it can be a program name with args.
   10621 set dummy ranlib; ac_word=$2
   10622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10623 $as_echo_n "checking for $ac_word... " >&6; }
   10624 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   10625   $as_echo_n "(cached) " >&6
   10626 else
   10627   if test -n "$ac_ct_RANLIB"; then
   10628   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   10629 else
   10630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10631 for as_dir in $PATH
   10632 do
   10633   IFS=$as_save_IFS
   10634   test -z "$as_dir" && as_dir=.
   10635     for ac_exec_ext in '' $ac_executable_extensions; do
   10636   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10637     ac_cv_prog_ac_ct_RANLIB="ranlib"
   10638     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10639     break 2
   10640   fi
   10641 done
   10642   done
   10643 IFS=$as_save_IFS
   10644 
   10645 fi
   10646 fi
   10647 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   10648 if test -n "$ac_ct_RANLIB"; then
   10649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   10650 $as_echo "$ac_ct_RANLIB" >&6; }
   10651 else
   10652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10653 $as_echo "no" >&6; }
   10654 fi
   10655 
   10656   if test "x$ac_ct_RANLIB" = x; then
   10657     RANLIB=":"
   10658   else
   10659     case $cross_compiling:$ac_tool_warned in
   10660 yes:)
   10661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10662 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10663 ac_tool_warned=yes ;;
   10664 esac
   10665     RANLIB=$ac_ct_RANLIB
   10666   fi
   10667 else
   10668   RANLIB="$ac_cv_prog_RANLIB"
   10669 fi
   10670 
   10671 
   10672 
   10673 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   10674 	if test -n "$ac_tool_prefix"; then
   10675   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   10676 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   10677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10678 $as_echo_n "checking for $ac_word... " >&6; }
   10679 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   10680   $as_echo_n "(cached) " >&6
   10681 else
   10682   case $PKG_CONFIG in
   10683   [\\/]* | ?:[\\/]*)
   10684   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   10685   ;;
   10686   *)
   10687   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10688 for as_dir in $PATH
   10689 do
   10690   IFS=$as_save_IFS
   10691   test -z "$as_dir" && as_dir=.
   10692     for ac_exec_ext in '' $ac_executable_extensions; do
   10693   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10694     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   10695     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10696     break 2
   10697   fi
   10698 done
   10699   done
   10700 IFS=$as_save_IFS
   10701 
   10702   ;;
   10703 esac
   10704 fi
   10705 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   10706 if test -n "$PKG_CONFIG"; then
   10707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   10708 $as_echo "$PKG_CONFIG" >&6; }
   10709 else
   10710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10711 $as_echo "no" >&6; }
   10712 fi
   10713 
   10714 
   10715 fi
   10716 if test -z "$ac_cv_path_PKG_CONFIG"; then
   10717   ac_pt_PKG_CONFIG=$PKG_CONFIG
   10718   # Extract the first word of "pkg-config", so it can be a program name with args.
   10719 set dummy pkg-config; ac_word=$2
   10720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10721 $as_echo_n "checking for $ac_word... " >&6; }
   10722 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   10723   $as_echo_n "(cached) " >&6
   10724 else
   10725   case $ac_pt_PKG_CONFIG in
   10726   [\\/]* | ?:[\\/]*)
   10727   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   10728   ;;
   10729   *)
   10730   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10731 for as_dir in $PATH
   10732 do
   10733   IFS=$as_save_IFS
   10734   test -z "$as_dir" && as_dir=.
   10735     for ac_exec_ext in '' $ac_executable_extensions; do
   10736   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10737     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   10738     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10739     break 2
   10740   fi
   10741 done
   10742   done
   10743 IFS=$as_save_IFS
   10744 
   10745   ;;
   10746 esac
   10747 fi
   10748 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   10749 if test -n "$ac_pt_PKG_CONFIG"; then
   10750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   10751 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   10752 else
   10753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10754 $as_echo "no" >&6; }
   10755 fi
   10756 
   10757   if test "x$ac_pt_PKG_CONFIG" = x; then
   10758     PKG_CONFIG=""
   10759   else
   10760     case $cross_compiling:$ac_tool_warned in
   10761 yes:)
   10762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10763 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10764 ac_tool_warned=yes ;;
   10765 esac
   10766     PKG_CONFIG=$ac_pt_PKG_CONFIG
   10767   fi
   10768 else
   10769   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   10770 fi
   10771 
   10772 fi
   10773 if test -n "$PKG_CONFIG"; then
   10774 	_pkg_min_version=0.9.0
   10775 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   10776 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   10777 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   10778 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10779 $as_echo "yes" >&6; }
   10780 	else
   10781 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10782 $as_echo "no" >&6; }
   10783 		PKG_CONFIG=""
   10784 	fi
   10785 
   10786 fi
   10787 
   10788 
   10789 pkg_failed=no
   10790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PKGDEPS" >&5
   10791 $as_echo_n "checking for PKGDEPS... " >&6; }
   10792 
   10793 if test -n "$PKGDEPS_CFLAGS"; then
   10794     pkg_cv_PKGDEPS_CFLAGS="$PKGDEPS_CFLAGS"
   10795  elif test -n "$PKG_CONFIG"; then
   10796     if test -n "$PKG_CONFIG" && \
   10797     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt >= 1.0 x11\""; } >&5
   10798   ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt >= 1.0 x11") 2>&5
   10799   ac_status=$?
   10800   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10801   test $ac_status = 0; }; then
   10802   pkg_cv_PKGDEPS_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xmu xt >= 1.0 x11" 2>/dev/null`
   10803 else
   10804   pkg_failed=yes
   10805 fi
   10806  else
   10807     pkg_failed=untried
   10808 fi
   10809 if test -n "$PKGDEPS_LIBS"; then
   10810     pkg_cv_PKGDEPS_LIBS="$PKGDEPS_LIBS"
   10811  elif test -n "$PKG_CONFIG"; then
   10812     if test -n "$PKG_CONFIG" && \
   10813     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt >= 1.0 x11\""; } >&5
   10814   ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt >= 1.0 x11") 2>&5
   10815   ac_status=$?
   10816   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10817   test $ac_status = 0; }; then
   10818   pkg_cv_PKGDEPS_LIBS=`$PKG_CONFIG --libs "xaw7 xmu xt >= 1.0 x11" 2>/dev/null`
   10819 else
   10820   pkg_failed=yes
   10821 fi
   10822  else
   10823     pkg_failed=untried
   10824 fi
   10825 
   10826 
   10827 
   10828 if test $pkg_failed = yes; then
   10829 
   10830 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10831         _pkg_short_errors_supported=yes
   10832 else
   10833         _pkg_short_errors_supported=no
   10834 fi
   10835         if test $_pkg_short_errors_supported = yes; then
   10836 	        PKGDEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xaw7 xmu xt >= 1.0 x11" 2>&1`
   10837         else
   10838 	        PKGDEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "xaw7 xmu xt >= 1.0 x11" 2>&1`
   10839         fi
   10840 	# Put the nasty error message in config.log where it belongs
   10841 	echo "$PKGDEPS_PKG_ERRORS" >&5
   10842 
   10843 	as_fn_error $? "Package requirements (xaw7 xmu xt >= 1.0 x11) were not met:
   10844 
   10845 $PKGDEPS_PKG_ERRORS
   10846 
   10847 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10848 installed software in a non-standard prefix.
   10849 
   10850 Alternatively, you may set the environment variables PKGDEPS_CFLAGS
   10851 and PKGDEPS_LIBS to avoid the need to call pkg-config.
   10852 See the pkg-config man page for more details.
   10853 " "$LINENO" 5
   10854 elif test $pkg_failed = untried; then
   10855 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10857 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10858 is in your PATH or set the PKG_CONFIG environment variable to the full
   10859 path to pkg-config.
   10860 
   10861 Alternatively, you may set the environment variables PKGDEPS_CFLAGS
   10862 and PKGDEPS_LIBS to avoid the need to call pkg-config.
   10863 See the pkg-config man page for more details.
   10864 
   10865 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10866 See \`config.log' for more details" "$LINENO" 5; }
   10867 else
   10868 	PKGDEPS_CFLAGS=$pkg_cv_PKGDEPS_CFLAGS
   10869 	PKGDEPS_LIBS=$pkg_cv_PKGDEPS_LIBS
   10870         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10871 $as_echo "yes" >&6; }
   10872 	:
   10873 fi
   10874 
   10875 
   10876 # Check whether --with-lispdir was given.
   10877 if test "${with_lispdir+set}" = set; then :
   10878   withval=$with_lispdir;  lispdir="$withval"
   10879 else
   10880    lispdir=${libdir}/X11/xedit/lisp
   10881 fi
   10882 
   10883 LISPDIR=$lispdir
   10884 
   10885 
   10886 ac_fn_c_check_func "$LINENO" "realpath" "ac_cv_func_realpath"
   10887 if test "x$ac_cv_func_realpath" = xyes; then :
   10888 
   10889 else
   10890   have_realpath=yes
   10891 fi
   10892 
   10893  if test x$have_realpath = xyes; then
   10894   NEED_REALPATH_TRUE=
   10895   NEED_REALPATH_FALSE='#'
   10896 else
   10897   NEED_REALPATH_TRUE='#'
   10898   NEED_REALPATH_FALSE=
   10899 fi
   10900 
   10901 ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
   10902 if test "x$ac_cv_func_strcasecmp" = xyes; then :
   10903 
   10904 else
   10905   have_strcasecmp=yes
   10906 fi
   10907 
   10908  if test x$have_strcasecmp = xyes; then
   10909   NEED_STRCASECMP_TRUE=
   10910   NEED_STRCASECMP_FALSE='#'
   10911 else
   10912   NEED_STRCASECMP_TRUE='#'
   10913   NEED_STRCASECMP_FALSE=
   10914 fi
   10915 
   10916 ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
   10917 if test "x$ac_cv_func_unsetenv" = xyes; then :
   10918 
   10919 else
   10920   have_unsetenv=yes
   10921 fi
   10922 
   10923  if test x$have_unsetenv = xyes; then
   10924   NEED_UNSETENV_TRUE=
   10925   NEED_UNSETENV_FALSE='#'
   10926 else
   10927   NEED_UNSETENV_TRUE='#'
   10928   NEED_UNSETENV_FALSE=
   10929 fi
   10930 
   10931 
   10932 
   10933 pkg_failed=no
   10934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   10935 $as_echo_n "checking for APPDEFS... " >&6; }
   10936 
   10937 if test -n "$APPDEFS_CFLAGS"; then
   10938     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   10939  elif test -n "$PKG_CONFIG"; then
   10940     if test -n "$PKG_CONFIG" && \
   10941     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   10942   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   10943   ac_status=$?
   10944   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10945   test $ac_status = 0; }; then
   10946   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   10947 else
   10948   pkg_failed=yes
   10949 fi
   10950  else
   10951     pkg_failed=untried
   10952 fi
   10953 if test -n "$APPDEFS_LIBS"; then
   10954     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   10955  elif test -n "$PKG_CONFIG"; then
   10956     if test -n "$PKG_CONFIG" && \
   10957     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   10958   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   10959   ac_status=$?
   10960   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10961   test $ac_status = 0; }; then
   10962   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   10963 else
   10964   pkg_failed=yes
   10965 fi
   10966  else
   10967     pkg_failed=untried
   10968 fi
   10969 
   10970 
   10971 
   10972 if test $pkg_failed = yes; then
   10973 
   10974 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10975         _pkg_short_errors_supported=yes
   10976 else
   10977         _pkg_short_errors_supported=no
   10978 fi
   10979         if test $_pkg_short_errors_supported = yes; then
   10980 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xt" 2>&1`
   10981         else
   10982 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors "xt" 2>&1`
   10983         fi
   10984 	# Put the nasty error message in config.log where it belongs
   10985 	echo "$APPDEFS_PKG_ERRORS" >&5
   10986 
   10987 	as_fn_error $? "Package requirements (xt) were not met:
   10988 
   10989 $APPDEFS_PKG_ERRORS
   10990 
   10991 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10992 installed software in a non-standard prefix.
   10993 
   10994 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   10995 and APPDEFS_LIBS to avoid the need to call pkg-config.
   10996 See the pkg-config man page for more details.
   10997 " "$LINENO" 5
   10998 elif test $pkg_failed = untried; then
   10999 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11000 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11001 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11002 is in your PATH or set the PKG_CONFIG environment variable to the full
   11003 path to pkg-config.
   11004 
   11005 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   11006 and APPDEFS_LIBS to avoid the need to call pkg-config.
   11007 See the pkg-config man page for more details.
   11008 
   11009 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11010 See \`config.log' for more details" "$LINENO" 5; }
   11011 else
   11012 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   11013 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   11014         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11015 $as_echo "yes" >&6; }
   11016 	:
   11017 fi
   11018 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   11019 
   11020 # Check whether --with-appdefaultdir was given.
   11021 if test "${with_appdefaultdir+set}" = set; then :
   11022   withval=$with_appdefaultdir; appdefaultdir="$withval"
   11023 else
   11024   appdefaultdir="${xt_appdefaultdir}"
   11025 fi
   11026 
   11027 
   11028 
   11029 
   11030 ac_config_files="$ac_config_files Makefile man/Makefile"
   11031 
   11032 cat >confcache <<\_ACEOF
   11033 # This file is a shell script that caches the results of configure
   11034 # tests run on this system so they can be shared between configure
   11035 # scripts and configure runs, see configure's option --config-cache.
   11036 # It is not useful on other systems.  If it contains results you don't
   11037 # want to keep, you may remove or edit it.
   11038 #
   11039 # config.status only pays attention to the cache file if you give it
   11040 # the --recheck option to rerun configure.
   11041 #
   11042 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11043 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11044 # following values.
   11045 
   11046 _ACEOF
   11047 
   11048 # The following way of writing the cache mishandles newlines in values,
   11049 # but we know of no workaround that is simple, portable, and efficient.
   11050 # So, we kill variables containing newlines.
   11051 # Ultrix sh set writes to stderr and can't be redirected directly,
   11052 # and sets the high bit in the cache file unless we assign to the vars.
   11053 (
   11054   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11055     eval ac_val=\$$ac_var
   11056     case $ac_val in #(
   11057     *${as_nl}*)
   11058       case $ac_var in #(
   11059       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11060 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11061       esac
   11062       case $ac_var in #(
   11063       _ | IFS | as_nl) ;; #(
   11064       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11065       *) { eval $ac_var=; unset $ac_var;} ;;
   11066       esac ;;
   11067     esac
   11068   done
   11069 
   11070   (set) 2>&1 |
   11071     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11072     *${as_nl}ac_space=\ *)
   11073       # `set' does not quote correctly, so add quotes: double-quote
   11074       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11075       sed -n \
   11076 	"s/'/'\\\\''/g;
   11077 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11078       ;; #(
   11079     *)
   11080       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11081       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11082       ;;
   11083     esac |
   11084     sort
   11085 ) |
   11086   sed '
   11087      /^ac_cv_env_/b end
   11088      t clear
   11089      :clear
   11090      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11091      t end
   11092      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11093      :end' >>confcache
   11094 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11095   if test -w "$cache_file"; then
   11096     if test "x$cache_file" != "x/dev/null"; then
   11097       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11098 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11099       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11100 	cat confcache >"$cache_file"
   11101       else
   11102         case $cache_file in #(
   11103         */* | ?:*)
   11104 	  mv -f confcache "$cache_file"$$ &&
   11105 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11106         *)
   11107 	  mv -f confcache "$cache_file" ;;
   11108 	esac
   11109       fi
   11110     fi
   11111   else
   11112     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11113 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11114   fi
   11115 fi
   11116 rm -f confcache
   11117 
   11118 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11119 # Let make expand exec_prefix.
   11120 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11121 
   11122 DEFS=-DHAVE_CONFIG_H
   11123 
   11124 ac_libobjs=
   11125 ac_ltlibobjs=
   11126 U=
   11127 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11128   # 1. Remove the extension, and $U if already installed.
   11129   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11130   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11131   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11132   #    will be set to the directory where LIBOBJS objects are built.
   11133   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11134   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11135 done
   11136 LIBOBJS=$ac_libobjs
   11137 
   11138 LTLIBOBJS=$ac_ltlibobjs
   11139 
   11140 
   11141  if test -n "$EXEEXT"; then
   11142   am__EXEEXT_TRUE=
   11143   am__EXEEXT_FALSE='#'
   11144 else
   11145   am__EXEEXT_TRUE='#'
   11146   am__EXEEXT_FALSE=
   11147 fi
   11148 
   11149 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   11150   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   11151 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11152 fi
   11153 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11154   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11155 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11156 fi
   11157 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11158   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11159 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11160 fi
   11161 if test -z "${NEED_REALPATH_TRUE}" && test -z "${NEED_REALPATH_FALSE}"; then
   11162   as_fn_error $? "conditional \"NEED_REALPATH\" was never defined.
   11163 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11164 fi
   11165 if test -z "${NEED_STRCASECMP_TRUE}" && test -z "${NEED_STRCASECMP_FALSE}"; then
   11166   as_fn_error $? "conditional \"NEED_STRCASECMP\" was never defined.
   11167 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11168 fi
   11169 if test -z "${NEED_UNSETENV_TRUE}" && test -z "${NEED_UNSETENV_FALSE}"; then
   11170   as_fn_error $? "conditional \"NEED_UNSETENV\" was never defined.
   11171 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11172 fi
   11173 
   11174 : "${CONFIG_STATUS=./config.status}"
   11175 ac_write_fail=0
   11176 ac_clean_files_save=$ac_clean_files
   11177 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11178 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11179 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11180 as_write_fail=0
   11181 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11182 #! $SHELL
   11183 # Generated by $as_me.
   11184 # Run this file to recreate the current configuration.
   11185 # Compiler output produced by configure, useful for debugging
   11186 # configure, is in config.log if it exists.
   11187 
   11188 debug=false
   11189 ac_cs_recheck=false
   11190 ac_cs_silent=false
   11191 
   11192 SHELL=\${CONFIG_SHELL-$SHELL}
   11193 export SHELL
   11194 _ASEOF
   11195 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11196 ## -------------------- ##
   11197 ## M4sh Initialization. ##
   11198 ## -------------------- ##
   11199 
   11200 # Be more Bourne compatible
   11201 DUALCASE=1; export DUALCASE # for MKS sh
   11202 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11203   emulate sh
   11204   NULLCMD=:
   11205   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11206   # is contrary to our usage.  Disable this feature.
   11207   alias -g '${1+"$@"}'='"$@"'
   11208   setopt NO_GLOB_SUBST
   11209 else
   11210   case `(set -o) 2>/dev/null` in #(
   11211   *posix*) :
   11212     set -o posix ;; #(
   11213   *) :
   11214      ;;
   11215 esac
   11216 fi
   11217 
   11218 
   11219 as_nl='
   11220 '
   11221 export as_nl
   11222 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11223 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11224 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11225 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11226 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11227 # but without wasting forks for bash or zsh.
   11228 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11229     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11230   as_echo='print -r --'
   11231   as_echo_n='print -rn --'
   11232 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11233   as_echo='printf %s\n'
   11234   as_echo_n='printf %s'
   11235 else
   11236   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11237     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11238     as_echo_n='/usr/ucb/echo -n'
   11239   else
   11240     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11241     as_echo_n_body='eval
   11242       arg=$1;
   11243       case $arg in #(
   11244       *"$as_nl"*)
   11245 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11246 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11247       esac;
   11248       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11249     '
   11250     export as_echo_n_body
   11251     as_echo_n='sh -c $as_echo_n_body as_echo'
   11252   fi
   11253   export as_echo_body
   11254   as_echo='sh -c $as_echo_body as_echo'
   11255 fi
   11256 
   11257 # The user is always right.
   11258 if test "${PATH_SEPARATOR+set}" != set; then
   11259   PATH_SEPARATOR=:
   11260   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11261     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11262       PATH_SEPARATOR=';'
   11263   }
   11264 fi
   11265 
   11266 
   11267 # IFS
   11268 # We need space, tab and new line, in precisely that order.  Quoting is
   11269 # there to prevent editors from complaining about space-tab.
   11270 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11271 # splitting by setting IFS to empty value.)
   11272 IFS=" ""	$as_nl"
   11273 
   11274 # Find who we are.  Look in the path if we contain no directory separator.
   11275 as_myself=
   11276 case $0 in #((
   11277   *[\\/]* ) as_myself=$0 ;;
   11278   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11279 for as_dir in $PATH
   11280 do
   11281   IFS=$as_save_IFS
   11282   test -z "$as_dir" && as_dir=.
   11283     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11284   done
   11285 IFS=$as_save_IFS
   11286 
   11287      ;;
   11288 esac
   11289 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11290 # in which case we are not to be found in the path.
   11291 if test "x$as_myself" = x; then
   11292   as_myself=$0
   11293 fi
   11294 if test ! -f "$as_myself"; then
   11295   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11296   exit 1
   11297 fi
   11298 
   11299 # Unset variables that we do not need and which cause bugs (e.g. in
   11300 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11301 # suppresses any "Segmentation fault" message there.  '((' could
   11302 # trigger a bug in pdksh 5.2.14.
   11303 for as_var in BASH_ENV ENV MAIL MAILPATH
   11304 do eval test x\${$as_var+set} = xset \
   11305   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11306 done
   11307 PS1='$ '
   11308 PS2='> '
   11309 PS4='+ '
   11310 
   11311 # NLS nuisances.
   11312 LC_ALL=C
   11313 export LC_ALL
   11314 LANGUAGE=C
   11315 export LANGUAGE
   11316 
   11317 # CDPATH.
   11318 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11319 
   11320 
   11321 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11322 # ----------------------------------------
   11323 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11324 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11325 # script with STATUS, using 1 if that was 0.
   11326 as_fn_error ()
   11327 {
   11328   as_status=$1; test $as_status -eq 0 && as_status=1
   11329   if test "$4"; then
   11330     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11331     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11332   fi
   11333   $as_echo "$as_me: error: $2" >&2
   11334   as_fn_exit $as_status
   11335 } # as_fn_error
   11336 
   11337 
   11338 # as_fn_set_status STATUS
   11339 # -----------------------
   11340 # Set $? to STATUS, without forking.
   11341 as_fn_set_status ()
   11342 {
   11343   return $1
   11344 } # as_fn_set_status
   11345 
   11346 # as_fn_exit STATUS
   11347 # -----------------
   11348 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11349 as_fn_exit ()
   11350 {
   11351   set +e
   11352   as_fn_set_status $1
   11353   exit $1
   11354 } # as_fn_exit
   11355 
   11356 # as_fn_unset VAR
   11357 # ---------------
   11358 # Portably unset VAR.
   11359 as_fn_unset ()
   11360 {
   11361   { eval $1=; unset $1;}
   11362 }
   11363 as_unset=as_fn_unset
   11364 # as_fn_append VAR VALUE
   11365 # ----------------------
   11366 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11367 # advantage of any shell optimizations that allow amortized linear growth over
   11368 # repeated appends, instead of the typical quadratic growth present in naive
   11369 # implementations.
   11370 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11371   eval 'as_fn_append ()
   11372   {
   11373     eval $1+=\$2
   11374   }'
   11375 else
   11376   as_fn_append ()
   11377   {
   11378     eval $1=\$$1\$2
   11379   }
   11380 fi # as_fn_append
   11381 
   11382 # as_fn_arith ARG...
   11383 # ------------------
   11384 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11385 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11386 # must be portable across $(()) and expr.
   11387 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11388   eval 'as_fn_arith ()
   11389   {
   11390     as_val=$(( $* ))
   11391   }'
   11392 else
   11393   as_fn_arith ()
   11394   {
   11395     as_val=`expr "$@" || test $? -eq 1`
   11396   }
   11397 fi # as_fn_arith
   11398 
   11399 
   11400 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11401    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11402   as_expr=expr
   11403 else
   11404   as_expr=false
   11405 fi
   11406 
   11407 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11408   as_basename=basename
   11409 else
   11410   as_basename=false
   11411 fi
   11412 
   11413 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11414   as_dirname=dirname
   11415 else
   11416   as_dirname=false
   11417 fi
   11418 
   11419 as_me=`$as_basename -- "$0" ||
   11420 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11421 	 X"$0" : 'X\(//\)$' \| \
   11422 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11423 $as_echo X/"$0" |
   11424     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11425 	    s//\1/
   11426 	    q
   11427 	  }
   11428 	  /^X\/\(\/\/\)$/{
   11429 	    s//\1/
   11430 	    q
   11431 	  }
   11432 	  /^X\/\(\/\).*/{
   11433 	    s//\1/
   11434 	    q
   11435 	  }
   11436 	  s/.*/./; q'`
   11437 
   11438 # Avoid depending upon Character Ranges.
   11439 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11440 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11441 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11442 as_cr_digits='0123456789'
   11443 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11444 
   11445 ECHO_C= ECHO_N= ECHO_T=
   11446 case `echo -n x` in #(((((
   11447 -n*)
   11448   case `echo 'xy\c'` in
   11449   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11450   xy)  ECHO_C='\c';;
   11451   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11452        ECHO_T='	';;
   11453   esac;;
   11454 *)
   11455   ECHO_N='-n';;
   11456 esac
   11457 
   11458 rm -f conf$$ conf$$.exe conf$$.file
   11459 if test -d conf$$.dir; then
   11460   rm -f conf$$.dir/conf$$.file
   11461 else
   11462   rm -f conf$$.dir
   11463   mkdir conf$$.dir 2>/dev/null
   11464 fi
   11465 if (echo >conf$$.file) 2>/dev/null; then
   11466   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11467     as_ln_s='ln -s'
   11468     # ... but there are two gotchas:
   11469     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11470     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11471     # In both cases, we have to default to `cp -p'.
   11472     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11473       as_ln_s='cp -p'
   11474   elif ln conf$$.file conf$$ 2>/dev/null; then
   11475     as_ln_s=ln
   11476   else
   11477     as_ln_s='cp -p'
   11478   fi
   11479 else
   11480   as_ln_s='cp -p'
   11481 fi
   11482 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11483 rmdir conf$$.dir 2>/dev/null
   11484 
   11485 
   11486 # as_fn_mkdir_p
   11487 # -------------
   11488 # Create "$as_dir" as a directory, including parents if necessary.
   11489 as_fn_mkdir_p ()
   11490 {
   11491 
   11492   case $as_dir in #(
   11493   -*) as_dir=./$as_dir;;
   11494   esac
   11495   test -d "$as_dir" || eval $as_mkdir_p || {
   11496     as_dirs=
   11497     while :; do
   11498       case $as_dir in #(
   11499       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11500       *) as_qdir=$as_dir;;
   11501       esac
   11502       as_dirs="'$as_qdir' $as_dirs"
   11503       as_dir=`$as_dirname -- "$as_dir" ||
   11504 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11505 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11506 	 X"$as_dir" : 'X\(//\)$' \| \
   11507 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11508 $as_echo X"$as_dir" |
   11509     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11510 	    s//\1/
   11511 	    q
   11512 	  }
   11513 	  /^X\(\/\/\)[^/].*/{
   11514 	    s//\1/
   11515 	    q
   11516 	  }
   11517 	  /^X\(\/\/\)$/{
   11518 	    s//\1/
   11519 	    q
   11520 	  }
   11521 	  /^X\(\/\).*/{
   11522 	    s//\1/
   11523 	    q
   11524 	  }
   11525 	  s/.*/./; q'`
   11526       test -d "$as_dir" && break
   11527     done
   11528     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11529   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11530 
   11531 
   11532 } # as_fn_mkdir_p
   11533 if mkdir -p . 2>/dev/null; then
   11534   as_mkdir_p='mkdir -p "$as_dir"'
   11535 else
   11536   test -d ./-p && rmdir ./-p
   11537   as_mkdir_p=false
   11538 fi
   11539 
   11540 if test -x / >/dev/null 2>&1; then
   11541   as_test_x='test -x'
   11542 else
   11543   if ls -dL / >/dev/null 2>&1; then
   11544     as_ls_L_option=L
   11545   else
   11546     as_ls_L_option=
   11547   fi
   11548   as_test_x='
   11549     eval sh -c '\''
   11550       if test -d "$1"; then
   11551 	test -d "$1/.";
   11552       else
   11553 	case $1 in #(
   11554 	-*)set "./$1";;
   11555 	esac;
   11556 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   11557 	???[sx]*):;;*)false;;esac;fi
   11558     '\'' sh
   11559   '
   11560 fi
   11561 as_executable_p=$as_test_x
   11562 
   11563 # Sed expression to map a string onto a valid CPP name.
   11564 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11565 
   11566 # Sed expression to map a string onto a valid variable name.
   11567 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11568 
   11569 
   11570 exec 6>&1
   11571 ## ----------------------------------- ##
   11572 ## Main body of $CONFIG_STATUS script. ##
   11573 ## ----------------------------------- ##
   11574 _ASEOF
   11575 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11576 
   11577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11578 # Save the log message, to keep $0 and so on meaningful, and to
   11579 # report actual input values of CONFIG_FILES etc. instead of their
   11580 # values after options handling.
   11581 ac_log="
   11582 This file was extended by xedit $as_me 1.2.1, which was
   11583 generated by GNU Autoconf 2.68.  Invocation command line was
   11584 
   11585   CONFIG_FILES    = $CONFIG_FILES
   11586   CONFIG_HEADERS  = $CONFIG_HEADERS
   11587   CONFIG_LINKS    = $CONFIG_LINKS
   11588   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11589   $ $0 $@
   11590 
   11591 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11592 "
   11593 
   11594 _ACEOF
   11595 
   11596 case $ac_config_files in *"
   11597 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11598 esac
   11599 
   11600 case $ac_config_headers in *"
   11601 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11602 esac
   11603 
   11604 
   11605 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11606 # Files that config.status was made for.
   11607 config_files="$ac_config_files"
   11608 config_headers="$ac_config_headers"
   11609 config_commands="$ac_config_commands"
   11610 
   11611 _ACEOF
   11612 
   11613 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11614 ac_cs_usage="\
   11615 \`$as_me' instantiates files and other configuration actions
   11616 from templates according to the current configuration.  Unless the files
   11617 and actions are specified as TAGs, all are instantiated by default.
   11618 
   11619 Usage: $0 [OPTION]... [TAG]...
   11620 
   11621   -h, --help       print this help, then exit
   11622   -V, --version    print version number and configuration settings, then exit
   11623       --config     print configuration, then exit
   11624   -q, --quiet, --silent
   11625                    do not print progress messages
   11626   -d, --debug      don't remove temporary files
   11627       --recheck    update $as_me by reconfiguring in the same conditions
   11628       --file=FILE[:TEMPLATE]
   11629                    instantiate the configuration file FILE
   11630       --header=FILE[:TEMPLATE]
   11631                    instantiate the configuration header FILE
   11632 
   11633 Configuration files:
   11634 $config_files
   11635 
   11636 Configuration headers:
   11637 $config_headers
   11638 
   11639 Configuration commands:
   11640 $config_commands
   11641 
   11642 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11643 
   11644 _ACEOF
   11645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11646 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11647 ac_cs_version="\\
   11648 xedit config.status 1.2.1
   11649 configured by $0, generated by GNU Autoconf 2.68,
   11650   with options \\"\$ac_cs_config\\"
   11651 
   11652 Copyright (C) 2010 Free Software Foundation, Inc.
   11653 This config.status script is free software; the Free Software Foundation
   11654 gives unlimited permission to copy, distribute and modify it."
   11655 
   11656 ac_pwd='$ac_pwd'
   11657 srcdir='$srcdir'
   11658 INSTALL='$INSTALL'
   11659 MKDIR_P='$MKDIR_P'
   11660 AWK='$AWK'
   11661 test -n "\$AWK" || AWK=awk
   11662 _ACEOF
   11663 
   11664 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11665 # The default lists apply if the user does not specify any file.
   11666 ac_need_defaults=:
   11667 while test $# != 0
   11668 do
   11669   case $1 in
   11670   --*=?*)
   11671     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11672     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11673     ac_shift=:
   11674     ;;
   11675   --*=)
   11676     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11677     ac_optarg=
   11678     ac_shift=:
   11679     ;;
   11680   *)
   11681     ac_option=$1
   11682     ac_optarg=$2
   11683     ac_shift=shift
   11684     ;;
   11685   esac
   11686 
   11687   case $ac_option in
   11688   # Handling of the options.
   11689   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11690     ac_cs_recheck=: ;;
   11691   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11692     $as_echo "$ac_cs_version"; exit ;;
   11693   --config | --confi | --conf | --con | --co | --c )
   11694     $as_echo "$ac_cs_config"; exit ;;
   11695   --debug | --debu | --deb | --de | --d | -d )
   11696     debug=: ;;
   11697   --file | --fil | --fi | --f )
   11698     $ac_shift
   11699     case $ac_optarg in
   11700     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11701     '') as_fn_error $? "missing file argument" ;;
   11702     esac
   11703     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11704     ac_need_defaults=false;;
   11705   --header | --heade | --head | --hea )
   11706     $ac_shift
   11707     case $ac_optarg in
   11708     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11709     esac
   11710     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11711     ac_need_defaults=false;;
   11712   --he | --h)
   11713     # Conflict between --help and --header
   11714     as_fn_error $? "ambiguous option: \`$1'
   11715 Try \`$0 --help' for more information.";;
   11716   --help | --hel | -h )
   11717     $as_echo "$ac_cs_usage"; exit ;;
   11718   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11719   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11720     ac_cs_silent=: ;;
   11721 
   11722   # This is an error.
   11723   -*) as_fn_error $? "unrecognized option: \`$1'
   11724 Try \`$0 --help' for more information." ;;
   11725 
   11726   *) as_fn_append ac_config_targets " $1"
   11727      ac_need_defaults=false ;;
   11728 
   11729   esac
   11730   shift
   11731 done
   11732 
   11733 ac_configure_extra_args=
   11734 
   11735 if $ac_cs_silent; then
   11736   exec 6>/dev/null
   11737   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11738 fi
   11739 
   11740 _ACEOF
   11741 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11742 if \$ac_cs_recheck; then
   11743   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11744   shift
   11745   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11746   CONFIG_SHELL='$SHELL'
   11747   export CONFIG_SHELL
   11748   exec "\$@"
   11749 fi
   11750 
   11751 _ACEOF
   11752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11753 exec 5>>config.log
   11754 {
   11755   echo
   11756   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11757 ## Running $as_me. ##
   11758 _ASBOX
   11759   $as_echo "$ac_log"
   11760 } >&5
   11761 
   11762 _ACEOF
   11763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11764 #
   11765 # INIT-COMMANDS
   11766 #
   11767 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11768 
   11769 _ACEOF
   11770 
   11771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11772 
   11773 # Handling of arguments.
   11774 for ac_config_target in $ac_config_targets
   11775 do
   11776   case $ac_config_target in
   11777     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11778     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11779     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11780     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11781 
   11782   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11783   esac
   11784 done
   11785 
   11786 
   11787 # If the user did not use the arguments to specify the items to instantiate,
   11788 # then the envvar interface is used.  Set only those that are not.
   11789 # We use the long form for the default assignment because of an extremely
   11790 # bizarre bug on SunOS 4.1.3.
   11791 if $ac_need_defaults; then
   11792   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11793   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11794   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11795 fi
   11796 
   11797 # Have a temporary directory for convenience.  Make it in the build tree
   11798 # simply because there is no reason against having it here, and in addition,
   11799 # creating and moving files from /tmp can sometimes cause problems.
   11800 # Hook for its removal unless debugging.
   11801 # Note that there is a small window in which the directory will not be cleaned:
   11802 # after its creation but before its name has been assigned to `$tmp'.
   11803 $debug ||
   11804 {
   11805   tmp= ac_tmp=
   11806   trap 'exit_status=$?
   11807   : "${ac_tmp:=$tmp}"
   11808   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11809 ' 0
   11810   trap 'as_fn_exit 1' 1 2 13 15
   11811 }
   11812 # Create a (secure) tmp directory for tmp files.
   11813 
   11814 {
   11815   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11816   test -d "$tmp"
   11817 }  ||
   11818 {
   11819   tmp=./conf$$-$RANDOM
   11820   (umask 077 && mkdir "$tmp")
   11821 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11822 ac_tmp=$tmp
   11823 
   11824 # Set up the scripts for CONFIG_FILES section.
   11825 # No need to generate them if there are no CONFIG_FILES.
   11826 # This happens for instance with `./config.status config.h'.
   11827 if test -n "$CONFIG_FILES"; then
   11828 
   11829 
   11830 ac_cr=`echo X | tr X '\015'`
   11831 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11832 # But we know of no other shell where ac_cr would be empty at this
   11833 # point, so we can use a bashism as a fallback.
   11834 if test "x$ac_cr" = x; then
   11835   eval ac_cr=\$\'\\r\'
   11836 fi
   11837 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11838 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11839   ac_cs_awk_cr='\\r'
   11840 else
   11841   ac_cs_awk_cr=$ac_cr
   11842 fi
   11843 
   11844 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11845 _ACEOF
   11846 
   11847 
   11848 {
   11849   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11850   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11851   echo "_ACEOF"
   11852 } >conf$$subs.sh ||
   11853   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11854 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11855 ac_delim='%!_!# '
   11856 for ac_last_try in false false false false false :; do
   11857   . ./conf$$subs.sh ||
   11858     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11859 
   11860   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11861   if test $ac_delim_n = $ac_delim_num; then
   11862     break
   11863   elif $ac_last_try; then
   11864     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11865   else
   11866     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11867   fi
   11868 done
   11869 rm -f conf$$subs.sh
   11870 
   11871 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11872 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11873 _ACEOF
   11874 sed -n '
   11875 h
   11876 s/^/S["/; s/!.*/"]=/
   11877 p
   11878 g
   11879 s/^[^!]*!//
   11880 :repl
   11881 t repl
   11882 s/'"$ac_delim"'$//
   11883 t delim
   11884 :nl
   11885 h
   11886 s/\(.\{148\}\)..*/\1/
   11887 t more1
   11888 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11889 p
   11890 n
   11891 b repl
   11892 :more1
   11893 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11894 p
   11895 g
   11896 s/.\{148\}//
   11897 t nl
   11898 :delim
   11899 h
   11900 s/\(.\{148\}\)..*/\1/
   11901 t more2
   11902 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11903 p
   11904 b
   11905 :more2
   11906 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11907 p
   11908 g
   11909 s/.\{148\}//
   11910 t delim
   11911 ' <conf$$subs.awk | sed '
   11912 /^[^""]/{
   11913   N
   11914   s/\n//
   11915 }
   11916 ' >>$CONFIG_STATUS || ac_write_fail=1
   11917 rm -f conf$$subs.awk
   11918 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11919 _ACAWK
   11920 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11921   for (key in S) S_is_set[key] = 1
   11922   FS = ""
   11923 
   11924 }
   11925 {
   11926   line = $ 0
   11927   nfields = split(line, field, "@")
   11928   substed = 0
   11929   len = length(field[1])
   11930   for (i = 2; i < nfields; i++) {
   11931     key = field[i]
   11932     keylen = length(key)
   11933     if (S_is_set[key]) {
   11934       value = S[key]
   11935       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11936       len += length(value) + length(field[++i])
   11937       substed = 1
   11938     } else
   11939       len += 1 + keylen
   11940   }
   11941 
   11942   print line
   11943 }
   11944 
   11945 _ACAWK
   11946 _ACEOF
   11947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11948 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11949   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11950 else
   11951   cat
   11952 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11953   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11954 _ACEOF
   11955 
   11956 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11957 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11958 # trailing colons and then remove the whole line if VPATH becomes empty
   11959 # (actually we leave an empty line to preserve line numbers).
   11960 if test "x$srcdir" = x.; then
   11961   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11962 h
   11963 s///
   11964 s/^/:/
   11965 s/[	 ]*$/:/
   11966 s/:\$(srcdir):/:/g
   11967 s/:\${srcdir}:/:/g
   11968 s/:@srcdir@:/:/g
   11969 s/^:*//
   11970 s/:*$//
   11971 x
   11972 s/\(=[	 ]*\).*/\1/
   11973 G
   11974 s/\n//
   11975 s/^[^=]*=[	 ]*$//
   11976 }'
   11977 fi
   11978 
   11979 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11980 fi # test -n "$CONFIG_FILES"
   11981 
   11982 # Set up the scripts for CONFIG_HEADERS section.
   11983 # No need to generate them if there are no CONFIG_HEADERS.
   11984 # This happens for instance with `./config.status Makefile'.
   11985 if test -n "$CONFIG_HEADERS"; then
   11986 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11987 BEGIN {
   11988 _ACEOF
   11989 
   11990 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11991 # here-document in config.status, that substitutes the proper values into
   11992 # config.h.in to produce config.h.
   11993 
   11994 # Create a delimiter string that does not exist in confdefs.h, to ease
   11995 # handling of long lines.
   11996 ac_delim='%!_!# '
   11997 for ac_last_try in false false :; do
   11998   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11999   if test -z "$ac_tt"; then
   12000     break
   12001   elif $ac_last_try; then
   12002     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12003   else
   12004     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12005   fi
   12006 done
   12007 
   12008 # For the awk script, D is an array of macro values keyed by name,
   12009 # likewise P contains macro parameters if any.  Preserve backslash
   12010 # newline sequences.
   12011 
   12012 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12013 sed -n '
   12014 s/.\{148\}/&'"$ac_delim"'/g
   12015 t rset
   12016 :rset
   12017 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12018 t def
   12019 d
   12020 :def
   12021 s/\\$//
   12022 t bsnl
   12023 s/["\\]/\\&/g
   12024 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12025 D["\1"]=" \3"/p
   12026 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12027 d
   12028 :bsnl
   12029 s/["\\]/\\&/g
   12030 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12031 D["\1"]=" \3\\\\\\n"\\/p
   12032 t cont
   12033 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12034 t cont
   12035 d
   12036 :cont
   12037 n
   12038 s/.\{148\}/&'"$ac_delim"'/g
   12039 t clear
   12040 :clear
   12041 s/\\$//
   12042 t bsnlc
   12043 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12044 d
   12045 :bsnlc
   12046 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12047 b cont
   12048 ' <confdefs.h | sed '
   12049 s/'"$ac_delim"'/"\\\
   12050 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12051 
   12052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12053   for (key in D) D_is_set[key] = 1
   12054   FS = ""
   12055 }
   12056 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12057   line = \$ 0
   12058   split(line, arg, " ")
   12059   if (arg[1] == "#") {
   12060     defundef = arg[2]
   12061     mac1 = arg[3]
   12062   } else {
   12063     defundef = substr(arg[1], 2)
   12064     mac1 = arg[2]
   12065   }
   12066   split(mac1, mac2, "(") #)
   12067   macro = mac2[1]
   12068   prefix = substr(line, 1, index(line, defundef) - 1)
   12069   if (D_is_set[macro]) {
   12070     # Preserve the white space surrounding the "#".
   12071     print prefix "define", macro P[macro] D[macro]
   12072     next
   12073   } else {
   12074     # Replace #undef with comments.  This is necessary, for example,
   12075     # in the case of _POSIX_SOURCE, which is predefined and required
   12076     # on some systems where configure will not decide to define it.
   12077     if (defundef == "undef") {
   12078       print "/*", prefix defundef, macro, "*/"
   12079       next
   12080     }
   12081   }
   12082 }
   12083 { print }
   12084 _ACAWK
   12085 _ACEOF
   12086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12087   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12088 fi # test -n "$CONFIG_HEADERS"
   12089 
   12090 
   12091 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12092 shift
   12093 for ac_tag
   12094 do
   12095   case $ac_tag in
   12096   :[FHLC]) ac_mode=$ac_tag; continue;;
   12097   esac
   12098   case $ac_mode$ac_tag in
   12099   :[FHL]*:*);;
   12100   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12101   :[FH]-) ac_tag=-:-;;
   12102   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12103   esac
   12104   ac_save_IFS=$IFS
   12105   IFS=:
   12106   set x $ac_tag
   12107   IFS=$ac_save_IFS
   12108   shift
   12109   ac_file=$1
   12110   shift
   12111 
   12112   case $ac_mode in
   12113   :L) ac_source=$1;;
   12114   :[FH])
   12115     ac_file_inputs=
   12116     for ac_f
   12117     do
   12118       case $ac_f in
   12119       -) ac_f="$ac_tmp/stdin";;
   12120       *) # Look for the file first in the build tree, then in the source tree
   12121 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12122 	 # because $ac_f cannot contain `:'.
   12123 	 test -f "$ac_f" ||
   12124 	   case $ac_f in
   12125 	   [\\/$]*) false;;
   12126 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12127 	   esac ||
   12128 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12129       esac
   12130       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12131       as_fn_append ac_file_inputs " '$ac_f'"
   12132     done
   12133 
   12134     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12135     # use $as_me), people would be surprised to read:
   12136     #    /* config.h.  Generated by config.status.  */
   12137     configure_input='Generated from '`
   12138 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12139 	`' by configure.'
   12140     if test x"$ac_file" != x-; then
   12141       configure_input="$ac_file.  $configure_input"
   12142       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12143 $as_echo "$as_me: creating $ac_file" >&6;}
   12144     fi
   12145     # Neutralize special characters interpreted by sed in replacement strings.
   12146     case $configure_input in #(
   12147     *\&* | *\|* | *\\* )
   12148        ac_sed_conf_input=`$as_echo "$configure_input" |
   12149        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12150     *) ac_sed_conf_input=$configure_input;;
   12151     esac
   12152 
   12153     case $ac_tag in
   12154     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12155       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12156     esac
   12157     ;;
   12158   esac
   12159 
   12160   ac_dir=`$as_dirname -- "$ac_file" ||
   12161 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12162 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12163 	 X"$ac_file" : 'X\(//\)$' \| \
   12164 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12165 $as_echo X"$ac_file" |
   12166     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12167 	    s//\1/
   12168 	    q
   12169 	  }
   12170 	  /^X\(\/\/\)[^/].*/{
   12171 	    s//\1/
   12172 	    q
   12173 	  }
   12174 	  /^X\(\/\/\)$/{
   12175 	    s//\1/
   12176 	    q
   12177 	  }
   12178 	  /^X\(\/\).*/{
   12179 	    s//\1/
   12180 	    q
   12181 	  }
   12182 	  s/.*/./; q'`
   12183   as_dir="$ac_dir"; as_fn_mkdir_p
   12184   ac_builddir=.
   12185 
   12186 case "$ac_dir" in
   12187 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12188 *)
   12189   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12190   # A ".." for each directory in $ac_dir_suffix.
   12191   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12192   case $ac_top_builddir_sub in
   12193   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12194   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12195   esac ;;
   12196 esac
   12197 ac_abs_top_builddir=$ac_pwd
   12198 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12199 # for backward compatibility:
   12200 ac_top_builddir=$ac_top_build_prefix
   12201 
   12202 case $srcdir in
   12203   .)  # We are building in place.
   12204     ac_srcdir=.
   12205     ac_top_srcdir=$ac_top_builddir_sub
   12206     ac_abs_top_srcdir=$ac_pwd ;;
   12207   [\\/]* | ?:[\\/]* )  # Absolute name.
   12208     ac_srcdir=$srcdir$ac_dir_suffix;
   12209     ac_top_srcdir=$srcdir
   12210     ac_abs_top_srcdir=$srcdir ;;
   12211   *) # Relative name.
   12212     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12213     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12214     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12215 esac
   12216 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12217 
   12218 
   12219   case $ac_mode in
   12220   :F)
   12221   #
   12222   # CONFIG_FILE
   12223   #
   12224 
   12225   case $INSTALL in
   12226   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12227   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12228   esac
   12229   ac_MKDIR_P=$MKDIR_P
   12230   case $MKDIR_P in
   12231   [\\/$]* | ?:[\\/]* ) ;;
   12232   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12233   esac
   12234 _ACEOF
   12235 
   12236 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12237 # If the template does not know about datarootdir, expand it.
   12238 # FIXME: This hack should be removed a few years after 2.60.
   12239 ac_datarootdir_hack=; ac_datarootdir_seen=
   12240 ac_sed_dataroot='
   12241 /datarootdir/ {
   12242   p
   12243   q
   12244 }
   12245 /@datadir@/p
   12246 /@docdir@/p
   12247 /@infodir@/p
   12248 /@localedir@/p
   12249 /@mandir@/p'
   12250 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12251 *datarootdir*) ac_datarootdir_seen=yes;;
   12252 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12253   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12254 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12255 _ACEOF
   12256 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12257   ac_datarootdir_hack='
   12258   s&@datadir@&$datadir&g
   12259   s&@docdir@&$docdir&g
   12260   s&@infodir@&$infodir&g
   12261   s&@localedir@&$localedir&g
   12262   s&@mandir@&$mandir&g
   12263   s&\\\${datarootdir}&$datarootdir&g' ;;
   12264 esac
   12265 _ACEOF
   12266 
   12267 # Neutralize VPATH when `$srcdir' = `.'.
   12268 # Shell code in configure.ac might set extrasub.
   12269 # FIXME: do we really want to maintain this feature?
   12270 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12271 ac_sed_extra="$ac_vpsub
   12272 $extrasub
   12273 _ACEOF
   12274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12275 :t
   12276 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12277 s|@configure_input@|$ac_sed_conf_input|;t t
   12278 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12279 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12280 s&@srcdir@&$ac_srcdir&;t t
   12281 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12282 s&@top_srcdir@&$ac_top_srcdir&;t t
   12283 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12284 s&@builddir@&$ac_builddir&;t t
   12285 s&@abs_builddir@&$ac_abs_builddir&;t t
   12286 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12287 s&@INSTALL@&$ac_INSTALL&;t t
   12288 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12289 $ac_datarootdir_hack
   12290 "
   12291 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12292   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12293 
   12294 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12295   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12296   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12297       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12298   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12299 which seems to be undefined.  Please make sure it is defined" >&5
   12300 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12301 which seems to be undefined.  Please make sure it is defined" >&2;}
   12302 
   12303   rm -f "$ac_tmp/stdin"
   12304   case $ac_file in
   12305   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12306   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12307   esac \
   12308   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12309  ;;
   12310   :H)
   12311   #
   12312   # CONFIG_HEADER
   12313   #
   12314   if test x"$ac_file" != x-; then
   12315     {
   12316       $as_echo "/* $configure_input  */" \
   12317       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12318     } >"$ac_tmp/config.h" \
   12319       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12320     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12321       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12322 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12323     else
   12324       rm -f "$ac_file"
   12325       mv "$ac_tmp/config.h" "$ac_file" \
   12326 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12327     fi
   12328   else
   12329     $as_echo "/* $configure_input  */" \
   12330       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12331       || as_fn_error $? "could not create -" "$LINENO" 5
   12332   fi
   12333 # Compute "$ac_file"'s index in $config_headers.
   12334 _am_arg="$ac_file"
   12335 _am_stamp_count=1
   12336 for _am_header in $config_headers :; do
   12337   case $_am_header in
   12338     $_am_arg | $_am_arg:* )
   12339       break ;;
   12340     * )
   12341       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12342   esac
   12343 done
   12344 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12345 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12346 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12347 	 X"$_am_arg" : 'X\(//\)$' \| \
   12348 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12349 $as_echo X"$_am_arg" |
   12350     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12351 	    s//\1/
   12352 	    q
   12353 	  }
   12354 	  /^X\(\/\/\)[^/].*/{
   12355 	    s//\1/
   12356 	    q
   12357 	  }
   12358 	  /^X\(\/\/\)$/{
   12359 	    s//\1/
   12360 	    q
   12361 	  }
   12362 	  /^X\(\/\).*/{
   12363 	    s//\1/
   12364 	    q
   12365 	  }
   12366 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12367  ;;
   12368 
   12369   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12370 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12371  ;;
   12372   esac
   12373 
   12374 
   12375   case $ac_file$ac_mode in
   12376     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12377   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   12378   # are listed without --file.  Let's play safe and only enable the eval
   12379   # if we detect the quoting.
   12380   case $CONFIG_FILES in
   12381   *\'*) eval set x "$CONFIG_FILES" ;;
   12382   *)   set x $CONFIG_FILES ;;
   12383   esac
   12384   shift
   12385   for mf
   12386   do
   12387     # Strip MF so we end up with the name of the file.
   12388     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12389     # Check whether this is an Automake generated Makefile or not.
   12390     # We used to match only the files named `Makefile.in', but
   12391     # some people rename them; so instead we look at the file content.
   12392     # Grep'ing the first line is not enough: some people post-process
   12393     # each Makefile.in and add a new line on top of each file to say so.
   12394     # Grep'ing the whole file is not good either: AIX grep has a line
   12395     # limit of 2048, but all sed's we know have understand at least 4000.
   12396     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12397       dirpart=`$as_dirname -- "$mf" ||
   12398 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12399 	 X"$mf" : 'X\(//\)[^/]' \| \
   12400 	 X"$mf" : 'X\(//\)$' \| \
   12401 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12402 $as_echo X"$mf" |
   12403     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12404 	    s//\1/
   12405 	    q
   12406 	  }
   12407 	  /^X\(\/\/\)[^/].*/{
   12408 	    s//\1/
   12409 	    q
   12410 	  }
   12411 	  /^X\(\/\/\)$/{
   12412 	    s//\1/
   12413 	    q
   12414 	  }
   12415 	  /^X\(\/\).*/{
   12416 	    s//\1/
   12417 	    q
   12418 	  }
   12419 	  s/.*/./; q'`
   12420     else
   12421       continue
   12422     fi
   12423     # Extract the definition of DEPDIR, am__include, and am__quote
   12424     # from the Makefile without running `make'.
   12425     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12426     test -z "$DEPDIR" && continue
   12427     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12428     test -z "am__include" && continue
   12429     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12430     # When using ansi2knr, U may be empty or an underscore; expand it
   12431     U=`sed -n 's/^U = //p' < "$mf"`
   12432     # Find all dependency output files, they are included files with
   12433     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12434     # simplest approach to changing $(DEPDIR) to its actual value in the
   12435     # expansion.
   12436     for file in `sed -n "
   12437       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12438 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   12439       # Make sure the directory exists.
   12440       test -f "$dirpart/$file" && continue
   12441       fdir=`$as_dirname -- "$file" ||
   12442 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12443 	 X"$file" : 'X\(//\)[^/]' \| \
   12444 	 X"$file" : 'X\(//\)$' \| \
   12445 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12446 $as_echo X"$file" |
   12447     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12448 	    s//\1/
   12449 	    q
   12450 	  }
   12451 	  /^X\(\/\/\)[^/].*/{
   12452 	    s//\1/
   12453 	    q
   12454 	  }
   12455 	  /^X\(\/\/\)$/{
   12456 	    s//\1/
   12457 	    q
   12458 	  }
   12459 	  /^X\(\/\).*/{
   12460 	    s//\1/
   12461 	    q
   12462 	  }
   12463 	  s/.*/./; q'`
   12464       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12465       # echo "creating $dirpart/$file"
   12466       echo '# dummy' > "$dirpart/$file"
   12467     done
   12468   done
   12469 }
   12470  ;;
   12471 
   12472   esac
   12473 done # for ac_tag
   12474 
   12475 
   12476 as_fn_exit 0
   12477 _ACEOF
   12478 ac_clean_files=$ac_clean_files_save
   12479 
   12480 test $ac_write_fail = 0 ||
   12481   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12482 
   12483 
   12484 # configure is writing to config.log, and then calls config.status.
   12485 # config.status does its own redirection, appending to config.log.
   12486 # Unfortunately, on DOS this fails, as config.log is still kept open
   12487 # by configure, so config.status won't be able to write to it; its
   12488 # output is simply discarded.  So we exec the FD to /dev/null,
   12489 # effectively closing config.log, so it can be properly (re)opened and
   12490 # appended to by config.status.  When coming back to configure, we
   12491 # need to make the FD available again.
   12492 if test "$no_create" != yes; then
   12493   ac_cs_success=:
   12494   ac_config_status_args=
   12495   test "$silent" = yes &&
   12496     ac_config_status_args="$ac_config_status_args --quiet"
   12497   exec 5>/dev/null
   12498   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12499   exec 5>>config.log
   12500   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12501   # would make configure fail if this is the last instruction.
   12502   $ac_cs_success || as_fn_exit 1
   12503 fi
   12504 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12505   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12506 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12507 fi
   12508 
   12509