configure revision cbc4e2be
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.68 for bitmap 1.0.7.
4#
5# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6#
7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10# Foundation, Inc.
11#
12#
13# This configure script is free software; the Free Software Foundation
14# gives unlimited permission to copy, distribute and modify it.
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
21if 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
28else
29  case `(set -o) 2>/dev/null` in #(
30  *posix*) :
31    set -o posix ;; #(
32  *) :
33     ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_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.
47if 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 --'
51elif (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'
54else
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'
74fi
75
76# The user is always right.
77if 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  }
83fi
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.)
91IFS=" ""	$as_nl"
92
93# Find who we are.  Look in the path if we contain no directory separator.
94as_myself=
95case $0 in #((
96  *[\\/]* ) as_myself=$0 ;;
97  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98for as_dir in $PATH
99do
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
104IFS=$as_save_IFS
105
106     ;;
107esac
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.
110if test "x$as_myself" = x; then
111  as_myself=$0
112fi
113if test ! -f "$as_myself"; then
114  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115  exit 1
116fi
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.
122for as_var in BASH_ENV ENV MAIL MAILPATH
123do eval test x\${$as_var+set} = xset \
124  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# CDPATH.
137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139if 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
147else
148  case \`(set -o) 2>/dev/null\` in #(
149  *posix*) :
150    set -o posix ;; #(
151  *) :
152     ;;
153esac
154fi
155"
156  as_required="as_fn_return () { (exit \$1); }
157as_fn_success () { as_fn_return 0; }
158as_fn_failure () { as_fn_return 1; }
159as_fn_ret_success () { return 0; }
160as_fn_ret_failure () { return 1; }
161
162exitcode=0
163as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169else
170  exitcode=1; echo positional parameters were not saved.
171fi
172test 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
177test \$(( 1 + 1 )) = 2 || exit 1"
178  if (eval "$as_required") 2>/dev/null; then :
179  as_have_required=yes
180else
181  as_have_required=no
182fi
183  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184
185else
186  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187as_found=false
188for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189do
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
203fi
204fi
205	   done;;
206       esac
207  as_found=false
208done
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
212fi; }
213IFS=$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+"$@"}
232fi
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@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
249fi
250fi
251fi
252SHELL=${CONFIG_SHELL-/bin/sh}
253export SHELL
254# Unset more variables known to interfere with behavior of common tools.
255CLICOLOR_FORCE= GREP_OPTIONS=
256unset CLICOLOR_FORCE GREP_OPTIONS
257
258## --------------------- ##
259## M4sh Shell Functions. ##
260## --------------------- ##
261# as_fn_unset VAR
262# ---------------
263# Portably unset VAR.
264as_fn_unset ()
265{
266  { eval $1=; unset $1;}
267}
268as_unset=as_fn_unset
269
270# as_fn_set_status STATUS
271# -----------------------
272# Set $? to STATUS, without forking.
273as_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.
281as_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.
291as_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.
341if (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  }'
346else
347  as_fn_append ()
348  {
349    eval $1=\$$1\$2
350  }
351fi # 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.
358if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
359  eval 'as_fn_arith ()
360  {
361    as_val=$(( $* ))
362  }'
363else
364  as_fn_arith ()
365  {
366    as_val=`expr "$@" || test $? -eq 1`
367  }
368fi # 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.
376as_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
387if expr a : '\(a\)' >/dev/null 2>&1 &&
388   test "X`expr 00001 : '.*\(...\)'`" = X001; then
389  as_expr=expr
390else
391  as_expr=false
392fi
393
394if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
395  as_basename=basename
396else
397  as_basename=false
398fi
399
400if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
401  as_dirname=dirname
402else
403  as_dirname=false
404fi
405
406as_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.
426as_cr_letters='abcdefghijklmnopqrstuvwxyz'
427as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
428as_cr_Letters=$as_cr_letters$as_cr_LETTERS
429as_cr_digits='0123456789'
430as_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
464ECHO_C= ECHO_N= ECHO_T=
465case `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';;
475esac
476
477rm -f conf$$ conf$$.exe conf$$.file
478if test -d conf$$.dir; then
479  rm -f conf$$.dir/conf$$.file
480else
481  rm -f conf$$.dir
482  mkdir conf$$.dir 2>/dev/null
483fi
484if (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
498else
499  as_ln_s='cp -p'
500fi
501rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
502rmdir conf$$.dir 2>/dev/null
503
504if mkdir -p . 2>/dev/null; then
505  as_mkdir_p='mkdir -p "$as_dir"'
506else
507  test -d ./-p && rmdir ./-p
508  as_mkdir_p=false
509fi
510
511if test -x / >/dev/null 2>&1; then
512  as_test_x='test -x'
513else
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  '
531fi
532as_executable_p=$as_test_x
533
534# Sed expression to map a string onto a valid CPP name.
535as_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.
538as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539
540
541test -n "$DJDIR" || exec 7<&0 </dev/null
542exec 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.
547ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
548
549#
550# Initializations.
551#
552ac_default_prefix=/usr/local
553ac_clean_files=
554ac_config_libobj_dir=.
555LIBOBJS=
556cross_compiling=no
557subdirs=
558MFLAGS=
559MAKEFLAGS=
560
561# Identity of this package.
562PACKAGE_NAME='bitmap'
563PACKAGE_TARNAME='bitmap'
564PACKAGE_VERSION='1.0.7'
565PACKAGE_STRING='bitmap 1.0.7'
566PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
567PACKAGE_URL=''
568
569ac_unique_file="Makefile.am"
570# Factoring default headers for most tests.
571ac_includes_default="\
572#include <stdio.h>
573#ifdef HAVE_SYS_TYPES_H
574# include <sys/types.h>
575#endif
576#ifdef HAVE_SYS_STAT_H
577# include <sys/stat.h>
578#endif
579#ifdef STDC_HEADERS
580# include <stdlib.h>
581# include <stddef.h>
582#else
583# ifdef HAVE_STDLIB_H
584#  include <stdlib.h>
585# endif
586#endif
587#ifdef HAVE_STRING_H
588# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
589#  include <memory.h>
590# endif
591# include <string.h>
592#endif
593#ifdef HAVE_STRINGS_H
594# include <strings.h>
595#endif
596#ifdef HAVE_INTTYPES_H
597# include <inttypes.h>
598#endif
599#ifdef HAVE_STDINT_H
600# include <stdint.h>
601#endif
602#ifdef HAVE_UNISTD_H
603# include <unistd.h>
604#endif"
605
606ac_subst_vars='am__EXEEXT_FALSE
607am__EXEEXT_TRUE
608LTLIBOBJS
609LIBOBJS
610appdefaultdir
611APPDEFS_LIBS
612APPDEFS_CFLAGS
613BITMAP_LIBS
614BITMAP_CFLAGS
615ATOBM_LIBS
616ATOBM_CFLAGS
617BMTOA_LIBS
618BMTOA_CFLAGS
619MATH_LIBS
620MAN_SUBSTS
621XORG_MAN_PAGE
622ADMIN_MAN_DIR
623DRIVER_MAN_DIR
624MISC_MAN_DIR
625FILE_MAN_DIR
626LIB_MAN_DIR
627APP_MAN_DIR
628ADMIN_MAN_SUFFIX
629DRIVER_MAN_SUFFIX
630MISC_MAN_SUFFIX
631FILE_MAN_SUFFIX
632LIB_MAN_SUFFIX
633APP_MAN_SUFFIX
634SED
635host_os
636host_vendor
637host_cpu
638host
639build_os
640build_vendor
641build_cpu
642build
643INSTALL_CMD
644PKG_CONFIG
645CHANGELOG_CMD
646STRICT_CFLAGS
647CWARNFLAGS
648BASE_CFLAGS
649EGREP
650GREP
651CPP
652am__fastdepCC_FALSE
653am__fastdepCC_TRUE
654CCDEPMODE
655am__nodep
656AMDEPBACKSLASH
657AMDEP_FALSE
658AMDEP_TRUE
659am__quote
660am__include
661DEPDIR
662OBJEXT
663EXEEXT
664ac_ct_CC
665CPPFLAGS
666LDFLAGS
667CFLAGS
668CC
669MAINT
670MAINTAINER_MODE_FALSE
671MAINTAINER_MODE_TRUE
672AM_BACKSLASH
673AM_DEFAULT_VERBOSITY
674AM_DEFAULT_V
675AM_V
676am__untar
677am__tar
678AMTAR
679am__leading_dot
680SET_MAKE
681AWK
682mkdir_p
683MKDIR_P
684INSTALL_STRIP_PROGRAM
685STRIP
686install_sh
687MAKEINFO
688AUTOHEADER
689AUTOMAKE
690AUTOCONF
691ACLOCAL
692VERSION
693PACKAGE
694CYGPATH_W
695am__isrc
696INSTALL_DATA
697INSTALL_SCRIPT
698INSTALL_PROGRAM
699target_alias
700host_alias
701build_alias
702LIBS
703ECHO_T
704ECHO_N
705ECHO_C
706DEFS
707mandir
708localedir
709libdir
710psdir
711pdfdir
712dvidir
713htmldir
714infodir
715docdir
716oldincludedir
717includedir
718localstatedir
719sharedstatedir
720sysconfdir
721datadir
722datarootdir
723libexecdir
724sbindir
725bindir
726program_transform_name
727prefix
728exec_prefix
729PACKAGE_URL
730PACKAGE_BUGREPORT
731PACKAGE_STRING
732PACKAGE_VERSION
733PACKAGE_TARNAME
734PACKAGE_NAME
735PATH_SEPARATOR
736SHELL'
737ac_subst_files=''
738ac_user_opts='
739enable_option_checking
740enable_silent_rules
741enable_maintainer_mode
742enable_dependency_tracking
743enable_selective_werror
744enable_strict_compilation
745with_appdefaultdir
746'
747      ac_precious_vars='build_alias
748host_alias
749target_alias
750CC
751CFLAGS
752LDFLAGS
753LIBS
754CPPFLAGS
755CPP
756PKG_CONFIG
757BMTOA_CFLAGS
758BMTOA_LIBS
759ATOBM_CFLAGS
760ATOBM_LIBS
761BITMAP_CFLAGS
762BITMAP_LIBS
763APPDEFS_CFLAGS
764APPDEFS_LIBS'
765
766
767# Initialize some variables set by options.
768ac_init_help=
769ac_init_version=false
770ac_unrecognized_opts=
771ac_unrecognized_sep=
772# The variables have the same names as the options, with
773# dashes changed to underlines.
774cache_file=/dev/null
775exec_prefix=NONE
776no_create=
777no_recursion=
778prefix=NONE
779program_prefix=NONE
780program_suffix=NONE
781program_transform_name=s,x,x,
782silent=
783site=
784srcdir=
785verbose=
786x_includes=NONE
787x_libraries=NONE
788
789# Installation directory options.
790# These are left unexpanded so users can "make install exec_prefix=/foo"
791# and all the variables that are supposed to be based on exec_prefix
792# by default will actually change.
793# Use braces instead of parens because sh, perl, etc. also accept them.
794# (The list follows the same order as the GNU Coding Standards.)
795bindir='${exec_prefix}/bin'
796sbindir='${exec_prefix}/sbin'
797libexecdir='${exec_prefix}/libexec'
798datarootdir='${prefix}/share'
799datadir='${datarootdir}'
800sysconfdir='${prefix}/etc'
801sharedstatedir='${prefix}/com'
802localstatedir='${prefix}/var'
803includedir='${prefix}/include'
804oldincludedir='/usr/include'
805docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
806infodir='${datarootdir}/info'
807htmldir='${docdir}'
808dvidir='${docdir}'
809pdfdir='${docdir}'
810psdir='${docdir}'
811libdir='${exec_prefix}/lib'
812localedir='${datarootdir}/locale'
813mandir='${datarootdir}/man'
814
815ac_prev=
816ac_dashdash=
817for ac_option
818do
819  # If the previous option needs an argument, assign it.
820  if test -n "$ac_prev"; then
821    eval $ac_prev=\$ac_option
822    ac_prev=
823    continue
824  fi
825
826  case $ac_option in
827  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
828  *=)   ac_optarg= ;;
829  *)    ac_optarg=yes ;;
830  esac
831
832  # Accept the important Cygnus configure options, so we can diagnose typos.
833
834  case $ac_dashdash$ac_option in
835  --)
836    ac_dashdash=yes ;;
837
838  -bindir | --bindir | --bindi | --bind | --bin | --bi)
839    ac_prev=bindir ;;
840  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
841    bindir=$ac_optarg ;;
842
843  -build | --build | --buil | --bui | --bu)
844    ac_prev=build_alias ;;
845  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
846    build_alias=$ac_optarg ;;
847
848  -cache-file | --cache-file | --cache-fil | --cache-fi \
849  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
850    ac_prev=cache_file ;;
851  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
852  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
853    cache_file=$ac_optarg ;;
854
855  --config-cache | -C)
856    cache_file=config.cache ;;
857
858  -datadir | --datadir | --datadi | --datad)
859    ac_prev=datadir ;;
860  -datadir=* | --datadir=* | --datadi=* | --datad=*)
861    datadir=$ac_optarg ;;
862
863  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
864  | --dataroo | --dataro | --datar)
865    ac_prev=datarootdir ;;
866  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
867  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
868    datarootdir=$ac_optarg ;;
869
870  -disable-* | --disable-*)
871    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
872    # Reject names that are not valid shell variable names.
873    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
874      as_fn_error $? "invalid feature name: $ac_useropt"
875    ac_useropt_orig=$ac_useropt
876    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
877    case $ac_user_opts in
878      *"
879"enable_$ac_useropt"
880"*) ;;
881      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
882	 ac_unrecognized_sep=', ';;
883    esac
884    eval enable_$ac_useropt=no ;;
885
886  -docdir | --docdir | --docdi | --doc | --do)
887    ac_prev=docdir ;;
888  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
889    docdir=$ac_optarg ;;
890
891  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
892    ac_prev=dvidir ;;
893  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
894    dvidir=$ac_optarg ;;
895
896  -enable-* | --enable-*)
897    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
898    # Reject names that are not valid shell variable names.
899    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
900      as_fn_error $? "invalid feature name: $ac_useropt"
901    ac_useropt_orig=$ac_useropt
902    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
903    case $ac_user_opts in
904      *"
905"enable_$ac_useropt"
906"*) ;;
907      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
908	 ac_unrecognized_sep=', ';;
909    esac
910    eval enable_$ac_useropt=\$ac_optarg ;;
911
912  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
913  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
914  | --exec | --exe | --ex)
915    ac_prev=exec_prefix ;;
916  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
917  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
918  | --exec=* | --exe=* | --ex=*)
919    exec_prefix=$ac_optarg ;;
920
921  -gas | --gas | --ga | --g)
922    # Obsolete; use --with-gas.
923    with_gas=yes ;;
924
925  -help | --help | --hel | --he | -h)
926    ac_init_help=long ;;
927  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
928    ac_init_help=recursive ;;
929  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
930    ac_init_help=short ;;
931
932  -host | --host | --hos | --ho)
933    ac_prev=host_alias ;;
934  -host=* | --host=* | --hos=* | --ho=*)
935    host_alias=$ac_optarg ;;
936
937  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
938    ac_prev=htmldir ;;
939  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
940  | --ht=*)
941    htmldir=$ac_optarg ;;
942
943  -includedir | --includedir | --includedi | --included | --include \
944  | --includ | --inclu | --incl | --inc)
945    ac_prev=includedir ;;
946  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
947  | --includ=* | --inclu=* | --incl=* | --inc=*)
948    includedir=$ac_optarg ;;
949
950  -infodir | --infodir | --infodi | --infod | --info | --inf)
951    ac_prev=infodir ;;
952  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
953    infodir=$ac_optarg ;;
954
955  -libdir | --libdir | --libdi | --libd)
956    ac_prev=libdir ;;
957  -libdir=* | --libdir=* | --libdi=* | --libd=*)
958    libdir=$ac_optarg ;;
959
960  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
961  | --libexe | --libex | --libe)
962    ac_prev=libexecdir ;;
963  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
964  | --libexe=* | --libex=* | --libe=*)
965    libexecdir=$ac_optarg ;;
966
967  -localedir | --localedir | --localedi | --localed | --locale)
968    ac_prev=localedir ;;
969  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
970    localedir=$ac_optarg ;;
971
972  -localstatedir | --localstatedir | --localstatedi | --localstated \
973  | --localstate | --localstat | --localsta | --localst | --locals)
974    ac_prev=localstatedir ;;
975  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
976  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
977    localstatedir=$ac_optarg ;;
978
979  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
980    ac_prev=mandir ;;
981  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
982    mandir=$ac_optarg ;;
983
984  -nfp | --nfp | --nf)
985    # Obsolete; use --without-fp.
986    with_fp=no ;;
987
988  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
989  | --no-cr | --no-c | -n)
990    no_create=yes ;;
991
992  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
993  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
994    no_recursion=yes ;;
995
996  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
997  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
998  | --oldin | --oldi | --old | --ol | --o)
999    ac_prev=oldincludedir ;;
1000  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1001  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1002  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1003    oldincludedir=$ac_optarg ;;
1004
1005  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1006    ac_prev=prefix ;;
1007  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1008    prefix=$ac_optarg ;;
1009
1010  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1011  | --program-pre | --program-pr | --program-p)
1012    ac_prev=program_prefix ;;
1013  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1014  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1015    program_prefix=$ac_optarg ;;
1016
1017  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1018  | --program-suf | --program-su | --program-s)
1019    ac_prev=program_suffix ;;
1020  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1021  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1022    program_suffix=$ac_optarg ;;
1023
1024  -program-transform-name | --program-transform-name \
1025  | --program-transform-nam | --program-transform-na \
1026  | --program-transform-n | --program-transform- \
1027  | --program-transform | --program-transfor \
1028  | --program-transfo | --program-transf \
1029  | --program-trans | --program-tran \
1030  | --progr-tra | --program-tr | --program-t)
1031    ac_prev=program_transform_name ;;
1032  -program-transform-name=* | --program-transform-name=* \
1033  | --program-transform-nam=* | --program-transform-na=* \
1034  | --program-transform-n=* | --program-transform-=* \
1035  | --program-transform=* | --program-transfor=* \
1036  | --program-transfo=* | --program-transf=* \
1037  | --program-trans=* | --program-tran=* \
1038  | --progr-tra=* | --program-tr=* | --program-t=*)
1039    program_transform_name=$ac_optarg ;;
1040
1041  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1042    ac_prev=pdfdir ;;
1043  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1044    pdfdir=$ac_optarg ;;
1045
1046  -psdir | --psdir | --psdi | --psd | --ps)
1047    ac_prev=psdir ;;
1048  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1049    psdir=$ac_optarg ;;
1050
1051  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1052  | -silent | --silent | --silen | --sile | --sil)
1053    silent=yes ;;
1054
1055  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1056    ac_prev=sbindir ;;
1057  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1058  | --sbi=* | --sb=*)
1059    sbindir=$ac_optarg ;;
1060
1061  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1062  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1063  | --sharedst | --shareds | --shared | --share | --shar \
1064  | --sha | --sh)
1065    ac_prev=sharedstatedir ;;
1066  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1067  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1068  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1069  | --sha=* | --sh=*)
1070    sharedstatedir=$ac_optarg ;;
1071
1072  -site | --site | --sit)
1073    ac_prev=site ;;
1074  -site=* | --site=* | --sit=*)
1075    site=$ac_optarg ;;
1076
1077  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1078    ac_prev=srcdir ;;
1079  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1080    srcdir=$ac_optarg ;;
1081
1082  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1083  | --syscon | --sysco | --sysc | --sys | --sy)
1084    ac_prev=sysconfdir ;;
1085  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1086  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1087    sysconfdir=$ac_optarg ;;
1088
1089  -target | --target | --targe | --targ | --tar | --ta | --t)
1090    ac_prev=target_alias ;;
1091  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1092    target_alias=$ac_optarg ;;
1093
1094  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1095    verbose=yes ;;
1096
1097  -version | --version | --versio | --versi | --vers | -V)
1098    ac_init_version=: ;;
1099
1100  -with-* | --with-*)
1101    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1102    # Reject names that are not valid shell variable names.
1103    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1104      as_fn_error $? "invalid package name: $ac_useropt"
1105    ac_useropt_orig=$ac_useropt
1106    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1107    case $ac_user_opts in
1108      *"
1109"with_$ac_useropt"
1110"*) ;;
1111      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1112	 ac_unrecognized_sep=', ';;
1113    esac
1114    eval with_$ac_useropt=\$ac_optarg ;;
1115
1116  -without-* | --without-*)
1117    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1118    # Reject names that are not valid shell variable names.
1119    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1120      as_fn_error $? "invalid package name: $ac_useropt"
1121    ac_useropt_orig=$ac_useropt
1122    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1123    case $ac_user_opts in
1124      *"
1125"with_$ac_useropt"
1126"*) ;;
1127      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1128	 ac_unrecognized_sep=', ';;
1129    esac
1130    eval with_$ac_useropt=no ;;
1131
1132  --x)
1133    # Obsolete; use --with-x.
1134    with_x=yes ;;
1135
1136  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1137  | --x-incl | --x-inc | --x-in | --x-i)
1138    ac_prev=x_includes ;;
1139  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1140  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1141    x_includes=$ac_optarg ;;
1142
1143  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1144  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1145    ac_prev=x_libraries ;;
1146  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1147  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1148    x_libraries=$ac_optarg ;;
1149
1150  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1151Try \`$0 --help' for more information"
1152    ;;
1153
1154  *=*)
1155    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1156    # Reject names that are not valid shell variable names.
1157    case $ac_envvar in #(
1158      '' | [0-9]* | *[!_$as_cr_alnum]* )
1159      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1160    esac
1161    eval $ac_envvar=\$ac_optarg
1162    export $ac_envvar ;;
1163
1164  *)
1165    # FIXME: should be removed in autoconf 3.0.
1166    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1167    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1168      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1169    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1170    ;;
1171
1172  esac
1173done
1174
1175if test -n "$ac_prev"; then
1176  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1177  as_fn_error $? "missing argument to $ac_option"
1178fi
1179
1180if test -n "$ac_unrecognized_opts"; then
1181  case $enable_option_checking in
1182    no) ;;
1183    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1184    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1185  esac
1186fi
1187
1188# Check all directory arguments for consistency.
1189for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1190		datadir sysconfdir sharedstatedir localstatedir includedir \
1191		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1192		libdir localedir mandir
1193do
1194  eval ac_val=\$$ac_var
1195  # Remove trailing slashes.
1196  case $ac_val in
1197    */ )
1198      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1199      eval $ac_var=\$ac_val;;
1200  esac
1201  # Be sure to have absolute directory names.
1202  case $ac_val in
1203    [\\/$]* | ?:[\\/]* )  continue;;
1204    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1205  esac
1206  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1207done
1208
1209# There might be people who depend on the old broken behavior: `$host'
1210# used to hold the argument of --host etc.
1211# FIXME: To remove some day.
1212build=$build_alias
1213host=$host_alias
1214target=$target_alias
1215
1216# FIXME: To remove some day.
1217if test "x$host_alias" != x; then
1218  if test "x$build_alias" = x; then
1219    cross_compiling=maybe
1220    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1221    If a cross compiler is detected then cross compile mode will be used" >&2
1222  elif test "x$build_alias" != "x$host_alias"; then
1223    cross_compiling=yes
1224  fi
1225fi
1226
1227ac_tool_prefix=
1228test -n "$host_alias" && ac_tool_prefix=$host_alias-
1229
1230test "$silent" = yes && exec 6>/dev/null
1231
1232
1233ac_pwd=`pwd` && test -n "$ac_pwd" &&
1234ac_ls_di=`ls -di .` &&
1235ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1236  as_fn_error $? "working directory cannot be determined"
1237test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1238  as_fn_error $? "pwd does not report name of working directory"
1239
1240
1241# Find the source files, if location was not specified.
1242if test -z "$srcdir"; then
1243  ac_srcdir_defaulted=yes
1244  # Try the directory containing this script, then the parent directory.
1245  ac_confdir=`$as_dirname -- "$as_myself" ||
1246$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1247	 X"$as_myself" : 'X\(//\)[^/]' \| \
1248	 X"$as_myself" : 'X\(//\)$' \| \
1249	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1250$as_echo X"$as_myself" |
1251    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1252	    s//\1/
1253	    q
1254	  }
1255	  /^X\(\/\/\)[^/].*/{
1256	    s//\1/
1257	    q
1258	  }
1259	  /^X\(\/\/\)$/{
1260	    s//\1/
1261	    q
1262	  }
1263	  /^X\(\/\).*/{
1264	    s//\1/
1265	    q
1266	  }
1267	  s/.*/./; q'`
1268  srcdir=$ac_confdir
1269  if test ! -r "$srcdir/$ac_unique_file"; then
1270    srcdir=..
1271  fi
1272else
1273  ac_srcdir_defaulted=no
1274fi
1275if test ! -r "$srcdir/$ac_unique_file"; then
1276  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1277  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1278fi
1279ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1280ac_abs_confdir=`(
1281	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1282	pwd)`
1283# When building in place, set srcdir=.
1284if test "$ac_abs_confdir" = "$ac_pwd"; then
1285  srcdir=.
1286fi
1287# Remove unnecessary trailing slashes from srcdir.
1288# Double slashes in file names in object file debugging info
1289# mess up M-x gdb in Emacs.
1290case $srcdir in
1291*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1292esac
1293for ac_var in $ac_precious_vars; do
1294  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1295  eval ac_env_${ac_var}_value=\$${ac_var}
1296  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1297  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1298done
1299
1300#
1301# Report the --help message.
1302#
1303if test "$ac_init_help" = "long"; then
1304  # Omit some internal or obsolete options to make the list less imposing.
1305  # This message is too long to be a string in the A/UX 3.1 sh.
1306  cat <<_ACEOF
1307\`configure' configures bitmap 1.0.7 to adapt to many kinds of systems.
1308
1309Usage: $0 [OPTION]... [VAR=VALUE]...
1310
1311To assign environment variables (e.g., CC, CFLAGS...), specify them as
1312VAR=VALUE.  See below for descriptions of some of the useful variables.
1313
1314Defaults for the options are specified in brackets.
1315
1316Configuration:
1317  -h, --help              display this help and exit
1318      --help=short        display options specific to this package
1319      --help=recursive    display the short help of all the included packages
1320  -V, --version           display version information and exit
1321  -q, --quiet, --silent   do not print \`checking ...' messages
1322      --cache-file=FILE   cache test results in FILE [disabled]
1323  -C, --config-cache      alias for \`--cache-file=config.cache'
1324  -n, --no-create         do not create output files
1325      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1326
1327Installation directories:
1328  --prefix=PREFIX         install architecture-independent files in PREFIX
1329                          [$ac_default_prefix]
1330  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1331                          [PREFIX]
1332
1333By default, \`make install' will install all the files in
1334\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1335an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1336for instance \`--prefix=\$HOME'.
1337
1338For better control, use the options below.
1339
1340Fine tuning of the installation directories:
1341  --bindir=DIR            user executables [EPREFIX/bin]
1342  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1343  --libexecdir=DIR        program executables [EPREFIX/libexec]
1344  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1345  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1346  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1347  --libdir=DIR            object code libraries [EPREFIX/lib]
1348  --includedir=DIR        C header files [PREFIX/include]
1349  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1350  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1351  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1352  --infodir=DIR           info documentation [DATAROOTDIR/info]
1353  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1354  --mandir=DIR            man documentation [DATAROOTDIR/man]
1355  --docdir=DIR            documentation root [DATAROOTDIR/doc/bitmap]
1356  --htmldir=DIR           html documentation [DOCDIR]
1357  --dvidir=DIR            dvi documentation [DOCDIR]
1358  --pdfdir=DIR            pdf documentation [DOCDIR]
1359  --psdir=DIR             ps documentation [DOCDIR]
1360_ACEOF
1361
1362  cat <<\_ACEOF
1363
1364Program names:
1365  --program-prefix=PREFIX            prepend PREFIX to installed program names
1366  --program-suffix=SUFFIX            append SUFFIX to installed program names
1367  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1368
1369System types:
1370  --build=BUILD     configure for building on BUILD [guessed]
1371  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1372_ACEOF
1373fi
1374
1375if test -n "$ac_init_help"; then
1376  case $ac_init_help in
1377     short | recursive ) echo "Configuration of bitmap 1.0.7:";;
1378   esac
1379  cat <<\_ACEOF
1380
1381Optional Features:
1382  --disable-option-checking  ignore unrecognized --enable/--with options
1383  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1384  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1385  --enable-silent-rules   less verbose build output (undo: "make V=1")
1386  --disable-silent-rules  verbose build output (undo: "make V=0")
1387  --enable-maintainer-mode
1388                          enable make rules and dependencies not useful (and
1389                          sometimes confusing) to the casual installer
1390  --enable-dependency-tracking
1391                          do not reject slow dependency extractors
1392  --disable-dependency-tracking
1393                          speeds up one-time build
1394  --disable-selective-werror
1395                          Turn off selective compiler errors. (default:
1396                          enabled)
1397  --enable-strict-compilation
1398                          Enable all warnings from compiler and make them
1399                          errors (default: disabled)
1400
1401Optional Packages:
1402  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1403  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1404  --with-appdefaultdir=<pathname>
1405                          specify directory for app-defaults files (default is
1406                          autodetected)
1407
1408Some influential environment variables:
1409  CC          C compiler command
1410  CFLAGS      C compiler flags
1411  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1412              nonstandard directory <lib dir>
1413  LIBS        libraries to pass to the linker, e.g. -l<library>
1414  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1415              you have headers in a nonstandard directory <include dir>
1416  CPP         C preprocessor
1417  PKG_CONFIG  path to pkg-config utility
1418  BMTOA_CFLAGS
1419              C compiler flags for BMTOA, overriding pkg-config
1420  BMTOA_LIBS  linker flags for BMTOA, overriding pkg-config
1421  ATOBM_CFLAGS
1422              C compiler flags for ATOBM, overriding pkg-config
1423  ATOBM_LIBS  linker flags for ATOBM, overriding pkg-config
1424  BITMAP_CFLAGS
1425              C compiler flags for BITMAP, overriding pkg-config
1426  BITMAP_LIBS linker flags for BITMAP, overriding pkg-config
1427  APPDEFS_CFLAGS
1428              C compiler flags for APPDEFS, overriding pkg-config
1429  APPDEFS_LIBS
1430              linker flags for APPDEFS, overriding pkg-config
1431
1432Use these variables to override the choices made by `configure' or to help
1433it to find libraries and programs with nonstandard names/locations.
1434
1435Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1436_ACEOF
1437ac_status=$?
1438fi
1439
1440if test "$ac_init_help" = "recursive"; then
1441  # If there are subdirs, report their specific --help.
1442  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1443    test -d "$ac_dir" ||
1444      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1445      continue
1446    ac_builddir=.
1447
1448case "$ac_dir" in
1449.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1450*)
1451  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1452  # A ".." for each directory in $ac_dir_suffix.
1453  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1454  case $ac_top_builddir_sub in
1455  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1456  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1457  esac ;;
1458esac
1459ac_abs_top_builddir=$ac_pwd
1460ac_abs_builddir=$ac_pwd$ac_dir_suffix
1461# for backward compatibility:
1462ac_top_builddir=$ac_top_build_prefix
1463
1464case $srcdir in
1465  .)  # We are building in place.
1466    ac_srcdir=.
1467    ac_top_srcdir=$ac_top_builddir_sub
1468    ac_abs_top_srcdir=$ac_pwd ;;
1469  [\\/]* | ?:[\\/]* )  # Absolute name.
1470    ac_srcdir=$srcdir$ac_dir_suffix;
1471    ac_top_srcdir=$srcdir
1472    ac_abs_top_srcdir=$srcdir ;;
1473  *) # Relative name.
1474    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1475    ac_top_srcdir=$ac_top_build_prefix$srcdir
1476    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1477esac
1478ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1479
1480    cd "$ac_dir" || { ac_status=$?; continue; }
1481    # Check for guested configure.
1482    if test -f "$ac_srcdir/configure.gnu"; then
1483      echo &&
1484      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1485    elif test -f "$ac_srcdir/configure"; then
1486      echo &&
1487      $SHELL "$ac_srcdir/configure" --help=recursive
1488    else
1489      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1490    fi || ac_status=$?
1491    cd "$ac_pwd" || { ac_status=$?; break; }
1492  done
1493fi
1494
1495test -n "$ac_init_help" && exit $ac_status
1496if $ac_init_version; then
1497  cat <<\_ACEOF
1498bitmap configure 1.0.7
1499generated by GNU Autoconf 2.68
1500
1501Copyright (C) 2010 Free Software Foundation, Inc.
1502This configure script is free software; the Free Software Foundation
1503gives unlimited permission to copy, distribute and modify it.
1504_ACEOF
1505  exit
1506fi
1507
1508## ------------------------ ##
1509## Autoconf initialization. ##
1510## ------------------------ ##
1511
1512# ac_fn_c_try_compile LINENO
1513# --------------------------
1514# Try to compile conftest.$ac_ext, and return whether this succeeded.
1515ac_fn_c_try_compile ()
1516{
1517  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1518  rm -f conftest.$ac_objext
1519  if { { ac_try="$ac_compile"
1520case "(($ac_try" in
1521  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1522  *) ac_try_echo=$ac_try;;
1523esac
1524eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1525$as_echo "$ac_try_echo"; } >&5
1526  (eval "$ac_compile") 2>conftest.err
1527  ac_status=$?
1528  if test -s conftest.err; then
1529    grep -v '^ *+' conftest.err >conftest.er1
1530    cat conftest.er1 >&5
1531    mv -f conftest.er1 conftest.err
1532  fi
1533  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1534  test $ac_status = 0; } && {
1535	 test -z "$ac_c_werror_flag" ||
1536	 test ! -s conftest.err
1537       } && test -s conftest.$ac_objext; then :
1538  ac_retval=0
1539else
1540  $as_echo "$as_me: failed program was:" >&5
1541sed 's/^/| /' conftest.$ac_ext >&5
1542
1543	ac_retval=1
1544fi
1545  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1546  as_fn_set_status $ac_retval
1547
1548} # ac_fn_c_try_compile
1549
1550# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1551# ---------------------------------------------
1552# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1553# accordingly.
1554ac_fn_c_check_decl ()
1555{
1556  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1557  as_decl_name=`echo $2|sed 's/ *(.*//'`
1558  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1559  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1560$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1561if eval \${$3+:} false; then :
1562  $as_echo_n "(cached) " >&6
1563else
1564  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1565/* end confdefs.h.  */
1566$4
1567int
1568main ()
1569{
1570#ifndef $as_decl_name
1571#ifdef __cplusplus
1572  (void) $as_decl_use;
1573#else
1574  (void) $as_decl_name;
1575#endif
1576#endif
1577
1578  ;
1579  return 0;
1580}
1581_ACEOF
1582if ac_fn_c_try_compile "$LINENO"; then :
1583  eval "$3=yes"
1584else
1585  eval "$3=no"
1586fi
1587rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1588fi
1589eval ac_res=\$$3
1590	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1591$as_echo "$ac_res" >&6; }
1592  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1593
1594} # ac_fn_c_check_decl
1595
1596# ac_fn_c_try_cpp LINENO
1597# ----------------------
1598# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1599ac_fn_c_try_cpp ()
1600{
1601  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602  if { { ac_try="$ac_cpp conftest.$ac_ext"
1603case "(($ac_try" in
1604  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1605  *) ac_try_echo=$ac_try;;
1606esac
1607eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1608$as_echo "$ac_try_echo"; } >&5
1609  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1610  ac_status=$?
1611  if test -s conftest.err; then
1612    grep -v '^ *+' conftest.err >conftest.er1
1613    cat conftest.er1 >&5
1614    mv -f conftest.er1 conftest.err
1615  fi
1616  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1617  test $ac_status = 0; } > conftest.i && {
1618	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1619	 test ! -s conftest.err
1620       }; then :
1621  ac_retval=0
1622else
1623  $as_echo "$as_me: failed program was:" >&5
1624sed 's/^/| /' conftest.$ac_ext >&5
1625
1626    ac_retval=1
1627fi
1628  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1629  as_fn_set_status $ac_retval
1630
1631} # ac_fn_c_try_cpp
1632
1633# ac_fn_c_try_run LINENO
1634# ----------------------
1635# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1636# that executables *can* be run.
1637ac_fn_c_try_run ()
1638{
1639  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1640  if { { ac_try="$ac_link"
1641case "(($ac_try" in
1642  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1643  *) ac_try_echo=$ac_try;;
1644esac
1645eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1646$as_echo "$ac_try_echo"; } >&5
1647  (eval "$ac_link") 2>&5
1648  ac_status=$?
1649  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1650  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1651  { { case "(($ac_try" in
1652  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1653  *) ac_try_echo=$ac_try;;
1654esac
1655eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1656$as_echo "$ac_try_echo"; } >&5
1657  (eval "$ac_try") 2>&5
1658  ac_status=$?
1659  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1660  test $ac_status = 0; }; }; then :
1661  ac_retval=0
1662else
1663  $as_echo "$as_me: program exited with status $ac_status" >&5
1664       $as_echo "$as_me: failed program was:" >&5
1665sed 's/^/| /' conftest.$ac_ext >&5
1666
1667       ac_retval=$ac_status
1668fi
1669  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1670  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1671  as_fn_set_status $ac_retval
1672
1673} # ac_fn_c_try_run
1674
1675# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1676# -------------------------------------------------------
1677# Tests whether HEADER exists and can be compiled using the include files in
1678# INCLUDES, setting the cache variable VAR accordingly.
1679ac_fn_c_check_header_compile ()
1680{
1681  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1682  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1683$as_echo_n "checking for $2... " >&6; }
1684if eval \${$3+:} false; then :
1685  $as_echo_n "(cached) " >&6
1686else
1687  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1688/* end confdefs.h.  */
1689$4
1690#include <$2>
1691_ACEOF
1692if ac_fn_c_try_compile "$LINENO"; then :
1693  eval "$3=yes"
1694else
1695  eval "$3=no"
1696fi
1697rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1698fi
1699eval ac_res=\$$3
1700	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1701$as_echo "$ac_res" >&6; }
1702  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1703
1704} # ac_fn_c_check_header_compile
1705
1706# ac_fn_c_try_link LINENO
1707# -----------------------
1708# Try to link conftest.$ac_ext, and return whether this succeeded.
1709ac_fn_c_try_link ()
1710{
1711  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712  rm -f conftest.$ac_objext conftest$ac_exeext
1713  if { { ac_try="$ac_link"
1714case "(($ac_try" in
1715  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1716  *) ac_try_echo=$ac_try;;
1717esac
1718eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1719$as_echo "$ac_try_echo"; } >&5
1720  (eval "$ac_link") 2>conftest.err
1721  ac_status=$?
1722  if test -s conftest.err; then
1723    grep -v '^ *+' conftest.err >conftest.er1
1724    cat conftest.er1 >&5
1725    mv -f conftest.er1 conftest.err
1726  fi
1727  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1728  test $ac_status = 0; } && {
1729	 test -z "$ac_c_werror_flag" ||
1730	 test ! -s conftest.err
1731       } && test -s conftest$ac_exeext && {
1732	 test "$cross_compiling" = yes ||
1733	 $as_test_x conftest$ac_exeext
1734       }; then :
1735  ac_retval=0
1736else
1737  $as_echo "$as_me: failed program was:" >&5
1738sed 's/^/| /' conftest.$ac_ext >&5
1739
1740	ac_retval=1
1741fi
1742  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1743  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1744  # interfere with the next link command; also delete a directory that is
1745  # left behind by Apple's compiler.  We do this before executing the actions.
1746  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1747  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748  as_fn_set_status $ac_retval
1749
1750} # ac_fn_c_try_link
1751
1752# ac_fn_c_check_func LINENO FUNC VAR
1753# ----------------------------------
1754# Tests whether FUNC exists, setting the cache variable VAR accordingly
1755ac_fn_c_check_func ()
1756{
1757  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1758  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1759$as_echo_n "checking for $2... " >&6; }
1760if eval \${$3+:} false; then :
1761  $as_echo_n "(cached) " >&6
1762else
1763  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1764/* end confdefs.h.  */
1765/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1766   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1767#define $2 innocuous_$2
1768
1769/* System header to define __stub macros and hopefully few prototypes,
1770    which can conflict with char $2 (); below.
1771    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1772    <limits.h> exists even on freestanding compilers.  */
1773
1774#ifdef __STDC__
1775# include <limits.h>
1776#else
1777# include <assert.h>
1778#endif
1779
1780#undef $2
1781
1782/* Override any GCC internal prototype to avoid an error.
1783   Use char because int might match the return type of a GCC
1784   builtin and then its argument prototype would still apply.  */
1785#ifdef __cplusplus
1786extern "C"
1787#endif
1788char $2 ();
1789/* The GNU C library defines this for functions which it implements
1790    to always fail with ENOSYS.  Some functions are actually named
1791    something starting with __ and the normal name is an alias.  */
1792#if defined __stub_$2 || defined __stub___$2
1793choke me
1794#endif
1795
1796int
1797main ()
1798{
1799return $2 ();
1800  ;
1801  return 0;
1802}
1803_ACEOF
1804if ac_fn_c_try_link "$LINENO"; then :
1805  eval "$3=yes"
1806else
1807  eval "$3=no"
1808fi
1809rm -f core conftest.err conftest.$ac_objext \
1810    conftest$ac_exeext conftest.$ac_ext
1811fi
1812eval ac_res=\$$3
1813	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1814$as_echo "$ac_res" >&6; }
1815  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1816
1817} # ac_fn_c_check_func
1818cat >config.log <<_ACEOF
1819This file contains any messages produced by compilers while
1820running configure, to aid debugging if configure makes a mistake.
1821
1822It was created by bitmap $as_me 1.0.7, which was
1823generated by GNU Autoconf 2.68.  Invocation command line was
1824
1825  $ $0 $@
1826
1827_ACEOF
1828exec 5>>config.log
1829{
1830cat <<_ASUNAME
1831## --------- ##
1832## Platform. ##
1833## --------- ##
1834
1835hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1836uname -m = `(uname -m) 2>/dev/null || echo unknown`
1837uname -r = `(uname -r) 2>/dev/null || echo unknown`
1838uname -s = `(uname -s) 2>/dev/null || echo unknown`
1839uname -v = `(uname -v) 2>/dev/null || echo unknown`
1840
1841/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1842/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1843
1844/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1845/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1846/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1847/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1848/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1849/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1850/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1851
1852_ASUNAME
1853
1854as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1855for as_dir in $PATH
1856do
1857  IFS=$as_save_IFS
1858  test -z "$as_dir" && as_dir=.
1859    $as_echo "PATH: $as_dir"
1860  done
1861IFS=$as_save_IFS
1862
1863} >&5
1864
1865cat >&5 <<_ACEOF
1866
1867
1868## ----------- ##
1869## Core tests. ##
1870## ----------- ##
1871
1872_ACEOF
1873
1874
1875# Keep a trace of the command line.
1876# Strip out --no-create and --no-recursion so they do not pile up.
1877# Strip out --silent because we don't want to record it for future runs.
1878# Also quote any args containing shell meta-characters.
1879# Make two passes to allow for proper duplicate-argument suppression.
1880ac_configure_args=
1881ac_configure_args0=
1882ac_configure_args1=
1883ac_must_keep_next=false
1884for ac_pass in 1 2
1885do
1886  for ac_arg
1887  do
1888    case $ac_arg in
1889    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1890    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1891    | -silent | --silent | --silen | --sile | --sil)
1892      continue ;;
1893    *\'*)
1894      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1895    esac
1896    case $ac_pass in
1897    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1898    2)
1899      as_fn_append ac_configure_args1 " '$ac_arg'"
1900      if test $ac_must_keep_next = true; then
1901	ac_must_keep_next=false # Got value, back to normal.
1902      else
1903	case $ac_arg in
1904	  *=* | --config-cache | -C | -disable-* | --disable-* \
1905	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1906	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1907	  | -with-* | --with-* | -without-* | --without-* | --x)
1908	    case "$ac_configure_args0 " in
1909	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1910	    esac
1911	    ;;
1912	  -* ) ac_must_keep_next=true ;;
1913	esac
1914      fi
1915      as_fn_append ac_configure_args " '$ac_arg'"
1916      ;;
1917    esac
1918  done
1919done
1920{ ac_configure_args0=; unset ac_configure_args0;}
1921{ ac_configure_args1=; unset ac_configure_args1;}
1922
1923# When interrupted or exit'd, cleanup temporary files, and complete
1924# config.log.  We remove comments because anyway the quotes in there
1925# would cause problems or look ugly.
1926# WARNING: Use '\'' to represent an apostrophe within the trap.
1927# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1928trap 'exit_status=$?
1929  # Save into config.log some information that might help in debugging.
1930  {
1931    echo
1932
1933    $as_echo "## ---------------- ##
1934## Cache variables. ##
1935## ---------------- ##"
1936    echo
1937    # The following way of writing the cache mishandles newlines in values,
1938(
1939  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1940    eval ac_val=\$$ac_var
1941    case $ac_val in #(
1942    *${as_nl}*)
1943      case $ac_var in #(
1944      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1945$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1946      esac
1947      case $ac_var in #(
1948      _ | IFS | as_nl) ;; #(
1949      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1950      *) { eval $ac_var=; unset $ac_var;} ;;
1951      esac ;;
1952    esac
1953  done
1954  (set) 2>&1 |
1955    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1956    *${as_nl}ac_space=\ *)
1957      sed -n \
1958	"s/'\''/'\''\\\\'\'''\''/g;
1959	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1960      ;; #(
1961    *)
1962      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1963      ;;
1964    esac |
1965    sort
1966)
1967    echo
1968
1969    $as_echo "## ----------------- ##
1970## Output variables. ##
1971## ----------------- ##"
1972    echo
1973    for ac_var in $ac_subst_vars
1974    do
1975      eval ac_val=\$$ac_var
1976      case $ac_val in
1977      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1978      esac
1979      $as_echo "$ac_var='\''$ac_val'\''"
1980    done | sort
1981    echo
1982
1983    if test -n "$ac_subst_files"; then
1984      $as_echo "## ------------------- ##
1985## File substitutions. ##
1986## ------------------- ##"
1987      echo
1988      for ac_var in $ac_subst_files
1989      do
1990	eval ac_val=\$$ac_var
1991	case $ac_val in
1992	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1993	esac
1994	$as_echo "$ac_var='\''$ac_val'\''"
1995      done | sort
1996      echo
1997    fi
1998
1999    if test -s confdefs.h; then
2000      $as_echo "## ----------- ##
2001## confdefs.h. ##
2002## ----------- ##"
2003      echo
2004      cat confdefs.h
2005      echo
2006    fi
2007    test "$ac_signal" != 0 &&
2008      $as_echo "$as_me: caught signal $ac_signal"
2009    $as_echo "$as_me: exit $exit_status"
2010  } >&5
2011  rm -f core *.core core.conftest.* &&
2012    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2013    exit $exit_status
2014' 0
2015for ac_signal in 1 2 13 15; do
2016  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2017done
2018ac_signal=0
2019
2020# confdefs.h avoids OS command line length limits that DEFS can exceed.
2021rm -f -r conftest* confdefs.h
2022
2023$as_echo "/* confdefs.h */" > confdefs.h
2024
2025# Predefined preprocessor variables.
2026
2027cat >>confdefs.h <<_ACEOF
2028#define PACKAGE_NAME "$PACKAGE_NAME"
2029_ACEOF
2030
2031cat >>confdefs.h <<_ACEOF
2032#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2033_ACEOF
2034
2035cat >>confdefs.h <<_ACEOF
2036#define PACKAGE_VERSION "$PACKAGE_VERSION"
2037_ACEOF
2038
2039cat >>confdefs.h <<_ACEOF
2040#define PACKAGE_STRING "$PACKAGE_STRING"
2041_ACEOF
2042
2043cat >>confdefs.h <<_ACEOF
2044#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2045_ACEOF
2046
2047cat >>confdefs.h <<_ACEOF
2048#define PACKAGE_URL "$PACKAGE_URL"
2049_ACEOF
2050
2051
2052# Let the site file select an alternate cache file if it wants to.
2053# Prefer an explicitly selected file to automatically selected ones.
2054ac_site_file1=NONE
2055ac_site_file2=NONE
2056if test -n "$CONFIG_SITE"; then
2057  # We do not want a PATH search for config.site.
2058  case $CONFIG_SITE in #((
2059    -*)  ac_site_file1=./$CONFIG_SITE;;
2060    */*) ac_site_file1=$CONFIG_SITE;;
2061    *)   ac_site_file1=./$CONFIG_SITE;;
2062  esac
2063elif test "x$prefix" != xNONE; then
2064  ac_site_file1=$prefix/share/config.site
2065  ac_site_file2=$prefix/etc/config.site
2066else
2067  ac_site_file1=$ac_default_prefix/share/config.site
2068  ac_site_file2=$ac_default_prefix/etc/config.site
2069fi
2070for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2071do
2072  test "x$ac_site_file" = xNONE && continue
2073  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2074    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2075$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2076    sed 's/^/| /' "$ac_site_file" >&5
2077    . "$ac_site_file" \
2078      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2079$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2080as_fn_error $? "failed to load site script $ac_site_file
2081See \`config.log' for more details" "$LINENO" 5; }
2082  fi
2083done
2084
2085if test -r "$cache_file"; then
2086  # Some versions of bash will fail to source /dev/null (special files
2087  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2088  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2089    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2090$as_echo "$as_me: loading cache $cache_file" >&6;}
2091    case $cache_file in
2092      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2093      *)                      . "./$cache_file";;
2094    esac
2095  fi
2096else
2097  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2098$as_echo "$as_me: creating cache $cache_file" >&6;}
2099  >$cache_file
2100fi
2101
2102# Check that the precious variables saved in the cache have kept the same
2103# value.
2104ac_cache_corrupted=false
2105for ac_var in $ac_precious_vars; do
2106  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2107  eval ac_new_set=\$ac_env_${ac_var}_set
2108  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2109  eval ac_new_val=\$ac_env_${ac_var}_value
2110  case $ac_old_set,$ac_new_set in
2111    set,)
2112      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2113$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2114      ac_cache_corrupted=: ;;
2115    ,set)
2116      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2117$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2118      ac_cache_corrupted=: ;;
2119    ,);;
2120    *)
2121      if test "x$ac_old_val" != "x$ac_new_val"; then
2122	# differences in whitespace do not lead to failure.
2123	ac_old_val_w=`echo x $ac_old_val`
2124	ac_new_val_w=`echo x $ac_new_val`
2125	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2126	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2127$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2128	  ac_cache_corrupted=:
2129	else
2130	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2131$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2132	  eval $ac_var=\$ac_old_val
2133	fi
2134	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2135$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2136	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2137$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2138      fi;;
2139  esac
2140  # Pass precious variables to config.status.
2141  if test "$ac_new_set" = set; then
2142    case $ac_new_val in
2143    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2144    *) ac_arg=$ac_var=$ac_new_val ;;
2145    esac
2146    case " $ac_configure_args " in
2147      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2148      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2149    esac
2150  fi
2151done
2152if $ac_cache_corrupted; then
2153  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2154$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2155  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2156$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2157  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2158fi
2159## -------------------- ##
2160## Main body of script. ##
2161## -------------------- ##
2162
2163ac_ext=c
2164ac_cpp='$CPP $CPPFLAGS'
2165ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2166ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2167ac_compiler_gnu=$ac_cv_c_compiler_gnu
2168
2169
2170
2171ac_config_headers="$ac_config_headers config.h"
2172
2173
2174# Initialize Automake
2175am__api_version='1.13'
2176
2177ac_aux_dir=
2178for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2179  if test -f "$ac_dir/install-sh"; then
2180    ac_aux_dir=$ac_dir
2181    ac_install_sh="$ac_aux_dir/install-sh -c"
2182    break
2183  elif test -f "$ac_dir/install.sh"; then
2184    ac_aux_dir=$ac_dir
2185    ac_install_sh="$ac_aux_dir/install.sh -c"
2186    break
2187  elif test -f "$ac_dir/shtool"; then
2188    ac_aux_dir=$ac_dir
2189    ac_install_sh="$ac_aux_dir/shtool install -c"
2190    break
2191  fi
2192done
2193if test -z "$ac_aux_dir"; then
2194  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2195fi
2196
2197# These three variables are undocumented and unsupported,
2198# and are intended to be withdrawn in a future Autoconf release.
2199# They can cause serious problems if a builder's source tree is in a directory
2200# whose full name contains unusual characters.
2201ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2202ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2203ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2204
2205
2206# Find a good install program.  We prefer a C program (faster),
2207# so one script is as good as another.  But avoid the broken or
2208# incompatible versions:
2209# SysV /etc/install, /usr/sbin/install
2210# SunOS /usr/etc/install
2211# IRIX /sbin/install
2212# AIX /bin/install
2213# AmigaOS /C/install, which installs bootblocks on floppy discs
2214# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2215# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2216# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2217# OS/2's system install, which has a completely different semantic
2218# ./install, which can be erroneously created by make from ./install.sh.
2219# Reject install programs that cannot install multiple files.
2220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2221$as_echo_n "checking for a BSD-compatible install... " >&6; }
2222if test -z "$INSTALL"; then
2223if ${ac_cv_path_install+:} false; then :
2224  $as_echo_n "(cached) " >&6
2225else
2226  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2227for as_dir in $PATH
2228do
2229  IFS=$as_save_IFS
2230  test -z "$as_dir" && as_dir=.
2231    # Account for people who put trailing slashes in PATH elements.
2232case $as_dir/ in #((
2233  ./ | .// | /[cC]/* | \
2234  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2235  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2236  /usr/ucb/* ) ;;
2237  *)
2238    # OSF1 and SCO ODT 3.0 have their own names for install.
2239    # Don't use installbsd from OSF since it installs stuff as root
2240    # by default.
2241    for ac_prog in ginstall scoinst install; do
2242      for ac_exec_ext in '' $ac_executable_extensions; do
2243	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2244	  if test $ac_prog = install &&
2245	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2246	    # AIX install.  It has an incompatible calling convention.
2247	    :
2248	  elif test $ac_prog = install &&
2249	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2250	    # program-specific install script used by HP pwplus--don't use.
2251	    :
2252	  else
2253	    rm -rf conftest.one conftest.two conftest.dir
2254	    echo one > conftest.one
2255	    echo two > conftest.two
2256	    mkdir conftest.dir
2257	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2258	      test -s conftest.one && test -s conftest.two &&
2259	      test -s conftest.dir/conftest.one &&
2260	      test -s conftest.dir/conftest.two
2261	    then
2262	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2263	      break 3
2264	    fi
2265	  fi
2266	fi
2267      done
2268    done
2269    ;;
2270esac
2271
2272  done
2273IFS=$as_save_IFS
2274
2275rm -rf conftest.one conftest.two conftest.dir
2276
2277fi
2278  if test "${ac_cv_path_install+set}" = set; then
2279    INSTALL=$ac_cv_path_install
2280  else
2281    # As a last resort, use the slow shell script.  Don't cache a
2282    # value for INSTALL within a source directory, because that will
2283    # break other packages using the cache if that directory is
2284    # removed, or if the value is a relative name.
2285    INSTALL=$ac_install_sh
2286  fi
2287fi
2288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2289$as_echo "$INSTALL" >&6; }
2290
2291# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2292# It thinks the first close brace ends the variable substitution.
2293test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2294
2295test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2296
2297test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2298
2299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2300$as_echo_n "checking whether build environment is sane... " >&6; }
2301# Reject unsafe characters in $srcdir or the absolute working directory
2302# name.  Accept space and tab only in the latter.
2303am_lf='
2304'
2305case `pwd` in
2306  *[\\\"\#\$\&\'\`$am_lf]*)
2307    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2308esac
2309case $srcdir in
2310  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2311    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2312esac
2313
2314# Do 'set' in a subshell so we don't clobber the current shell's
2315# arguments.  Must try -L first in case configure is actually a
2316# symlink; some systems play weird games with the mod time of symlinks
2317# (eg FreeBSD returns the mod time of the symlink's containing
2318# directory).
2319if (
2320   am_has_slept=no
2321   for am_try in 1 2; do
2322     echo "timestamp, slept: $am_has_slept" > conftest.file
2323     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2324     if test "$*" = "X"; then
2325	# -L didn't work.
2326	set X `ls -t "$srcdir/configure" conftest.file`
2327     fi
2328     if test "$*" != "X $srcdir/configure conftest.file" \
2329	&& test "$*" != "X conftest.file $srcdir/configure"; then
2330
2331	# If neither matched, then we have a broken ls.  This can happen
2332	# if, for instance, CONFIG_SHELL is bash and it inherits a
2333	# broken ls alias from the environment.  This has actually
2334	# happened.  Such a system could not be considered "sane".
2335	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2336  alias in your environment" "$LINENO" 5
2337     fi
2338     if test "$2" = conftest.file || test $am_try -eq 2; then
2339       break
2340     fi
2341     # Just in case.
2342     sleep 1
2343     am_has_slept=yes
2344   done
2345   test "$2" = conftest.file
2346   )
2347then
2348   # Ok.
2349   :
2350else
2351   as_fn_error $? "newly created file is older than distributed files!
2352Check your system clock" "$LINENO" 5
2353fi
2354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2355$as_echo "yes" >&6; }
2356# If we didn't sleep, we still need to ensure time stamps of config.status and
2357# generated files are strictly newer.
2358am_sleep_pid=
2359if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2360  ( sleep 1 ) &
2361  am_sleep_pid=$!
2362fi
2363
2364rm -f conftest.file
2365
2366test "$program_prefix" != NONE &&
2367  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2368# Use a double $ so make ignores it.
2369test "$program_suffix" != NONE &&
2370  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2371# Double any \ or $.
2372# By default was `s,x,x', remove it if useless.
2373ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2374program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2375
2376# expand $ac_aux_dir to an absolute path
2377am_aux_dir=`cd $ac_aux_dir && pwd`
2378
2379if test x"${MISSING+set}" != xset; then
2380  case $am_aux_dir in
2381  *\ * | *\	*)
2382    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2383  *)
2384    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2385  esac
2386fi
2387# Use eval to expand $SHELL
2388if eval "$MISSING --is-lightweight"; then
2389  am_missing_run="$MISSING "
2390else
2391  am_missing_run=
2392  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2393$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2394fi
2395
2396if test x"${install_sh}" != xset; then
2397  case $am_aux_dir in
2398  *\ * | *\	*)
2399    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2400  *)
2401    install_sh="\${SHELL} $am_aux_dir/install-sh"
2402  esac
2403fi
2404
2405# Installed binaries are usually stripped using 'strip' when the user
2406# run "make install-strip".  However 'strip' might not be the right
2407# tool to use in cross-compilation environments, therefore Automake
2408# will honor the 'STRIP' environment variable to overrule this program.
2409if test "$cross_compiling" != no; then
2410  if test -n "$ac_tool_prefix"; then
2411  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2412set dummy ${ac_tool_prefix}strip; ac_word=$2
2413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2414$as_echo_n "checking for $ac_word... " >&6; }
2415if ${ac_cv_prog_STRIP+:} false; then :
2416  $as_echo_n "(cached) " >&6
2417else
2418  if test -n "$STRIP"; then
2419  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2420else
2421as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2422for as_dir in $PATH
2423do
2424  IFS=$as_save_IFS
2425  test -z "$as_dir" && as_dir=.
2426    for ac_exec_ext in '' $ac_executable_extensions; do
2427  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2428    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2429    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2430    break 2
2431  fi
2432done
2433  done
2434IFS=$as_save_IFS
2435
2436fi
2437fi
2438STRIP=$ac_cv_prog_STRIP
2439if test -n "$STRIP"; then
2440  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2441$as_echo "$STRIP" >&6; }
2442else
2443  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2444$as_echo "no" >&6; }
2445fi
2446
2447
2448fi
2449if test -z "$ac_cv_prog_STRIP"; then
2450  ac_ct_STRIP=$STRIP
2451  # Extract the first word of "strip", so it can be a program name with args.
2452set dummy strip; ac_word=$2
2453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2454$as_echo_n "checking for $ac_word... " >&6; }
2455if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2456  $as_echo_n "(cached) " >&6
2457else
2458  if test -n "$ac_ct_STRIP"; then
2459  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2460else
2461as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2462for as_dir in $PATH
2463do
2464  IFS=$as_save_IFS
2465  test -z "$as_dir" && as_dir=.
2466    for ac_exec_ext in '' $ac_executable_extensions; do
2467  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2468    ac_cv_prog_ac_ct_STRIP="strip"
2469    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2470    break 2
2471  fi
2472done
2473  done
2474IFS=$as_save_IFS
2475
2476fi
2477fi
2478ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2479if test -n "$ac_ct_STRIP"; then
2480  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2481$as_echo "$ac_ct_STRIP" >&6; }
2482else
2483  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2484$as_echo "no" >&6; }
2485fi
2486
2487  if test "x$ac_ct_STRIP" = x; then
2488    STRIP=":"
2489  else
2490    case $cross_compiling:$ac_tool_warned in
2491yes:)
2492{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2493$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2494ac_tool_warned=yes ;;
2495esac
2496    STRIP=$ac_ct_STRIP
2497  fi
2498else
2499  STRIP="$ac_cv_prog_STRIP"
2500fi
2501
2502fi
2503INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2504
2505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2506$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2507if test -z "$MKDIR_P"; then
2508  if ${ac_cv_path_mkdir+:} false; then :
2509  $as_echo_n "(cached) " >&6
2510else
2511  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2512for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2513do
2514  IFS=$as_save_IFS
2515  test -z "$as_dir" && as_dir=.
2516    for ac_prog in mkdir gmkdir; do
2517	 for ac_exec_ext in '' $ac_executable_extensions; do
2518	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2519	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2520	     'mkdir (GNU coreutils) '* | \
2521	     'mkdir (coreutils) '* | \
2522	     'mkdir (fileutils) '4.1*)
2523	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2524	       break 3;;
2525	   esac
2526	 done
2527       done
2528  done
2529IFS=$as_save_IFS
2530
2531fi
2532
2533  test -d ./--version && rmdir ./--version
2534  if test "${ac_cv_path_mkdir+set}" = set; then
2535    MKDIR_P="$ac_cv_path_mkdir -p"
2536  else
2537    # As a last resort, use the slow shell script.  Don't cache a
2538    # value for MKDIR_P within a source directory, because that will
2539    # break other packages using the cache if that directory is
2540    # removed, or if the value is a relative name.
2541    MKDIR_P="$ac_install_sh -d"
2542  fi
2543fi
2544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2545$as_echo "$MKDIR_P" >&6; }
2546
2547for ac_prog in gawk mawk nawk awk
2548do
2549  # Extract the first word of "$ac_prog", so it can be a program name with args.
2550set dummy $ac_prog; ac_word=$2
2551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2552$as_echo_n "checking for $ac_word... " >&6; }
2553if ${ac_cv_prog_AWK+:} false; then :
2554  $as_echo_n "(cached) " >&6
2555else
2556  if test -n "$AWK"; then
2557  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2558else
2559as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2560for as_dir in $PATH
2561do
2562  IFS=$as_save_IFS
2563  test -z "$as_dir" && as_dir=.
2564    for ac_exec_ext in '' $ac_executable_extensions; do
2565  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2566    ac_cv_prog_AWK="$ac_prog"
2567    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2568    break 2
2569  fi
2570done
2571  done
2572IFS=$as_save_IFS
2573
2574fi
2575fi
2576AWK=$ac_cv_prog_AWK
2577if test -n "$AWK"; then
2578  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2579$as_echo "$AWK" >&6; }
2580else
2581  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2582$as_echo "no" >&6; }
2583fi
2584
2585
2586  test -n "$AWK" && break
2587done
2588
2589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2590$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2591set x ${MAKE-make}
2592ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2593if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2594  $as_echo_n "(cached) " >&6
2595else
2596  cat >conftest.make <<\_ACEOF
2597SHELL = /bin/sh
2598all:
2599	@echo '@@@%%%=$(MAKE)=@@@%%%'
2600_ACEOF
2601# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2602case `${MAKE-make} -f conftest.make 2>/dev/null` in
2603  *@@@%%%=?*=@@@%%%*)
2604    eval ac_cv_prog_make_${ac_make}_set=yes;;
2605  *)
2606    eval ac_cv_prog_make_${ac_make}_set=no;;
2607esac
2608rm -f conftest.make
2609fi
2610if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2611  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2612$as_echo "yes" >&6; }
2613  SET_MAKE=
2614else
2615  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2616$as_echo "no" >&6; }
2617  SET_MAKE="MAKE=${MAKE-make}"
2618fi
2619
2620rm -rf .tst 2>/dev/null
2621mkdir .tst 2>/dev/null
2622if test -d .tst; then
2623  am__leading_dot=.
2624else
2625  am__leading_dot=_
2626fi
2627rmdir .tst 2>/dev/null
2628
2629# Check whether --enable-silent-rules was given.
2630if test "${enable_silent_rules+set}" = set; then :
2631  enableval=$enable_silent_rules;
2632fi
2633
2634case $enable_silent_rules in # (((
2635  yes) AM_DEFAULT_VERBOSITY=0;;
2636   no) AM_DEFAULT_VERBOSITY=1;;
2637    *) AM_DEFAULT_VERBOSITY=1;;
2638esac
2639am_make=${MAKE-make}
2640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2641$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2642if ${am_cv_make_support_nested_variables+:} false; then :
2643  $as_echo_n "(cached) " >&6
2644else
2645  if $as_echo 'TRUE=$(BAR$(V))
2646BAR0=false
2647BAR1=true
2648V=1
2649am__doit:
2650	@$(TRUE)
2651.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2652  am_cv_make_support_nested_variables=yes
2653else
2654  am_cv_make_support_nested_variables=no
2655fi
2656fi
2657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2658$as_echo "$am_cv_make_support_nested_variables" >&6; }
2659if test $am_cv_make_support_nested_variables = yes; then
2660    AM_V='$(V)'
2661  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2662else
2663  AM_V=$AM_DEFAULT_VERBOSITY
2664  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2665fi
2666AM_BACKSLASH='\'
2667
2668if test "`cd $srcdir && pwd`" != "`pwd`"; then
2669  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2670  # is not polluted with repeated "-I."
2671  am__isrc=' -I$(srcdir)'
2672  # test to see if srcdir already configured
2673  if test -f $srcdir/config.status; then
2674    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2675  fi
2676fi
2677
2678# test whether we have cygpath
2679if test -z "$CYGPATH_W"; then
2680  if (cygpath --version) >/dev/null 2>/dev/null; then
2681    CYGPATH_W='cygpath -w'
2682  else
2683    CYGPATH_W=echo
2684  fi
2685fi
2686
2687
2688# Define the identity of the package.
2689 PACKAGE='bitmap'
2690 VERSION='1.0.7'
2691
2692
2693cat >>confdefs.h <<_ACEOF
2694#define PACKAGE "$PACKAGE"
2695_ACEOF
2696
2697
2698cat >>confdefs.h <<_ACEOF
2699#define VERSION "$VERSION"
2700_ACEOF
2701
2702# Some tools Automake needs.
2703
2704ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2705
2706
2707AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2708
2709
2710AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2711
2712
2713AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2714
2715
2716MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2717
2718# For better backward compatibility.  To be removed once Automake 1.9.x
2719# dies out for good.  For more background, see:
2720# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2721# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2722mkdir_p='$(MKDIR_P)'
2723
2724# We need awk for the "check" target.  The system "awk" is bad on
2725# some platforms.
2726# Always define AMTAR for backward compatibility.  Yes, it's still used
2727# in the wild :-(  We should find a proper way to deprecate it ...
2728AMTAR='$${TAR-tar}'
2729
2730
2731# We'll loop over all known methods to create a tar archive until one works.
2732_am_tools='gnutar  pax cpio none'
2733
2734am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2735
2736
2737
2738
2739
2740
2741
2742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2743$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2744    # Check whether --enable-maintainer-mode was given.
2745if test "${enable_maintainer_mode+set}" = set; then :
2746  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2747else
2748  USE_MAINTAINER_MODE=no
2749fi
2750
2751  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2752$as_echo "$USE_MAINTAINER_MODE" >&6; }
2753   if test $USE_MAINTAINER_MODE = yes; then
2754  MAINTAINER_MODE_TRUE=
2755  MAINTAINER_MODE_FALSE='#'
2756else
2757  MAINTAINER_MODE_TRUE='#'
2758  MAINTAINER_MODE_FALSE=
2759fi
2760
2761  MAINT=$MAINTAINER_MODE_TRUE
2762
2763
2764
2765# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777DEPDIR="${am__leading_dot}deps"
2778
2779ac_config_commands="$ac_config_commands depfiles"
2780
2781
2782am_make=${MAKE-make}
2783cat > confinc << 'END'
2784am__doit:
2785	@echo this is the am__doit target
2786.PHONY: am__doit
2787END
2788# If we don't find an include directive, just comment out the code.
2789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2790$as_echo_n "checking for style of include used by $am_make... " >&6; }
2791am__include="#"
2792am__quote=
2793_am_result=none
2794# First try GNU make style include.
2795echo "include confinc" > confmf
2796# Ignore all kinds of additional output from 'make'.
2797case `$am_make -s -f confmf 2> /dev/null` in #(
2798*the\ am__doit\ target*)
2799  am__include=include
2800  am__quote=
2801  _am_result=GNU
2802  ;;
2803esac
2804# Now try BSD make style include.
2805if test "$am__include" = "#"; then
2806   echo '.include "confinc"' > confmf
2807   case `$am_make -s -f confmf 2> /dev/null` in #(
2808   *the\ am__doit\ target*)
2809     am__include=.include
2810     am__quote="\""
2811     _am_result=BSD
2812     ;;
2813   esac
2814fi
2815
2816
2817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2818$as_echo "$_am_result" >&6; }
2819rm -f confinc confmf
2820
2821# Check whether --enable-dependency-tracking was given.
2822if test "${enable_dependency_tracking+set}" = set; then :
2823  enableval=$enable_dependency_tracking;
2824fi
2825
2826if test "x$enable_dependency_tracking" != xno; then
2827  am_depcomp="$ac_aux_dir/depcomp"
2828  AMDEPBACKSLASH='\'
2829  am__nodep='_no'
2830fi
2831 if test "x$enable_dependency_tracking" != xno; then
2832  AMDEP_TRUE=
2833  AMDEP_FALSE='#'
2834else
2835  AMDEP_TRUE='#'
2836  AMDEP_FALSE=
2837fi
2838
2839
2840ac_ext=c
2841ac_cpp='$CPP $CPPFLAGS'
2842ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2843ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2844ac_compiler_gnu=$ac_cv_c_compiler_gnu
2845if test -n "$ac_tool_prefix"; then
2846  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2847set dummy ${ac_tool_prefix}gcc; ac_word=$2
2848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2849$as_echo_n "checking for $ac_word... " >&6; }
2850if ${ac_cv_prog_CC+:} false; then :
2851  $as_echo_n "(cached) " >&6
2852else
2853  if test -n "$CC"; then
2854  ac_cv_prog_CC="$CC" # Let the user override the test.
2855else
2856as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2857for as_dir in $PATH
2858do
2859  IFS=$as_save_IFS
2860  test -z "$as_dir" && as_dir=.
2861    for ac_exec_ext in '' $ac_executable_extensions; do
2862  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2863    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2864    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2865    break 2
2866  fi
2867done
2868  done
2869IFS=$as_save_IFS
2870
2871fi
2872fi
2873CC=$ac_cv_prog_CC
2874if test -n "$CC"; then
2875  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2876$as_echo "$CC" >&6; }
2877else
2878  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2879$as_echo "no" >&6; }
2880fi
2881
2882
2883fi
2884if test -z "$ac_cv_prog_CC"; then
2885  ac_ct_CC=$CC
2886  # Extract the first word of "gcc", so it can be a program name with args.
2887set dummy gcc; ac_word=$2
2888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2889$as_echo_n "checking for $ac_word... " >&6; }
2890if ${ac_cv_prog_ac_ct_CC+:} false; then :
2891  $as_echo_n "(cached) " >&6
2892else
2893  if test -n "$ac_ct_CC"; then
2894  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2895else
2896as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2897for as_dir in $PATH
2898do
2899  IFS=$as_save_IFS
2900  test -z "$as_dir" && as_dir=.
2901    for ac_exec_ext in '' $ac_executable_extensions; do
2902  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2903    ac_cv_prog_ac_ct_CC="gcc"
2904    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2905    break 2
2906  fi
2907done
2908  done
2909IFS=$as_save_IFS
2910
2911fi
2912fi
2913ac_ct_CC=$ac_cv_prog_ac_ct_CC
2914if test -n "$ac_ct_CC"; then
2915  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2916$as_echo "$ac_ct_CC" >&6; }
2917else
2918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2919$as_echo "no" >&6; }
2920fi
2921
2922  if test "x$ac_ct_CC" = x; then
2923    CC=""
2924  else
2925    case $cross_compiling:$ac_tool_warned in
2926yes:)
2927{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2928$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2929ac_tool_warned=yes ;;
2930esac
2931    CC=$ac_ct_CC
2932  fi
2933else
2934  CC="$ac_cv_prog_CC"
2935fi
2936
2937if test -z "$CC"; then
2938          if test -n "$ac_tool_prefix"; then
2939    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2940set dummy ${ac_tool_prefix}cc; ac_word=$2
2941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2942$as_echo_n "checking for $ac_word... " >&6; }
2943if ${ac_cv_prog_CC+:} false; then :
2944  $as_echo_n "(cached) " >&6
2945else
2946  if test -n "$CC"; then
2947  ac_cv_prog_CC="$CC" # Let the user override the test.
2948else
2949as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2950for as_dir in $PATH
2951do
2952  IFS=$as_save_IFS
2953  test -z "$as_dir" && as_dir=.
2954    for ac_exec_ext in '' $ac_executable_extensions; do
2955  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2956    ac_cv_prog_CC="${ac_tool_prefix}cc"
2957    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2958    break 2
2959  fi
2960done
2961  done
2962IFS=$as_save_IFS
2963
2964fi
2965fi
2966CC=$ac_cv_prog_CC
2967if test -n "$CC"; then
2968  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2969$as_echo "$CC" >&6; }
2970else
2971  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2972$as_echo "no" >&6; }
2973fi
2974
2975
2976  fi
2977fi
2978if test -z "$CC"; then
2979  # Extract the first word of "cc", so it can be a program name with args.
2980set dummy cc; ac_word=$2
2981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2982$as_echo_n "checking for $ac_word... " >&6; }
2983if ${ac_cv_prog_CC+:} false; then :
2984  $as_echo_n "(cached) " >&6
2985else
2986  if test -n "$CC"; then
2987  ac_cv_prog_CC="$CC" # Let the user override the test.
2988else
2989  ac_prog_rejected=no
2990as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2991for as_dir in $PATH
2992do
2993  IFS=$as_save_IFS
2994  test -z "$as_dir" && as_dir=.
2995    for ac_exec_ext in '' $ac_executable_extensions; do
2996  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2997    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2998       ac_prog_rejected=yes
2999       continue
3000     fi
3001    ac_cv_prog_CC="cc"
3002    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3003    break 2
3004  fi
3005done
3006  done
3007IFS=$as_save_IFS
3008
3009if test $ac_prog_rejected = yes; then
3010  # We found a bogon in the path, so make sure we never use it.
3011  set dummy $ac_cv_prog_CC
3012  shift
3013  if test $# != 0; then
3014    # We chose a different compiler from the bogus one.
3015    # However, it has the same basename, so the bogon will be chosen
3016    # first if we set CC to just the basename; use the full file name.
3017    shift
3018    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3019  fi
3020fi
3021fi
3022fi
3023CC=$ac_cv_prog_CC
3024if test -n "$CC"; then
3025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3026$as_echo "$CC" >&6; }
3027else
3028  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3029$as_echo "no" >&6; }
3030fi
3031
3032
3033fi
3034if test -z "$CC"; then
3035  if test -n "$ac_tool_prefix"; then
3036  for ac_prog in cl.exe
3037  do
3038    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3039set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3041$as_echo_n "checking for $ac_word... " >&6; }
3042if ${ac_cv_prog_CC+:} false; then :
3043  $as_echo_n "(cached) " >&6
3044else
3045  if test -n "$CC"; then
3046  ac_cv_prog_CC="$CC" # Let the user override the test.
3047else
3048as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3049for as_dir in $PATH
3050do
3051  IFS=$as_save_IFS
3052  test -z "$as_dir" && as_dir=.
3053    for ac_exec_ext in '' $ac_executable_extensions; do
3054  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3055    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3056    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3057    break 2
3058  fi
3059done
3060  done
3061IFS=$as_save_IFS
3062
3063fi
3064fi
3065CC=$ac_cv_prog_CC
3066if test -n "$CC"; then
3067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3068$as_echo "$CC" >&6; }
3069else
3070  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3071$as_echo "no" >&6; }
3072fi
3073
3074
3075    test -n "$CC" && break
3076  done
3077fi
3078if test -z "$CC"; then
3079  ac_ct_CC=$CC
3080  for ac_prog in cl.exe
3081do
3082  # Extract the first word of "$ac_prog", so it can be a program name with args.
3083set dummy $ac_prog; ac_word=$2
3084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3085$as_echo_n "checking for $ac_word... " >&6; }
3086if ${ac_cv_prog_ac_ct_CC+:} false; then :
3087  $as_echo_n "(cached) " >&6
3088else
3089  if test -n "$ac_ct_CC"; then
3090  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3091else
3092as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3093for as_dir in $PATH
3094do
3095  IFS=$as_save_IFS
3096  test -z "$as_dir" && as_dir=.
3097    for ac_exec_ext in '' $ac_executable_extensions; do
3098  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3099    ac_cv_prog_ac_ct_CC="$ac_prog"
3100    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3101    break 2
3102  fi
3103done
3104  done
3105IFS=$as_save_IFS
3106
3107fi
3108fi
3109ac_ct_CC=$ac_cv_prog_ac_ct_CC
3110if test -n "$ac_ct_CC"; then
3111  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3112$as_echo "$ac_ct_CC" >&6; }
3113else
3114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3115$as_echo "no" >&6; }
3116fi
3117
3118
3119  test -n "$ac_ct_CC" && break
3120done
3121
3122  if test "x$ac_ct_CC" = x; then
3123    CC=""
3124  else
3125    case $cross_compiling:$ac_tool_warned in
3126yes:)
3127{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3128$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3129ac_tool_warned=yes ;;
3130esac
3131    CC=$ac_ct_CC
3132  fi
3133fi
3134
3135fi
3136
3137
3138test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3139$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3140as_fn_error $? "no acceptable C compiler found in \$PATH
3141See \`config.log' for more details" "$LINENO" 5; }
3142
3143# Provide some information about the compiler.
3144$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3145set X $ac_compile
3146ac_compiler=$2
3147for ac_option in --version -v -V -qversion; do
3148  { { ac_try="$ac_compiler $ac_option >&5"
3149case "(($ac_try" in
3150  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3151  *) ac_try_echo=$ac_try;;
3152esac
3153eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3154$as_echo "$ac_try_echo"; } >&5
3155  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3156  ac_status=$?
3157  if test -s conftest.err; then
3158    sed '10a\
3159... rest of stderr output deleted ...
3160         10q' conftest.err >conftest.er1
3161    cat conftest.er1 >&5
3162  fi
3163  rm -f conftest.er1 conftest.err
3164  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3165  test $ac_status = 0; }
3166done
3167
3168cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3169/* end confdefs.h.  */
3170
3171int
3172main ()
3173{
3174
3175  ;
3176  return 0;
3177}
3178_ACEOF
3179ac_clean_files_save=$ac_clean_files
3180ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3181# Try to create an executable without -o first, disregard a.out.
3182# It will help us diagnose broken compilers, and finding out an intuition
3183# of exeext.
3184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3185$as_echo_n "checking whether the C compiler works... " >&6; }
3186ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3187
3188# The possible output files:
3189ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3190
3191ac_rmfiles=
3192for ac_file in $ac_files
3193do
3194  case $ac_file in
3195    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3196    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3197  esac
3198done
3199rm -f $ac_rmfiles
3200
3201if { { ac_try="$ac_link_default"
3202case "(($ac_try" in
3203  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3204  *) ac_try_echo=$ac_try;;
3205esac
3206eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3207$as_echo "$ac_try_echo"; } >&5
3208  (eval "$ac_link_default") 2>&5
3209  ac_status=$?
3210  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3211  test $ac_status = 0; }; then :
3212  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3213# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3214# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3215# so that the user can short-circuit this test for compilers unknown to
3216# Autoconf.
3217for ac_file in $ac_files ''
3218do
3219  test -f "$ac_file" || continue
3220  case $ac_file in
3221    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3222	;;
3223    [ab].out )
3224	# We found the default executable, but exeext='' is most
3225	# certainly right.
3226	break;;
3227    *.* )
3228	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3229	then :; else
3230	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3231	fi
3232	# We set ac_cv_exeext here because the later test for it is not
3233	# safe: cross compilers may not add the suffix if given an `-o'
3234	# argument, so we may need to know it at that point already.
3235	# Even if this section looks crufty: it has the advantage of
3236	# actually working.
3237	break;;
3238    * )
3239	break;;
3240  esac
3241done
3242test "$ac_cv_exeext" = no && ac_cv_exeext=
3243
3244else
3245  ac_file=''
3246fi
3247if test -z "$ac_file"; then :
3248  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249$as_echo "no" >&6; }
3250$as_echo "$as_me: failed program was:" >&5
3251sed 's/^/| /' conftest.$ac_ext >&5
3252
3253{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3254$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3255as_fn_error 77 "C compiler cannot create executables
3256See \`config.log' for more details" "$LINENO" 5; }
3257else
3258  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3259$as_echo "yes" >&6; }
3260fi
3261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3262$as_echo_n "checking for C compiler default output file name... " >&6; }
3263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3264$as_echo "$ac_file" >&6; }
3265ac_exeext=$ac_cv_exeext
3266
3267rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3268ac_clean_files=$ac_clean_files_save
3269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3270$as_echo_n "checking for suffix of executables... " >&6; }
3271if { { ac_try="$ac_link"
3272case "(($ac_try" in
3273  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3274  *) ac_try_echo=$ac_try;;
3275esac
3276eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3277$as_echo "$ac_try_echo"; } >&5
3278  (eval "$ac_link") 2>&5
3279  ac_status=$?
3280  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3281  test $ac_status = 0; }; then :
3282  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3283# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3284# work properly (i.e., refer to `conftest.exe'), while it won't with
3285# `rm'.
3286for ac_file in conftest.exe conftest conftest.*; do
3287  test -f "$ac_file" || continue
3288  case $ac_file in
3289    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3290    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3291	  break;;
3292    * ) break;;
3293  esac
3294done
3295else
3296  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3297$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3298as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3299See \`config.log' for more details" "$LINENO" 5; }
3300fi
3301rm -f conftest conftest$ac_cv_exeext
3302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3303$as_echo "$ac_cv_exeext" >&6; }
3304
3305rm -f conftest.$ac_ext
3306EXEEXT=$ac_cv_exeext
3307ac_exeext=$EXEEXT
3308cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3309/* end confdefs.h.  */
3310#include <stdio.h>
3311int
3312main ()
3313{
3314FILE *f = fopen ("conftest.out", "w");
3315 return ferror (f) || fclose (f) != 0;
3316
3317  ;
3318  return 0;
3319}
3320_ACEOF
3321ac_clean_files="$ac_clean_files conftest.out"
3322# Check that the compiler produces executables we can run.  If not, either
3323# the compiler is broken, or we cross compile.
3324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3325$as_echo_n "checking whether we are cross compiling... " >&6; }
3326if test "$cross_compiling" != yes; then
3327  { { ac_try="$ac_link"
3328case "(($ac_try" in
3329  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3330  *) ac_try_echo=$ac_try;;
3331esac
3332eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3333$as_echo "$ac_try_echo"; } >&5
3334  (eval "$ac_link") 2>&5
3335  ac_status=$?
3336  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3337  test $ac_status = 0; }
3338  if { ac_try='./conftest$ac_cv_exeext'
3339  { { case "(($ac_try" in
3340  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3341  *) ac_try_echo=$ac_try;;
3342esac
3343eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3344$as_echo "$ac_try_echo"; } >&5
3345  (eval "$ac_try") 2>&5
3346  ac_status=$?
3347  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3348  test $ac_status = 0; }; }; then
3349    cross_compiling=no
3350  else
3351    if test "$cross_compiling" = maybe; then
3352	cross_compiling=yes
3353    else
3354	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3355$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3356as_fn_error $? "cannot run C compiled programs.
3357If you meant to cross compile, use \`--host'.
3358See \`config.log' for more details" "$LINENO" 5; }
3359    fi
3360  fi
3361fi
3362{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3363$as_echo "$cross_compiling" >&6; }
3364
3365rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3366ac_clean_files=$ac_clean_files_save
3367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3368$as_echo_n "checking for suffix of object files... " >&6; }
3369if ${ac_cv_objext+:} false; then :
3370  $as_echo_n "(cached) " >&6
3371else
3372  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3373/* end confdefs.h.  */
3374
3375int
3376main ()
3377{
3378
3379  ;
3380  return 0;
3381}
3382_ACEOF
3383rm -f conftest.o conftest.obj
3384if { { ac_try="$ac_compile"
3385case "(($ac_try" in
3386  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3387  *) ac_try_echo=$ac_try;;
3388esac
3389eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3390$as_echo "$ac_try_echo"; } >&5
3391  (eval "$ac_compile") 2>&5
3392  ac_status=$?
3393  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3394  test $ac_status = 0; }; then :
3395  for ac_file in conftest.o conftest.obj conftest.*; do
3396  test -f "$ac_file" || continue;
3397  case $ac_file in
3398    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3399    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3400       break;;
3401  esac
3402done
3403else
3404  $as_echo "$as_me: failed program was:" >&5
3405sed 's/^/| /' conftest.$ac_ext >&5
3406
3407{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3408$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3409as_fn_error $? "cannot compute suffix of object files: cannot compile
3410See \`config.log' for more details" "$LINENO" 5; }
3411fi
3412rm -f conftest.$ac_cv_objext conftest.$ac_ext
3413fi
3414{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3415$as_echo "$ac_cv_objext" >&6; }
3416OBJEXT=$ac_cv_objext
3417ac_objext=$OBJEXT
3418{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3419$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3420if ${ac_cv_c_compiler_gnu+:} false; then :
3421  $as_echo_n "(cached) " >&6
3422else
3423  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3424/* end confdefs.h.  */
3425
3426int
3427main ()
3428{
3429#ifndef __GNUC__
3430       choke me
3431#endif
3432
3433  ;
3434  return 0;
3435}
3436_ACEOF
3437if ac_fn_c_try_compile "$LINENO"; then :
3438  ac_compiler_gnu=yes
3439else
3440  ac_compiler_gnu=no
3441fi
3442rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3443ac_cv_c_compiler_gnu=$ac_compiler_gnu
3444
3445fi
3446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3447$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3448if test $ac_compiler_gnu = yes; then
3449  GCC=yes
3450else
3451  GCC=
3452fi
3453ac_test_CFLAGS=${CFLAGS+set}
3454ac_save_CFLAGS=$CFLAGS
3455{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3456$as_echo_n "checking whether $CC accepts -g... " >&6; }
3457if ${ac_cv_prog_cc_g+:} false; then :
3458  $as_echo_n "(cached) " >&6
3459else
3460  ac_save_c_werror_flag=$ac_c_werror_flag
3461   ac_c_werror_flag=yes
3462   ac_cv_prog_cc_g=no
3463   CFLAGS="-g"
3464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3465/* end confdefs.h.  */
3466
3467int
3468main ()
3469{
3470
3471  ;
3472  return 0;
3473}
3474_ACEOF
3475if ac_fn_c_try_compile "$LINENO"; then :
3476  ac_cv_prog_cc_g=yes
3477else
3478  CFLAGS=""
3479      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3480/* end confdefs.h.  */
3481
3482int
3483main ()
3484{
3485
3486  ;
3487  return 0;
3488}
3489_ACEOF
3490if ac_fn_c_try_compile "$LINENO"; then :
3491
3492else
3493  ac_c_werror_flag=$ac_save_c_werror_flag
3494	 CFLAGS="-g"
3495	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3496/* end confdefs.h.  */
3497
3498int
3499main ()
3500{
3501
3502  ;
3503  return 0;
3504}
3505_ACEOF
3506if ac_fn_c_try_compile "$LINENO"; then :
3507  ac_cv_prog_cc_g=yes
3508fi
3509rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3510fi
3511rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3512fi
3513rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3514   ac_c_werror_flag=$ac_save_c_werror_flag
3515fi
3516{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3517$as_echo "$ac_cv_prog_cc_g" >&6; }
3518if test "$ac_test_CFLAGS" = set; then
3519  CFLAGS=$ac_save_CFLAGS
3520elif test $ac_cv_prog_cc_g = yes; then
3521  if test "$GCC" = yes; then
3522    CFLAGS="-g -O2"
3523  else
3524    CFLAGS="-g"
3525  fi
3526else
3527  if test "$GCC" = yes; then
3528    CFLAGS="-O2"
3529  else
3530    CFLAGS=
3531  fi
3532fi
3533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3534$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3535if ${ac_cv_prog_cc_c89+:} false; then :
3536  $as_echo_n "(cached) " >&6
3537else
3538  ac_cv_prog_cc_c89=no
3539ac_save_CC=$CC
3540cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3541/* end confdefs.h.  */
3542#include <stdarg.h>
3543#include <stdio.h>
3544#include <sys/types.h>
3545#include <sys/stat.h>
3546/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3547struct buf { int x; };
3548FILE * (*rcsopen) (struct buf *, struct stat *, int);
3549static char *e (p, i)
3550     char **p;
3551     int i;
3552{
3553  return p[i];
3554}
3555static char *f (char * (*g) (char **, int), char **p, ...)
3556{
3557  char *s;
3558  va_list v;
3559  va_start (v,p);
3560  s = g (p, va_arg (v,int));
3561  va_end (v);
3562  return s;
3563}
3564
3565/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3566   function prototypes and stuff, but not '\xHH' hex character constants.
3567   These don't provoke an error unfortunately, instead are silently treated
3568   as 'x'.  The following induces an error, until -std is added to get
3569   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3570   array size at least.  It's necessary to write '\x00'==0 to get something
3571   that's true only with -std.  */
3572int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3573
3574/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3575   inside strings and character constants.  */
3576#define FOO(x) 'x'
3577int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3578
3579int test (int i, double x);
3580struct s1 {int (*f) (int a);};
3581struct s2 {int (*f) (double a);};
3582int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3583int argc;
3584char **argv;
3585int
3586main ()
3587{
3588return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3589  ;
3590  return 0;
3591}
3592_ACEOF
3593for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3594	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3595do
3596  CC="$ac_save_CC $ac_arg"
3597  if ac_fn_c_try_compile "$LINENO"; then :
3598  ac_cv_prog_cc_c89=$ac_arg
3599fi
3600rm -f core conftest.err conftest.$ac_objext
3601  test "x$ac_cv_prog_cc_c89" != "xno" && break
3602done
3603rm -f conftest.$ac_ext
3604CC=$ac_save_CC
3605
3606fi
3607# AC_CACHE_VAL
3608case "x$ac_cv_prog_cc_c89" in
3609  x)
3610    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3611$as_echo "none needed" >&6; } ;;
3612  xno)
3613    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3614$as_echo "unsupported" >&6; } ;;
3615  *)
3616    CC="$CC $ac_cv_prog_cc_c89"
3617    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3618$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3619esac
3620if test "x$ac_cv_prog_cc_c89" != xno; then :
3621
3622fi
3623
3624ac_ext=c
3625ac_cpp='$CPP $CPPFLAGS'
3626ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3627ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3628ac_compiler_gnu=$ac_cv_c_compiler_gnu
3629
3630depcc="$CC"   am_compiler_list=
3631
3632{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3633$as_echo_n "checking dependency style of $depcc... " >&6; }
3634if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3635  $as_echo_n "(cached) " >&6
3636else
3637  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3638  # We make a subdir and do the tests there.  Otherwise we can end up
3639  # making bogus files that we don't know about and never remove.  For
3640  # instance it was reported that on HP-UX the gcc test will end up
3641  # making a dummy file named 'D' -- because '-MD' means "put the output
3642  # in D".
3643  rm -rf conftest.dir
3644  mkdir conftest.dir
3645  # Copy depcomp to subdir because otherwise we won't find it if we're
3646  # using a relative directory.
3647  cp "$am_depcomp" conftest.dir
3648  cd conftest.dir
3649  # We will build objects and dependencies in a subdirectory because
3650  # it helps to detect inapplicable dependency modes.  For instance
3651  # both Tru64's cc and ICC support -MD to output dependencies as a
3652  # side effect of compilation, but ICC will put the dependencies in
3653  # the current directory while Tru64 will put them in the object
3654  # directory.
3655  mkdir sub
3656
3657  am_cv_CC_dependencies_compiler_type=none
3658  if test "$am_compiler_list" = ""; then
3659     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3660  fi
3661  am__universal=false
3662  case " $depcc " in #(
3663     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3664     esac
3665
3666  for depmode in $am_compiler_list; do
3667    # Setup a source with many dependencies, because some compilers
3668    # like to wrap large dependency lists on column 80 (with \), and
3669    # we should not choose a depcomp mode which is confused by this.
3670    #
3671    # We need to recreate these files for each test, as the compiler may
3672    # overwrite some of them when testing with obscure command lines.
3673    # This happens at least with the AIX C compiler.
3674    : > sub/conftest.c
3675    for i in 1 2 3 4 5 6; do
3676      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3677      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3678      # Solaris 10 /bin/sh.
3679      echo '/* dummy */' > sub/conftst$i.h
3680    done
3681    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3682
3683    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3684    # mode.  It turns out that the SunPro C++ compiler does not properly
3685    # handle '-M -o', and we need to detect this.  Also, some Intel
3686    # versions had trouble with output in subdirs.
3687    am__obj=sub/conftest.${OBJEXT-o}
3688    am__minus_obj="-o $am__obj"
3689    case $depmode in
3690    gcc)
3691      # This depmode causes a compiler race in universal mode.
3692      test "$am__universal" = false || continue
3693      ;;
3694    nosideeffect)
3695      # After this tag, mechanisms are not by side-effect, so they'll
3696      # only be used when explicitly requested.
3697      if test "x$enable_dependency_tracking" = xyes; then
3698	continue
3699      else
3700	break
3701      fi
3702      ;;
3703    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3704      # This compiler won't grok '-c -o', but also, the minuso test has
3705      # not run yet.  These depmodes are late enough in the game, and
3706      # so weak that their functioning should not be impacted.
3707      am__obj=conftest.${OBJEXT-o}
3708      am__minus_obj=
3709      ;;
3710    none) break ;;
3711    esac
3712    if depmode=$depmode \
3713       source=sub/conftest.c object=$am__obj \
3714       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3715       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3716         >/dev/null 2>conftest.err &&
3717       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3718       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3719       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3720       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3721      # icc doesn't choke on unknown options, it will just issue warnings
3722      # or remarks (even with -Werror).  So we grep stderr for any message
3723      # that says an option was ignored or not supported.
3724      # When given -MP, icc 7.0 and 7.1 complain thusly:
3725      #   icc: Command line warning: ignoring option '-M'; no argument required
3726      # The diagnosis changed in icc 8.0:
3727      #   icc: Command line remark: option '-MP' not supported
3728      if (grep 'ignoring option' conftest.err ||
3729          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3730        am_cv_CC_dependencies_compiler_type=$depmode
3731        break
3732      fi
3733    fi
3734  done
3735
3736  cd ..
3737  rm -rf conftest.dir
3738else
3739  am_cv_CC_dependencies_compiler_type=none
3740fi
3741
3742fi
3743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3744$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3745CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3746
3747 if
3748  test "x$enable_dependency_tracking" != xno \
3749  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3750  am__fastdepCC_TRUE=
3751  am__fastdepCC_FALSE='#'
3752else
3753  am__fastdepCC_TRUE='#'
3754  am__fastdepCC_FALSE=
3755fi
3756
3757
3758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3759$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3760if ${ac_cv_prog_cc_c99+:} false; then :
3761  $as_echo_n "(cached) " >&6
3762else
3763  ac_cv_prog_cc_c99=no
3764ac_save_CC=$CC
3765cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3766/* end confdefs.h.  */
3767#include <stdarg.h>
3768#include <stdbool.h>
3769#include <stdlib.h>
3770#include <wchar.h>
3771#include <stdio.h>
3772
3773// Check varargs macros.  These examples are taken from C99 6.10.3.5.
3774#define debug(...) fprintf (stderr, __VA_ARGS__)
3775#define showlist(...) puts (#__VA_ARGS__)
3776#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3777static void
3778test_varargs_macros (void)
3779{
3780  int x = 1234;
3781  int y = 5678;
3782  debug ("Flag");
3783  debug ("X = %d\n", x);
3784  showlist (The first, second, and third items.);
3785  report (x>y, "x is %d but y is %d", x, y);
3786}
3787
3788// Check long long types.
3789#define BIG64 18446744073709551615ull
3790#define BIG32 4294967295ul
3791#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3792#if !BIG_OK
3793  your preprocessor is broken;
3794#endif
3795#if BIG_OK
3796#else
3797  your preprocessor is broken;
3798#endif
3799static long long int bignum = -9223372036854775807LL;
3800static unsigned long long int ubignum = BIG64;
3801
3802struct incomplete_array
3803{
3804  int datasize;
3805  double data[];
3806};
3807
3808struct named_init {
3809  int number;
3810  const wchar_t *name;
3811  double average;
3812};
3813
3814typedef const char *ccp;
3815
3816static inline int
3817test_restrict (ccp restrict text)
3818{
3819  // See if C++-style comments work.
3820  // Iterate through items via the restricted pointer.
3821  // Also check for declarations in for loops.
3822  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3823    continue;
3824  return 0;
3825}
3826
3827// Check varargs and va_copy.
3828static void
3829test_varargs (const char *format, ...)
3830{
3831  va_list args;
3832  va_start (args, format);
3833  va_list args_copy;
3834  va_copy (args_copy, args);
3835
3836  const char *str;
3837  int number;
3838  float fnumber;
3839
3840  while (*format)
3841    {
3842      switch (*format++)
3843	{
3844	case 's': // string
3845	  str = va_arg (args_copy, const char *);
3846	  break;
3847	case 'd': // int
3848	  number = va_arg (args_copy, int);
3849	  break;
3850	case 'f': // float
3851	  fnumber = va_arg (args_copy, double);
3852	  break;
3853	default:
3854	  break;
3855	}
3856    }
3857  va_end (args_copy);
3858  va_end (args);
3859}
3860
3861int
3862main ()
3863{
3864
3865  // Check bool.
3866  _Bool success = false;
3867
3868  // Check restrict.
3869  if (test_restrict ("String literal") == 0)
3870    success = true;
3871  char *restrict newvar = "Another string";
3872
3873  // Check varargs.
3874  test_varargs ("s, d' f .", "string", 65, 34.234);
3875  test_varargs_macros ();
3876
3877  // Check flexible array members.
3878  struct incomplete_array *ia =
3879    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3880  ia->datasize = 10;
3881  for (int i = 0; i < ia->datasize; ++i)
3882    ia->data[i] = i * 1.234;
3883
3884  // Check named initializers.
3885  struct named_init ni = {
3886    .number = 34,
3887    .name = L"Test wide string",
3888    .average = 543.34343,
3889  };
3890
3891  ni.number = 58;
3892
3893  int dynamic_array[ni.number];
3894  dynamic_array[ni.number - 1] = 543;
3895
3896  // work around unused variable warnings
3897  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3898	  || dynamic_array[ni.number - 1] != 543);
3899
3900  ;
3901  return 0;
3902}
3903_ACEOF
3904for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3905do
3906  CC="$ac_save_CC $ac_arg"
3907  if ac_fn_c_try_compile "$LINENO"; then :
3908  ac_cv_prog_cc_c99=$ac_arg
3909fi
3910rm -f core conftest.err conftest.$ac_objext
3911  test "x$ac_cv_prog_cc_c99" != "xno" && break
3912done
3913rm -f conftest.$ac_ext
3914CC=$ac_save_CC
3915
3916fi
3917# AC_CACHE_VAL
3918case "x$ac_cv_prog_cc_c99" in
3919  x)
3920    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3921$as_echo "none needed" >&6; } ;;
3922  xno)
3923    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3924$as_echo "unsupported" >&6; } ;;
3925  *)
3926    CC="$CC $ac_cv_prog_cc_c99"
3927    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3928$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3929esac
3930if test "x$ac_cv_prog_cc_c99" != xno; then :
3931
3932fi
3933
3934
3935
3936ac_ext=c
3937ac_cpp='$CPP $CPPFLAGS'
3938ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3939ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3940ac_compiler_gnu=$ac_cv_c_compiler_gnu
3941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3942$as_echo_n "checking how to run the C preprocessor... " >&6; }
3943# On Suns, sometimes $CPP names a directory.
3944if test -n "$CPP" && test -d "$CPP"; then
3945  CPP=
3946fi
3947if test -z "$CPP"; then
3948  if ${ac_cv_prog_CPP+:} false; then :
3949  $as_echo_n "(cached) " >&6
3950else
3951      # Double quotes because CPP needs to be expanded
3952    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3953    do
3954      ac_preproc_ok=false
3955for ac_c_preproc_warn_flag in '' yes
3956do
3957  # Use a header file that comes with gcc, so configuring glibc
3958  # with a fresh cross-compiler works.
3959  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3960  # <limits.h> exists even on freestanding compilers.
3961  # On the NeXT, cc -E runs the code through the compiler's parser,
3962  # not just through cpp. "Syntax error" is here to catch this case.
3963  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3964/* end confdefs.h.  */
3965#ifdef __STDC__
3966# include <limits.h>
3967#else
3968# include <assert.h>
3969#endif
3970		     Syntax error
3971_ACEOF
3972if ac_fn_c_try_cpp "$LINENO"; then :
3973
3974else
3975  # Broken: fails on valid input.
3976continue
3977fi
3978rm -f conftest.err conftest.i conftest.$ac_ext
3979
3980  # OK, works on sane cases.  Now check whether nonexistent headers
3981  # can be detected and how.
3982  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3983/* end confdefs.h.  */
3984#include <ac_nonexistent.h>
3985_ACEOF
3986if ac_fn_c_try_cpp "$LINENO"; then :
3987  # Broken: success on invalid input.
3988continue
3989else
3990  # Passes both tests.
3991ac_preproc_ok=:
3992break
3993fi
3994rm -f conftest.err conftest.i conftest.$ac_ext
3995
3996done
3997# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3998rm -f conftest.i conftest.err conftest.$ac_ext
3999if $ac_preproc_ok; then :
4000  break
4001fi
4002
4003    done
4004    ac_cv_prog_CPP=$CPP
4005
4006fi
4007  CPP=$ac_cv_prog_CPP
4008else
4009  ac_cv_prog_CPP=$CPP
4010fi
4011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4012$as_echo "$CPP" >&6; }
4013ac_preproc_ok=false
4014for ac_c_preproc_warn_flag in '' yes
4015do
4016  # Use a header file that comes with gcc, so configuring glibc
4017  # with a fresh cross-compiler works.
4018  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4019  # <limits.h> exists even on freestanding compilers.
4020  # On the NeXT, cc -E runs the code through the compiler's parser,
4021  # not just through cpp. "Syntax error" is here to catch this case.
4022  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4023/* end confdefs.h.  */
4024#ifdef __STDC__
4025# include <limits.h>
4026#else
4027# include <assert.h>
4028#endif
4029		     Syntax error
4030_ACEOF
4031if ac_fn_c_try_cpp "$LINENO"; then :
4032
4033else
4034  # Broken: fails on valid input.
4035continue
4036fi
4037rm -f conftest.err conftest.i conftest.$ac_ext
4038
4039  # OK, works on sane cases.  Now check whether nonexistent headers
4040  # can be detected and how.
4041  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4042/* end confdefs.h.  */
4043#include <ac_nonexistent.h>
4044_ACEOF
4045if ac_fn_c_try_cpp "$LINENO"; then :
4046  # Broken: success on invalid input.
4047continue
4048else
4049  # Passes both tests.
4050ac_preproc_ok=:
4051break
4052fi
4053rm -f conftest.err conftest.i conftest.$ac_ext
4054
4055done
4056# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4057rm -f conftest.i conftest.err conftest.$ac_ext
4058if $ac_preproc_ok; then :
4059
4060else
4061  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4062$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4063as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4064See \`config.log' for more details" "$LINENO" 5; }
4065fi
4066
4067ac_ext=c
4068ac_cpp='$CPP $CPPFLAGS'
4069ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4070ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4071ac_compiler_gnu=$ac_cv_c_compiler_gnu
4072
4073
4074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4075$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4076if ${ac_cv_path_GREP+:} false; then :
4077  $as_echo_n "(cached) " >&6
4078else
4079  if test -z "$GREP"; then
4080  ac_path_GREP_found=false
4081  # Loop through the user's path and test for each of PROGNAME-LIST
4082  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4083for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4084do
4085  IFS=$as_save_IFS
4086  test -z "$as_dir" && as_dir=.
4087    for ac_prog in grep ggrep; do
4088    for ac_exec_ext in '' $ac_executable_extensions; do
4089      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4090      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4091# Check for GNU ac_path_GREP and select it if it is found.
4092  # Check for GNU $ac_path_GREP
4093case `"$ac_path_GREP" --version 2>&1` in
4094*GNU*)
4095  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4096*)
4097  ac_count=0
4098  $as_echo_n 0123456789 >"conftest.in"
4099  while :
4100  do
4101    cat "conftest.in" "conftest.in" >"conftest.tmp"
4102    mv "conftest.tmp" "conftest.in"
4103    cp "conftest.in" "conftest.nl"
4104    $as_echo 'GREP' >> "conftest.nl"
4105    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4106    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4107    as_fn_arith $ac_count + 1 && ac_count=$as_val
4108    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4109      # Best one so far, save it but keep looking for a better one
4110      ac_cv_path_GREP="$ac_path_GREP"
4111      ac_path_GREP_max=$ac_count
4112    fi
4113    # 10*(2^10) chars as input seems more than enough
4114    test $ac_count -gt 10 && break
4115  done
4116  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4117esac
4118
4119      $ac_path_GREP_found && break 3
4120    done
4121  done
4122  done
4123IFS=$as_save_IFS
4124  if test -z "$ac_cv_path_GREP"; then
4125    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4126  fi
4127else
4128  ac_cv_path_GREP=$GREP
4129fi
4130
4131fi
4132{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4133$as_echo "$ac_cv_path_GREP" >&6; }
4134 GREP="$ac_cv_path_GREP"
4135
4136
4137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4138$as_echo_n "checking for egrep... " >&6; }
4139if ${ac_cv_path_EGREP+:} false; then :
4140  $as_echo_n "(cached) " >&6
4141else
4142  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4143   then ac_cv_path_EGREP="$GREP -E"
4144   else
4145     if test -z "$EGREP"; then
4146  ac_path_EGREP_found=false
4147  # Loop through the user's path and test for each of PROGNAME-LIST
4148  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4149for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4150do
4151  IFS=$as_save_IFS
4152  test -z "$as_dir" && as_dir=.
4153    for ac_prog in egrep; do
4154    for ac_exec_ext in '' $ac_executable_extensions; do
4155      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4156      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4157# Check for GNU ac_path_EGREP and select it if it is found.
4158  # Check for GNU $ac_path_EGREP
4159case `"$ac_path_EGREP" --version 2>&1` in
4160*GNU*)
4161  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4162*)
4163  ac_count=0
4164  $as_echo_n 0123456789 >"conftest.in"
4165  while :
4166  do
4167    cat "conftest.in" "conftest.in" >"conftest.tmp"
4168    mv "conftest.tmp" "conftest.in"
4169    cp "conftest.in" "conftest.nl"
4170    $as_echo 'EGREP' >> "conftest.nl"
4171    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4172    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4173    as_fn_arith $ac_count + 1 && ac_count=$as_val
4174    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4175      # Best one so far, save it but keep looking for a better one
4176      ac_cv_path_EGREP="$ac_path_EGREP"
4177      ac_path_EGREP_max=$ac_count
4178    fi
4179    # 10*(2^10) chars as input seems more than enough
4180    test $ac_count -gt 10 && break
4181  done
4182  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4183esac
4184
4185      $ac_path_EGREP_found && break 3
4186    done
4187  done
4188  done
4189IFS=$as_save_IFS
4190  if test -z "$ac_cv_path_EGREP"; then
4191    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4192  fi
4193else
4194  ac_cv_path_EGREP=$EGREP
4195fi
4196
4197   fi
4198fi
4199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4200$as_echo "$ac_cv_path_EGREP" >&6; }
4201 EGREP="$ac_cv_path_EGREP"
4202
4203
4204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4205$as_echo_n "checking for ANSI C header files... " >&6; }
4206if ${ac_cv_header_stdc+:} false; then :
4207  $as_echo_n "(cached) " >&6
4208else
4209  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4210/* end confdefs.h.  */
4211#include <stdlib.h>
4212#include <stdarg.h>
4213#include <string.h>
4214#include <float.h>
4215
4216int
4217main ()
4218{
4219
4220  ;
4221  return 0;
4222}
4223_ACEOF
4224if ac_fn_c_try_compile "$LINENO"; then :
4225  ac_cv_header_stdc=yes
4226else
4227  ac_cv_header_stdc=no
4228fi
4229rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4230
4231if test $ac_cv_header_stdc = yes; then
4232  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4233  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4234/* end confdefs.h.  */
4235#include <string.h>
4236
4237_ACEOF
4238if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4239  $EGREP "memchr" >/dev/null 2>&1; then :
4240
4241else
4242  ac_cv_header_stdc=no
4243fi
4244rm -f conftest*
4245
4246fi
4247
4248if test $ac_cv_header_stdc = yes; then
4249  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4250  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4251/* end confdefs.h.  */
4252#include <stdlib.h>
4253
4254_ACEOF
4255if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4256  $EGREP "free" >/dev/null 2>&1; then :
4257
4258else
4259  ac_cv_header_stdc=no
4260fi
4261rm -f conftest*
4262
4263fi
4264
4265if test $ac_cv_header_stdc = yes; then
4266  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4267  if test "$cross_compiling" = yes; then :
4268  :
4269else
4270  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4271/* end confdefs.h.  */
4272#include <ctype.h>
4273#include <stdlib.h>
4274#if ((' ' & 0x0FF) == 0x020)
4275# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4276# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4277#else
4278# define ISLOWER(c) \
4279		   (('a' <= (c) && (c) <= 'i') \
4280		     || ('j' <= (c) && (c) <= 'r') \
4281		     || ('s' <= (c) && (c) <= 'z'))
4282# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4283#endif
4284
4285#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4286int
4287main ()
4288{
4289  int i;
4290  for (i = 0; i < 256; i++)
4291    if (XOR (islower (i), ISLOWER (i))
4292	|| toupper (i) != TOUPPER (i))
4293      return 2;
4294  return 0;
4295}
4296_ACEOF
4297if ac_fn_c_try_run "$LINENO"; then :
4298
4299else
4300  ac_cv_header_stdc=no
4301fi
4302rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4303  conftest.$ac_objext conftest.beam conftest.$ac_ext
4304fi
4305
4306fi
4307fi
4308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4309$as_echo "$ac_cv_header_stdc" >&6; }
4310if test $ac_cv_header_stdc = yes; then
4311
4312$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4313
4314fi
4315
4316# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4317for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4318		  inttypes.h stdint.h unistd.h
4319do :
4320  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4321ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4322"
4323if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4324  cat >>confdefs.h <<_ACEOF
4325#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4326_ACEOF
4327
4328fi
4329
4330done
4331
4332
4333
4334
4335
4336
4337ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
4338if test "x$ac_cv_have_decl___clang__" = xyes; then :
4339  CLANGCC="yes"
4340else
4341  CLANGCC="no"
4342fi
4343
4344ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
4345if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
4346  INTELCC="yes"
4347else
4348  INTELCC="no"
4349fi
4350
4351ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4352if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4353  SUNCC="yes"
4354else
4355  SUNCC="no"
4356fi
4357
4358
4359
4360
4361if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4362	if test -n "$ac_tool_prefix"; then
4363  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4364set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4366$as_echo_n "checking for $ac_word... " >&6; }
4367if ${ac_cv_path_PKG_CONFIG+:} false; then :
4368  $as_echo_n "(cached) " >&6
4369else
4370  case $PKG_CONFIG in
4371  [\\/]* | ?:[\\/]*)
4372  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4373  ;;
4374  *)
4375  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4376for as_dir in $PATH
4377do
4378  IFS=$as_save_IFS
4379  test -z "$as_dir" && as_dir=.
4380    for ac_exec_ext in '' $ac_executable_extensions; do
4381  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4382    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4383    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4384    break 2
4385  fi
4386done
4387  done
4388IFS=$as_save_IFS
4389
4390  ;;
4391esac
4392fi
4393PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4394if test -n "$PKG_CONFIG"; then
4395  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4396$as_echo "$PKG_CONFIG" >&6; }
4397else
4398  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4399$as_echo "no" >&6; }
4400fi
4401
4402
4403fi
4404if test -z "$ac_cv_path_PKG_CONFIG"; then
4405  ac_pt_PKG_CONFIG=$PKG_CONFIG
4406  # Extract the first word of "pkg-config", so it can be a program name with args.
4407set dummy pkg-config; ac_word=$2
4408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4409$as_echo_n "checking for $ac_word... " >&6; }
4410if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4411  $as_echo_n "(cached) " >&6
4412else
4413  case $ac_pt_PKG_CONFIG in
4414  [\\/]* | ?:[\\/]*)
4415  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4416  ;;
4417  *)
4418  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4419for as_dir in $PATH
4420do
4421  IFS=$as_save_IFS
4422  test -z "$as_dir" && as_dir=.
4423    for ac_exec_ext in '' $ac_executable_extensions; do
4424  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4425    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4426    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4427    break 2
4428  fi
4429done
4430  done
4431IFS=$as_save_IFS
4432
4433  ;;
4434esac
4435fi
4436ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4437if test -n "$ac_pt_PKG_CONFIG"; then
4438  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4439$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4440else
4441  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4442$as_echo "no" >&6; }
4443fi
4444
4445  if test "x$ac_pt_PKG_CONFIG" = x; then
4446    PKG_CONFIG=""
4447  else
4448    case $cross_compiling:$ac_tool_warned in
4449yes:)
4450{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4451$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4452ac_tool_warned=yes ;;
4453esac
4454    PKG_CONFIG=$ac_pt_PKG_CONFIG
4455  fi
4456else
4457  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4458fi
4459
4460fi
4461if test -n "$PKG_CONFIG"; then
4462	_pkg_min_version=0.9.0
4463	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4464$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4465	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4466		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4467$as_echo "yes" >&6; }
4468	else
4469		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4470$as_echo "no" >&6; }
4471		PKG_CONFIG=""
4472	fi
4473
4474fi
4475# Make sure we can run config.sub.
4476$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4477  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4478
4479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4480$as_echo_n "checking build system type... " >&6; }
4481if ${ac_cv_build+:} false; then :
4482  $as_echo_n "(cached) " >&6
4483else
4484  ac_build_alias=$build_alias
4485test "x$ac_build_alias" = x &&
4486  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4487test "x$ac_build_alias" = x &&
4488  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4489ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4490  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4491
4492fi
4493{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4494$as_echo "$ac_cv_build" >&6; }
4495case $ac_cv_build in
4496*-*-*) ;;
4497*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4498esac
4499build=$ac_cv_build
4500ac_save_IFS=$IFS; IFS='-'
4501set x $ac_cv_build
4502shift
4503build_cpu=$1
4504build_vendor=$2
4505shift; shift
4506# Remember, the first character of IFS is used to create $*,
4507# except with old shells:
4508build_os=$*
4509IFS=$ac_save_IFS
4510case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4511
4512
4513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4514$as_echo_n "checking host system type... " >&6; }
4515if ${ac_cv_host+:} false; then :
4516  $as_echo_n "(cached) " >&6
4517else
4518  if test "x$host_alias" = x; then
4519  ac_cv_host=$ac_cv_build
4520else
4521  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4522    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4523fi
4524
4525fi
4526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4527$as_echo "$ac_cv_host" >&6; }
4528case $ac_cv_host in
4529*-*-*) ;;
4530*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4531esac
4532host=$ac_cv_host
4533ac_save_IFS=$IFS; IFS='-'
4534set x $ac_cv_host
4535shift
4536host_cpu=$1
4537host_vendor=$2
4538shift; shift
4539# Remember, the first character of IFS is used to create $*,
4540# except with old shells:
4541host_os=$*
4542IFS=$ac_save_IFS
4543case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4544
4545
4546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4547$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4548if ${ac_cv_path_SED+:} false; then :
4549  $as_echo_n "(cached) " >&6
4550else
4551            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4552     for ac_i in 1 2 3 4 5 6 7; do
4553       ac_script="$ac_script$as_nl$ac_script"
4554     done
4555     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4556     { ac_script=; unset ac_script;}
4557     if test -z "$SED"; then
4558  ac_path_SED_found=false
4559  # Loop through the user's path and test for each of PROGNAME-LIST
4560  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4561for as_dir in $PATH
4562do
4563  IFS=$as_save_IFS
4564  test -z "$as_dir" && as_dir=.
4565    for ac_prog in sed gsed; do
4566    for ac_exec_ext in '' $ac_executable_extensions; do
4567      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4568      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4569# Check for GNU ac_path_SED and select it if it is found.
4570  # Check for GNU $ac_path_SED
4571case `"$ac_path_SED" --version 2>&1` in
4572*GNU*)
4573  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4574*)
4575  ac_count=0
4576  $as_echo_n 0123456789 >"conftest.in"
4577  while :
4578  do
4579    cat "conftest.in" "conftest.in" >"conftest.tmp"
4580    mv "conftest.tmp" "conftest.in"
4581    cp "conftest.in" "conftest.nl"
4582    $as_echo '' >> "conftest.nl"
4583    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4584    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4585    as_fn_arith $ac_count + 1 && ac_count=$as_val
4586    if test $ac_count -gt ${ac_path_SED_max-0}; then
4587      # Best one so far, save it but keep looking for a better one
4588      ac_cv_path_SED="$ac_path_SED"
4589      ac_path_SED_max=$ac_count
4590    fi
4591    # 10*(2^10) chars as input seems more than enough
4592    test $ac_count -gt 10 && break
4593  done
4594  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4595esac
4596
4597      $ac_path_SED_found && break 3
4598    done
4599  done
4600  done
4601IFS=$as_save_IFS
4602  if test -z "$ac_cv_path_SED"; then
4603    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4604  fi
4605else
4606  ac_cv_path_SED=$SED
4607fi
4608
4609fi
4610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4611$as_echo "$ac_cv_path_SED" >&6; }
4612 SED="$ac_cv_path_SED"
4613  rm -f conftest.sed
4614
4615
4616
4617
4618
4619
4620# Check whether --enable-selective-werror was given.
4621if test "${enable_selective_werror+set}" = set; then :
4622  enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
4623else
4624  SELECTIVE_WERROR=yes
4625fi
4626
4627
4628
4629
4630
4631# -v is too short to test reliably with XORG_TESTSET_CFLAG
4632if test "x$SUNCC" = "xyes"; then
4633    BASE_CFLAGS="-v"
4634else
4635    BASE_CFLAGS=""
4636fi
4637
4638# This chunk of warnings were those that existed in the legacy CWARNFLAGS
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652xorg_testset_save_CFLAGS="$CFLAGS"
4653
4654if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
4655	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4656	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
4657$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
4658if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
4659  $as_echo_n "(cached) " >&6
4660else
4661  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4662/* end confdefs.h.  */
4663int i;
4664_ACEOF
4665if ac_fn_c_try_compile "$LINENO"; then :
4666  xorg_cv_cc_flag_unknown_warning_option=yes
4667else
4668  xorg_cv_cc_flag_unknown_warning_option=no
4669fi
4670rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4671fi
4672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
4673$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
4674	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
4675	CFLAGS="$xorg_testset_save_CFLAGS"
4676fi
4677
4678if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
4679	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
4680		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4681	fi
4682	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
4683	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
4684$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
4685if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
4686  $as_echo_n "(cached) " >&6
4687else
4688  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4689/* end confdefs.h.  */
4690int i;
4691_ACEOF
4692if ac_fn_c_try_compile "$LINENO"; then :
4693  xorg_cv_cc_flag_unused_command_line_argument=yes
4694else
4695  xorg_cv_cc_flag_unused_command_line_argument=no
4696fi
4697rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4698fi
4699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
4700$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
4701	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
4702	CFLAGS="$xorg_testset_save_CFLAGS"
4703fi
4704
4705found="no"
4706
4707	if test $found = "no" ; then
4708		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
4709			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4710		fi
4711
4712		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
4713			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
4714		fi
4715
4716		CFLAGS="$CFLAGS -Wall"
4717
4718		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
4719$as_echo_n "checking if $CC supports -Wall... " >&6; }
4720		cacheid=xorg_cv_cc_flag__Wall
4721		if eval \${$cacheid+:} false; then :
4722  $as_echo_n "(cached) " >&6
4723else
4724  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4725/* end confdefs.h.  */
4726int i;
4727int
4728main ()
4729{
4730
4731  ;
4732  return 0;
4733}
4734_ACEOF
4735if ac_fn_c_try_link "$LINENO"; then :
4736  eval $cacheid=yes
4737else
4738  eval $cacheid=no
4739fi
4740rm -f core conftest.err conftest.$ac_objext \
4741    conftest$ac_exeext conftest.$ac_ext
4742fi
4743
4744
4745		CFLAGS="$xorg_testset_save_CFLAGS"
4746
4747		eval supported=\$$cacheid
4748		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
4749$as_echo "$supported" >&6; }
4750		if test "$supported" = "yes" ; then
4751			BASE_CFLAGS="$BASE_CFLAGS -Wall"
4752			found="yes"
4753		fi
4754	fi
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770xorg_testset_save_CFLAGS="$CFLAGS"
4771
4772if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
4773	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4774	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
4775$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
4776if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
4777  $as_echo_n "(cached) " >&6
4778else
4779  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4780/* end confdefs.h.  */
4781int i;
4782_ACEOF
4783if ac_fn_c_try_compile "$LINENO"; then :
4784  xorg_cv_cc_flag_unknown_warning_option=yes
4785else
4786  xorg_cv_cc_flag_unknown_warning_option=no
4787fi
4788rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4789fi
4790{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
4791$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
4792	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
4793	CFLAGS="$xorg_testset_save_CFLAGS"
4794fi
4795
4796if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
4797	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
4798		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4799	fi
4800	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
4801	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
4802$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
4803if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
4804  $as_echo_n "(cached) " >&6
4805else
4806  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4807/* end confdefs.h.  */
4808int i;
4809_ACEOF
4810if ac_fn_c_try_compile "$LINENO"; then :
4811  xorg_cv_cc_flag_unused_command_line_argument=yes
4812else
4813  xorg_cv_cc_flag_unused_command_line_argument=no
4814fi
4815rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4816fi
4817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
4818$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
4819	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
4820	CFLAGS="$xorg_testset_save_CFLAGS"
4821fi
4822
4823found="no"
4824
4825	if test $found = "no" ; then
4826		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
4827			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4828		fi
4829
4830		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
4831			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
4832		fi
4833
4834		CFLAGS="$CFLAGS -Wpointer-arith"
4835
4836		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
4837$as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
4838		cacheid=xorg_cv_cc_flag__Wpointer_arith
4839		if eval \${$cacheid+:} false; then :
4840  $as_echo_n "(cached) " >&6
4841else
4842  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4843/* end confdefs.h.  */
4844int i;
4845int
4846main ()
4847{
4848
4849  ;
4850  return 0;
4851}
4852_ACEOF
4853if ac_fn_c_try_link "$LINENO"; then :
4854  eval $cacheid=yes
4855else
4856  eval $cacheid=no
4857fi
4858rm -f core conftest.err conftest.$ac_objext \
4859    conftest$ac_exeext conftest.$ac_ext
4860fi
4861
4862
4863		CFLAGS="$xorg_testset_save_CFLAGS"
4864
4865		eval supported=\$$cacheid
4866		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
4867$as_echo "$supported" >&6; }
4868		if test "$supported" = "yes" ; then
4869			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
4870			found="yes"
4871		fi
4872	fi
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888xorg_testset_save_CFLAGS="$CFLAGS"
4889
4890if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
4891	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4892	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
4893$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
4894if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
4895  $as_echo_n "(cached) " >&6
4896else
4897  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4898/* end confdefs.h.  */
4899int i;
4900_ACEOF
4901if ac_fn_c_try_compile "$LINENO"; then :
4902  xorg_cv_cc_flag_unknown_warning_option=yes
4903else
4904  xorg_cv_cc_flag_unknown_warning_option=no
4905fi
4906rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4907fi
4908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
4909$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
4910	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
4911	CFLAGS="$xorg_testset_save_CFLAGS"
4912fi
4913
4914if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
4915	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
4916		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4917	fi
4918	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
4919	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
4920$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
4921if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
4922  $as_echo_n "(cached) " >&6
4923else
4924  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4925/* end confdefs.h.  */
4926int i;
4927_ACEOF
4928if ac_fn_c_try_compile "$LINENO"; then :
4929  xorg_cv_cc_flag_unused_command_line_argument=yes
4930else
4931  xorg_cv_cc_flag_unused_command_line_argument=no
4932fi
4933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4934fi
4935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
4936$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
4937	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
4938	CFLAGS="$xorg_testset_save_CFLAGS"
4939fi
4940
4941found="no"
4942
4943	if test $found = "no" ; then
4944		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
4945			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4946		fi
4947
4948		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
4949			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
4950		fi
4951
4952		CFLAGS="$CFLAGS -Wmissing-declarations"
4953
4954		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
4955$as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
4956		cacheid=xorg_cv_cc_flag__Wmissing_declarations
4957		if eval \${$cacheid+:} false; then :
4958  $as_echo_n "(cached) " >&6
4959else
4960  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4961/* end confdefs.h.  */
4962int i;
4963int
4964main ()
4965{
4966
4967  ;
4968  return 0;
4969}
4970_ACEOF
4971if ac_fn_c_try_link "$LINENO"; then :
4972  eval $cacheid=yes
4973else
4974  eval $cacheid=no
4975fi
4976rm -f core conftest.err conftest.$ac_objext \
4977    conftest$ac_exeext conftest.$ac_ext
4978fi
4979
4980
4981		CFLAGS="$xorg_testset_save_CFLAGS"
4982
4983		eval supported=\$$cacheid
4984		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
4985$as_echo "$supported" >&6; }
4986		if test "$supported" = "yes" ; then
4987			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
4988			found="yes"
4989		fi
4990	fi
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006xorg_testset_save_CFLAGS="$CFLAGS"
5007
5008if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5009	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5010	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5011$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5012if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5013  $as_echo_n "(cached) " >&6
5014else
5015  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5016/* end confdefs.h.  */
5017int i;
5018_ACEOF
5019if ac_fn_c_try_compile "$LINENO"; then :
5020  xorg_cv_cc_flag_unknown_warning_option=yes
5021else
5022  xorg_cv_cc_flag_unknown_warning_option=no
5023fi
5024rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5025fi
5026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5027$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5028	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5029	CFLAGS="$xorg_testset_save_CFLAGS"
5030fi
5031
5032if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5033	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5034		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5035	fi
5036	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5037	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5038$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5039if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5040  $as_echo_n "(cached) " >&6
5041else
5042  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5043/* end confdefs.h.  */
5044int i;
5045_ACEOF
5046if ac_fn_c_try_compile "$LINENO"; then :
5047  xorg_cv_cc_flag_unused_command_line_argument=yes
5048else
5049  xorg_cv_cc_flag_unused_command_line_argument=no
5050fi
5051rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5052fi
5053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5054$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5055	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5056	CFLAGS="$xorg_testset_save_CFLAGS"
5057fi
5058
5059found="no"
5060
5061	if test $found = "no" ; then
5062		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
5063			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5064		fi
5065
5066		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
5067			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5068		fi
5069
5070		CFLAGS="$CFLAGS -Wformat=2"
5071
5072		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
5073$as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
5074		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
5075		if eval \${$cacheid+:} false; then :
5076  $as_echo_n "(cached) " >&6
5077else
5078  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5079/* end confdefs.h.  */
5080int i;
5081int
5082main ()
5083{
5084
5085  ;
5086  return 0;
5087}
5088_ACEOF
5089if ac_fn_c_try_link "$LINENO"; then :
5090  eval $cacheid=yes
5091else
5092  eval $cacheid=no
5093fi
5094rm -f core conftest.err conftest.$ac_objext \
5095    conftest$ac_exeext conftest.$ac_ext
5096fi
5097
5098
5099		CFLAGS="$xorg_testset_save_CFLAGS"
5100
5101		eval supported=\$$cacheid
5102		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5103$as_echo "$supported" >&6; }
5104		if test "$supported" = "yes" ; then
5105			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
5106			found="yes"
5107		fi
5108	fi
5109
5110	if test $found = "no" ; then
5111		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
5112			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5113		fi
5114
5115		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
5116			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5117		fi
5118
5119		CFLAGS="$CFLAGS -Wformat"
5120
5121		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
5122$as_echo_n "checking if $CC supports -Wformat... " >&6; }
5123		cacheid=xorg_cv_cc_flag__Wformat
5124		if eval \${$cacheid+:} false; then :
5125  $as_echo_n "(cached) " >&6
5126else
5127  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5128/* end confdefs.h.  */
5129int i;
5130int
5131main ()
5132{
5133
5134  ;
5135  return 0;
5136}
5137_ACEOF
5138if ac_fn_c_try_link "$LINENO"; then :
5139  eval $cacheid=yes
5140else
5141  eval $cacheid=no
5142fi
5143rm -f core conftest.err conftest.$ac_objext \
5144    conftest$ac_exeext conftest.$ac_ext
5145fi
5146
5147
5148		CFLAGS="$xorg_testset_save_CFLAGS"
5149
5150		eval supported=\$$cacheid
5151		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5152$as_echo "$supported" >&6; }
5153		if test "$supported" = "yes" ; then
5154			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
5155			found="yes"
5156		fi
5157	fi
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175xorg_testset_save_CFLAGS="$CFLAGS"
5176
5177if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5178	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5179	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5180$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5181if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5182  $as_echo_n "(cached) " >&6
5183else
5184  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5185/* end confdefs.h.  */
5186int i;
5187_ACEOF
5188if ac_fn_c_try_compile "$LINENO"; then :
5189  xorg_cv_cc_flag_unknown_warning_option=yes
5190else
5191  xorg_cv_cc_flag_unknown_warning_option=no
5192fi
5193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5194fi
5195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5196$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5197	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5198	CFLAGS="$xorg_testset_save_CFLAGS"
5199fi
5200
5201if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5202	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5203		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5204	fi
5205	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5206	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5207$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5208if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5209  $as_echo_n "(cached) " >&6
5210else
5211  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5212/* end confdefs.h.  */
5213int i;
5214_ACEOF
5215if ac_fn_c_try_compile "$LINENO"; then :
5216  xorg_cv_cc_flag_unused_command_line_argument=yes
5217else
5218  xorg_cv_cc_flag_unused_command_line_argument=no
5219fi
5220rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5221fi
5222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5223$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5224	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5225	CFLAGS="$xorg_testset_save_CFLAGS"
5226fi
5227
5228found="no"
5229
5230	if test $found = "no" ; then
5231		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
5232			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5233		fi
5234
5235		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
5236			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5237		fi
5238
5239		CFLAGS="$CFLAGS -Wstrict-prototypes"
5240
5241		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
5242$as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
5243		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
5244		if eval \${$cacheid+:} false; then :
5245  $as_echo_n "(cached) " >&6
5246else
5247  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5248/* end confdefs.h.  */
5249int i;
5250int
5251main ()
5252{
5253
5254  ;
5255  return 0;
5256}
5257_ACEOF
5258if ac_fn_c_try_link "$LINENO"; then :
5259  eval $cacheid=yes
5260else
5261  eval $cacheid=no
5262fi
5263rm -f core conftest.err conftest.$ac_objext \
5264    conftest$ac_exeext conftest.$ac_ext
5265fi
5266
5267
5268		CFLAGS="$xorg_testset_save_CFLAGS"
5269
5270		eval supported=\$$cacheid
5271		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5272$as_echo "$supported" >&6; }
5273		if test "$supported" = "yes" ; then
5274			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
5275			found="yes"
5276		fi
5277	fi
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293xorg_testset_save_CFLAGS="$CFLAGS"
5294
5295if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5296	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5297	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5298$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5299if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5300  $as_echo_n "(cached) " >&6
5301else
5302  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5303/* end confdefs.h.  */
5304int i;
5305_ACEOF
5306if ac_fn_c_try_compile "$LINENO"; then :
5307  xorg_cv_cc_flag_unknown_warning_option=yes
5308else
5309  xorg_cv_cc_flag_unknown_warning_option=no
5310fi
5311rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5312fi
5313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5314$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5315	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5316	CFLAGS="$xorg_testset_save_CFLAGS"
5317fi
5318
5319if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5320	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5321		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5322	fi
5323	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5324	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5325$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5326if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5327  $as_echo_n "(cached) " >&6
5328else
5329  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5330/* end confdefs.h.  */
5331int i;
5332_ACEOF
5333if ac_fn_c_try_compile "$LINENO"; then :
5334  xorg_cv_cc_flag_unused_command_line_argument=yes
5335else
5336  xorg_cv_cc_flag_unused_command_line_argument=no
5337fi
5338rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5339fi
5340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5341$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5342	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5343	CFLAGS="$xorg_testset_save_CFLAGS"
5344fi
5345
5346found="no"
5347
5348	if test $found = "no" ; then
5349		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
5350			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5351		fi
5352
5353		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
5354			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5355		fi
5356
5357		CFLAGS="$CFLAGS -Wmissing-prototypes"
5358
5359		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
5360$as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
5361		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
5362		if eval \${$cacheid+:} false; then :
5363  $as_echo_n "(cached) " >&6
5364else
5365  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5366/* end confdefs.h.  */
5367int i;
5368int
5369main ()
5370{
5371
5372  ;
5373  return 0;
5374}
5375_ACEOF
5376if ac_fn_c_try_link "$LINENO"; then :
5377  eval $cacheid=yes
5378else
5379  eval $cacheid=no
5380fi
5381rm -f core conftest.err conftest.$ac_objext \
5382    conftest$ac_exeext conftest.$ac_ext
5383fi
5384
5385
5386		CFLAGS="$xorg_testset_save_CFLAGS"
5387
5388		eval supported=\$$cacheid
5389		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5390$as_echo "$supported" >&6; }
5391		if test "$supported" = "yes" ; then
5392			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
5393			found="yes"
5394		fi
5395	fi
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411xorg_testset_save_CFLAGS="$CFLAGS"
5412
5413if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5414	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5415	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5416$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5417if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5418  $as_echo_n "(cached) " >&6
5419else
5420  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5421/* end confdefs.h.  */
5422int i;
5423_ACEOF
5424if ac_fn_c_try_compile "$LINENO"; then :
5425  xorg_cv_cc_flag_unknown_warning_option=yes
5426else
5427  xorg_cv_cc_flag_unknown_warning_option=no
5428fi
5429rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5430fi
5431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5432$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5433	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5434	CFLAGS="$xorg_testset_save_CFLAGS"
5435fi
5436
5437if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5438	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5439		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5440	fi
5441	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5442	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5443$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5444if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5445  $as_echo_n "(cached) " >&6
5446else
5447  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5448/* end confdefs.h.  */
5449int i;
5450_ACEOF
5451if ac_fn_c_try_compile "$LINENO"; then :
5452  xorg_cv_cc_flag_unused_command_line_argument=yes
5453else
5454  xorg_cv_cc_flag_unused_command_line_argument=no
5455fi
5456rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5457fi
5458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5459$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5460	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5461	CFLAGS="$xorg_testset_save_CFLAGS"
5462fi
5463
5464found="no"
5465
5466	if test $found = "no" ; then
5467		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
5468			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5469		fi
5470
5471		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
5472			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5473		fi
5474
5475		CFLAGS="$CFLAGS -Wnested-externs"
5476
5477		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
5478$as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
5479		cacheid=xorg_cv_cc_flag__Wnested_externs
5480		if eval \${$cacheid+:} false; then :
5481  $as_echo_n "(cached) " >&6
5482else
5483  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5484/* end confdefs.h.  */
5485int i;
5486int
5487main ()
5488{
5489
5490  ;
5491  return 0;
5492}
5493_ACEOF
5494if ac_fn_c_try_link "$LINENO"; then :
5495  eval $cacheid=yes
5496else
5497  eval $cacheid=no
5498fi
5499rm -f core conftest.err conftest.$ac_objext \
5500    conftest$ac_exeext conftest.$ac_ext
5501fi
5502
5503
5504		CFLAGS="$xorg_testset_save_CFLAGS"
5505
5506		eval supported=\$$cacheid
5507		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5508$as_echo "$supported" >&6; }
5509		if test "$supported" = "yes" ; then
5510			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
5511			found="yes"
5512		fi
5513	fi
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529xorg_testset_save_CFLAGS="$CFLAGS"
5530
5531if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5532	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5533	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5534$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5535if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5536  $as_echo_n "(cached) " >&6
5537else
5538  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5539/* end confdefs.h.  */
5540int i;
5541_ACEOF
5542if ac_fn_c_try_compile "$LINENO"; then :
5543  xorg_cv_cc_flag_unknown_warning_option=yes
5544else
5545  xorg_cv_cc_flag_unknown_warning_option=no
5546fi
5547rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5548fi
5549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5550$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5551	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5552	CFLAGS="$xorg_testset_save_CFLAGS"
5553fi
5554
5555if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5556	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5557		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5558	fi
5559	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5560	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5561$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5562if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5563  $as_echo_n "(cached) " >&6
5564else
5565  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5566/* end confdefs.h.  */
5567int i;
5568_ACEOF
5569if ac_fn_c_try_compile "$LINENO"; then :
5570  xorg_cv_cc_flag_unused_command_line_argument=yes
5571else
5572  xorg_cv_cc_flag_unused_command_line_argument=no
5573fi
5574rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5575fi
5576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5577$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5578	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5579	CFLAGS="$xorg_testset_save_CFLAGS"
5580fi
5581
5582found="no"
5583
5584	if test $found = "no" ; then
5585		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
5586			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5587		fi
5588
5589		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
5590			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5591		fi
5592
5593		CFLAGS="$CFLAGS -Wbad-function-cast"
5594
5595		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
5596$as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
5597		cacheid=xorg_cv_cc_flag__Wbad_function_cast
5598		if eval \${$cacheid+:} false; then :
5599  $as_echo_n "(cached) " >&6
5600else
5601  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5602/* end confdefs.h.  */
5603int i;
5604int
5605main ()
5606{
5607
5608  ;
5609  return 0;
5610}
5611_ACEOF
5612if ac_fn_c_try_link "$LINENO"; then :
5613  eval $cacheid=yes
5614else
5615  eval $cacheid=no
5616fi
5617rm -f core conftest.err conftest.$ac_objext \
5618    conftest$ac_exeext conftest.$ac_ext
5619fi
5620
5621
5622		CFLAGS="$xorg_testset_save_CFLAGS"
5623
5624		eval supported=\$$cacheid
5625		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5626$as_echo "$supported" >&6; }
5627		if test "$supported" = "yes" ; then
5628			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
5629			found="yes"
5630		fi
5631	fi
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647xorg_testset_save_CFLAGS="$CFLAGS"
5648
5649if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5650	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5651	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5652$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5653if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5654  $as_echo_n "(cached) " >&6
5655else
5656  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5657/* end confdefs.h.  */
5658int i;
5659_ACEOF
5660if ac_fn_c_try_compile "$LINENO"; then :
5661  xorg_cv_cc_flag_unknown_warning_option=yes
5662else
5663  xorg_cv_cc_flag_unknown_warning_option=no
5664fi
5665rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5666fi
5667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5668$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5669	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5670	CFLAGS="$xorg_testset_save_CFLAGS"
5671fi
5672
5673if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5674	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5675		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5676	fi
5677	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5678	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5679$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5680if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5681  $as_echo_n "(cached) " >&6
5682else
5683  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5684/* end confdefs.h.  */
5685int i;
5686_ACEOF
5687if ac_fn_c_try_compile "$LINENO"; then :
5688  xorg_cv_cc_flag_unused_command_line_argument=yes
5689else
5690  xorg_cv_cc_flag_unused_command_line_argument=no
5691fi
5692rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5693fi
5694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5695$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5696	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5697	CFLAGS="$xorg_testset_save_CFLAGS"
5698fi
5699
5700found="no"
5701
5702	if test $found = "no" ; then
5703		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
5704			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5705		fi
5706
5707		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
5708			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5709		fi
5710
5711		CFLAGS="$CFLAGS -Wold-style-definition"
5712
5713		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
5714$as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
5715		cacheid=xorg_cv_cc_flag__Wold_style_definition
5716		if eval \${$cacheid+:} false; then :
5717  $as_echo_n "(cached) " >&6
5718else
5719  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5720/* end confdefs.h.  */
5721int i;
5722int
5723main ()
5724{
5725
5726  ;
5727  return 0;
5728}
5729_ACEOF
5730if ac_fn_c_try_link "$LINENO"; then :
5731  eval $cacheid=yes
5732else
5733  eval $cacheid=no
5734fi
5735rm -f core conftest.err conftest.$ac_objext \
5736    conftest$ac_exeext conftest.$ac_ext
5737fi
5738
5739
5740		CFLAGS="$xorg_testset_save_CFLAGS"
5741
5742		eval supported=\$$cacheid
5743		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5744$as_echo "$supported" >&6; }
5745		if test "$supported" = "yes" ; then
5746			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
5747			found="yes"
5748		fi
5749	fi
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765xorg_testset_save_CFLAGS="$CFLAGS"
5766
5767if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5768	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5769	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5770$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5771if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5772  $as_echo_n "(cached) " >&6
5773else
5774  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5775/* end confdefs.h.  */
5776int i;
5777_ACEOF
5778if ac_fn_c_try_compile "$LINENO"; then :
5779  xorg_cv_cc_flag_unknown_warning_option=yes
5780else
5781  xorg_cv_cc_flag_unknown_warning_option=no
5782fi
5783rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5784fi
5785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5786$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5787	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5788	CFLAGS="$xorg_testset_save_CFLAGS"
5789fi
5790
5791if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5792	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5793		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5794	fi
5795	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5796	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5797$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5798if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5799  $as_echo_n "(cached) " >&6
5800else
5801  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5802/* end confdefs.h.  */
5803int i;
5804_ACEOF
5805if ac_fn_c_try_compile "$LINENO"; then :
5806  xorg_cv_cc_flag_unused_command_line_argument=yes
5807else
5808  xorg_cv_cc_flag_unused_command_line_argument=no
5809fi
5810rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5811fi
5812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5813$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5814	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5815	CFLAGS="$xorg_testset_save_CFLAGS"
5816fi
5817
5818found="no"
5819
5820	if test $found = "no" ; then
5821		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
5822			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5823		fi
5824
5825		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
5826			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5827		fi
5828
5829		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
5830
5831		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
5832$as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
5833		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
5834		if eval \${$cacheid+:} false; then :
5835  $as_echo_n "(cached) " >&6
5836else
5837  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5838/* end confdefs.h.  */
5839int i;
5840int
5841main ()
5842{
5843
5844  ;
5845  return 0;
5846}
5847_ACEOF
5848if ac_fn_c_try_link "$LINENO"; then :
5849  eval $cacheid=yes
5850else
5851  eval $cacheid=no
5852fi
5853rm -f core conftest.err conftest.$ac_objext \
5854    conftest$ac_exeext conftest.$ac_ext
5855fi
5856
5857
5858		CFLAGS="$xorg_testset_save_CFLAGS"
5859
5860		eval supported=\$$cacheid
5861		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5862$as_echo "$supported" >&6; }
5863		if test "$supported" = "yes" ; then
5864			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
5865			found="yes"
5866		fi
5867	fi
5868
5869
5870
5871
5872
5873# This chunk adds additional warnings that could catch undesired effects.
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887xorg_testset_save_CFLAGS="$CFLAGS"
5888
5889if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5890	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5891	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5892$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5893if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5894  $as_echo_n "(cached) " >&6
5895else
5896  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5897/* end confdefs.h.  */
5898int i;
5899_ACEOF
5900if ac_fn_c_try_compile "$LINENO"; then :
5901  xorg_cv_cc_flag_unknown_warning_option=yes
5902else
5903  xorg_cv_cc_flag_unknown_warning_option=no
5904fi
5905rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5906fi
5907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5908$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5909	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5910	CFLAGS="$xorg_testset_save_CFLAGS"
5911fi
5912
5913if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5914	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5915		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5916	fi
5917	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5918	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5919$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5920if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5921  $as_echo_n "(cached) " >&6
5922else
5923  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5924/* end confdefs.h.  */
5925int i;
5926_ACEOF
5927if ac_fn_c_try_compile "$LINENO"; then :
5928  xorg_cv_cc_flag_unused_command_line_argument=yes
5929else
5930  xorg_cv_cc_flag_unused_command_line_argument=no
5931fi
5932rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5933fi
5934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5935$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5936	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5937	CFLAGS="$xorg_testset_save_CFLAGS"
5938fi
5939
5940found="no"
5941
5942	if test $found = "no" ; then
5943		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
5944			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5945		fi
5946
5947		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
5948			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5949		fi
5950
5951		CFLAGS="$CFLAGS -Wunused"
5952
5953		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
5954$as_echo_n "checking if $CC supports -Wunused... " >&6; }
5955		cacheid=xorg_cv_cc_flag__Wunused
5956		if eval \${$cacheid+:} false; then :
5957  $as_echo_n "(cached) " >&6
5958else
5959  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5960/* end confdefs.h.  */
5961int i;
5962int
5963main ()
5964{
5965
5966  ;
5967  return 0;
5968}
5969_ACEOF
5970if ac_fn_c_try_link "$LINENO"; then :
5971  eval $cacheid=yes
5972else
5973  eval $cacheid=no
5974fi
5975rm -f core conftest.err conftest.$ac_objext \
5976    conftest$ac_exeext conftest.$ac_ext
5977fi
5978
5979
5980		CFLAGS="$xorg_testset_save_CFLAGS"
5981
5982		eval supported=\$$cacheid
5983		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5984$as_echo "$supported" >&6; }
5985		if test "$supported" = "yes" ; then
5986			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
5987			found="yes"
5988		fi
5989	fi
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005xorg_testset_save_CFLAGS="$CFLAGS"
6006
6007if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6008	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6009	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6010$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6011if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6012  $as_echo_n "(cached) " >&6
6013else
6014  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6015/* end confdefs.h.  */
6016int i;
6017_ACEOF
6018if ac_fn_c_try_compile "$LINENO"; then :
6019  xorg_cv_cc_flag_unknown_warning_option=yes
6020else
6021  xorg_cv_cc_flag_unknown_warning_option=no
6022fi
6023rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6024fi
6025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6026$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6027	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6028	CFLAGS="$xorg_testset_save_CFLAGS"
6029fi
6030
6031if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6032	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6033		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6034	fi
6035	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6036	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6037$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6038if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6039  $as_echo_n "(cached) " >&6
6040else
6041  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6042/* end confdefs.h.  */
6043int i;
6044_ACEOF
6045if ac_fn_c_try_compile "$LINENO"; then :
6046  xorg_cv_cc_flag_unused_command_line_argument=yes
6047else
6048  xorg_cv_cc_flag_unused_command_line_argument=no
6049fi
6050rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6051fi
6052{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6053$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6054	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6055	CFLAGS="$xorg_testset_save_CFLAGS"
6056fi
6057
6058found="no"
6059
6060	if test $found = "no" ; then
6061		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
6062			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6063		fi
6064
6065		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
6066			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6067		fi
6068
6069		CFLAGS="$CFLAGS -Wuninitialized"
6070
6071		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
6072$as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
6073		cacheid=xorg_cv_cc_flag__Wuninitialized
6074		if eval \${$cacheid+:} false; then :
6075  $as_echo_n "(cached) " >&6
6076else
6077  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6078/* end confdefs.h.  */
6079int i;
6080int
6081main ()
6082{
6083
6084  ;
6085  return 0;
6086}
6087_ACEOF
6088if ac_fn_c_try_link "$LINENO"; then :
6089  eval $cacheid=yes
6090else
6091  eval $cacheid=no
6092fi
6093rm -f core conftest.err conftest.$ac_objext \
6094    conftest$ac_exeext conftest.$ac_ext
6095fi
6096
6097
6098		CFLAGS="$xorg_testset_save_CFLAGS"
6099
6100		eval supported=\$$cacheid
6101		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6102$as_echo "$supported" >&6; }
6103		if test "$supported" = "yes" ; then
6104			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
6105			found="yes"
6106		fi
6107	fi
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123xorg_testset_save_CFLAGS="$CFLAGS"
6124
6125if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6126	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6127	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6128$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6129if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6130  $as_echo_n "(cached) " >&6
6131else
6132  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6133/* end confdefs.h.  */
6134int i;
6135_ACEOF
6136if ac_fn_c_try_compile "$LINENO"; then :
6137  xorg_cv_cc_flag_unknown_warning_option=yes
6138else
6139  xorg_cv_cc_flag_unknown_warning_option=no
6140fi
6141rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6142fi
6143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6144$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6145	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6146	CFLAGS="$xorg_testset_save_CFLAGS"
6147fi
6148
6149if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6150	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6151		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6152	fi
6153	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6154	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6155$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6156if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6157  $as_echo_n "(cached) " >&6
6158else
6159  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6160/* end confdefs.h.  */
6161int i;
6162_ACEOF
6163if ac_fn_c_try_compile "$LINENO"; then :
6164  xorg_cv_cc_flag_unused_command_line_argument=yes
6165else
6166  xorg_cv_cc_flag_unused_command_line_argument=no
6167fi
6168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6169fi
6170{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6171$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6172	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6173	CFLAGS="$xorg_testset_save_CFLAGS"
6174fi
6175
6176found="no"
6177
6178	if test $found = "no" ; then
6179		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
6180			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6181		fi
6182
6183		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
6184			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6185		fi
6186
6187		CFLAGS="$CFLAGS -Wshadow"
6188
6189		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
6190$as_echo_n "checking if $CC supports -Wshadow... " >&6; }
6191		cacheid=xorg_cv_cc_flag__Wshadow
6192		if eval \${$cacheid+:} false; then :
6193  $as_echo_n "(cached) " >&6
6194else
6195  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6196/* end confdefs.h.  */
6197int i;
6198int
6199main ()
6200{
6201
6202  ;
6203  return 0;
6204}
6205_ACEOF
6206if ac_fn_c_try_link "$LINENO"; then :
6207  eval $cacheid=yes
6208else
6209  eval $cacheid=no
6210fi
6211rm -f core conftest.err conftest.$ac_objext \
6212    conftest$ac_exeext conftest.$ac_ext
6213fi
6214
6215
6216		CFLAGS="$xorg_testset_save_CFLAGS"
6217
6218		eval supported=\$$cacheid
6219		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6220$as_echo "$supported" >&6; }
6221		if test "$supported" = "yes" ; then
6222			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
6223			found="yes"
6224		fi
6225	fi
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241xorg_testset_save_CFLAGS="$CFLAGS"
6242
6243if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6244	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6245	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6246$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6247if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6248  $as_echo_n "(cached) " >&6
6249else
6250  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6251/* end confdefs.h.  */
6252int i;
6253_ACEOF
6254if ac_fn_c_try_compile "$LINENO"; then :
6255  xorg_cv_cc_flag_unknown_warning_option=yes
6256else
6257  xorg_cv_cc_flag_unknown_warning_option=no
6258fi
6259rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6260fi
6261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6262$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6263	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6264	CFLAGS="$xorg_testset_save_CFLAGS"
6265fi
6266
6267if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6268	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6269		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6270	fi
6271	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6272	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6273$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6274if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6275  $as_echo_n "(cached) " >&6
6276else
6277  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6278/* end confdefs.h.  */
6279int i;
6280_ACEOF
6281if ac_fn_c_try_compile "$LINENO"; then :
6282  xorg_cv_cc_flag_unused_command_line_argument=yes
6283else
6284  xorg_cv_cc_flag_unused_command_line_argument=no
6285fi
6286rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6287fi
6288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6289$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6290	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6291	CFLAGS="$xorg_testset_save_CFLAGS"
6292fi
6293
6294found="no"
6295
6296	if test $found = "no" ; then
6297		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
6298			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6299		fi
6300
6301		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
6302			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6303		fi
6304
6305		CFLAGS="$CFLAGS -Wcast-qual"
6306
6307		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
6308$as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
6309		cacheid=xorg_cv_cc_flag__Wcast_qual
6310		if eval \${$cacheid+:} false; then :
6311  $as_echo_n "(cached) " >&6
6312else
6313  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6314/* end confdefs.h.  */
6315int i;
6316int
6317main ()
6318{
6319
6320  ;
6321  return 0;
6322}
6323_ACEOF
6324if ac_fn_c_try_link "$LINENO"; then :
6325  eval $cacheid=yes
6326else
6327  eval $cacheid=no
6328fi
6329rm -f core conftest.err conftest.$ac_objext \
6330    conftest$ac_exeext conftest.$ac_ext
6331fi
6332
6333
6334		CFLAGS="$xorg_testset_save_CFLAGS"
6335
6336		eval supported=\$$cacheid
6337		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6338$as_echo "$supported" >&6; }
6339		if test "$supported" = "yes" ; then
6340			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
6341			found="yes"
6342		fi
6343	fi
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359xorg_testset_save_CFLAGS="$CFLAGS"
6360
6361if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6362	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6363	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6364$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6365if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6366  $as_echo_n "(cached) " >&6
6367else
6368  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6369/* end confdefs.h.  */
6370int i;
6371_ACEOF
6372if ac_fn_c_try_compile "$LINENO"; then :
6373  xorg_cv_cc_flag_unknown_warning_option=yes
6374else
6375  xorg_cv_cc_flag_unknown_warning_option=no
6376fi
6377rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6378fi
6379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6380$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6381	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6382	CFLAGS="$xorg_testset_save_CFLAGS"
6383fi
6384
6385if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6386	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6387		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6388	fi
6389	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6390	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6391$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6392if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6393  $as_echo_n "(cached) " >&6
6394else
6395  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6396/* end confdefs.h.  */
6397int i;
6398_ACEOF
6399if ac_fn_c_try_compile "$LINENO"; then :
6400  xorg_cv_cc_flag_unused_command_line_argument=yes
6401else
6402  xorg_cv_cc_flag_unused_command_line_argument=no
6403fi
6404rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6405fi
6406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6407$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6408	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6409	CFLAGS="$xorg_testset_save_CFLAGS"
6410fi
6411
6412found="no"
6413
6414	if test $found = "no" ; then
6415		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
6416			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6417		fi
6418
6419		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
6420			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6421		fi
6422
6423		CFLAGS="$CFLAGS -Wmissing-noreturn"
6424
6425		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
6426$as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
6427		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
6428		if eval \${$cacheid+:} false; then :
6429  $as_echo_n "(cached) " >&6
6430else
6431  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6432/* end confdefs.h.  */
6433int i;
6434int
6435main ()
6436{
6437
6438  ;
6439  return 0;
6440}
6441_ACEOF
6442if ac_fn_c_try_link "$LINENO"; then :
6443  eval $cacheid=yes
6444else
6445  eval $cacheid=no
6446fi
6447rm -f core conftest.err conftest.$ac_objext \
6448    conftest$ac_exeext conftest.$ac_ext
6449fi
6450
6451
6452		CFLAGS="$xorg_testset_save_CFLAGS"
6453
6454		eval supported=\$$cacheid
6455		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6456$as_echo "$supported" >&6; }
6457		if test "$supported" = "yes" ; then
6458			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
6459			found="yes"
6460		fi
6461	fi
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477xorg_testset_save_CFLAGS="$CFLAGS"
6478
6479if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6480	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6481	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6482$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6483if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6484  $as_echo_n "(cached) " >&6
6485else
6486  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6487/* end confdefs.h.  */
6488int i;
6489_ACEOF
6490if ac_fn_c_try_compile "$LINENO"; then :
6491  xorg_cv_cc_flag_unknown_warning_option=yes
6492else
6493  xorg_cv_cc_flag_unknown_warning_option=no
6494fi
6495rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6496fi
6497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6498$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6499	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6500	CFLAGS="$xorg_testset_save_CFLAGS"
6501fi
6502
6503if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6504	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6505		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6506	fi
6507	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6508	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6509$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6510if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6511  $as_echo_n "(cached) " >&6
6512else
6513  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6514/* end confdefs.h.  */
6515int i;
6516_ACEOF
6517if ac_fn_c_try_compile "$LINENO"; then :
6518  xorg_cv_cc_flag_unused_command_line_argument=yes
6519else
6520  xorg_cv_cc_flag_unused_command_line_argument=no
6521fi
6522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6523fi
6524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6525$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6526	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6527	CFLAGS="$xorg_testset_save_CFLAGS"
6528fi
6529
6530found="no"
6531
6532	if test $found = "no" ; then
6533		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
6534			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6535		fi
6536
6537		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
6538			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6539		fi
6540
6541		CFLAGS="$CFLAGS -Wmissing-format-attribute"
6542
6543		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
6544$as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
6545		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
6546		if eval \${$cacheid+:} false; then :
6547  $as_echo_n "(cached) " >&6
6548else
6549  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6550/* end confdefs.h.  */
6551int i;
6552int
6553main ()
6554{
6555
6556  ;
6557  return 0;
6558}
6559_ACEOF
6560if ac_fn_c_try_link "$LINENO"; then :
6561  eval $cacheid=yes
6562else
6563  eval $cacheid=no
6564fi
6565rm -f core conftest.err conftest.$ac_objext \
6566    conftest$ac_exeext conftest.$ac_ext
6567fi
6568
6569
6570		CFLAGS="$xorg_testset_save_CFLAGS"
6571
6572		eval supported=\$$cacheid
6573		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6574$as_echo "$supported" >&6; }
6575		if test "$supported" = "yes" ; then
6576			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
6577			found="yes"
6578		fi
6579	fi
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595xorg_testset_save_CFLAGS="$CFLAGS"
6596
6597if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6598	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6599	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6600$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6601if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6602  $as_echo_n "(cached) " >&6
6603else
6604  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6605/* end confdefs.h.  */
6606int i;
6607_ACEOF
6608if ac_fn_c_try_compile "$LINENO"; then :
6609  xorg_cv_cc_flag_unknown_warning_option=yes
6610else
6611  xorg_cv_cc_flag_unknown_warning_option=no
6612fi
6613rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6614fi
6615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6616$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6617	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6618	CFLAGS="$xorg_testset_save_CFLAGS"
6619fi
6620
6621if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6622	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6623		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6624	fi
6625	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6626	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6627$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6628if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6629  $as_echo_n "(cached) " >&6
6630else
6631  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6632/* end confdefs.h.  */
6633int i;
6634_ACEOF
6635if ac_fn_c_try_compile "$LINENO"; then :
6636  xorg_cv_cc_flag_unused_command_line_argument=yes
6637else
6638  xorg_cv_cc_flag_unused_command_line_argument=no
6639fi
6640rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6641fi
6642{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6643$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6644	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6645	CFLAGS="$xorg_testset_save_CFLAGS"
6646fi
6647
6648found="no"
6649
6650	if test $found = "no" ; then
6651		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
6652			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6653		fi
6654
6655		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
6656			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6657		fi
6658
6659		CFLAGS="$CFLAGS -Wredundant-decls"
6660
6661		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
6662$as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
6663		cacheid=xorg_cv_cc_flag__Wredundant_decls
6664		if eval \${$cacheid+:} false; then :
6665  $as_echo_n "(cached) " >&6
6666else
6667  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6668/* end confdefs.h.  */
6669int i;
6670int
6671main ()
6672{
6673
6674  ;
6675  return 0;
6676}
6677_ACEOF
6678if ac_fn_c_try_link "$LINENO"; then :
6679  eval $cacheid=yes
6680else
6681  eval $cacheid=no
6682fi
6683rm -f core conftest.err conftest.$ac_objext \
6684    conftest$ac_exeext conftest.$ac_ext
6685fi
6686
6687
6688		CFLAGS="$xorg_testset_save_CFLAGS"
6689
6690		eval supported=\$$cacheid
6691		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6692$as_echo "$supported" >&6; }
6693		if test "$supported" = "yes" ; then
6694			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
6695			found="yes"
6696		fi
6697	fi
6698
6699
6700
6701# These are currently disabled because they are noisy.  They will be enabled
6702# in the future once the codebase is sufficiently modernized to silence
6703# them.  For now, I don't want them to drown out the other warnings.
6704# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
6705# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
6706# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
6707
6708# Turn some warnings into errors, so we don't accidently get successful builds
6709# when there are problems that should be fixed.
6710
6711if test "x$SELECTIVE_WERROR" = "xyes" ; then
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725xorg_testset_save_CFLAGS="$CFLAGS"
6726
6727if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6728	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6729	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6730$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6731if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6732  $as_echo_n "(cached) " >&6
6733else
6734  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6735/* end confdefs.h.  */
6736int i;
6737_ACEOF
6738if ac_fn_c_try_compile "$LINENO"; then :
6739  xorg_cv_cc_flag_unknown_warning_option=yes
6740else
6741  xorg_cv_cc_flag_unknown_warning_option=no
6742fi
6743rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6744fi
6745{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6746$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6747	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6748	CFLAGS="$xorg_testset_save_CFLAGS"
6749fi
6750
6751if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6752	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6753		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6754	fi
6755	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6756	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6757$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6758if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6759  $as_echo_n "(cached) " >&6
6760else
6761  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6762/* end confdefs.h.  */
6763int i;
6764_ACEOF
6765if ac_fn_c_try_compile "$LINENO"; then :
6766  xorg_cv_cc_flag_unused_command_line_argument=yes
6767else
6768  xorg_cv_cc_flag_unused_command_line_argument=no
6769fi
6770rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6771fi
6772{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6773$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6774	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6775	CFLAGS="$xorg_testset_save_CFLAGS"
6776fi
6777
6778found="no"
6779
6780	if test $found = "no" ; then
6781		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
6782			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6783		fi
6784
6785		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
6786			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6787		fi
6788
6789		CFLAGS="$CFLAGS -Werror=implicit"
6790
6791		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
6792$as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
6793		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
6794		if eval \${$cacheid+:} false; then :
6795  $as_echo_n "(cached) " >&6
6796else
6797  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6798/* end confdefs.h.  */
6799int i;
6800int
6801main ()
6802{
6803
6804  ;
6805  return 0;
6806}
6807_ACEOF
6808if ac_fn_c_try_link "$LINENO"; then :
6809  eval $cacheid=yes
6810else
6811  eval $cacheid=no
6812fi
6813rm -f core conftest.err conftest.$ac_objext \
6814    conftest$ac_exeext conftest.$ac_ext
6815fi
6816
6817
6818		CFLAGS="$xorg_testset_save_CFLAGS"
6819
6820		eval supported=\$$cacheid
6821		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6822$as_echo "$supported" >&6; }
6823		if test "$supported" = "yes" ; then
6824			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
6825			found="yes"
6826		fi
6827	fi
6828
6829	if test $found = "no" ; then
6830		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
6831			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6832		fi
6833
6834		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
6835			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6836		fi
6837
6838		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
6839
6840		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
6841$as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
6842		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
6843		if eval \${$cacheid+:} false; then :
6844  $as_echo_n "(cached) " >&6
6845else
6846  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6847/* end confdefs.h.  */
6848int i;
6849int
6850main ()
6851{
6852
6853  ;
6854  return 0;
6855}
6856_ACEOF
6857if ac_fn_c_try_link "$LINENO"; then :
6858  eval $cacheid=yes
6859else
6860  eval $cacheid=no
6861fi
6862rm -f core conftest.err conftest.$ac_objext \
6863    conftest$ac_exeext conftest.$ac_ext
6864fi
6865
6866
6867		CFLAGS="$xorg_testset_save_CFLAGS"
6868
6869		eval supported=\$$cacheid
6870		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6871$as_echo "$supported" >&6; }
6872		if test "$supported" = "yes" ; then
6873			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
6874			found="yes"
6875		fi
6876	fi
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892xorg_testset_save_CFLAGS="$CFLAGS"
6893
6894if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6895	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6896	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6897$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6898if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6899  $as_echo_n "(cached) " >&6
6900else
6901  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6902/* end confdefs.h.  */
6903int i;
6904_ACEOF
6905if ac_fn_c_try_compile "$LINENO"; then :
6906  xorg_cv_cc_flag_unknown_warning_option=yes
6907else
6908  xorg_cv_cc_flag_unknown_warning_option=no
6909fi
6910rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6911fi
6912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6913$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6914	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6915	CFLAGS="$xorg_testset_save_CFLAGS"
6916fi
6917
6918if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6919	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6920		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6921	fi
6922	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6923	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6924$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6925if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6926  $as_echo_n "(cached) " >&6
6927else
6928  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6929/* end confdefs.h.  */
6930int i;
6931_ACEOF
6932if ac_fn_c_try_compile "$LINENO"; then :
6933  xorg_cv_cc_flag_unused_command_line_argument=yes
6934else
6935  xorg_cv_cc_flag_unused_command_line_argument=no
6936fi
6937rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6938fi
6939{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6940$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6941	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6942	CFLAGS="$xorg_testset_save_CFLAGS"
6943fi
6944
6945found="no"
6946
6947	if test $found = "no" ; then
6948		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
6949			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6950		fi
6951
6952		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
6953			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6954		fi
6955
6956		CFLAGS="$CFLAGS -Werror=nonnull"
6957
6958		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
6959$as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
6960		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
6961		if eval \${$cacheid+:} false; then :
6962  $as_echo_n "(cached) " >&6
6963else
6964  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6965/* end confdefs.h.  */
6966int i;
6967int
6968main ()
6969{
6970
6971  ;
6972  return 0;
6973}
6974_ACEOF
6975if ac_fn_c_try_link "$LINENO"; then :
6976  eval $cacheid=yes
6977else
6978  eval $cacheid=no
6979fi
6980rm -f core conftest.err conftest.$ac_objext \
6981    conftest$ac_exeext conftest.$ac_ext
6982fi
6983
6984
6985		CFLAGS="$xorg_testset_save_CFLAGS"
6986
6987		eval supported=\$$cacheid
6988		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6989$as_echo "$supported" >&6; }
6990		if test "$supported" = "yes" ; then
6991			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
6992			found="yes"
6993		fi
6994	fi
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010xorg_testset_save_CFLAGS="$CFLAGS"
7011
7012if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7013	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7014	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7015$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7016if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7017  $as_echo_n "(cached) " >&6
7018else
7019  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7020/* end confdefs.h.  */
7021int i;
7022_ACEOF
7023if ac_fn_c_try_compile "$LINENO"; then :
7024  xorg_cv_cc_flag_unknown_warning_option=yes
7025else
7026  xorg_cv_cc_flag_unknown_warning_option=no
7027fi
7028rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7029fi
7030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7031$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7032	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7033	CFLAGS="$xorg_testset_save_CFLAGS"
7034fi
7035
7036if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7037	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7038		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7039	fi
7040	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7041	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7042$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7043if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7044  $as_echo_n "(cached) " >&6
7045else
7046  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7047/* end confdefs.h.  */
7048int i;
7049_ACEOF
7050if ac_fn_c_try_compile "$LINENO"; then :
7051  xorg_cv_cc_flag_unused_command_line_argument=yes
7052else
7053  xorg_cv_cc_flag_unused_command_line_argument=no
7054fi
7055rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7056fi
7057{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7058$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7059	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7060	CFLAGS="$xorg_testset_save_CFLAGS"
7061fi
7062
7063found="no"
7064
7065	if test $found = "no" ; then
7066		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
7067			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7068		fi
7069
7070		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
7071			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7072		fi
7073
7074		CFLAGS="$CFLAGS -Werror=init-self"
7075
7076		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
7077$as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
7078		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
7079		if eval \${$cacheid+:} false; then :
7080  $as_echo_n "(cached) " >&6
7081else
7082  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7083/* end confdefs.h.  */
7084int i;
7085int
7086main ()
7087{
7088
7089  ;
7090  return 0;
7091}
7092_ACEOF
7093if ac_fn_c_try_link "$LINENO"; then :
7094  eval $cacheid=yes
7095else
7096  eval $cacheid=no
7097fi
7098rm -f core conftest.err conftest.$ac_objext \
7099    conftest$ac_exeext conftest.$ac_ext
7100fi
7101
7102
7103		CFLAGS="$xorg_testset_save_CFLAGS"
7104
7105		eval supported=\$$cacheid
7106		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7107$as_echo "$supported" >&6; }
7108		if test "$supported" = "yes" ; then
7109			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
7110			found="yes"
7111		fi
7112	fi
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128xorg_testset_save_CFLAGS="$CFLAGS"
7129
7130if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7131	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7132	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7133$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7134if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7135  $as_echo_n "(cached) " >&6
7136else
7137  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7138/* end confdefs.h.  */
7139int i;
7140_ACEOF
7141if ac_fn_c_try_compile "$LINENO"; then :
7142  xorg_cv_cc_flag_unknown_warning_option=yes
7143else
7144  xorg_cv_cc_flag_unknown_warning_option=no
7145fi
7146rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7147fi
7148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7149$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7150	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7151	CFLAGS="$xorg_testset_save_CFLAGS"
7152fi
7153
7154if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7155	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7156		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7157	fi
7158	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7159	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7160$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7161if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7162  $as_echo_n "(cached) " >&6
7163else
7164  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7165/* end confdefs.h.  */
7166int i;
7167_ACEOF
7168if ac_fn_c_try_compile "$LINENO"; then :
7169  xorg_cv_cc_flag_unused_command_line_argument=yes
7170else
7171  xorg_cv_cc_flag_unused_command_line_argument=no
7172fi
7173rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7174fi
7175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7176$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7177	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7178	CFLAGS="$xorg_testset_save_CFLAGS"
7179fi
7180
7181found="no"
7182
7183	if test $found = "no" ; then
7184		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
7185			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7186		fi
7187
7188		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
7189			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7190		fi
7191
7192		CFLAGS="$CFLAGS -Werror=main"
7193
7194		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
7195$as_echo_n "checking if $CC supports -Werror=main... " >&6; }
7196		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
7197		if eval \${$cacheid+:} false; then :
7198  $as_echo_n "(cached) " >&6
7199else
7200  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7201/* end confdefs.h.  */
7202int i;
7203int
7204main ()
7205{
7206
7207  ;
7208  return 0;
7209}
7210_ACEOF
7211if ac_fn_c_try_link "$LINENO"; then :
7212  eval $cacheid=yes
7213else
7214  eval $cacheid=no
7215fi
7216rm -f core conftest.err conftest.$ac_objext \
7217    conftest$ac_exeext conftest.$ac_ext
7218fi
7219
7220
7221		CFLAGS="$xorg_testset_save_CFLAGS"
7222
7223		eval supported=\$$cacheid
7224		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7225$as_echo "$supported" >&6; }
7226		if test "$supported" = "yes" ; then
7227			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
7228			found="yes"
7229		fi
7230	fi
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246xorg_testset_save_CFLAGS="$CFLAGS"
7247
7248if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7249	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7250	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7251$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7252if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7253  $as_echo_n "(cached) " >&6
7254else
7255  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7256/* end confdefs.h.  */
7257int i;
7258_ACEOF
7259if ac_fn_c_try_compile "$LINENO"; then :
7260  xorg_cv_cc_flag_unknown_warning_option=yes
7261else
7262  xorg_cv_cc_flag_unknown_warning_option=no
7263fi
7264rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7265fi
7266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7267$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7268	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7269	CFLAGS="$xorg_testset_save_CFLAGS"
7270fi
7271
7272if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7273	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7274		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7275	fi
7276	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7277	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7278$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7279if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7280  $as_echo_n "(cached) " >&6
7281else
7282  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7283/* end confdefs.h.  */
7284int i;
7285_ACEOF
7286if ac_fn_c_try_compile "$LINENO"; then :
7287  xorg_cv_cc_flag_unused_command_line_argument=yes
7288else
7289  xorg_cv_cc_flag_unused_command_line_argument=no
7290fi
7291rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7292fi
7293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7294$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7295	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7296	CFLAGS="$xorg_testset_save_CFLAGS"
7297fi
7298
7299found="no"
7300
7301	if test $found = "no" ; then
7302		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
7303			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7304		fi
7305
7306		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
7307			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7308		fi
7309
7310		CFLAGS="$CFLAGS -Werror=missing-braces"
7311
7312		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
7313$as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
7314		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
7315		if eval \${$cacheid+:} false; then :
7316  $as_echo_n "(cached) " >&6
7317else
7318  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7319/* end confdefs.h.  */
7320int i;
7321int
7322main ()
7323{
7324
7325  ;
7326  return 0;
7327}
7328_ACEOF
7329if ac_fn_c_try_link "$LINENO"; then :
7330  eval $cacheid=yes
7331else
7332  eval $cacheid=no
7333fi
7334rm -f core conftest.err conftest.$ac_objext \
7335    conftest$ac_exeext conftest.$ac_ext
7336fi
7337
7338
7339		CFLAGS="$xorg_testset_save_CFLAGS"
7340
7341		eval supported=\$$cacheid
7342		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7343$as_echo "$supported" >&6; }
7344		if test "$supported" = "yes" ; then
7345			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
7346			found="yes"
7347		fi
7348	fi
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364xorg_testset_save_CFLAGS="$CFLAGS"
7365
7366if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7367	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7368	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7369$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7370if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7371  $as_echo_n "(cached) " >&6
7372else
7373  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7374/* end confdefs.h.  */
7375int i;
7376_ACEOF
7377if ac_fn_c_try_compile "$LINENO"; then :
7378  xorg_cv_cc_flag_unknown_warning_option=yes
7379else
7380  xorg_cv_cc_flag_unknown_warning_option=no
7381fi
7382rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7383fi
7384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7385$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7386	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7387	CFLAGS="$xorg_testset_save_CFLAGS"
7388fi
7389
7390if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7391	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7392		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7393	fi
7394	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7395	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7396$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7397if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7398  $as_echo_n "(cached) " >&6
7399else
7400  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7401/* end confdefs.h.  */
7402int i;
7403_ACEOF
7404if ac_fn_c_try_compile "$LINENO"; then :
7405  xorg_cv_cc_flag_unused_command_line_argument=yes
7406else
7407  xorg_cv_cc_flag_unused_command_line_argument=no
7408fi
7409rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7410fi
7411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7412$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7413	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7414	CFLAGS="$xorg_testset_save_CFLAGS"
7415fi
7416
7417found="no"
7418
7419	if test $found = "no" ; then
7420		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
7421			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7422		fi
7423
7424		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
7425			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7426		fi
7427
7428		CFLAGS="$CFLAGS -Werror=sequence-point"
7429
7430		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
7431$as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
7432		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
7433		if eval \${$cacheid+:} false; then :
7434  $as_echo_n "(cached) " >&6
7435else
7436  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7437/* end confdefs.h.  */
7438int i;
7439int
7440main ()
7441{
7442
7443  ;
7444  return 0;
7445}
7446_ACEOF
7447if ac_fn_c_try_link "$LINENO"; then :
7448  eval $cacheid=yes
7449else
7450  eval $cacheid=no
7451fi
7452rm -f core conftest.err conftest.$ac_objext \
7453    conftest$ac_exeext conftest.$ac_ext
7454fi
7455
7456
7457		CFLAGS="$xorg_testset_save_CFLAGS"
7458
7459		eval supported=\$$cacheid
7460		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7461$as_echo "$supported" >&6; }
7462		if test "$supported" = "yes" ; then
7463			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
7464			found="yes"
7465		fi
7466	fi
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482xorg_testset_save_CFLAGS="$CFLAGS"
7483
7484if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7485	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7486	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7487$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7488if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7489  $as_echo_n "(cached) " >&6
7490else
7491  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7492/* end confdefs.h.  */
7493int i;
7494_ACEOF
7495if ac_fn_c_try_compile "$LINENO"; then :
7496  xorg_cv_cc_flag_unknown_warning_option=yes
7497else
7498  xorg_cv_cc_flag_unknown_warning_option=no
7499fi
7500rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7501fi
7502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7503$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7504	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7505	CFLAGS="$xorg_testset_save_CFLAGS"
7506fi
7507
7508if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7509	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7510		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7511	fi
7512	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7513	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7514$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7515if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7516  $as_echo_n "(cached) " >&6
7517else
7518  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7519/* end confdefs.h.  */
7520int i;
7521_ACEOF
7522if ac_fn_c_try_compile "$LINENO"; then :
7523  xorg_cv_cc_flag_unused_command_line_argument=yes
7524else
7525  xorg_cv_cc_flag_unused_command_line_argument=no
7526fi
7527rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7528fi
7529{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7530$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7531	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7532	CFLAGS="$xorg_testset_save_CFLAGS"
7533fi
7534
7535found="no"
7536
7537	if test $found = "no" ; then
7538		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
7539			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7540		fi
7541
7542		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
7543			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7544		fi
7545
7546		CFLAGS="$CFLAGS -Werror=return-type"
7547
7548		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
7549$as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
7550		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
7551		if eval \${$cacheid+:} false; then :
7552  $as_echo_n "(cached) " >&6
7553else
7554  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7555/* end confdefs.h.  */
7556int i;
7557int
7558main ()
7559{
7560
7561  ;
7562  return 0;
7563}
7564_ACEOF
7565if ac_fn_c_try_link "$LINENO"; then :
7566  eval $cacheid=yes
7567else
7568  eval $cacheid=no
7569fi
7570rm -f core conftest.err conftest.$ac_objext \
7571    conftest$ac_exeext conftest.$ac_ext
7572fi
7573
7574
7575		CFLAGS="$xorg_testset_save_CFLAGS"
7576
7577		eval supported=\$$cacheid
7578		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7579$as_echo "$supported" >&6; }
7580		if test "$supported" = "yes" ; then
7581			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
7582			found="yes"
7583		fi
7584	fi
7585
7586	if test $found = "no" ; then
7587		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
7588			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7589		fi
7590
7591		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
7592			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7593		fi
7594
7595		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
7596
7597		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
7598$as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
7599		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
7600		if eval \${$cacheid+:} false; then :
7601  $as_echo_n "(cached) " >&6
7602else
7603  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7604/* end confdefs.h.  */
7605int i;
7606int
7607main ()
7608{
7609
7610  ;
7611  return 0;
7612}
7613_ACEOF
7614if ac_fn_c_try_link "$LINENO"; then :
7615  eval $cacheid=yes
7616else
7617  eval $cacheid=no
7618fi
7619rm -f core conftest.err conftest.$ac_objext \
7620    conftest$ac_exeext conftest.$ac_ext
7621fi
7622
7623
7624		CFLAGS="$xorg_testset_save_CFLAGS"
7625
7626		eval supported=\$$cacheid
7627		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7628$as_echo "$supported" >&6; }
7629		if test "$supported" = "yes" ; then
7630			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
7631			found="yes"
7632		fi
7633	fi
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649xorg_testset_save_CFLAGS="$CFLAGS"
7650
7651if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7652	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7653	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7654$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7655if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7656  $as_echo_n "(cached) " >&6
7657else
7658  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7659/* end confdefs.h.  */
7660int i;
7661_ACEOF
7662if ac_fn_c_try_compile "$LINENO"; then :
7663  xorg_cv_cc_flag_unknown_warning_option=yes
7664else
7665  xorg_cv_cc_flag_unknown_warning_option=no
7666fi
7667rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7668fi
7669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7670$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7671	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7672	CFLAGS="$xorg_testset_save_CFLAGS"
7673fi
7674
7675if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7676	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7677		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7678	fi
7679	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7680	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7681$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7682if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7683  $as_echo_n "(cached) " >&6
7684else
7685  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7686/* end confdefs.h.  */
7687int i;
7688_ACEOF
7689if ac_fn_c_try_compile "$LINENO"; then :
7690  xorg_cv_cc_flag_unused_command_line_argument=yes
7691else
7692  xorg_cv_cc_flag_unused_command_line_argument=no
7693fi
7694rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7695fi
7696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7697$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7698	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7699	CFLAGS="$xorg_testset_save_CFLAGS"
7700fi
7701
7702found="no"
7703
7704	if test $found = "no" ; then
7705		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
7706			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7707		fi
7708
7709		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
7710			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7711		fi
7712
7713		CFLAGS="$CFLAGS -Werror=trigraphs"
7714
7715		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
7716$as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
7717		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
7718		if eval \${$cacheid+:} false; then :
7719  $as_echo_n "(cached) " >&6
7720else
7721  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7722/* end confdefs.h.  */
7723int i;
7724int
7725main ()
7726{
7727
7728  ;
7729  return 0;
7730}
7731_ACEOF
7732if ac_fn_c_try_link "$LINENO"; then :
7733  eval $cacheid=yes
7734else
7735  eval $cacheid=no
7736fi
7737rm -f core conftest.err conftest.$ac_objext \
7738    conftest$ac_exeext conftest.$ac_ext
7739fi
7740
7741
7742		CFLAGS="$xorg_testset_save_CFLAGS"
7743
7744		eval supported=\$$cacheid
7745		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7746$as_echo "$supported" >&6; }
7747		if test "$supported" = "yes" ; then
7748			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
7749			found="yes"
7750		fi
7751	fi
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767xorg_testset_save_CFLAGS="$CFLAGS"
7768
7769if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7770	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7771	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7772$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7773if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7774  $as_echo_n "(cached) " >&6
7775else
7776  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7777/* end confdefs.h.  */
7778int i;
7779_ACEOF
7780if ac_fn_c_try_compile "$LINENO"; then :
7781  xorg_cv_cc_flag_unknown_warning_option=yes
7782else
7783  xorg_cv_cc_flag_unknown_warning_option=no
7784fi
7785rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7786fi
7787{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7788$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7789	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7790	CFLAGS="$xorg_testset_save_CFLAGS"
7791fi
7792
7793if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7794	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7795		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7796	fi
7797	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7798	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7799$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7800if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7801  $as_echo_n "(cached) " >&6
7802else
7803  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7804/* end confdefs.h.  */
7805int i;
7806_ACEOF
7807if ac_fn_c_try_compile "$LINENO"; then :
7808  xorg_cv_cc_flag_unused_command_line_argument=yes
7809else
7810  xorg_cv_cc_flag_unused_command_line_argument=no
7811fi
7812rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7813fi
7814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7815$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7816	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7817	CFLAGS="$xorg_testset_save_CFLAGS"
7818fi
7819
7820found="no"
7821
7822	if test $found = "no" ; then
7823		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
7824			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7825		fi
7826
7827		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
7828			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7829		fi
7830
7831		CFLAGS="$CFLAGS -Werror=array-bounds"
7832
7833		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
7834$as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
7835		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
7836		if eval \${$cacheid+:} false; then :
7837  $as_echo_n "(cached) " >&6
7838else
7839  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7840/* end confdefs.h.  */
7841int i;
7842int
7843main ()
7844{
7845
7846  ;
7847  return 0;
7848}
7849_ACEOF
7850if ac_fn_c_try_link "$LINENO"; then :
7851  eval $cacheid=yes
7852else
7853  eval $cacheid=no
7854fi
7855rm -f core conftest.err conftest.$ac_objext \
7856    conftest$ac_exeext conftest.$ac_ext
7857fi
7858
7859
7860		CFLAGS="$xorg_testset_save_CFLAGS"
7861
7862		eval supported=\$$cacheid
7863		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7864$as_echo "$supported" >&6; }
7865		if test "$supported" = "yes" ; then
7866			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
7867			found="yes"
7868		fi
7869	fi
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885xorg_testset_save_CFLAGS="$CFLAGS"
7886
7887if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7888	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7889	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7890$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7891if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7892  $as_echo_n "(cached) " >&6
7893else
7894  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7895/* end confdefs.h.  */
7896int i;
7897_ACEOF
7898if ac_fn_c_try_compile "$LINENO"; then :
7899  xorg_cv_cc_flag_unknown_warning_option=yes
7900else
7901  xorg_cv_cc_flag_unknown_warning_option=no
7902fi
7903rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7904fi
7905{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7906$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7907	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7908	CFLAGS="$xorg_testset_save_CFLAGS"
7909fi
7910
7911if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7912	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7913		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7914	fi
7915	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7916	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7917$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7918if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7919  $as_echo_n "(cached) " >&6
7920else
7921  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7922/* end confdefs.h.  */
7923int i;
7924_ACEOF
7925if ac_fn_c_try_compile "$LINENO"; then :
7926  xorg_cv_cc_flag_unused_command_line_argument=yes
7927else
7928  xorg_cv_cc_flag_unused_command_line_argument=no
7929fi
7930rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7931fi
7932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7933$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7934	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7935	CFLAGS="$xorg_testset_save_CFLAGS"
7936fi
7937
7938found="no"
7939
7940	if test $found = "no" ; then
7941		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
7942			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7943		fi
7944
7945		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
7946			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7947		fi
7948
7949		CFLAGS="$CFLAGS -Werror=write-strings"
7950
7951		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
7952$as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
7953		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
7954		if eval \${$cacheid+:} false; then :
7955  $as_echo_n "(cached) " >&6
7956else
7957  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7958/* end confdefs.h.  */
7959int i;
7960int
7961main ()
7962{
7963
7964  ;
7965  return 0;
7966}
7967_ACEOF
7968if ac_fn_c_try_link "$LINENO"; then :
7969  eval $cacheid=yes
7970else
7971  eval $cacheid=no
7972fi
7973rm -f core conftest.err conftest.$ac_objext \
7974    conftest$ac_exeext conftest.$ac_ext
7975fi
7976
7977
7978		CFLAGS="$xorg_testset_save_CFLAGS"
7979
7980		eval supported=\$$cacheid
7981		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7982$as_echo "$supported" >&6; }
7983		if test "$supported" = "yes" ; then
7984			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
7985			found="yes"
7986		fi
7987	fi
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003xorg_testset_save_CFLAGS="$CFLAGS"
8004
8005if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8006	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8007	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8008$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8009if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8010  $as_echo_n "(cached) " >&6
8011else
8012  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8013/* end confdefs.h.  */
8014int i;
8015_ACEOF
8016if ac_fn_c_try_compile "$LINENO"; then :
8017  xorg_cv_cc_flag_unknown_warning_option=yes
8018else
8019  xorg_cv_cc_flag_unknown_warning_option=no
8020fi
8021rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8022fi
8023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8024$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8025	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8026	CFLAGS="$xorg_testset_save_CFLAGS"
8027fi
8028
8029if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8030	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8031		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8032	fi
8033	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8034	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8035$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8036if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8037  $as_echo_n "(cached) " >&6
8038else
8039  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8040/* end confdefs.h.  */
8041int i;
8042_ACEOF
8043if ac_fn_c_try_compile "$LINENO"; then :
8044  xorg_cv_cc_flag_unused_command_line_argument=yes
8045else
8046  xorg_cv_cc_flag_unused_command_line_argument=no
8047fi
8048rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8049fi
8050{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8051$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8052	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8053	CFLAGS="$xorg_testset_save_CFLAGS"
8054fi
8055
8056found="no"
8057
8058	if test $found = "no" ; then
8059		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
8060			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8061		fi
8062
8063		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
8064			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8065		fi
8066
8067		CFLAGS="$CFLAGS -Werror=address"
8068
8069		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
8070$as_echo_n "checking if $CC supports -Werror=address... " >&6; }
8071		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
8072		if eval \${$cacheid+:} false; then :
8073  $as_echo_n "(cached) " >&6
8074else
8075  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8076/* end confdefs.h.  */
8077int i;
8078int
8079main ()
8080{
8081
8082  ;
8083  return 0;
8084}
8085_ACEOF
8086if ac_fn_c_try_link "$LINENO"; then :
8087  eval $cacheid=yes
8088else
8089  eval $cacheid=no
8090fi
8091rm -f core conftest.err conftest.$ac_objext \
8092    conftest$ac_exeext conftest.$ac_ext
8093fi
8094
8095
8096		CFLAGS="$xorg_testset_save_CFLAGS"
8097
8098		eval supported=\$$cacheid
8099		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8100$as_echo "$supported" >&6; }
8101		if test "$supported" = "yes" ; then
8102			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
8103			found="yes"
8104		fi
8105	fi
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121xorg_testset_save_CFLAGS="$CFLAGS"
8122
8123if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8124	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8125	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8126$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8127if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8128  $as_echo_n "(cached) " >&6
8129else
8130  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8131/* end confdefs.h.  */
8132int i;
8133_ACEOF
8134if ac_fn_c_try_compile "$LINENO"; then :
8135  xorg_cv_cc_flag_unknown_warning_option=yes
8136else
8137  xorg_cv_cc_flag_unknown_warning_option=no
8138fi
8139rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8140fi
8141{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8142$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8143	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8144	CFLAGS="$xorg_testset_save_CFLAGS"
8145fi
8146
8147if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8148	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8149		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8150	fi
8151	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8152	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8153$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8154if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8155  $as_echo_n "(cached) " >&6
8156else
8157  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8158/* end confdefs.h.  */
8159int i;
8160_ACEOF
8161if ac_fn_c_try_compile "$LINENO"; then :
8162  xorg_cv_cc_flag_unused_command_line_argument=yes
8163else
8164  xorg_cv_cc_flag_unused_command_line_argument=no
8165fi
8166rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8167fi
8168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8169$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8170	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8171	CFLAGS="$xorg_testset_save_CFLAGS"
8172fi
8173
8174found="no"
8175
8176	if test $found = "no" ; then
8177		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
8178			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8179		fi
8180
8181		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
8182			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8183		fi
8184
8185		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
8186
8187		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
8188$as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
8189		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
8190		if eval \${$cacheid+:} false; then :
8191  $as_echo_n "(cached) " >&6
8192else
8193  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8194/* end confdefs.h.  */
8195int i;
8196int
8197main ()
8198{
8199
8200  ;
8201  return 0;
8202}
8203_ACEOF
8204if ac_fn_c_try_link "$LINENO"; then :
8205  eval $cacheid=yes
8206else
8207  eval $cacheid=no
8208fi
8209rm -f core conftest.err conftest.$ac_objext \
8210    conftest$ac_exeext conftest.$ac_ext
8211fi
8212
8213
8214		CFLAGS="$xorg_testset_save_CFLAGS"
8215
8216		eval supported=\$$cacheid
8217		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8218$as_echo "$supported" >&6; }
8219		if test "$supported" = "yes" ; then
8220			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
8221			found="yes"
8222		fi
8223	fi
8224
8225	if test $found = "no" ; then
8226		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
8227			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8228		fi
8229
8230		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
8231			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8232		fi
8233
8234		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
8235
8236		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
8237$as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
8238		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
8239		if eval \${$cacheid+:} false; then :
8240  $as_echo_n "(cached) " >&6
8241else
8242  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8243/* end confdefs.h.  */
8244int i;
8245int
8246main ()
8247{
8248
8249  ;
8250  return 0;
8251}
8252_ACEOF
8253if ac_fn_c_try_link "$LINENO"; then :
8254  eval $cacheid=yes
8255else
8256  eval $cacheid=no
8257fi
8258rm -f core conftest.err conftest.$ac_objext \
8259    conftest$ac_exeext conftest.$ac_ext
8260fi
8261
8262
8263		CFLAGS="$xorg_testset_save_CFLAGS"
8264
8265		eval supported=\$$cacheid
8266		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8267$as_echo "$supported" >&6; }
8268		if test "$supported" = "yes" ; then
8269			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
8270			found="yes"
8271		fi
8272	fi
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288xorg_testset_save_CFLAGS="$CFLAGS"
8289
8290if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8291	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8292	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8293$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8294if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8295  $as_echo_n "(cached) " >&6
8296else
8297  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8298/* end confdefs.h.  */
8299int i;
8300_ACEOF
8301if ac_fn_c_try_compile "$LINENO"; then :
8302  xorg_cv_cc_flag_unknown_warning_option=yes
8303else
8304  xorg_cv_cc_flag_unknown_warning_option=no
8305fi
8306rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8307fi
8308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8309$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8310	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8311	CFLAGS="$xorg_testset_save_CFLAGS"
8312fi
8313
8314if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8315	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8316		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8317	fi
8318	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8319	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8320$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8321if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8322  $as_echo_n "(cached) " >&6
8323else
8324  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8325/* end confdefs.h.  */
8326int i;
8327_ACEOF
8328if ac_fn_c_try_compile "$LINENO"; then :
8329  xorg_cv_cc_flag_unused_command_line_argument=yes
8330else
8331  xorg_cv_cc_flag_unused_command_line_argument=no
8332fi
8333rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8334fi
8335{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8336$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8337	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8338	CFLAGS="$xorg_testset_save_CFLAGS"
8339fi
8340
8341found="no"
8342
8343	if test $found = "no" ; then
8344		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
8345			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8346		fi
8347
8348		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
8349			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8350		fi
8351
8352		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
8353
8354		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
8355$as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
8356		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
8357		if eval \${$cacheid+:} false; then :
8358  $as_echo_n "(cached) " >&6
8359else
8360  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8361/* end confdefs.h.  */
8362int i;
8363int
8364main ()
8365{
8366
8367  ;
8368  return 0;
8369}
8370_ACEOF
8371if ac_fn_c_try_link "$LINENO"; then :
8372  eval $cacheid=yes
8373else
8374  eval $cacheid=no
8375fi
8376rm -f core conftest.err conftest.$ac_objext \
8377    conftest$ac_exeext conftest.$ac_ext
8378fi
8379
8380
8381		CFLAGS="$xorg_testset_save_CFLAGS"
8382
8383		eval supported=\$$cacheid
8384		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8385$as_echo "$supported" >&6; }
8386		if test "$supported" = "yes" ; then
8387			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
8388			found="yes"
8389		fi
8390	fi
8391
8392 # Also -errwarn=E_BAD_PTR_INT_COMBINATION
8393else
8394{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have chosen not to turn some select compiler warnings into errors.  This should not be necessary.  Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&5
8395$as_echo "$as_me: WARNING: You have chosen not to turn some select compiler warnings into errors.  This should not be necessary.  Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&2;}
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409xorg_testset_save_CFLAGS="$CFLAGS"
8410
8411if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8412	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8413	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8414$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8415if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8416  $as_echo_n "(cached) " >&6
8417else
8418  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8419/* end confdefs.h.  */
8420int i;
8421_ACEOF
8422if ac_fn_c_try_compile "$LINENO"; then :
8423  xorg_cv_cc_flag_unknown_warning_option=yes
8424else
8425  xorg_cv_cc_flag_unknown_warning_option=no
8426fi
8427rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8428fi
8429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8430$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8431	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8432	CFLAGS="$xorg_testset_save_CFLAGS"
8433fi
8434
8435if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8436	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8437		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8438	fi
8439	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8440	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8441$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8442if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8443  $as_echo_n "(cached) " >&6
8444else
8445  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8446/* end confdefs.h.  */
8447int i;
8448_ACEOF
8449if ac_fn_c_try_compile "$LINENO"; then :
8450  xorg_cv_cc_flag_unused_command_line_argument=yes
8451else
8452  xorg_cv_cc_flag_unused_command_line_argument=no
8453fi
8454rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8455fi
8456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8457$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8458	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8459	CFLAGS="$xorg_testset_save_CFLAGS"
8460fi
8461
8462found="no"
8463
8464	if test $found = "no" ; then
8465		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
8466			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8467		fi
8468
8469		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
8470			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8471		fi
8472
8473		CFLAGS="$CFLAGS -Wimplicit"
8474
8475		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
8476$as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
8477		cacheid=xorg_cv_cc_flag__Wimplicit
8478		if eval \${$cacheid+:} false; then :
8479  $as_echo_n "(cached) " >&6
8480else
8481  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8482/* end confdefs.h.  */
8483int i;
8484int
8485main ()
8486{
8487
8488  ;
8489  return 0;
8490}
8491_ACEOF
8492if ac_fn_c_try_link "$LINENO"; then :
8493  eval $cacheid=yes
8494else
8495  eval $cacheid=no
8496fi
8497rm -f core conftest.err conftest.$ac_objext \
8498    conftest$ac_exeext conftest.$ac_ext
8499fi
8500
8501
8502		CFLAGS="$xorg_testset_save_CFLAGS"
8503
8504		eval supported=\$$cacheid
8505		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8506$as_echo "$supported" >&6; }
8507		if test "$supported" = "yes" ; then
8508			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
8509			found="yes"
8510		fi
8511	fi
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527xorg_testset_save_CFLAGS="$CFLAGS"
8528
8529if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8530	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8531	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8532$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8533if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8534  $as_echo_n "(cached) " >&6
8535else
8536  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8537/* end confdefs.h.  */
8538int i;
8539_ACEOF
8540if ac_fn_c_try_compile "$LINENO"; then :
8541  xorg_cv_cc_flag_unknown_warning_option=yes
8542else
8543  xorg_cv_cc_flag_unknown_warning_option=no
8544fi
8545rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8546fi
8547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8548$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8549	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8550	CFLAGS="$xorg_testset_save_CFLAGS"
8551fi
8552
8553if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8554	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8555		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8556	fi
8557	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8558	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8559$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8560if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8561  $as_echo_n "(cached) " >&6
8562else
8563  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8564/* end confdefs.h.  */
8565int i;
8566_ACEOF
8567if ac_fn_c_try_compile "$LINENO"; then :
8568  xorg_cv_cc_flag_unused_command_line_argument=yes
8569else
8570  xorg_cv_cc_flag_unused_command_line_argument=no
8571fi
8572rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8573fi
8574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8575$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8576	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8577	CFLAGS="$xorg_testset_save_CFLAGS"
8578fi
8579
8580found="no"
8581
8582	if test $found = "no" ; then
8583		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
8584			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8585		fi
8586
8587		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
8588			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8589		fi
8590
8591		CFLAGS="$CFLAGS -Wnonnull"
8592
8593		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
8594$as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
8595		cacheid=xorg_cv_cc_flag__Wnonnull
8596		if eval \${$cacheid+:} false; then :
8597  $as_echo_n "(cached) " >&6
8598else
8599  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8600/* end confdefs.h.  */
8601int i;
8602int
8603main ()
8604{
8605
8606  ;
8607  return 0;
8608}
8609_ACEOF
8610if ac_fn_c_try_link "$LINENO"; then :
8611  eval $cacheid=yes
8612else
8613  eval $cacheid=no
8614fi
8615rm -f core conftest.err conftest.$ac_objext \
8616    conftest$ac_exeext conftest.$ac_ext
8617fi
8618
8619
8620		CFLAGS="$xorg_testset_save_CFLAGS"
8621
8622		eval supported=\$$cacheid
8623		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8624$as_echo "$supported" >&6; }
8625		if test "$supported" = "yes" ; then
8626			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
8627			found="yes"
8628		fi
8629	fi
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645xorg_testset_save_CFLAGS="$CFLAGS"
8646
8647if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8648	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8649	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8650$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8651if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8652  $as_echo_n "(cached) " >&6
8653else
8654  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8655/* end confdefs.h.  */
8656int i;
8657_ACEOF
8658if ac_fn_c_try_compile "$LINENO"; then :
8659  xorg_cv_cc_flag_unknown_warning_option=yes
8660else
8661  xorg_cv_cc_flag_unknown_warning_option=no
8662fi
8663rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8664fi
8665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8666$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8667	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8668	CFLAGS="$xorg_testset_save_CFLAGS"
8669fi
8670
8671if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8672	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8673		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8674	fi
8675	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8676	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8677$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8678if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8679  $as_echo_n "(cached) " >&6
8680else
8681  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8682/* end confdefs.h.  */
8683int i;
8684_ACEOF
8685if ac_fn_c_try_compile "$LINENO"; then :
8686  xorg_cv_cc_flag_unused_command_line_argument=yes
8687else
8688  xorg_cv_cc_flag_unused_command_line_argument=no
8689fi
8690rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8691fi
8692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8693$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8694	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8695	CFLAGS="$xorg_testset_save_CFLAGS"
8696fi
8697
8698found="no"
8699
8700	if test $found = "no" ; then
8701		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
8702			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8703		fi
8704
8705		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
8706			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8707		fi
8708
8709		CFLAGS="$CFLAGS -Winit-self"
8710
8711		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
8712$as_echo_n "checking if $CC supports -Winit-self... " >&6; }
8713		cacheid=xorg_cv_cc_flag__Winit_self
8714		if eval \${$cacheid+:} false; then :
8715  $as_echo_n "(cached) " >&6
8716else
8717  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8718/* end confdefs.h.  */
8719int i;
8720int
8721main ()
8722{
8723
8724  ;
8725  return 0;
8726}
8727_ACEOF
8728if ac_fn_c_try_link "$LINENO"; then :
8729  eval $cacheid=yes
8730else
8731  eval $cacheid=no
8732fi
8733rm -f core conftest.err conftest.$ac_objext \
8734    conftest$ac_exeext conftest.$ac_ext
8735fi
8736
8737
8738		CFLAGS="$xorg_testset_save_CFLAGS"
8739
8740		eval supported=\$$cacheid
8741		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8742$as_echo "$supported" >&6; }
8743		if test "$supported" = "yes" ; then
8744			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
8745			found="yes"
8746		fi
8747	fi
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763xorg_testset_save_CFLAGS="$CFLAGS"
8764
8765if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8766	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8767	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8768$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8769if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8770  $as_echo_n "(cached) " >&6
8771else
8772  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8773/* end confdefs.h.  */
8774int i;
8775_ACEOF
8776if ac_fn_c_try_compile "$LINENO"; then :
8777  xorg_cv_cc_flag_unknown_warning_option=yes
8778else
8779  xorg_cv_cc_flag_unknown_warning_option=no
8780fi
8781rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8782fi
8783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8784$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8785	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8786	CFLAGS="$xorg_testset_save_CFLAGS"
8787fi
8788
8789if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8790	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8791		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8792	fi
8793	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8794	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8795$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8796if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8797  $as_echo_n "(cached) " >&6
8798else
8799  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8800/* end confdefs.h.  */
8801int i;
8802_ACEOF
8803if ac_fn_c_try_compile "$LINENO"; then :
8804  xorg_cv_cc_flag_unused_command_line_argument=yes
8805else
8806  xorg_cv_cc_flag_unused_command_line_argument=no
8807fi
8808rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8809fi
8810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8811$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8812	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8813	CFLAGS="$xorg_testset_save_CFLAGS"
8814fi
8815
8816found="no"
8817
8818	if test $found = "no" ; then
8819		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
8820			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8821		fi
8822
8823		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
8824			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8825		fi
8826
8827		CFLAGS="$CFLAGS -Wmain"
8828
8829		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
8830$as_echo_n "checking if $CC supports -Wmain... " >&6; }
8831		cacheid=xorg_cv_cc_flag__Wmain
8832		if eval \${$cacheid+:} false; then :
8833  $as_echo_n "(cached) " >&6
8834else
8835  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8836/* end confdefs.h.  */
8837int i;
8838int
8839main ()
8840{
8841
8842  ;
8843  return 0;
8844}
8845_ACEOF
8846if ac_fn_c_try_link "$LINENO"; then :
8847  eval $cacheid=yes
8848else
8849  eval $cacheid=no
8850fi
8851rm -f core conftest.err conftest.$ac_objext \
8852    conftest$ac_exeext conftest.$ac_ext
8853fi
8854
8855
8856		CFLAGS="$xorg_testset_save_CFLAGS"
8857
8858		eval supported=\$$cacheid
8859		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8860$as_echo "$supported" >&6; }
8861		if test "$supported" = "yes" ; then
8862			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
8863			found="yes"
8864		fi
8865	fi
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881xorg_testset_save_CFLAGS="$CFLAGS"
8882
8883if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8884	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8885	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8886$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8887if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8888  $as_echo_n "(cached) " >&6
8889else
8890  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8891/* end confdefs.h.  */
8892int i;
8893_ACEOF
8894if ac_fn_c_try_compile "$LINENO"; then :
8895  xorg_cv_cc_flag_unknown_warning_option=yes
8896else
8897  xorg_cv_cc_flag_unknown_warning_option=no
8898fi
8899rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8900fi
8901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8902$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8903	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8904	CFLAGS="$xorg_testset_save_CFLAGS"
8905fi
8906
8907if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8908	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8909		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8910	fi
8911	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8912	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8913$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8914if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8915  $as_echo_n "(cached) " >&6
8916else
8917  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8918/* end confdefs.h.  */
8919int i;
8920_ACEOF
8921if ac_fn_c_try_compile "$LINENO"; then :
8922  xorg_cv_cc_flag_unused_command_line_argument=yes
8923else
8924  xorg_cv_cc_flag_unused_command_line_argument=no
8925fi
8926rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8927fi
8928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8929$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8930	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8931	CFLAGS="$xorg_testset_save_CFLAGS"
8932fi
8933
8934found="no"
8935
8936	if test $found = "no" ; then
8937		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
8938			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8939		fi
8940
8941		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
8942			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8943		fi
8944
8945		CFLAGS="$CFLAGS -Wmissing-braces"
8946
8947		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
8948$as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
8949		cacheid=xorg_cv_cc_flag__Wmissing_braces
8950		if eval \${$cacheid+:} false; then :
8951  $as_echo_n "(cached) " >&6
8952else
8953  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8954/* end confdefs.h.  */
8955int i;
8956int
8957main ()
8958{
8959
8960  ;
8961  return 0;
8962}
8963_ACEOF
8964if ac_fn_c_try_link "$LINENO"; then :
8965  eval $cacheid=yes
8966else
8967  eval $cacheid=no
8968fi
8969rm -f core conftest.err conftest.$ac_objext \
8970    conftest$ac_exeext conftest.$ac_ext
8971fi
8972
8973
8974		CFLAGS="$xorg_testset_save_CFLAGS"
8975
8976		eval supported=\$$cacheid
8977		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8978$as_echo "$supported" >&6; }
8979		if test "$supported" = "yes" ; then
8980			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
8981			found="yes"
8982		fi
8983	fi
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999xorg_testset_save_CFLAGS="$CFLAGS"
9000
9001if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9002	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9003	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9004$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9005if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9006  $as_echo_n "(cached) " >&6
9007else
9008  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9009/* end confdefs.h.  */
9010int i;
9011_ACEOF
9012if ac_fn_c_try_compile "$LINENO"; then :
9013  xorg_cv_cc_flag_unknown_warning_option=yes
9014else
9015  xorg_cv_cc_flag_unknown_warning_option=no
9016fi
9017rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9018fi
9019{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9020$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9021	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9022	CFLAGS="$xorg_testset_save_CFLAGS"
9023fi
9024
9025if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9026	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9027		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9028	fi
9029	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9030	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9031$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9032if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9033  $as_echo_n "(cached) " >&6
9034else
9035  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9036/* end confdefs.h.  */
9037int i;
9038_ACEOF
9039if ac_fn_c_try_compile "$LINENO"; then :
9040  xorg_cv_cc_flag_unused_command_line_argument=yes
9041else
9042  xorg_cv_cc_flag_unused_command_line_argument=no
9043fi
9044rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9045fi
9046{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9047$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9048	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9049	CFLAGS="$xorg_testset_save_CFLAGS"
9050fi
9051
9052found="no"
9053
9054	if test $found = "no" ; then
9055		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
9056			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9057		fi
9058
9059		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
9060			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9061		fi
9062
9063		CFLAGS="$CFLAGS -Wsequence-point"
9064
9065		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
9066$as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
9067		cacheid=xorg_cv_cc_flag__Wsequence_point
9068		if eval \${$cacheid+:} false; then :
9069  $as_echo_n "(cached) " >&6
9070else
9071  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9072/* end confdefs.h.  */
9073int i;
9074int
9075main ()
9076{
9077
9078  ;
9079  return 0;
9080}
9081_ACEOF
9082if ac_fn_c_try_link "$LINENO"; then :
9083  eval $cacheid=yes
9084else
9085  eval $cacheid=no
9086fi
9087rm -f core conftest.err conftest.$ac_objext \
9088    conftest$ac_exeext conftest.$ac_ext
9089fi
9090
9091
9092		CFLAGS="$xorg_testset_save_CFLAGS"
9093
9094		eval supported=\$$cacheid
9095		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9096$as_echo "$supported" >&6; }
9097		if test "$supported" = "yes" ; then
9098			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
9099			found="yes"
9100		fi
9101	fi
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117xorg_testset_save_CFLAGS="$CFLAGS"
9118
9119if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9120	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9121	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9122$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9123if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9124  $as_echo_n "(cached) " >&6
9125else
9126  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9127/* end confdefs.h.  */
9128int i;
9129_ACEOF
9130if ac_fn_c_try_compile "$LINENO"; then :
9131  xorg_cv_cc_flag_unknown_warning_option=yes
9132else
9133  xorg_cv_cc_flag_unknown_warning_option=no
9134fi
9135rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9136fi
9137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9138$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9139	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9140	CFLAGS="$xorg_testset_save_CFLAGS"
9141fi
9142
9143if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9144	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9145		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9146	fi
9147	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9148	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9149$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9150if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9151  $as_echo_n "(cached) " >&6
9152else
9153  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9154/* end confdefs.h.  */
9155int i;
9156_ACEOF
9157if ac_fn_c_try_compile "$LINENO"; then :
9158  xorg_cv_cc_flag_unused_command_line_argument=yes
9159else
9160  xorg_cv_cc_flag_unused_command_line_argument=no
9161fi
9162rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9163fi
9164{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9165$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9166	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9167	CFLAGS="$xorg_testset_save_CFLAGS"
9168fi
9169
9170found="no"
9171
9172	if test $found = "no" ; then
9173		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
9174			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9175		fi
9176
9177		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
9178			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9179		fi
9180
9181		CFLAGS="$CFLAGS -Wreturn-type"
9182
9183		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
9184$as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
9185		cacheid=xorg_cv_cc_flag__Wreturn_type
9186		if eval \${$cacheid+:} false; then :
9187  $as_echo_n "(cached) " >&6
9188else
9189  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9190/* end confdefs.h.  */
9191int i;
9192int
9193main ()
9194{
9195
9196  ;
9197  return 0;
9198}
9199_ACEOF
9200if ac_fn_c_try_link "$LINENO"; then :
9201  eval $cacheid=yes
9202else
9203  eval $cacheid=no
9204fi
9205rm -f core conftest.err conftest.$ac_objext \
9206    conftest$ac_exeext conftest.$ac_ext
9207fi
9208
9209
9210		CFLAGS="$xorg_testset_save_CFLAGS"
9211
9212		eval supported=\$$cacheid
9213		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9214$as_echo "$supported" >&6; }
9215		if test "$supported" = "yes" ; then
9216			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
9217			found="yes"
9218		fi
9219	fi
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235xorg_testset_save_CFLAGS="$CFLAGS"
9236
9237if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9238	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9239	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9240$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9241if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9242  $as_echo_n "(cached) " >&6
9243else
9244  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9245/* end confdefs.h.  */
9246int i;
9247_ACEOF
9248if ac_fn_c_try_compile "$LINENO"; then :
9249  xorg_cv_cc_flag_unknown_warning_option=yes
9250else
9251  xorg_cv_cc_flag_unknown_warning_option=no
9252fi
9253rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9254fi
9255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9256$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9257	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9258	CFLAGS="$xorg_testset_save_CFLAGS"
9259fi
9260
9261if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9262	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9263		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9264	fi
9265	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9266	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9267$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9268if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9269  $as_echo_n "(cached) " >&6
9270else
9271  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9272/* end confdefs.h.  */
9273int i;
9274_ACEOF
9275if ac_fn_c_try_compile "$LINENO"; then :
9276  xorg_cv_cc_flag_unused_command_line_argument=yes
9277else
9278  xorg_cv_cc_flag_unused_command_line_argument=no
9279fi
9280rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9281fi
9282{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9283$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9284	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9285	CFLAGS="$xorg_testset_save_CFLAGS"
9286fi
9287
9288found="no"
9289
9290	if test $found = "no" ; then
9291		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
9292			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9293		fi
9294
9295		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
9296			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9297		fi
9298
9299		CFLAGS="$CFLAGS -Wtrigraphs"
9300
9301		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
9302$as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
9303		cacheid=xorg_cv_cc_flag__Wtrigraphs
9304		if eval \${$cacheid+:} false; then :
9305  $as_echo_n "(cached) " >&6
9306else
9307  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9308/* end confdefs.h.  */
9309int i;
9310int
9311main ()
9312{
9313
9314  ;
9315  return 0;
9316}
9317_ACEOF
9318if ac_fn_c_try_link "$LINENO"; then :
9319  eval $cacheid=yes
9320else
9321  eval $cacheid=no
9322fi
9323rm -f core conftest.err conftest.$ac_objext \
9324    conftest$ac_exeext conftest.$ac_ext
9325fi
9326
9327
9328		CFLAGS="$xorg_testset_save_CFLAGS"
9329
9330		eval supported=\$$cacheid
9331		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9332$as_echo "$supported" >&6; }
9333		if test "$supported" = "yes" ; then
9334			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
9335			found="yes"
9336		fi
9337	fi
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353xorg_testset_save_CFLAGS="$CFLAGS"
9354
9355if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9356	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9357	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9358$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9359if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9360  $as_echo_n "(cached) " >&6
9361else
9362  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9363/* end confdefs.h.  */
9364int i;
9365_ACEOF
9366if ac_fn_c_try_compile "$LINENO"; then :
9367  xorg_cv_cc_flag_unknown_warning_option=yes
9368else
9369  xorg_cv_cc_flag_unknown_warning_option=no
9370fi
9371rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9372fi
9373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9374$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9375	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9376	CFLAGS="$xorg_testset_save_CFLAGS"
9377fi
9378
9379if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9380	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9381		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9382	fi
9383	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9384	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9385$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9386if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9387  $as_echo_n "(cached) " >&6
9388else
9389  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9390/* end confdefs.h.  */
9391int i;
9392_ACEOF
9393if ac_fn_c_try_compile "$LINENO"; then :
9394  xorg_cv_cc_flag_unused_command_line_argument=yes
9395else
9396  xorg_cv_cc_flag_unused_command_line_argument=no
9397fi
9398rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9399fi
9400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9401$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9402	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9403	CFLAGS="$xorg_testset_save_CFLAGS"
9404fi
9405
9406found="no"
9407
9408	if test $found = "no" ; then
9409		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
9410			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9411		fi
9412
9413		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
9414			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9415		fi
9416
9417		CFLAGS="$CFLAGS -Warray-bounds"
9418
9419		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
9420$as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
9421		cacheid=xorg_cv_cc_flag__Warray_bounds
9422		if eval \${$cacheid+:} false; then :
9423  $as_echo_n "(cached) " >&6
9424else
9425  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9426/* end confdefs.h.  */
9427int i;
9428int
9429main ()
9430{
9431
9432  ;
9433  return 0;
9434}
9435_ACEOF
9436if ac_fn_c_try_link "$LINENO"; then :
9437  eval $cacheid=yes
9438else
9439  eval $cacheid=no
9440fi
9441rm -f core conftest.err conftest.$ac_objext \
9442    conftest$ac_exeext conftest.$ac_ext
9443fi
9444
9445
9446		CFLAGS="$xorg_testset_save_CFLAGS"
9447
9448		eval supported=\$$cacheid
9449		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9450$as_echo "$supported" >&6; }
9451		if test "$supported" = "yes" ; then
9452			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
9453			found="yes"
9454		fi
9455	fi
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471xorg_testset_save_CFLAGS="$CFLAGS"
9472
9473if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9474	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9475	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9476$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9477if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9478  $as_echo_n "(cached) " >&6
9479else
9480  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9481/* end confdefs.h.  */
9482int i;
9483_ACEOF
9484if ac_fn_c_try_compile "$LINENO"; then :
9485  xorg_cv_cc_flag_unknown_warning_option=yes
9486else
9487  xorg_cv_cc_flag_unknown_warning_option=no
9488fi
9489rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9490fi
9491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9492$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9493	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9494	CFLAGS="$xorg_testset_save_CFLAGS"
9495fi
9496
9497if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9498	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9499		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9500	fi
9501	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9502	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9503$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9504if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9505  $as_echo_n "(cached) " >&6
9506else
9507  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9508/* end confdefs.h.  */
9509int i;
9510_ACEOF
9511if ac_fn_c_try_compile "$LINENO"; then :
9512  xorg_cv_cc_flag_unused_command_line_argument=yes
9513else
9514  xorg_cv_cc_flag_unused_command_line_argument=no
9515fi
9516rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9517fi
9518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9519$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9520	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9521	CFLAGS="$xorg_testset_save_CFLAGS"
9522fi
9523
9524found="no"
9525
9526	if test $found = "no" ; then
9527		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
9528			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9529		fi
9530
9531		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
9532			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9533		fi
9534
9535		CFLAGS="$CFLAGS -Wwrite-strings"
9536
9537		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
9538$as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
9539		cacheid=xorg_cv_cc_flag__Wwrite_strings
9540		if eval \${$cacheid+:} false; then :
9541  $as_echo_n "(cached) " >&6
9542else
9543  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9544/* end confdefs.h.  */
9545int i;
9546int
9547main ()
9548{
9549
9550  ;
9551  return 0;
9552}
9553_ACEOF
9554if ac_fn_c_try_link "$LINENO"; then :
9555  eval $cacheid=yes
9556else
9557  eval $cacheid=no
9558fi
9559rm -f core conftest.err conftest.$ac_objext \
9560    conftest$ac_exeext conftest.$ac_ext
9561fi
9562
9563
9564		CFLAGS="$xorg_testset_save_CFLAGS"
9565
9566		eval supported=\$$cacheid
9567		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9568$as_echo "$supported" >&6; }
9569		if test "$supported" = "yes" ; then
9570			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
9571			found="yes"
9572		fi
9573	fi
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589xorg_testset_save_CFLAGS="$CFLAGS"
9590
9591if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9592	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9593	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9594$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9595if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9596  $as_echo_n "(cached) " >&6
9597else
9598  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9599/* end confdefs.h.  */
9600int i;
9601_ACEOF
9602if ac_fn_c_try_compile "$LINENO"; then :
9603  xorg_cv_cc_flag_unknown_warning_option=yes
9604else
9605  xorg_cv_cc_flag_unknown_warning_option=no
9606fi
9607rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9608fi
9609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9610$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9611	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9612	CFLAGS="$xorg_testset_save_CFLAGS"
9613fi
9614
9615if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9616	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9617		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9618	fi
9619	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9620	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9621$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9622if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9623  $as_echo_n "(cached) " >&6
9624else
9625  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9626/* end confdefs.h.  */
9627int i;
9628_ACEOF
9629if ac_fn_c_try_compile "$LINENO"; then :
9630  xorg_cv_cc_flag_unused_command_line_argument=yes
9631else
9632  xorg_cv_cc_flag_unused_command_line_argument=no
9633fi
9634rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9635fi
9636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9637$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9638	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9639	CFLAGS="$xorg_testset_save_CFLAGS"
9640fi
9641
9642found="no"
9643
9644	if test $found = "no" ; then
9645		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
9646			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9647		fi
9648
9649		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
9650			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9651		fi
9652
9653		CFLAGS="$CFLAGS -Waddress"
9654
9655		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
9656$as_echo_n "checking if $CC supports -Waddress... " >&6; }
9657		cacheid=xorg_cv_cc_flag__Waddress
9658		if eval \${$cacheid+:} false; then :
9659  $as_echo_n "(cached) " >&6
9660else
9661  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9662/* end confdefs.h.  */
9663int i;
9664int
9665main ()
9666{
9667
9668  ;
9669  return 0;
9670}
9671_ACEOF
9672if ac_fn_c_try_link "$LINENO"; then :
9673  eval $cacheid=yes
9674else
9675  eval $cacheid=no
9676fi
9677rm -f core conftest.err conftest.$ac_objext \
9678    conftest$ac_exeext conftest.$ac_ext
9679fi
9680
9681
9682		CFLAGS="$xorg_testset_save_CFLAGS"
9683
9684		eval supported=\$$cacheid
9685		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9686$as_echo "$supported" >&6; }
9687		if test "$supported" = "yes" ; then
9688			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
9689			found="yes"
9690		fi
9691	fi
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707xorg_testset_save_CFLAGS="$CFLAGS"
9708
9709if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9710	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9711	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9712$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9713if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9714  $as_echo_n "(cached) " >&6
9715else
9716  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9717/* end confdefs.h.  */
9718int i;
9719_ACEOF
9720if ac_fn_c_try_compile "$LINENO"; then :
9721  xorg_cv_cc_flag_unknown_warning_option=yes
9722else
9723  xorg_cv_cc_flag_unknown_warning_option=no
9724fi
9725rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9726fi
9727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9728$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9729	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9730	CFLAGS="$xorg_testset_save_CFLAGS"
9731fi
9732
9733if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9734	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9735		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9736	fi
9737	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9738	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9739$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9740if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9741  $as_echo_n "(cached) " >&6
9742else
9743  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9744/* end confdefs.h.  */
9745int i;
9746_ACEOF
9747if ac_fn_c_try_compile "$LINENO"; then :
9748  xorg_cv_cc_flag_unused_command_line_argument=yes
9749else
9750  xorg_cv_cc_flag_unused_command_line_argument=no
9751fi
9752rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9753fi
9754{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9755$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9756	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9757	CFLAGS="$xorg_testset_save_CFLAGS"
9758fi
9759
9760found="no"
9761
9762	if test $found = "no" ; then
9763		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
9764			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9765		fi
9766
9767		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
9768			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9769		fi
9770
9771		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
9772
9773		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
9774$as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
9775		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
9776		if eval \${$cacheid+:} false; then :
9777  $as_echo_n "(cached) " >&6
9778else
9779  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9780/* end confdefs.h.  */
9781int i;
9782int
9783main ()
9784{
9785
9786  ;
9787  return 0;
9788}
9789_ACEOF
9790if ac_fn_c_try_link "$LINENO"; then :
9791  eval $cacheid=yes
9792else
9793  eval $cacheid=no
9794fi
9795rm -f core conftest.err conftest.$ac_objext \
9796    conftest$ac_exeext conftest.$ac_ext
9797fi
9798
9799
9800		CFLAGS="$xorg_testset_save_CFLAGS"
9801
9802		eval supported=\$$cacheid
9803		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9804$as_echo "$supported" >&6; }
9805		if test "$supported" = "yes" ; then
9806			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
9807			found="yes"
9808		fi
9809	fi
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825xorg_testset_save_CFLAGS="$CFLAGS"
9826
9827if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9828	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9829	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9830$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9831if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9832  $as_echo_n "(cached) " >&6
9833else
9834  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9835/* end confdefs.h.  */
9836int i;
9837_ACEOF
9838if ac_fn_c_try_compile "$LINENO"; then :
9839  xorg_cv_cc_flag_unknown_warning_option=yes
9840else
9841  xorg_cv_cc_flag_unknown_warning_option=no
9842fi
9843rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9844fi
9845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9846$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9847	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9848	CFLAGS="$xorg_testset_save_CFLAGS"
9849fi
9850
9851if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9852	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9853		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9854	fi
9855	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9856	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9857$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9858if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9859  $as_echo_n "(cached) " >&6
9860else
9861  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9862/* end confdefs.h.  */
9863int i;
9864_ACEOF
9865if ac_fn_c_try_compile "$LINENO"; then :
9866  xorg_cv_cc_flag_unused_command_line_argument=yes
9867else
9868  xorg_cv_cc_flag_unused_command_line_argument=no
9869fi
9870rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9871fi
9872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9873$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9874	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9875	CFLAGS="$xorg_testset_save_CFLAGS"
9876fi
9877
9878found="no"
9879
9880	if test $found = "no" ; then
9881		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
9882			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9883		fi
9884
9885		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
9886			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9887		fi
9888
9889		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
9890
9891		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
9892$as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
9893		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
9894		if eval \${$cacheid+:} false; then :
9895  $as_echo_n "(cached) " >&6
9896else
9897  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9898/* end confdefs.h.  */
9899int i;
9900int
9901main ()
9902{
9903
9904  ;
9905  return 0;
9906}
9907_ACEOF
9908if ac_fn_c_try_link "$LINENO"; then :
9909  eval $cacheid=yes
9910else
9911  eval $cacheid=no
9912fi
9913rm -f core conftest.err conftest.$ac_objext \
9914    conftest$ac_exeext conftest.$ac_ext
9915fi
9916
9917
9918		CFLAGS="$xorg_testset_save_CFLAGS"
9919
9920		eval supported=\$$cacheid
9921		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9922$as_echo "$supported" >&6; }
9923		if test "$supported" = "yes" ; then
9924			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
9925			found="yes"
9926		fi
9927	fi
9928
9929
9930fi
9931
9932
9933
9934
9935
9936
9937
9938		CWARNFLAGS="$BASE_CFLAGS"
9939		if  test "x$GCC" = xyes ; then
9940		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
9941		fi
9942
9943
9944
9945
9946
9947
9948
9949
9950# Check whether --enable-strict-compilation was given.
9951if test "${enable_strict_compilation+set}" = set; then :
9952  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
9953else
9954  STRICT_COMPILE=no
9955fi
9956
9957
9958
9959
9960
9961
9962STRICT_CFLAGS=""
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976xorg_testset_save_CFLAGS="$CFLAGS"
9977
9978if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9979	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9980	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9981$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9982if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9983  $as_echo_n "(cached) " >&6
9984else
9985  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9986/* end confdefs.h.  */
9987int i;
9988_ACEOF
9989if ac_fn_c_try_compile "$LINENO"; then :
9990  xorg_cv_cc_flag_unknown_warning_option=yes
9991else
9992  xorg_cv_cc_flag_unknown_warning_option=no
9993fi
9994rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9995fi
9996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9997$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9998	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9999	CFLAGS="$xorg_testset_save_CFLAGS"
10000fi
10001
10002if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10003	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10004		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10005	fi
10006	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10007	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10008$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10009if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
10010  $as_echo_n "(cached) " >&6
10011else
10012  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10013/* end confdefs.h.  */
10014int i;
10015_ACEOF
10016if ac_fn_c_try_compile "$LINENO"; then :
10017  xorg_cv_cc_flag_unused_command_line_argument=yes
10018else
10019  xorg_cv_cc_flag_unused_command_line_argument=no
10020fi
10021rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10022fi
10023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10024$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10025	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
10026	CFLAGS="$xorg_testset_save_CFLAGS"
10027fi
10028
10029found="no"
10030
10031	if test $found = "no" ; then
10032		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
10033			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10034		fi
10035
10036		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
10037			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10038		fi
10039
10040		CFLAGS="$CFLAGS -pedantic"
10041
10042		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
10043$as_echo_n "checking if $CC supports -pedantic... " >&6; }
10044		cacheid=xorg_cv_cc_flag__pedantic
10045		if eval \${$cacheid+:} false; then :
10046  $as_echo_n "(cached) " >&6
10047else
10048  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10049/* end confdefs.h.  */
10050int i;
10051int
10052main ()
10053{
10054
10055  ;
10056  return 0;
10057}
10058_ACEOF
10059if ac_fn_c_try_link "$LINENO"; then :
10060  eval $cacheid=yes
10061else
10062  eval $cacheid=no
10063fi
10064rm -f core conftest.err conftest.$ac_objext \
10065    conftest$ac_exeext conftest.$ac_ext
10066fi
10067
10068
10069		CFLAGS="$xorg_testset_save_CFLAGS"
10070
10071		eval supported=\$$cacheid
10072		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10073$as_echo "$supported" >&6; }
10074		if test "$supported" = "yes" ; then
10075			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
10076			found="yes"
10077		fi
10078	fi
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094xorg_testset_save_CFLAGS="$CFLAGS"
10095
10096if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10097	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10098	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10099$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10100if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
10101  $as_echo_n "(cached) " >&6
10102else
10103  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10104/* end confdefs.h.  */
10105int i;
10106_ACEOF
10107if ac_fn_c_try_compile "$LINENO"; then :
10108  xorg_cv_cc_flag_unknown_warning_option=yes
10109else
10110  xorg_cv_cc_flag_unknown_warning_option=no
10111fi
10112rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10113fi
10114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10115$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10116	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
10117	CFLAGS="$xorg_testset_save_CFLAGS"
10118fi
10119
10120if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10121	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10122		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10123	fi
10124	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10125	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10126$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10127if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
10128  $as_echo_n "(cached) " >&6
10129else
10130  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10131/* end confdefs.h.  */
10132int i;
10133_ACEOF
10134if ac_fn_c_try_compile "$LINENO"; then :
10135  xorg_cv_cc_flag_unused_command_line_argument=yes
10136else
10137  xorg_cv_cc_flag_unused_command_line_argument=no
10138fi
10139rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10140fi
10141{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10142$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10143	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
10144	CFLAGS="$xorg_testset_save_CFLAGS"
10145fi
10146
10147found="no"
10148
10149	if test $found = "no" ; then
10150		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
10151			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10152		fi
10153
10154		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
10155			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10156		fi
10157
10158		CFLAGS="$CFLAGS -Werror"
10159
10160		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
10161$as_echo_n "checking if $CC supports -Werror... " >&6; }
10162		cacheid=xorg_cv_cc_flag__Werror
10163		if eval \${$cacheid+:} false; then :
10164  $as_echo_n "(cached) " >&6
10165else
10166  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10167/* end confdefs.h.  */
10168int i;
10169int
10170main ()
10171{
10172
10173  ;
10174  return 0;
10175}
10176_ACEOF
10177if ac_fn_c_try_link "$LINENO"; then :
10178  eval $cacheid=yes
10179else
10180  eval $cacheid=no
10181fi
10182rm -f core conftest.err conftest.$ac_objext \
10183    conftest$ac_exeext conftest.$ac_ext
10184fi
10185
10186
10187		CFLAGS="$xorg_testset_save_CFLAGS"
10188
10189		eval supported=\$$cacheid
10190		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10191$as_echo "$supported" >&6; }
10192		if test "$supported" = "yes" ; then
10193			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
10194			found="yes"
10195		fi
10196	fi
10197
10198	if test $found = "no" ; then
10199		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
10200			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10201		fi
10202
10203		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
10204			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10205		fi
10206
10207		CFLAGS="$CFLAGS -errwarn"
10208
10209		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
10210$as_echo_n "checking if $CC supports -errwarn... " >&6; }
10211		cacheid=xorg_cv_cc_flag__errwarn
10212		if eval \${$cacheid+:} false; then :
10213  $as_echo_n "(cached) " >&6
10214else
10215  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10216/* end confdefs.h.  */
10217int i;
10218int
10219main ()
10220{
10221
10222  ;
10223  return 0;
10224}
10225_ACEOF
10226if ac_fn_c_try_link "$LINENO"; then :
10227  eval $cacheid=yes
10228else
10229  eval $cacheid=no
10230fi
10231rm -f core conftest.err conftest.$ac_objext \
10232    conftest$ac_exeext conftest.$ac_ext
10233fi
10234
10235
10236		CFLAGS="$xorg_testset_save_CFLAGS"
10237
10238		eval supported=\$$cacheid
10239		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10240$as_echo "$supported" >&6; }
10241		if test "$supported" = "yes" ; then
10242			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
10243			found="yes"
10244		fi
10245	fi
10246
10247
10248
10249# Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
10250# activate it with -Werror, so we add it here explicitly.
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264xorg_testset_save_CFLAGS="$CFLAGS"
10265
10266if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10267	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10268	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10269$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10270if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
10271  $as_echo_n "(cached) " >&6
10272else
10273  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10274/* end confdefs.h.  */
10275int i;
10276_ACEOF
10277if ac_fn_c_try_compile "$LINENO"; then :
10278  xorg_cv_cc_flag_unknown_warning_option=yes
10279else
10280  xorg_cv_cc_flag_unknown_warning_option=no
10281fi
10282rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10283fi
10284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10285$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10286	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
10287	CFLAGS="$xorg_testset_save_CFLAGS"
10288fi
10289
10290if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10291	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10292		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10293	fi
10294	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10295	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10296$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10297if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
10298  $as_echo_n "(cached) " >&6
10299else
10300  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10301/* end confdefs.h.  */
10302int i;
10303_ACEOF
10304if ac_fn_c_try_compile "$LINENO"; then :
10305  xorg_cv_cc_flag_unused_command_line_argument=yes
10306else
10307  xorg_cv_cc_flag_unused_command_line_argument=no
10308fi
10309rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10310fi
10311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10312$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10313	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
10314	CFLAGS="$xorg_testset_save_CFLAGS"
10315fi
10316
10317found="no"
10318
10319	if test $found = "no" ; then
10320		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
10321			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10322		fi
10323
10324		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
10325			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10326		fi
10327
10328		CFLAGS="$CFLAGS -Werror=attributes"
10329
10330		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
10331$as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
10332		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
10333		if eval \${$cacheid+:} false; then :
10334  $as_echo_n "(cached) " >&6
10335else
10336  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10337/* end confdefs.h.  */
10338int i;
10339int
10340main ()
10341{
10342
10343  ;
10344  return 0;
10345}
10346_ACEOF
10347if ac_fn_c_try_link "$LINENO"; then :
10348  eval $cacheid=yes
10349else
10350  eval $cacheid=no
10351fi
10352rm -f core conftest.err conftest.$ac_objext \
10353    conftest$ac_exeext conftest.$ac_ext
10354fi
10355
10356
10357		CFLAGS="$xorg_testset_save_CFLAGS"
10358
10359		eval supported=\$$cacheid
10360		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10361$as_echo "$supported" >&6; }
10362		if test "$supported" = "yes" ; then
10363			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
10364			found="yes"
10365		fi
10366	fi
10367
10368
10369
10370if test "x$STRICT_COMPILE" = "xyes"; then
10371    BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
10372    CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
10373fi
10374
10375
10376
10377
10378
10379
10380cat >>confdefs.h <<_ACEOF
10381#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
10382_ACEOF
10383
10384	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
10385	if test "x$PVM" = "x"; then
10386		PVM="0"
10387	fi
10388
10389cat >>confdefs.h <<_ACEOF
10390#define PACKAGE_VERSION_MINOR $PVM
10391_ACEOF
10392
10393	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
10394	if test "x$PVP" = "x"; then
10395		PVP="0"
10396	fi
10397
10398cat >>confdefs.h <<_ACEOF
10399#define PACKAGE_VERSION_PATCHLEVEL $PVP
10400_ACEOF
10401
10402
10403
10404CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
10405mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
10406|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
10407echo 'git directory not found: installing possibly empty changelog.' >&2)"
10408
10409
10410
10411
10412macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
10413INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
10414mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
10415|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
10416echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
10417
10418
10419
10420
10421
10422
10423if test x$APP_MAN_SUFFIX = x    ; then
10424    APP_MAN_SUFFIX=1
10425fi
10426if test x$APP_MAN_DIR = x    ; then
10427    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
10428fi
10429
10430if test x$LIB_MAN_SUFFIX = x    ; then
10431    LIB_MAN_SUFFIX=3
10432fi
10433if test x$LIB_MAN_DIR = x    ; then
10434    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
10435fi
10436
10437if test x$FILE_MAN_SUFFIX = x    ; then
10438    case $host_os in
10439	solaris*)	FILE_MAN_SUFFIX=4  ;;
10440	*)		FILE_MAN_SUFFIX=5  ;;
10441    esac
10442fi
10443if test x$FILE_MAN_DIR = x    ; then
10444    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
10445fi
10446
10447if test x$MISC_MAN_SUFFIX = x    ; then
10448    case $host_os in
10449	solaris*)	MISC_MAN_SUFFIX=5  ;;
10450	*)		MISC_MAN_SUFFIX=7  ;;
10451    esac
10452fi
10453if test x$MISC_MAN_DIR = x    ; then
10454    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
10455fi
10456
10457if test x$DRIVER_MAN_SUFFIX = x    ; then
10458    case $host_os in
10459	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
10460	*)		DRIVER_MAN_SUFFIX=4  ;;
10461    esac
10462fi
10463if test x$DRIVER_MAN_DIR = x    ; then
10464    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
10465fi
10466
10467if test x$ADMIN_MAN_SUFFIX = x    ; then
10468    case $host_os in
10469	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
10470	*)		ADMIN_MAN_SUFFIX=8  ;;
10471    esac
10472fi
10473if test x$ADMIN_MAN_DIR = x    ; then
10474    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
10475fi
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491XORG_MAN_PAGE="X Version 11"
10492
10493MAN_SUBSTS="\
10494	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
10495	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
10496	-e 's|__xservername__|Xorg|g' \
10497	-e 's|__xconfigfile__|xorg.conf|g' \
10498	-e 's|__projectroot__|\$(prefix)|g' \
10499	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
10500	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
10501	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
10502	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
10503	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
10504	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
10505	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
10506
10507
10508
10509# Check whether --enable-silent-rules was given.
10510if test "${enable_silent_rules+set}" = set; then :
10511  enableval=$enable_silent_rules;
10512fi
10513
10514case $enable_silent_rules in # (((
10515  yes) AM_DEFAULT_VERBOSITY=0;;
10516   no) AM_DEFAULT_VERBOSITY=1;;
10517    *) AM_DEFAULT_VERBOSITY=0;;
10518esac
10519am_make=${MAKE-make}
10520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
10521$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
10522if ${am_cv_make_support_nested_variables+:} false; then :
10523  $as_echo_n "(cached) " >&6
10524else
10525  if $as_echo 'TRUE=$(BAR$(V))
10526BAR0=false
10527BAR1=true
10528V=1
10529am__doit:
10530	@$(TRUE)
10531.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
10532  am_cv_make_support_nested_variables=yes
10533else
10534  am_cv_make_support_nested_variables=no
10535fi
10536fi
10537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
10538$as_echo "$am_cv_make_support_nested_variables" >&6; }
10539if test $am_cv_make_support_nested_variables = yes; then
10540    AM_V='$(V)'
10541  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
10542else
10543  AM_V=$AM_DEFAULT_VERBOSITY
10544  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
10545fi
10546AM_BACKSLASH='\'
10547
10548
10549
10550if test "x$CC" != xcc; then
10551  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
10552$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
10553else
10554  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
10555$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
10556fi
10557set dummy $CC; ac_cc=`$as_echo "$2" |
10558		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
10559if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
10560  $as_echo_n "(cached) " >&6
10561else
10562  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10563/* end confdefs.h.  */
10564
10565int
10566main ()
10567{
10568
10569  ;
10570  return 0;
10571}
10572_ACEOF
10573# Make sure it works both with $CC and with simple cc.
10574# We do the test twice because some compilers refuse to overwrite an
10575# existing .o file with -o, though they will create one.
10576ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
10577rm -f conftest2.*
10578if { { case "(($ac_try" in
10579  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10580  *) ac_try_echo=$ac_try;;
10581esac
10582eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10583$as_echo "$ac_try_echo"; } >&5
10584  (eval "$ac_try") 2>&5
10585  ac_status=$?
10586  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10587  test $ac_status = 0; } &&
10588   test -f conftest2.$ac_objext && { { case "(($ac_try" in
10589  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10590  *) ac_try_echo=$ac_try;;
10591esac
10592eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10593$as_echo "$ac_try_echo"; } >&5
10594  (eval "$ac_try") 2>&5
10595  ac_status=$?
10596  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10597  test $ac_status = 0; };
10598then
10599  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
10600  if test "x$CC" != xcc; then
10601    # Test first that cc exists at all.
10602    if { ac_try='cc -c conftest.$ac_ext >&5'
10603  { { case "(($ac_try" in
10604  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10605  *) ac_try_echo=$ac_try;;
10606esac
10607eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10608$as_echo "$ac_try_echo"; } >&5
10609  (eval "$ac_try") 2>&5
10610  ac_status=$?
10611  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10612  test $ac_status = 0; }; }; then
10613      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
10614      rm -f conftest2.*
10615      if { { case "(($ac_try" in
10616  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10617  *) ac_try_echo=$ac_try;;
10618esac
10619eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10620$as_echo "$ac_try_echo"; } >&5
10621  (eval "$ac_try") 2>&5
10622  ac_status=$?
10623  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10624  test $ac_status = 0; } &&
10625	 test -f conftest2.$ac_objext && { { case "(($ac_try" in
10626  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10627  *) ac_try_echo=$ac_try;;
10628esac
10629eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10630$as_echo "$ac_try_echo"; } >&5
10631  (eval "$ac_try") 2>&5
10632  ac_status=$?
10633  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10634  test $ac_status = 0; };
10635      then
10636	# cc works too.
10637	:
10638      else
10639	# cc exists but doesn't like -o.
10640	eval ac_cv_prog_cc_${ac_cc}_c_o=no
10641      fi
10642    fi
10643  fi
10644else
10645  eval ac_cv_prog_cc_${ac_cc}_c_o=no
10646fi
10647rm -f core conftest*
10648
10649fi
10650if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
10651  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10652$as_echo "yes" >&6; }
10653else
10654  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10655$as_echo "no" >&6; }
10656
10657$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
10658
10659fi
10660
10661# FIXME: we rely on the cache variable name because
10662# there is no other way.
10663set dummy $CC
10664am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
10665eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
10666if test "$am_t" != yes; then
10667   # Losing compiler, so override with the script.
10668   # FIXME: It is wrong to rewrite CC.
10669   # But if we don't then we get into trouble of one sort or another.
10670   # A longer-term fix would be to have automake use am__CC in this case,
10671   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
10672   CC="$am_aux_dir/compile $CC"
10673fi
10674
10675
10676
10677for ac_func in mkstemp
10678do :
10679  ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
10680if test "x$ac_cv_func_mkstemp" = xyes; then :
10681  cat >>confdefs.h <<_ACEOF
10682#define HAVE_MKSTEMP 1
10683_ACEOF
10684
10685fi
10686done
10687
10688
10689# Math libraries & functions
10690# - some compilers use builtin inlines for floor when optimizing
10691# - lrint() is a C99 addition not found on some older systems
10692# - must do the libm check first so that the lrint check will have it in $LIBS
10693save_LIBS="$LIBS"
10694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5
10695$as_echo_n "checking for library containing floor... " >&6; }
10696if ${ac_cv_search_floor+:} false; then :
10697  $as_echo_n "(cached) " >&6
10698else
10699  ac_func_search_save_LIBS=$LIBS
10700cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10701/* end confdefs.h.  */
10702
10703/* Override any GCC internal prototype to avoid an error.
10704   Use char because int might match the return type of a GCC
10705   builtin and then its argument prototype would still apply.  */
10706#ifdef __cplusplus
10707extern "C"
10708#endif
10709char floor ();
10710int
10711main ()
10712{
10713return floor ();
10714  ;
10715  return 0;
10716}
10717_ACEOF
10718for ac_lib in '' m; do
10719  if test -z "$ac_lib"; then
10720    ac_res="none required"
10721  else
10722    ac_res=-l$ac_lib
10723    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
10724  fi
10725  if ac_fn_c_try_link "$LINENO"; then :
10726  ac_cv_search_floor=$ac_res
10727fi
10728rm -f core conftest.err conftest.$ac_objext \
10729    conftest$ac_exeext
10730  if ${ac_cv_search_floor+:} false; then :
10731  break
10732fi
10733done
10734if ${ac_cv_search_floor+:} false; then :
10735
10736else
10737  ac_cv_search_floor=no
10738fi
10739rm conftest.$ac_ext
10740LIBS=$ac_func_search_save_LIBS
10741fi
10742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floor" >&5
10743$as_echo "$ac_cv_search_floor" >&6; }
10744ac_res=$ac_cv_search_floor
10745if test "$ac_res" != no; then :
10746  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10747
10748fi
10749
10750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing lrint" >&5
10751$as_echo_n "checking for library containing lrint... " >&6; }
10752if ${ac_cv_search_lrint+:} false; then :
10753  $as_echo_n "(cached) " >&6
10754else
10755  ac_func_search_save_LIBS=$LIBS
10756cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10757/* end confdefs.h.  */
10758
10759/* Override any GCC internal prototype to avoid an error.
10760   Use char because int might match the return type of a GCC
10761   builtin and then its argument prototype would still apply.  */
10762#ifdef __cplusplus
10763extern "C"
10764#endif
10765char lrint ();
10766int
10767main ()
10768{
10769return lrint ();
10770  ;
10771  return 0;
10772}
10773_ACEOF
10774for ac_lib in '' m; do
10775  if test -z "$ac_lib"; then
10776    ac_res="none required"
10777  else
10778    ac_res=-l$ac_lib
10779    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
10780  fi
10781  if ac_fn_c_try_link "$LINENO"; then :
10782  ac_cv_search_lrint=$ac_res
10783fi
10784rm -f core conftest.err conftest.$ac_objext \
10785    conftest$ac_exeext
10786  if ${ac_cv_search_lrint+:} false; then :
10787  break
10788fi
10789done
10790if ${ac_cv_search_lrint+:} false; then :
10791
10792else
10793  ac_cv_search_lrint=no
10794fi
10795rm conftest.$ac_ext
10796LIBS=$ac_func_search_save_LIBS
10797fi
10798{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_lrint" >&5
10799$as_echo "$ac_cv_search_lrint" >&6; }
10800ac_res=$ac_cv_search_lrint
10801if test "$ac_res" != no; then :
10802  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10803
10804fi
10805
10806for ac_func in lrint
10807do :
10808  ac_fn_c_check_func "$LINENO" "lrint" "ac_cv_func_lrint"
10809if test "x$ac_cv_func_lrint" = xyes; then :
10810  cat >>confdefs.h <<_ACEOF
10811#define HAVE_LRINT 1
10812_ACEOF
10813
10814fi
10815done
10816
10817MATH_LIBS="$LIBS"
10818LIBS="$save_LIBS"
10819
10820
10821# Obtain compiler/linker options from dependencies
10822
10823pkg_failed=no
10824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BMTOA" >&5
10825$as_echo_n "checking for BMTOA... " >&6; }
10826
10827if test -n "$BMTOA_CFLAGS"; then
10828    pkg_cv_BMTOA_CFLAGS="$BMTOA_CFLAGS"
10829 elif test -n "$PKG_CONFIG"; then
10830    if test -n "$PKG_CONFIG" && \
10831    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xmu xproto >= 7.0.17\""; } >&5
10832  ($PKG_CONFIG --exists --print-errors "x11 xmu xproto >= 7.0.17") 2>&5
10833  ac_status=$?
10834  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10835  test $ac_status = 0; }; then
10836  pkg_cv_BMTOA_CFLAGS=`$PKG_CONFIG --cflags "x11 xmu xproto >= 7.0.17" 2>/dev/null`
10837else
10838  pkg_failed=yes
10839fi
10840 else
10841    pkg_failed=untried
10842fi
10843if test -n "$BMTOA_LIBS"; then
10844    pkg_cv_BMTOA_LIBS="$BMTOA_LIBS"
10845 elif test -n "$PKG_CONFIG"; then
10846    if test -n "$PKG_CONFIG" && \
10847    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xmu xproto >= 7.0.17\""; } >&5
10848  ($PKG_CONFIG --exists --print-errors "x11 xmu xproto >= 7.0.17") 2>&5
10849  ac_status=$?
10850  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10851  test $ac_status = 0; }; then
10852  pkg_cv_BMTOA_LIBS=`$PKG_CONFIG --libs "x11 xmu xproto >= 7.0.17" 2>/dev/null`
10853else
10854  pkg_failed=yes
10855fi
10856 else
10857    pkg_failed=untried
10858fi
10859
10860
10861
10862if test $pkg_failed = yes; then
10863
10864if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10865        _pkg_short_errors_supported=yes
10866else
10867        _pkg_short_errors_supported=no
10868fi
10869        if test $_pkg_short_errors_supported = yes; then
10870	        BMTOA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xmu xproto >= 7.0.17" 2>&1`
10871        else
10872	        BMTOA_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xmu xproto >= 7.0.17" 2>&1`
10873        fi
10874	# Put the nasty error message in config.log where it belongs
10875	echo "$BMTOA_PKG_ERRORS" >&5
10876
10877	as_fn_error $? "Package requirements (x11 xmu xproto >= 7.0.17) were not met:
10878
10879$BMTOA_PKG_ERRORS
10880
10881Consider adjusting the PKG_CONFIG_PATH environment variable if you
10882installed software in a non-standard prefix.
10883
10884Alternatively, you may set the environment variables BMTOA_CFLAGS
10885and BMTOA_LIBS to avoid the need to call pkg-config.
10886See the pkg-config man page for more details.
10887" "$LINENO" 5
10888elif test $pkg_failed = untried; then
10889	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10890$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10891as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
10892is in your PATH or set the PKG_CONFIG environment variable to the full
10893path to pkg-config.
10894
10895Alternatively, you may set the environment variables BMTOA_CFLAGS
10896and BMTOA_LIBS to avoid the need to call pkg-config.
10897See the pkg-config man page for more details.
10898
10899To get pkg-config, see <http://pkg-config.freedesktop.org/>.
10900See \`config.log' for more details" "$LINENO" 5; }
10901else
10902	BMTOA_CFLAGS=$pkg_cv_BMTOA_CFLAGS
10903	BMTOA_LIBS=$pkg_cv_BMTOA_LIBS
10904        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10905$as_echo "yes" >&6; }
10906	:
10907fi
10908
10909pkg_failed=no
10910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATOBM" >&5
10911$as_echo_n "checking for ATOBM... " >&6; }
10912
10913if test -n "$ATOBM_CFLAGS"; then
10914    pkg_cv_ATOBM_CFLAGS="$ATOBM_CFLAGS"
10915 elif test -n "$PKG_CONFIG"; then
10916    if test -n "$PKG_CONFIG" && \
10917    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.17\""; } >&5
10918  ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.17") 2>&5
10919  ac_status=$?
10920  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10921  test $ac_status = 0; }; then
10922  pkg_cv_ATOBM_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.17" 2>/dev/null`
10923else
10924  pkg_failed=yes
10925fi
10926 else
10927    pkg_failed=untried
10928fi
10929if test -n "$ATOBM_LIBS"; then
10930    pkg_cv_ATOBM_LIBS="$ATOBM_LIBS"
10931 elif test -n "$PKG_CONFIG"; then
10932    if test -n "$PKG_CONFIG" && \
10933    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.17\""; } >&5
10934  ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.17") 2>&5
10935  ac_status=$?
10936  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10937  test $ac_status = 0; }; then
10938  pkg_cv_ATOBM_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.17" 2>/dev/null`
10939else
10940  pkg_failed=yes
10941fi
10942 else
10943    pkg_failed=untried
10944fi
10945
10946
10947
10948if test $pkg_failed = yes; then
10949
10950if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10951        _pkg_short_errors_supported=yes
10952else
10953        _pkg_short_errors_supported=no
10954fi
10955        if test $_pkg_short_errors_supported = yes; then
10956	        ATOBM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto >= 7.0.17" 2>&1`
10957        else
10958	        ATOBM_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto >= 7.0.17" 2>&1`
10959        fi
10960	# Put the nasty error message in config.log where it belongs
10961	echo "$ATOBM_PKG_ERRORS" >&5
10962
10963	as_fn_error $? "Package requirements (xproto >= 7.0.17) were not met:
10964
10965$ATOBM_PKG_ERRORS
10966
10967Consider adjusting the PKG_CONFIG_PATH environment variable if you
10968installed software in a non-standard prefix.
10969
10970Alternatively, you may set the environment variables ATOBM_CFLAGS
10971and ATOBM_LIBS to avoid the need to call pkg-config.
10972See the pkg-config man page for more details.
10973" "$LINENO" 5
10974elif test $pkg_failed = untried; then
10975	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10976$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10977as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
10978is in your PATH or set the PKG_CONFIG environment variable to the full
10979path to pkg-config.
10980
10981Alternatively, you may set the environment variables ATOBM_CFLAGS
10982and ATOBM_LIBS to avoid the need to call pkg-config.
10983See the pkg-config man page for more details.
10984
10985To get pkg-config, see <http://pkg-config.freedesktop.org/>.
10986See \`config.log' for more details" "$LINENO" 5; }
10987else
10988	ATOBM_CFLAGS=$pkg_cv_ATOBM_CFLAGS
10989	ATOBM_LIBS=$pkg_cv_ATOBM_LIBS
10990        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10991$as_echo "yes" >&6; }
10992	:
10993fi
10994
10995pkg_failed=no
10996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BITMAP" >&5
10997$as_echo_n "checking for BITMAP... " >&6; }
10998
10999if test -n "$BITMAP_CFLAGS"; then
11000    pkg_cv_BITMAP_CFLAGS="$BITMAP_CFLAGS"
11001 elif test -n "$PKG_CONFIG"; then
11002    if test -n "$PKG_CONFIG" && \
11003    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xbitmaps xaw7 xmu\""; } >&5
11004  ($PKG_CONFIG --exists --print-errors "xbitmaps xaw7 xmu") 2>&5
11005  ac_status=$?
11006  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11007  test $ac_status = 0; }; then
11008  pkg_cv_BITMAP_CFLAGS=`$PKG_CONFIG --cflags "xbitmaps xaw7 xmu" 2>/dev/null`
11009else
11010  pkg_failed=yes
11011fi
11012 else
11013    pkg_failed=untried
11014fi
11015if test -n "$BITMAP_LIBS"; then
11016    pkg_cv_BITMAP_LIBS="$BITMAP_LIBS"
11017 elif test -n "$PKG_CONFIG"; then
11018    if test -n "$PKG_CONFIG" && \
11019    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xbitmaps xaw7 xmu\""; } >&5
11020  ($PKG_CONFIG --exists --print-errors "xbitmaps xaw7 xmu") 2>&5
11021  ac_status=$?
11022  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11023  test $ac_status = 0; }; then
11024  pkg_cv_BITMAP_LIBS=`$PKG_CONFIG --libs "xbitmaps xaw7 xmu" 2>/dev/null`
11025else
11026  pkg_failed=yes
11027fi
11028 else
11029    pkg_failed=untried
11030fi
11031
11032
11033
11034if test $pkg_failed = yes; then
11035
11036if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11037        _pkg_short_errors_supported=yes
11038else
11039        _pkg_short_errors_supported=no
11040fi
11041        if test $_pkg_short_errors_supported = yes; then
11042	        BITMAP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xbitmaps xaw7 xmu" 2>&1`
11043        else
11044	        BITMAP_PKG_ERRORS=`$PKG_CONFIG --print-errors "xbitmaps xaw7 xmu" 2>&1`
11045        fi
11046	# Put the nasty error message in config.log where it belongs
11047	echo "$BITMAP_PKG_ERRORS" >&5
11048
11049	as_fn_error $? "Package requirements (xbitmaps xaw7 xmu) were not met:
11050
11051$BITMAP_PKG_ERRORS
11052
11053Consider adjusting the PKG_CONFIG_PATH environment variable if you
11054installed software in a non-standard prefix.
11055
11056Alternatively, you may set the environment variables BITMAP_CFLAGS
11057and BITMAP_LIBS to avoid the need to call pkg-config.
11058See the pkg-config man page for more details.
11059" "$LINENO" 5
11060elif test $pkg_failed = untried; then
11061	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11062$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11063as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11064is in your PATH or set the PKG_CONFIG environment variable to the full
11065path to pkg-config.
11066
11067Alternatively, you may set the environment variables BITMAP_CFLAGS
11068and BITMAP_LIBS to avoid the need to call pkg-config.
11069See the pkg-config man page for more details.
11070
11071To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11072See \`config.log' for more details" "$LINENO" 5; }
11073else
11074	BITMAP_CFLAGS=$pkg_cv_BITMAP_CFLAGS
11075	BITMAP_LIBS=$pkg_cv_BITMAP_LIBS
11076        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11077$as_echo "yes" >&6; }
11078	:
11079fi
11080
11081
11082pkg_failed=no
11083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
11084$as_echo_n "checking for APPDEFS... " >&6; }
11085
11086if test -n "$APPDEFS_CFLAGS"; then
11087    pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
11088 elif test -n "$PKG_CONFIG"; then
11089    if test -n "$PKG_CONFIG" && \
11090    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
11091  ($PKG_CONFIG --exists --print-errors "xt") 2>&5
11092  ac_status=$?
11093  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11094  test $ac_status = 0; }; then
11095  pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
11096else
11097  pkg_failed=yes
11098fi
11099 else
11100    pkg_failed=untried
11101fi
11102if test -n "$APPDEFS_LIBS"; then
11103    pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
11104 elif test -n "$PKG_CONFIG"; then
11105    if test -n "$PKG_CONFIG" && \
11106    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
11107  ($PKG_CONFIG --exists --print-errors "xt") 2>&5
11108  ac_status=$?
11109  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11110  test $ac_status = 0; }; then
11111  pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
11112else
11113  pkg_failed=yes
11114fi
11115 else
11116    pkg_failed=untried
11117fi
11118
11119
11120
11121if test $pkg_failed = yes; then
11122
11123if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11124        _pkg_short_errors_supported=yes
11125else
11126        _pkg_short_errors_supported=no
11127fi
11128        if test $_pkg_short_errors_supported = yes; then
11129	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xt" 2>&1`
11130        else
11131	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors "xt" 2>&1`
11132        fi
11133	# Put the nasty error message in config.log where it belongs
11134	echo "$APPDEFS_PKG_ERRORS" >&5
11135
11136	as_fn_error $? "Package requirements (xt) were not met:
11137
11138$APPDEFS_PKG_ERRORS
11139
11140Consider adjusting the PKG_CONFIG_PATH environment variable if you
11141installed software in a non-standard prefix.
11142
11143Alternatively, you may set the environment variables APPDEFS_CFLAGS
11144and APPDEFS_LIBS to avoid the need to call pkg-config.
11145See the pkg-config man page for more details.
11146" "$LINENO" 5
11147elif test $pkg_failed = untried; then
11148	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11149$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11150as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11151is in your PATH or set the PKG_CONFIG environment variable to the full
11152path to pkg-config.
11153
11154Alternatively, you may set the environment variables APPDEFS_CFLAGS
11155and APPDEFS_LIBS to avoid the need to call pkg-config.
11156See the pkg-config man page for more details.
11157
11158To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11159See \`config.log' for more details" "$LINENO" 5; }
11160else
11161	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
11162	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
11163        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11164$as_echo "yes" >&6; }
11165	:
11166fi
11167xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
11168
11169# Check whether --with-appdefaultdir was given.
11170if test "${with_appdefaultdir+set}" = set; then :
11171  withval=$with_appdefaultdir; appdefaultdir="$withval"
11172else
11173  appdefaultdir="${xt_appdefaultdir}"
11174fi
11175
11176
11177
11178ac_config_files="$ac_config_files Makefile man/Makefile"
11179
11180cat >confcache <<\_ACEOF
11181# This file is a shell script that caches the results of configure
11182# tests run on this system so they can be shared between configure
11183# scripts and configure runs, see configure's option --config-cache.
11184# It is not useful on other systems.  If it contains results you don't
11185# want to keep, you may remove or edit it.
11186#
11187# config.status only pays attention to the cache file if you give it
11188# the --recheck option to rerun configure.
11189#
11190# `ac_cv_env_foo' variables (set or unset) will be overridden when
11191# loading this file, other *unset* `ac_cv_foo' will be assigned the
11192# following values.
11193
11194_ACEOF
11195
11196# The following way of writing the cache mishandles newlines in values,
11197# but we know of no workaround that is simple, portable, and efficient.
11198# So, we kill variables containing newlines.
11199# Ultrix sh set writes to stderr and can't be redirected directly,
11200# and sets the high bit in the cache file unless we assign to the vars.
11201(
11202  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11203    eval ac_val=\$$ac_var
11204    case $ac_val in #(
11205    *${as_nl}*)
11206      case $ac_var in #(
11207      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11208$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11209      esac
11210      case $ac_var in #(
11211      _ | IFS | as_nl) ;; #(
11212      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11213      *) { eval $ac_var=; unset $ac_var;} ;;
11214      esac ;;
11215    esac
11216  done
11217
11218  (set) 2>&1 |
11219    case $as_nl`(ac_space=' '; set) 2>&1` in #(
11220    *${as_nl}ac_space=\ *)
11221      # `set' does not quote correctly, so add quotes: double-quote
11222      # substitution turns \\\\ into \\, and sed turns \\ into \.
11223      sed -n \
11224	"s/'/'\\\\''/g;
11225	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11226      ;; #(
11227    *)
11228      # `set' quotes correctly as required by POSIX, so do not add quotes.
11229      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11230      ;;
11231    esac |
11232    sort
11233) |
11234  sed '
11235     /^ac_cv_env_/b end
11236     t clear
11237     :clear
11238     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11239     t end
11240     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11241     :end' >>confcache
11242if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11243  if test -w "$cache_file"; then
11244    if test "x$cache_file" != "x/dev/null"; then
11245      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11246$as_echo "$as_me: updating cache $cache_file" >&6;}
11247      if test ! -f "$cache_file" || test -h "$cache_file"; then
11248	cat confcache >"$cache_file"
11249      else
11250        case $cache_file in #(
11251        */* | ?:*)
11252	  mv -f confcache "$cache_file"$$ &&
11253	  mv -f "$cache_file"$$ "$cache_file" ;; #(
11254        *)
11255	  mv -f confcache "$cache_file" ;;
11256	esac
11257      fi
11258    fi
11259  else
11260    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11261$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11262  fi
11263fi
11264rm -f confcache
11265
11266test "x$prefix" = xNONE && prefix=$ac_default_prefix
11267# Let make expand exec_prefix.
11268test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11269
11270DEFS=-DHAVE_CONFIG_H
11271
11272ac_libobjs=
11273ac_ltlibobjs=
11274U=
11275for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11276  # 1. Remove the extension, and $U if already installed.
11277  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11278  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11279  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
11280  #    will be set to the directory where LIBOBJS objects are built.
11281  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11282  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11283done
11284LIBOBJS=$ac_libobjs
11285
11286LTLIBOBJS=$ac_ltlibobjs
11287
11288
11289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
11290$as_echo_n "checking that generated files are newer than configure... " >&6; }
11291   if test -n "$am_sleep_pid"; then
11292     # Hide warnings about reused PIDs.
11293     wait $am_sleep_pid 2>/dev/null
11294   fi
11295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
11296$as_echo "done" >&6; }
11297 if test -n "$EXEEXT"; then
11298  am__EXEEXT_TRUE=
11299  am__EXEEXT_FALSE='#'
11300else
11301  am__EXEEXT_TRUE='#'
11302  am__EXEEXT_FALSE=
11303fi
11304
11305if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11306  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
11307Usually this means the macro was only invoked conditionally." "$LINENO" 5
11308fi
11309if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11310  as_fn_error $? "conditional \"AMDEP\" was never defined.
11311Usually this means the macro was only invoked conditionally." "$LINENO" 5
11312fi
11313if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11314  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
11315Usually this means the macro was only invoked conditionally." "$LINENO" 5
11316fi
11317
11318: "${CONFIG_STATUS=./config.status}"
11319ac_write_fail=0
11320ac_clean_files_save=$ac_clean_files
11321ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11322{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11323$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11324as_write_fail=0
11325cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11326#! $SHELL
11327# Generated by $as_me.
11328# Run this file to recreate the current configuration.
11329# Compiler output produced by configure, useful for debugging
11330# configure, is in config.log if it exists.
11331
11332debug=false
11333ac_cs_recheck=false
11334ac_cs_silent=false
11335
11336SHELL=\${CONFIG_SHELL-$SHELL}
11337export SHELL
11338_ASEOF
11339cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
11340## -------------------- ##
11341## M4sh Initialization. ##
11342## -------------------- ##
11343
11344# Be more Bourne compatible
11345DUALCASE=1; export DUALCASE # for MKS sh
11346if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11347  emulate sh
11348  NULLCMD=:
11349  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11350  # is contrary to our usage.  Disable this feature.
11351  alias -g '${1+"$@"}'='"$@"'
11352  setopt NO_GLOB_SUBST
11353else
11354  case `(set -o) 2>/dev/null` in #(
11355  *posix*) :
11356    set -o posix ;; #(
11357  *) :
11358     ;;
11359esac
11360fi
11361
11362
11363as_nl='
11364'
11365export as_nl
11366# Printing a long string crashes Solaris 7 /usr/bin/printf.
11367as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11368as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11369as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11370# Prefer a ksh shell builtin over an external printf program on Solaris,
11371# but without wasting forks for bash or zsh.
11372if test -z "$BASH_VERSION$ZSH_VERSION" \
11373    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11374  as_echo='print -r --'
11375  as_echo_n='print -rn --'
11376elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11377  as_echo='printf %s\n'
11378  as_echo_n='printf %s'
11379else
11380  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11381    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11382    as_echo_n='/usr/ucb/echo -n'
11383  else
11384    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11385    as_echo_n_body='eval
11386      arg=$1;
11387      case $arg in #(
11388      *"$as_nl"*)
11389	expr "X$arg" : "X\\(.*\\)$as_nl";
11390	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11391      esac;
11392      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11393    '
11394    export as_echo_n_body
11395    as_echo_n='sh -c $as_echo_n_body as_echo'
11396  fi
11397  export as_echo_body
11398  as_echo='sh -c $as_echo_body as_echo'
11399fi
11400
11401# The user is always right.
11402if test "${PATH_SEPARATOR+set}" != set; then
11403  PATH_SEPARATOR=:
11404  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11405    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11406      PATH_SEPARATOR=';'
11407  }
11408fi
11409
11410
11411# IFS
11412# We need space, tab and new line, in precisely that order.  Quoting is
11413# there to prevent editors from complaining about space-tab.
11414# (If _AS_PATH_WALK were called with IFS unset, it would disable word
11415# splitting by setting IFS to empty value.)
11416IFS=" ""	$as_nl"
11417
11418# Find who we are.  Look in the path if we contain no directory separator.
11419as_myself=
11420case $0 in #((
11421  *[\\/]* ) as_myself=$0 ;;
11422  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11423for as_dir in $PATH
11424do
11425  IFS=$as_save_IFS
11426  test -z "$as_dir" && as_dir=.
11427    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11428  done
11429IFS=$as_save_IFS
11430
11431     ;;
11432esac
11433# We did not find ourselves, most probably we were run as `sh COMMAND'
11434# in which case we are not to be found in the path.
11435if test "x$as_myself" = x; then
11436  as_myself=$0
11437fi
11438if test ! -f "$as_myself"; then
11439  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11440  exit 1
11441fi
11442
11443# Unset variables that we do not need and which cause bugs (e.g. in
11444# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
11445# suppresses any "Segmentation fault" message there.  '((' could
11446# trigger a bug in pdksh 5.2.14.
11447for as_var in BASH_ENV ENV MAIL MAILPATH
11448do eval test x\${$as_var+set} = xset \
11449  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11450done
11451PS1='$ '
11452PS2='> '
11453PS4='+ '
11454
11455# NLS nuisances.
11456LC_ALL=C
11457export LC_ALL
11458LANGUAGE=C
11459export LANGUAGE
11460
11461# CDPATH.
11462(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11463
11464
11465# as_fn_error STATUS ERROR [LINENO LOG_FD]
11466# ----------------------------------------
11467# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11468# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11469# script with STATUS, using 1 if that was 0.
11470as_fn_error ()
11471{
11472  as_status=$1; test $as_status -eq 0 && as_status=1
11473  if test "$4"; then
11474    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11475    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11476  fi
11477  $as_echo "$as_me: error: $2" >&2
11478  as_fn_exit $as_status
11479} # as_fn_error
11480
11481
11482# as_fn_set_status STATUS
11483# -----------------------
11484# Set $? to STATUS, without forking.
11485as_fn_set_status ()
11486{
11487  return $1
11488} # as_fn_set_status
11489
11490# as_fn_exit STATUS
11491# -----------------
11492# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11493as_fn_exit ()
11494{
11495  set +e
11496  as_fn_set_status $1
11497  exit $1
11498} # as_fn_exit
11499
11500# as_fn_unset VAR
11501# ---------------
11502# Portably unset VAR.
11503as_fn_unset ()
11504{
11505  { eval $1=; unset $1;}
11506}
11507as_unset=as_fn_unset
11508# as_fn_append VAR VALUE
11509# ----------------------
11510# Append the text in VALUE to the end of the definition contained in VAR. Take
11511# advantage of any shell optimizations that allow amortized linear growth over
11512# repeated appends, instead of the typical quadratic growth present in naive
11513# implementations.
11514if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11515  eval 'as_fn_append ()
11516  {
11517    eval $1+=\$2
11518  }'
11519else
11520  as_fn_append ()
11521  {
11522    eval $1=\$$1\$2
11523  }
11524fi # as_fn_append
11525
11526# as_fn_arith ARG...
11527# ------------------
11528# Perform arithmetic evaluation on the ARGs, and store the result in the
11529# global $as_val. Take advantage of shells that can avoid forks. The arguments
11530# must be portable across $(()) and expr.
11531if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
11532  eval 'as_fn_arith ()
11533  {
11534    as_val=$(( $* ))
11535  }'
11536else
11537  as_fn_arith ()
11538  {
11539    as_val=`expr "$@" || test $? -eq 1`
11540  }
11541fi # as_fn_arith
11542
11543
11544if expr a : '\(a\)' >/dev/null 2>&1 &&
11545   test "X`expr 00001 : '.*\(...\)'`" = X001; then
11546  as_expr=expr
11547else
11548  as_expr=false
11549fi
11550
11551if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11552  as_basename=basename
11553else
11554  as_basename=false
11555fi
11556
11557if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11558  as_dirname=dirname
11559else
11560  as_dirname=false
11561fi
11562
11563as_me=`$as_basename -- "$0" ||
11564$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11565	 X"$0" : 'X\(//\)$' \| \
11566	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11567$as_echo X/"$0" |
11568    sed '/^.*\/\([^/][^/]*\)\/*$/{
11569	    s//\1/
11570	    q
11571	  }
11572	  /^X\/\(\/\/\)$/{
11573	    s//\1/
11574	    q
11575	  }
11576	  /^X\/\(\/\).*/{
11577	    s//\1/
11578	    q
11579	  }
11580	  s/.*/./; q'`
11581
11582# Avoid depending upon Character Ranges.
11583as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11584as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11585as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11586as_cr_digits='0123456789'
11587as_cr_alnum=$as_cr_Letters$as_cr_digits
11588
11589ECHO_C= ECHO_N= ECHO_T=
11590case `echo -n x` in #(((((
11591-n*)
11592  case `echo 'xy\c'` in
11593  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
11594  xy)  ECHO_C='\c';;
11595  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
11596       ECHO_T='	';;
11597  esac;;
11598*)
11599  ECHO_N='-n';;
11600esac
11601
11602rm -f conf$$ conf$$.exe conf$$.file
11603if test -d conf$$.dir; then
11604  rm -f conf$$.dir/conf$$.file
11605else
11606  rm -f conf$$.dir
11607  mkdir conf$$.dir 2>/dev/null
11608fi
11609if (echo >conf$$.file) 2>/dev/null; then
11610  if ln -s conf$$.file conf$$ 2>/dev/null; then
11611    as_ln_s='ln -s'
11612    # ... but there are two gotchas:
11613    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11614    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11615    # In both cases, we have to default to `cp -p'.
11616    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11617      as_ln_s='cp -p'
11618  elif ln conf$$.file conf$$ 2>/dev/null; then
11619    as_ln_s=ln
11620  else
11621    as_ln_s='cp -p'
11622  fi
11623else
11624  as_ln_s='cp -p'
11625fi
11626rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11627rmdir conf$$.dir 2>/dev/null
11628
11629
11630# as_fn_mkdir_p
11631# -------------
11632# Create "$as_dir" as a directory, including parents if necessary.
11633as_fn_mkdir_p ()
11634{
11635
11636  case $as_dir in #(
11637  -*) as_dir=./$as_dir;;
11638  esac
11639  test -d "$as_dir" || eval $as_mkdir_p || {
11640    as_dirs=
11641    while :; do
11642      case $as_dir in #(
11643      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11644      *) as_qdir=$as_dir;;
11645      esac
11646      as_dirs="'$as_qdir' $as_dirs"
11647      as_dir=`$as_dirname -- "$as_dir" ||
11648$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11649	 X"$as_dir" : 'X\(//\)[^/]' \| \
11650	 X"$as_dir" : 'X\(//\)$' \| \
11651	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11652$as_echo X"$as_dir" |
11653    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11654	    s//\1/
11655	    q
11656	  }
11657	  /^X\(\/\/\)[^/].*/{
11658	    s//\1/
11659	    q
11660	  }
11661	  /^X\(\/\/\)$/{
11662	    s//\1/
11663	    q
11664	  }
11665	  /^X\(\/\).*/{
11666	    s//\1/
11667	    q
11668	  }
11669	  s/.*/./; q'`
11670      test -d "$as_dir" && break
11671    done
11672    test -z "$as_dirs" || eval "mkdir $as_dirs"
11673  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
11674
11675
11676} # as_fn_mkdir_p
11677if mkdir -p . 2>/dev/null; then
11678  as_mkdir_p='mkdir -p "$as_dir"'
11679else
11680  test -d ./-p && rmdir ./-p
11681  as_mkdir_p=false
11682fi
11683
11684if test -x / >/dev/null 2>&1; then
11685  as_test_x='test -x'
11686else
11687  if ls -dL / >/dev/null 2>&1; then
11688    as_ls_L_option=L
11689  else
11690    as_ls_L_option=
11691  fi
11692  as_test_x='
11693    eval sh -c '\''
11694      if test -d "$1"; then
11695	test -d "$1/.";
11696      else
11697	case $1 in #(
11698	-*)set "./$1";;
11699	esac;
11700	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11701	???[sx]*):;;*)false;;esac;fi
11702    '\'' sh
11703  '
11704fi
11705as_executable_p=$as_test_x
11706
11707# Sed expression to map a string onto a valid CPP name.
11708as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11709
11710# Sed expression to map a string onto a valid variable name.
11711as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11712
11713
11714exec 6>&1
11715## ----------------------------------- ##
11716## Main body of $CONFIG_STATUS script. ##
11717## ----------------------------------- ##
11718_ASEOF
11719test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
11720
11721cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11722# Save the log message, to keep $0 and so on meaningful, and to
11723# report actual input values of CONFIG_FILES etc. instead of their
11724# values after options handling.
11725ac_log="
11726This file was extended by bitmap $as_me 1.0.7, which was
11727generated by GNU Autoconf 2.68.  Invocation command line was
11728
11729  CONFIG_FILES    = $CONFIG_FILES
11730  CONFIG_HEADERS  = $CONFIG_HEADERS
11731  CONFIG_LINKS    = $CONFIG_LINKS
11732  CONFIG_COMMANDS = $CONFIG_COMMANDS
11733  $ $0 $@
11734
11735on `(hostname || uname -n) 2>/dev/null | sed 1q`
11736"
11737
11738_ACEOF
11739
11740case $ac_config_files in *"
11741"*) set x $ac_config_files; shift; ac_config_files=$*;;
11742esac
11743
11744case $ac_config_headers in *"
11745"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
11746esac
11747
11748
11749cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11750# Files that config.status was made for.
11751config_files="$ac_config_files"
11752config_headers="$ac_config_headers"
11753config_commands="$ac_config_commands"
11754
11755_ACEOF
11756
11757cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11758ac_cs_usage="\
11759\`$as_me' instantiates files and other configuration actions
11760from templates according to the current configuration.  Unless the files
11761and actions are specified as TAGs, all are instantiated by default.
11762
11763Usage: $0 [OPTION]... [TAG]...
11764
11765  -h, --help       print this help, then exit
11766  -V, --version    print version number and configuration settings, then exit
11767      --config     print configuration, then exit
11768  -q, --quiet, --silent
11769                   do not print progress messages
11770  -d, --debug      don't remove temporary files
11771      --recheck    update $as_me by reconfiguring in the same conditions
11772      --file=FILE[:TEMPLATE]
11773                   instantiate the configuration file FILE
11774      --header=FILE[:TEMPLATE]
11775                   instantiate the configuration header FILE
11776
11777Configuration files:
11778$config_files
11779
11780Configuration headers:
11781$config_headers
11782
11783Configuration commands:
11784$config_commands
11785
11786Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
11787
11788_ACEOF
11789cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11790ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11791ac_cs_version="\\
11792bitmap config.status 1.0.7
11793configured by $0, generated by GNU Autoconf 2.68,
11794  with options \\"\$ac_cs_config\\"
11795
11796Copyright (C) 2010 Free Software Foundation, Inc.
11797This config.status script is free software; the Free Software Foundation
11798gives unlimited permission to copy, distribute and modify it."
11799
11800ac_pwd='$ac_pwd'
11801srcdir='$srcdir'
11802INSTALL='$INSTALL'
11803MKDIR_P='$MKDIR_P'
11804AWK='$AWK'
11805test -n "\$AWK" || AWK=awk
11806_ACEOF
11807
11808cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11809# The default lists apply if the user does not specify any file.
11810ac_need_defaults=:
11811while test $# != 0
11812do
11813  case $1 in
11814  --*=?*)
11815    ac_option=`expr "X$1" : 'X\([^=]*\)='`
11816    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11817    ac_shift=:
11818    ;;
11819  --*=)
11820    ac_option=`expr "X$1" : 'X\([^=]*\)='`
11821    ac_optarg=
11822    ac_shift=:
11823    ;;
11824  *)
11825    ac_option=$1
11826    ac_optarg=$2
11827    ac_shift=shift
11828    ;;
11829  esac
11830
11831  case $ac_option in
11832  # Handling of the options.
11833  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11834    ac_cs_recheck=: ;;
11835  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11836    $as_echo "$ac_cs_version"; exit ;;
11837  --config | --confi | --conf | --con | --co | --c )
11838    $as_echo "$ac_cs_config"; exit ;;
11839  --debug | --debu | --deb | --de | --d | -d )
11840    debug=: ;;
11841  --file | --fil | --fi | --f )
11842    $ac_shift
11843    case $ac_optarg in
11844    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11845    '') as_fn_error $? "missing file argument" ;;
11846    esac
11847    as_fn_append CONFIG_FILES " '$ac_optarg'"
11848    ac_need_defaults=false;;
11849  --header | --heade | --head | --hea )
11850    $ac_shift
11851    case $ac_optarg in
11852    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11853    esac
11854    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
11855    ac_need_defaults=false;;
11856  --he | --h)
11857    # Conflict between --help and --header
11858    as_fn_error $? "ambiguous option: \`$1'
11859Try \`$0 --help' for more information.";;
11860  --help | --hel | -h )
11861    $as_echo "$ac_cs_usage"; exit ;;
11862  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11863  | -silent | --silent | --silen | --sile | --sil | --si | --s)
11864    ac_cs_silent=: ;;
11865
11866  # This is an error.
11867  -*) as_fn_error $? "unrecognized option: \`$1'
11868Try \`$0 --help' for more information." ;;
11869
11870  *) as_fn_append ac_config_targets " $1"
11871     ac_need_defaults=false ;;
11872
11873  esac
11874  shift
11875done
11876
11877ac_configure_extra_args=
11878
11879if $ac_cs_silent; then
11880  exec 6>/dev/null
11881  ac_configure_extra_args="$ac_configure_extra_args --silent"
11882fi
11883
11884_ACEOF
11885cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11886if \$ac_cs_recheck; then
11887  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11888  shift
11889  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11890  CONFIG_SHELL='$SHELL'
11891  export CONFIG_SHELL
11892  exec "\$@"
11893fi
11894
11895_ACEOF
11896cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11897exec 5>>config.log
11898{
11899  echo
11900  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11901## Running $as_me. ##
11902_ASBOX
11903  $as_echo "$ac_log"
11904} >&5
11905
11906_ACEOF
11907cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11908#
11909# INIT-COMMANDS
11910#
11911AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11912
11913_ACEOF
11914
11915cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11916
11917# Handling of arguments.
11918for ac_config_target in $ac_config_targets
11919do
11920  case $ac_config_target in
11921    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
11922    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
11923    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11924    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
11925
11926  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
11927  esac
11928done
11929
11930
11931# If the user did not use the arguments to specify the items to instantiate,
11932# then the envvar interface is used.  Set only those that are not.
11933# We use the long form for the default assignment because of an extremely
11934# bizarre bug on SunOS 4.1.3.
11935if $ac_need_defaults; then
11936  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11937  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11938  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
11939fi
11940
11941# Have a temporary directory for convenience.  Make it in the build tree
11942# simply because there is no reason against having it here, and in addition,
11943# creating and moving files from /tmp can sometimes cause problems.
11944# Hook for its removal unless debugging.
11945# Note that there is a small window in which the directory will not be cleaned:
11946# after its creation but before its name has been assigned to `$tmp'.
11947$debug ||
11948{
11949  tmp= ac_tmp=
11950  trap 'exit_status=$?
11951  : "${ac_tmp:=$tmp}"
11952  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
11953' 0
11954  trap 'as_fn_exit 1' 1 2 13 15
11955}
11956# Create a (secure) tmp directory for tmp files.
11957
11958{
11959  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11960  test -d "$tmp"
11961}  ||
11962{
11963  tmp=./conf$$-$RANDOM
11964  (umask 077 && mkdir "$tmp")
11965} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
11966ac_tmp=$tmp
11967
11968# Set up the scripts for CONFIG_FILES section.
11969# No need to generate them if there are no CONFIG_FILES.
11970# This happens for instance with `./config.status config.h'.
11971if test -n "$CONFIG_FILES"; then
11972
11973
11974ac_cr=`echo X | tr X '\015'`
11975# On cygwin, bash can eat \r inside `` if the user requested igncr.
11976# But we know of no other shell where ac_cr would be empty at this
11977# point, so we can use a bashism as a fallback.
11978if test "x$ac_cr" = x; then
11979  eval ac_cr=\$\'\\r\'
11980fi
11981ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11982if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11983  ac_cs_awk_cr='\\r'
11984else
11985  ac_cs_awk_cr=$ac_cr
11986fi
11987
11988echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
11989_ACEOF
11990
11991
11992{
11993  echo "cat >conf$$subs.awk <<_ACEOF" &&
11994  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11995  echo "_ACEOF"
11996} >conf$$subs.sh ||
11997  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
11998ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
11999ac_delim='%!_!# '
12000for ac_last_try in false false false false false :; do
12001  . ./conf$$subs.sh ||
12002    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12003
12004  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12005  if test $ac_delim_n = $ac_delim_num; then
12006    break
12007  elif $ac_last_try; then
12008    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12009  else
12010    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12011  fi
12012done
12013rm -f conf$$subs.sh
12014
12015cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12016cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
12017_ACEOF
12018sed -n '
12019h
12020s/^/S["/; s/!.*/"]=/
12021p
12022g
12023s/^[^!]*!//
12024:repl
12025t repl
12026s/'"$ac_delim"'$//
12027t delim
12028:nl
12029h
12030s/\(.\{148\}\)..*/\1/
12031t more1
12032s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12033p
12034n
12035b repl
12036:more1
12037s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12038p
12039g
12040s/.\{148\}//
12041t nl
12042:delim
12043h
12044s/\(.\{148\}\)..*/\1/
12045t more2
12046s/["\\]/\\&/g; s/^/"/; s/$/"/
12047p
12048b
12049:more2
12050s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12051p
12052g
12053s/.\{148\}//
12054t delim
12055' <conf$$subs.awk | sed '
12056/^[^""]/{
12057  N
12058  s/\n//
12059}
12060' >>$CONFIG_STATUS || ac_write_fail=1
12061rm -f conf$$subs.awk
12062cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12063_ACAWK
12064cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
12065  for (key in S) S_is_set[key] = 1
12066  FS = ""
12067
12068}
12069{
12070  line = $ 0
12071  nfields = split(line, field, "@")
12072  substed = 0
12073  len = length(field[1])
12074  for (i = 2; i < nfields; i++) {
12075    key = field[i]
12076    keylen = length(key)
12077    if (S_is_set[key]) {
12078      value = S[key]
12079      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12080      len += length(value) + length(field[++i])
12081      substed = 1
12082    } else
12083      len += 1 + keylen
12084  }
12085
12086  print line
12087}
12088
12089_ACAWK
12090_ACEOF
12091cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12092if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12093  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12094else
12095  cat
12096fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
12097  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
12098_ACEOF
12099
12100# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12101# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
12102# trailing colons and then remove the whole line if VPATH becomes empty
12103# (actually we leave an empty line to preserve line numbers).
12104if test "x$srcdir" = x.; then
12105  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
12106h
12107s///
12108s/^/:/
12109s/[	 ]*$/:/
12110s/:\$(srcdir):/:/g
12111s/:\${srcdir}:/:/g
12112s/:@srcdir@:/:/g
12113s/^:*//
12114s/:*$//
12115x
12116s/\(=[	 ]*\).*/\1/
12117G
12118s/\n//
12119s/^[^=]*=[	 ]*$//
12120}'
12121fi
12122
12123cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12124fi # test -n "$CONFIG_FILES"
12125
12126# Set up the scripts for CONFIG_HEADERS section.
12127# No need to generate them if there are no CONFIG_HEADERS.
12128# This happens for instance with `./config.status Makefile'.
12129if test -n "$CONFIG_HEADERS"; then
12130cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
12131BEGIN {
12132_ACEOF
12133
12134# Transform confdefs.h into an awk script `defines.awk', embedded as
12135# here-document in config.status, that substitutes the proper values into
12136# config.h.in to produce config.h.
12137
12138# Create a delimiter string that does not exist in confdefs.h, to ease
12139# handling of long lines.
12140ac_delim='%!_!# '
12141for ac_last_try in false false :; do
12142  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
12143  if test -z "$ac_tt"; then
12144    break
12145  elif $ac_last_try; then
12146    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
12147  else
12148    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12149  fi
12150done
12151
12152# For the awk script, D is an array of macro values keyed by name,
12153# likewise P contains macro parameters if any.  Preserve backslash
12154# newline sequences.
12155
12156ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12157sed -n '
12158s/.\{148\}/&'"$ac_delim"'/g
12159t rset
12160:rset
12161s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
12162t def
12163d
12164:def
12165s/\\$//
12166t bsnl
12167s/["\\]/\\&/g
12168s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
12169D["\1"]=" \3"/p
12170s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
12171d
12172:bsnl
12173s/["\\]/\\&/g
12174s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
12175D["\1"]=" \3\\\\\\n"\\/p
12176t cont
12177s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
12178t cont
12179d
12180:cont
12181n
12182s/.\{148\}/&'"$ac_delim"'/g
12183t clear
12184:clear
12185s/\\$//
12186t bsnlc
12187s/["\\]/\\&/g; s/^/"/; s/$/"/p
12188d
12189:bsnlc
12190s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
12191b cont
12192' <confdefs.h | sed '
12193s/'"$ac_delim"'/"\\\
12194"/g' >>$CONFIG_STATUS || ac_write_fail=1
12195
12196cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12197  for (key in D) D_is_set[key] = 1
12198  FS = ""
12199}
12200/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12201  line = \$ 0
12202  split(line, arg, " ")
12203  if (arg[1] == "#") {
12204    defundef = arg[2]
12205    mac1 = arg[3]
12206  } else {
12207    defundef = substr(arg[1], 2)
12208    mac1 = arg[2]
12209  }
12210  split(mac1, mac2, "(") #)
12211  macro = mac2[1]
12212  prefix = substr(line, 1, index(line, defundef) - 1)
12213  if (D_is_set[macro]) {
12214    # Preserve the white space surrounding the "#".
12215    print prefix "define", macro P[macro] D[macro]
12216    next
12217  } else {
12218    # Replace #undef with comments.  This is necessary, for example,
12219    # in the case of _POSIX_SOURCE, which is predefined and required
12220    # on some systems where configure will not decide to define it.
12221    if (defundef == "undef") {
12222      print "/*", prefix defundef, macro, "*/"
12223      next
12224    }
12225  }
12226}
12227{ print }
12228_ACAWK
12229_ACEOF
12230cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12231  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
12232fi # test -n "$CONFIG_HEADERS"
12233
12234
12235eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
12236shift
12237for ac_tag
12238do
12239  case $ac_tag in
12240  :[FHLC]) ac_mode=$ac_tag; continue;;
12241  esac
12242  case $ac_mode$ac_tag in
12243  :[FHL]*:*);;
12244  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
12245  :[FH]-) ac_tag=-:-;;
12246  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12247  esac
12248  ac_save_IFS=$IFS
12249  IFS=:
12250  set x $ac_tag
12251  IFS=$ac_save_IFS
12252  shift
12253  ac_file=$1
12254  shift
12255
12256  case $ac_mode in
12257  :L) ac_source=$1;;
12258  :[FH])
12259    ac_file_inputs=
12260    for ac_f
12261    do
12262      case $ac_f in
12263      -) ac_f="$ac_tmp/stdin";;
12264      *) # Look for the file first in the build tree, then in the source tree
12265	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
12266	 # because $ac_f cannot contain `:'.
12267	 test -f "$ac_f" ||
12268	   case $ac_f in
12269	   [\\/$]*) false;;
12270	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12271	   esac ||
12272	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12273      esac
12274      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12275      as_fn_append ac_file_inputs " '$ac_f'"
12276    done
12277
12278    # Let's still pretend it is `configure' which instantiates (i.e., don't
12279    # use $as_me), people would be surprised to read:
12280    #    /* config.h.  Generated by config.status.  */
12281    configure_input='Generated from '`
12282	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12283	`' by configure.'
12284    if test x"$ac_file" != x-; then
12285      configure_input="$ac_file.  $configure_input"
12286      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12287$as_echo "$as_me: creating $ac_file" >&6;}
12288    fi
12289    # Neutralize special characters interpreted by sed in replacement strings.
12290    case $configure_input in #(
12291    *\&* | *\|* | *\\* )
12292       ac_sed_conf_input=`$as_echo "$configure_input" |
12293       sed 's/[\\\\&|]/\\\\&/g'`;; #(
12294    *) ac_sed_conf_input=$configure_input;;
12295    esac
12296
12297    case $ac_tag in
12298    *:-:* | *:-) cat >"$ac_tmp/stdin" \
12299      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
12300    esac
12301    ;;
12302  esac
12303
12304  ac_dir=`$as_dirname -- "$ac_file" ||
12305$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12306	 X"$ac_file" : 'X\(//\)[^/]' \| \
12307	 X"$ac_file" : 'X\(//\)$' \| \
12308	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12309$as_echo X"$ac_file" |
12310    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12311	    s//\1/
12312	    q
12313	  }
12314	  /^X\(\/\/\)[^/].*/{
12315	    s//\1/
12316	    q
12317	  }
12318	  /^X\(\/\/\)$/{
12319	    s//\1/
12320	    q
12321	  }
12322	  /^X\(\/\).*/{
12323	    s//\1/
12324	    q
12325	  }
12326	  s/.*/./; q'`
12327  as_dir="$ac_dir"; as_fn_mkdir_p
12328  ac_builddir=.
12329
12330case "$ac_dir" in
12331.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12332*)
12333  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12334  # A ".." for each directory in $ac_dir_suffix.
12335  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12336  case $ac_top_builddir_sub in
12337  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12338  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12339  esac ;;
12340esac
12341ac_abs_top_builddir=$ac_pwd
12342ac_abs_builddir=$ac_pwd$ac_dir_suffix
12343# for backward compatibility:
12344ac_top_builddir=$ac_top_build_prefix
12345
12346case $srcdir in
12347  .)  # We are building in place.
12348    ac_srcdir=.
12349    ac_top_srcdir=$ac_top_builddir_sub
12350    ac_abs_top_srcdir=$ac_pwd ;;
12351  [\\/]* | ?:[\\/]* )  # Absolute name.
12352    ac_srcdir=$srcdir$ac_dir_suffix;
12353    ac_top_srcdir=$srcdir
12354    ac_abs_top_srcdir=$srcdir ;;
12355  *) # Relative name.
12356    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12357    ac_top_srcdir=$ac_top_build_prefix$srcdir
12358    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12359esac
12360ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12361
12362
12363  case $ac_mode in
12364  :F)
12365  #
12366  # CONFIG_FILE
12367  #
12368
12369  case $INSTALL in
12370  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12371  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12372  esac
12373  ac_MKDIR_P=$MKDIR_P
12374  case $MKDIR_P in
12375  [\\/$]* | ?:[\\/]* ) ;;
12376  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12377  esac
12378_ACEOF
12379
12380cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12381# If the template does not know about datarootdir, expand it.
12382# FIXME: This hack should be removed a few years after 2.60.
12383ac_datarootdir_hack=; ac_datarootdir_seen=
12384ac_sed_dataroot='
12385/datarootdir/ {
12386  p
12387  q
12388}
12389/@datadir@/p
12390/@docdir@/p
12391/@infodir@/p
12392/@localedir@/p
12393/@mandir@/p'
12394case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12395*datarootdir*) ac_datarootdir_seen=yes;;
12396*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12397  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12398$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12399_ACEOF
12400cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12401  ac_datarootdir_hack='
12402  s&@datadir@&$datadir&g
12403  s&@docdir@&$docdir&g
12404  s&@infodir@&$infodir&g
12405  s&@localedir@&$localedir&g
12406  s&@mandir@&$mandir&g
12407  s&\\\${datarootdir}&$datarootdir&g' ;;
12408esac
12409_ACEOF
12410
12411# Neutralize VPATH when `$srcdir' = `.'.
12412# Shell code in configure.ac might set extrasub.
12413# FIXME: do we really want to maintain this feature?
12414cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12415ac_sed_extra="$ac_vpsub
12416$extrasub
12417_ACEOF
12418cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12419:t
12420/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12421s|@configure_input@|$ac_sed_conf_input|;t t
12422s&@top_builddir@&$ac_top_builddir_sub&;t t
12423s&@top_build_prefix@&$ac_top_build_prefix&;t t
12424s&@srcdir@&$ac_srcdir&;t t
12425s&@abs_srcdir@&$ac_abs_srcdir&;t t
12426s&@top_srcdir@&$ac_top_srcdir&;t t
12427s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12428s&@builddir@&$ac_builddir&;t t
12429s&@abs_builddir@&$ac_abs_builddir&;t t
12430s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12431s&@INSTALL@&$ac_INSTALL&;t t
12432s&@MKDIR_P@&$ac_MKDIR_P&;t t
12433$ac_datarootdir_hack
12434"
12435eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
12436  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12437
12438test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12439  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
12440  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
12441      "$ac_tmp/out"`; test -z "$ac_out"; } &&
12442  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12443which seems to be undefined.  Please make sure it is defined" >&5
12444$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12445which seems to be undefined.  Please make sure it is defined" >&2;}
12446
12447  rm -f "$ac_tmp/stdin"
12448  case $ac_file in
12449  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
12450  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
12451  esac \
12452  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12453 ;;
12454  :H)
12455  #
12456  # CONFIG_HEADER
12457  #
12458  if test x"$ac_file" != x-; then
12459    {
12460      $as_echo "/* $configure_input  */" \
12461      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
12462    } >"$ac_tmp/config.h" \
12463      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12464    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
12465      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12466$as_echo "$as_me: $ac_file is unchanged" >&6;}
12467    else
12468      rm -f "$ac_file"
12469      mv "$ac_tmp/config.h" "$ac_file" \
12470	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
12471    fi
12472  else
12473    $as_echo "/* $configure_input  */" \
12474      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
12475      || as_fn_error $? "could not create -" "$LINENO" 5
12476  fi
12477# Compute "$ac_file"'s index in $config_headers.
12478_am_arg="$ac_file"
12479_am_stamp_count=1
12480for _am_header in $config_headers :; do
12481  case $_am_header in
12482    $_am_arg | $_am_arg:* )
12483      break ;;
12484    * )
12485      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12486  esac
12487done
12488echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
12489$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12490	 X"$_am_arg" : 'X\(//\)[^/]' \| \
12491	 X"$_am_arg" : 'X\(//\)$' \| \
12492	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
12493$as_echo X"$_am_arg" |
12494    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12495	    s//\1/
12496	    q
12497	  }
12498	  /^X\(\/\/\)[^/].*/{
12499	    s//\1/
12500	    q
12501	  }
12502	  /^X\(\/\/\)$/{
12503	    s//\1/
12504	    q
12505	  }
12506	  /^X\(\/\).*/{
12507	    s//\1/
12508	    q
12509	  }
12510	  s/.*/./; q'`/stamp-h$_am_stamp_count
12511 ;;
12512
12513  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12514$as_echo "$as_me: executing $ac_file commands" >&6;}
12515 ;;
12516  esac
12517
12518
12519  case $ac_file$ac_mode in
12520    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
12521  # Older Autoconf quotes --file arguments for eval, but not when files
12522  # are listed without --file.  Let's play safe and only enable the eval
12523  # if we detect the quoting.
12524  case $CONFIG_FILES in
12525  *\'*) eval set x "$CONFIG_FILES" ;;
12526  *)   set x $CONFIG_FILES ;;
12527  esac
12528  shift
12529  for mf
12530  do
12531    # Strip MF so we end up with the name of the file.
12532    mf=`echo "$mf" | sed -e 's/:.*$//'`
12533    # Check whether this is an Automake generated Makefile or not.
12534    # We used to match only the files named 'Makefile.in', but
12535    # some people rename them; so instead we look at the file content.
12536    # Grep'ing the first line is not enough: some people post-process
12537    # each Makefile.in and add a new line on top of each file to say so.
12538    # Grep'ing the whole file is not good either: AIX grep has a line
12539    # limit of 2048, but all sed's we know have understand at least 4000.
12540    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
12541      dirpart=`$as_dirname -- "$mf" ||
12542$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12543	 X"$mf" : 'X\(//\)[^/]' \| \
12544	 X"$mf" : 'X\(//\)$' \| \
12545	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12546$as_echo X"$mf" |
12547    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12548	    s//\1/
12549	    q
12550	  }
12551	  /^X\(\/\/\)[^/].*/{
12552	    s//\1/
12553	    q
12554	  }
12555	  /^X\(\/\/\)$/{
12556	    s//\1/
12557	    q
12558	  }
12559	  /^X\(\/\).*/{
12560	    s//\1/
12561	    q
12562	  }
12563	  s/.*/./; q'`
12564    else
12565      continue
12566    fi
12567    # Extract the definition of DEPDIR, am__include, and am__quote
12568    # from the Makefile without running 'make'.
12569    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12570    test -z "$DEPDIR" && continue
12571    am__include=`sed -n 's/^am__include = //p' < "$mf"`
12572    test -z "$am__include" && continue
12573    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12574    # Find all dependency output files, they are included files with
12575    # $(DEPDIR) in their names.  We invoke sed twice because it is the
12576    # simplest approach to changing $(DEPDIR) to its actual value in the
12577    # expansion.
12578    for file in `sed -n "
12579      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12580	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
12581      # Make sure the directory exists.
12582      test -f "$dirpart/$file" && continue
12583      fdir=`$as_dirname -- "$file" ||
12584$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12585	 X"$file" : 'X\(//\)[^/]' \| \
12586	 X"$file" : 'X\(//\)$' \| \
12587	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12588$as_echo X"$file" |
12589    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12590	    s//\1/
12591	    q
12592	  }
12593	  /^X\(\/\/\)[^/].*/{
12594	    s//\1/
12595	    q
12596	  }
12597	  /^X\(\/\/\)$/{
12598	    s//\1/
12599	    q
12600	  }
12601	  /^X\(\/\).*/{
12602	    s//\1/
12603	    q
12604	  }
12605	  s/.*/./; q'`
12606      as_dir=$dirpart/$fdir; as_fn_mkdir_p
12607      # echo "creating $dirpart/$file"
12608      echo '# dummy' > "$dirpart/$file"
12609    done
12610  done
12611}
12612 ;;
12613
12614  esac
12615done # for ac_tag
12616
12617
12618as_fn_exit 0
12619_ACEOF
12620ac_clean_files=$ac_clean_files_save
12621
12622test $ac_write_fail = 0 ||
12623  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
12624
12625
12626# configure is writing to config.log, and then calls config.status.
12627# config.status does its own redirection, appending to config.log.
12628# Unfortunately, on DOS this fails, as config.log is still kept open
12629# by configure, so config.status won't be able to write to it; its
12630# output is simply discarded.  So we exec the FD to /dev/null,
12631# effectively closing config.log, so it can be properly (re)opened and
12632# appended to by config.status.  When coming back to configure, we
12633# need to make the FD available again.
12634if test "$no_create" != yes; then
12635  ac_cs_success=:
12636  ac_config_status_args=
12637  test "$silent" = yes &&
12638    ac_config_status_args="$ac_config_status_args --quiet"
12639  exec 5>/dev/null
12640  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12641  exec 5>>config.log
12642  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12643  # would make configure fail if this is the last instruction.
12644  $ac_cs_success || as_fn_exit 1
12645fi
12646if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
12647  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
12648$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
12649fi
12650
12651